18 Commits

Author SHA1 Message Date
Le Philousophe cc9fa80181 WEB: Add typing 2025-08-24 12:32:47 +02:00
Le Philousophe d7c3bd0528 WEB: Various small fixes
These are either cosmetic or spotted by PHPStan
2025-08-24 12:32:47 +02:00
Le Philousophe 85bbf617bb WEB: Don't make the cache database depend on the hostname
This avoids having two caches when accessing the website with or without
a www and this is also more robust.
Make use of the DEV_SERVER constant and allow to enable it by setting an
environment variable.
2024-12-24 13:31:11 +01:00
Thunderforge e31bcc340c WEB: Replacing : in cache keys
Colon is not a permitted character. See https://github.com/PHPSocialNetwork/phpfastcache/wiki/%5BV6˖%5D-Unsupported-characters-in-key-identifiers
2023-04-26 12:35:37 -05:00
Mataniko a540a7a98f WEB: Properly clear cache after data update 2020-12-01 22:14:16 -05:00
Mataniko 41f028310c WEB: Use symfony/yaml and predis if redis is not available
This removes the hard requirements on pecl modules making development easier.
2020-10-21 23:08:08 -04:00
Mataniko fdc6d5ff6e WEB: Fix loading localized data for news and articles 2020-10-10 01:34:06 -04:00
Mataniko 08fffe6dd0 WEB: Load localized data in models 2020-10-10 01:34:06 -04:00
Mataniko 7025c556b7 WEB: Catch all cache driver errors for fallback 2020-10-05 00:11:33 -04:00
Mataniko c0c4209efe WEB: Fallback cache to files 2020-10-02 08:53:30 -04:00
Mataniko 6d0899847b WEB: Cache based on locale 2020-09-29 16:08:34 -04:00
Mataniko 2fd56bebe4 WEB: Remove type hint due to PHP version 2020-09-27 22:08:07 -04:00
Mataniko 6816cdab5a WEB: Increase cache duration and clear cache during site update 2020-09-27 22:08:07 -04:00
Mataniko c0eb021126 WEB: Add caching to all models 2020-09-27 22:08:07 -04:00
Matan Bareket 85328f2997 WEB: Use PSR-4 autoloading 2019-01-22 19:49:58 -05:00
Matan Bareket cfbeebb8dc WEB: Add namespaces to all PHP files 2019-01-22 19:49:58 -05:00
Matan Bareket 851bb41bb7 WEB: Auto-fix to PSR-2 standard 2019-01-22 19:49:58 -05:00
Eugene Sandulenko d429c48de0 Website rewrite from Fredrik Wendel
svn path=/web/trunk/; revision=40814
2009-05-23 18:45:30 +00:00