Overview
Comment: | Augmenter le timeout en cas de concurrency, car des fois on a des erreurs sur certaines assos |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
0a88984edf898541a368d210921a6d6e |
User & Date: | bohwaz on 2016-05-31 04:10:52 |
Other Links: | manifest | tags |
References
2020-12-08
| ||
23:25 | • Wiki page "Changelog/0.9" artifact: b9c916b4d1 user: bohwaz | |
Context
2016-05-31
| ||
04:22 | Rejeter avec un message explicite si on essaye de choisir un numéro de membre qui ne contient pas que des chiffres check-in: 5335b73293 user: bohwaz tags: trunk | |
04:10 | Augmenter le timeout en cas de concurrency, car des fois on a des erreurs sur certaines assos check-in: 0a88984edf user: bohwaz tags: trunk | |
03:57 |
Firefox est encore plus bugué dans les dernières versions: il annonce supporter input[type=date] et désactive donc le widget de fallback de Garradin, mais aucune manière de détecter ces ***** de Firefox, donc on abandonne la détection de input type date et on utilise toujours le widget custom.
Implémentation de sucres ergonomiques pour améliorer l'utilisabilité du widget au passage. check-in: 0504e69180 user: bohwaz tags: trunk | |
Changes
Modified src/include/lib/Garradin/DB.php from [ce44687ceb] to [b1c44ce023].
︙ | ︙ | |||
41 42 43 44 45 46 47 48 49 50 51 52 53 54 | { $flags |= SQLITE3_OPEN_CREATE; } parent::__construct(DB_FILE, $flags); $this->enableExceptions(true); // Activer les contraintes des foreign keys $this->exec('PRAGMA foreign_keys = ON;'); $this->createFunction('transliterate_to_ascii', ['Garradin\Utils', 'transliterateToAscii']); $this->createFunction('base64', 'base64_encode'); $this->createFunction('rank', [$this, 'sql_rank']); | > > > | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | { $flags |= SQLITE3_OPEN_CREATE; } parent::__construct(DB_FILE, $flags); $this->enableExceptions(true); // Le timeout par défaut est 0, on le met à 1 seconde, si ça ne suffit pas on augmentera plus tard $this->busyTimeout(1000); // Activer les contraintes des foreign keys $this->exec('PRAGMA foreign_keys = ON;'); $this->createFunction('transliterate_to_ascii', ['Garradin\Utils', 'transliterateToAscii']); $this->createFunction('base64', 'base64_encode'); $this->createFunction('rank', [$this, 'sql_rank']); |
︙ | ︙ |