Overview
Comment: | Fix some details |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA3-256: |
a323ba32559792d699b920ae42598160 |
User & Date: | bohwaz on 2021-01-31 02:26:44 |
Other Links: | branch diff | manifest | tags |
Context
2021-02-01
| ||
02:37 | Progress on web management check-in: 749e52c325 user: bohwaz tags: dev | |
2021-01-31
| ||
02:26 | Fix some details check-in: a323ba3255 user: bohwaz tags: dev | |
02:10 | Web editor check-in: 88e688a1a2 user: bohwaz tags: dev | |
Changes
Modified src/config.dist.php from [d77a3ceaea] to [8d13869526].
︙ | ︙ | |||
78 79 80 81 82 83 84 | * Défaut : répertoire racine de Garradin (__DIR__) */ //const ROOT = __DIR__; /** * Répertoire où sont situées les données de Garradin | | | | | | 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | * Défaut : répertoire racine de Garradin (__DIR__) */ //const ROOT = __DIR__; /** * Répertoire où sont situées les données de Garradin * (incluant la base de données SQLite, les sauvegardes, le cache, les fichiers locaux et les plugins) * * Défaut : sous-répertoire "data" de la racine */ //const DATA_ROOT = ROOT . '/data'; /** * Répertoire où est situé le cache (fichiers temporaires utilisés pour accélérer le chargement des pages) * * Défaut : sous-répertoire 'cache' de DATA_ROOT */ //const CACHE_ROOT = DATA_ROOT . '/cache'; /** * Emplacement du fichier de base de données de Garradin * * Défaut : DATA_ROOT . '/association.sqlite' */ |
︙ | ︙ |
Added src/data/cache/index.html version [abe89f9bfb].
> | 1 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL was not found on this server.</p></body></html> |
Added src/data/plugins/index.html version [abe89f9bfb].
> | 1 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL was not found on this server.</p></body></html> |
Modified src/include/lib/Garradin/Web/Web.php from [c125847869] to [4f729627bd].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <?php namespace Garradin\Web; use Garradin\Entities\Web\Page; use Garradin\Web\Skeleton; use Garradin\Config; use KD2\DB\EntityManager as EM; class Web { static public function search(string $search, bool $online_only = true): array { if (strlen($search) > 100) { throw new UserException('Recherche trop longue : maximum 100 caractères'); | > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <?php namespace Garradin\Web; use Garradin\Entities\Web\Page; use Garradin\Web\Skeleton; use Garradin\Config; use KD2\DB\EntityManager as EM; use const Garradin\{WWW_URI, ADMIN_URL}; class Web { static public function search(string $search, bool $online_only = true): array { if (strlen($search) > 100) { throw new UserException('Recherche trop longue : maximum 100 caractères'); |
︙ | ︙ |
Modified src/www/admin/static/scripts/code_editor.js from [5f2365219f] to [2b7dfc7386].
︙ | ︙ | |||
74 75 76 77 78 79 80 | m.innerHTML = msg.innerHTML; m.className = msg.className; toolbar.appendChild(m); msg.parentNode.removeChild(msg); } window.parent.g.dialog.preventClose = () => { | | | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | m.innerHTML = msg.innerHTML; m.className = msg.className; toolbar.appendChild(m); msg.parentNode.removeChild(msg); } window.parent.g.dialog.preventClose = () => { if (code.textarea.value == code.textarea.defaultValue) { return false; } if (window.confirm('Sauvegarder avant de fermer ?')) { code.saveFile(); return false; } |
︙ | ︙ |