25 Commits

Author SHA1 Message Date
Le Philousophe cc9fa80181 WEB: Add typing 2025-08-24 12:32:47 +02:00
Le Philousophe 649ade2977 WEB: Make index a void function
It's used with Smarty::display which is void so there is never anything
to return and the return value was never checked.
Propagate this change everywhere.
2025-08-24 12:32:46 +02:00
Le Philousophe 14a84a1bf6 WEB: Create a dedicated string from home and news archive pages 2024-09-14 13:27:42 +02:00
Le Philousophe 832f769fe3 WEB: Add a description and a descriptive title for OpenGraph 2024-09-14 13:27:42 +02:00
Mataniko ef20da2ede WEB: Fix PHP array key warnings 2021-04-02 22:01:06 -04:00
Mataniko 4471b291a1 WEB: Convert all models to not be static objects
This is a first step towards moving to a dependency injection model.
2020-09-27 22:08:07 -04:00
Matan Bareket f48d95e174 WEB: Lint PHP files 2019-05-08 23:28:05 -04:00
Matan Bareket 95aaec5f3e WEB: Use AltoRouter instead of apache rewrites
This makes debugging and using other web servers much easier, and scales better when adding functionality and pages
2019-04-24 20:57:03 -04:00
Matan Bareket b17e27cc80 WEB: Additional static analysis fixes on pages 2019-01-22 19:49:58 -05:00
Matan Bareket 2eff11cbb3 WEB: Clean up most PSR2 style warnings 2019-01-22 19:49:58 -05:00
Matan Bareket df825b7878 WEB: Fix phpstan static errors 2019-01-22 19:49:58 -05: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
Matan Bareket 018c78010a NEWS: Add support for news filenames in either yyyyMMdd or yyyyMMddHHmm format
This also changes the behavior that when a user clicks on a news
article, he will get all news articles from the same day. The reasoning
is a) we barely have more than 1 article a day. b) if a user wanted a
hotlink to a particular news article, he might get two different ones
which is odd.
2018-11-18 07:46:22 -05:00
Matan Bareket 157f71a271 WEB: Move templates to subfolders 2018-07-26 07:17:40 -04:00
Matan Bareket ab1ded4bba WEB: Upgrade to Smarty 3 2018-07-26 07:17:40 -04:00
Matan Bareket 307e195d65 WEB: Remove page specific CSS imports 2018-07-07 11:45:48 -04:00
Matan Bareket ea7287fd04 WEB: Add the screenshot back to the intro
The random screenshot is back in the front page, but I didn't re-do the gallery.
2018-07-01 15:43:49 +02:00
Matan Bareket 35f2c06864 WEB: Remove unused CSS files and their references 2018-07-01 15:43:49 +02:00
Eugene Sandulenko 441e2f9140 WEB: Put all strings into lang.ini 2016-01-16 23:43:58 +01:00
Eugene Sandulenko 46eed0ba3e WEB: Added lang.ini support 2016-01-16 23:43:58 +01:00
Filippos Karapetis 17ead65c0c WEB: Silence PHP warnings about uninitialized variables 2013-07-02 12:24:52 +03:00
Fredrik Wendel f6c9513056 #2820377: "WEB: Unable to post more than single news item per day"
svn path=/web/trunk/; revision=42882
2009-07-29 09:03:27 +00:00
Eugene Sandulenko d429c48de0 Website rewrite from Fredrik Wendel
svn path=/web/trunk/; revision=40814
2009-05-23 18:45:30 +00:00