Le Philousophe
2eb466013d
WEB: Update PHP and JS packages
2026-05-08 22:24:12 +02:00
Le Philousophe
93d3aa56a1
WEB: Handle null cases
...
Sometimes variables may be null. Handle the cases when passing to
functions expecting something non-null.
2025-08-24 12:32:47 +02:00
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
047655fd69
WEB: Set the page description to the game support level
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
Le Philousophe
7cd3ff2331
WEB: Various PHPStan fixes
...
These fixes are only for correctness.
2024-09-14 13:14:49 +02:00
Thunderforge
ccbdca28fa
WEB: Redirecting to compatibility page when no game id exists ( #287 )
...
Part of the migration to using full game ids
2023-04-24 16:05:52 -05:00
Mataniko
ef20da2ede
WEB: Fix PHP array key warnings
2021-04-02 22:01:06 -04:00
Thierry Crozat
b81751b385
WEB: Sort versions on compatibility page from newer to oldest
...
This fixes bug #12054
2021-01-18 21:25:08 +00:00
Mataniko
b20d4c5fb1
WEB: Fix compat version queries
2021-01-09 13:15:55 -05:00
Mataniko
8f961660d8
WEB: Move compatibility to the ORM model
2020-12-31 04:49:44 -05:00
Mataniko
0a394a6260
WEB: Adjust references to non-localized data
2020-10-10 01:34:06 -04:00
Mataniko
08ea2cfcde
WEB: Lint and static analysis cleanup
2020-09-27 22:08:07 -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
Mataniko
3525617bbe
WEB: Update Compatibility pages to drop the Legacy model
2020-09-27 22:08:07 -04:00
Mataniko
4d78399ea2
WEB: Add error handling about missing required fields
...
In the new data model, some field operate as keys for other parts of the model.
This now performs some validations and will throw an error if fields are missing.
For example: a Game must have an Engine, but does not require datafiles
2020-09-27 22:08:07 -04:00
Mataniko
5b3c0e82d5
WEB: Refactor the compatibility model and pages
...
Update the compatibility page to use the new data models.
- Notes are now generated based on game ids, platforms and support level
- We no longer need multiple compatibilty files, only the deltas in one file
- Support level text is now localizable
- Keep support for the old model for versions < 2.0.0
2020-09-27 22:08:07 -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
97262c4b2f
WEB: Convert require statements to psr-4 style use statements
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
a6e8ff5f17
WEB: Fix reference to the compatibility detail page
2018-07-26 20:43:55 -04: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
e8247c95e7
WEB: Programmatically generate compatibility CSS colors
2018-07-07 11:45:48 -04:00
Matan Bareket
307e195d65
WEB: Remove page specific CSS imports
2018-07-07 11:45:48 -04:00
Eugene Sandulenko
64bfa6e644
WEB: Really fix referring to non-existent compatibility versions
2016-03-01 23:10:29 +01:00
Eugene Sandulenko
d77625dfe0
WEB: Implemented variable substitution in lang.ini and use in Compatibility and Screenshots
2016-01-16 23:43:58 +01:00
Thierry Crozat
bd472f8d19
WEB: Fix test to decide which compatibility layout to use
2014-07-22 00:25:31 +01:00
Johannes Schickel
b4685dc298
WEB: Introduce "bugged" support level.
...
This is currently used for BluesTreasureHunt and pjgames.
2014-01-07 02:58:34 +01:00
Johannes Schickel
22b9dbe258
WEB: Change support levels to Untested/Broken/Good/Excellent.
2013-11-17 01:51:25 +01:00
Johannes Schickel
998e50d3d3
WEB: Use descriptive support levels in compat page.
...
This removes the old (and confusing) percent values and replaces them with
a simple scheme of: unsupported, playable and completable.
A initial adaption of the compatibility page of the development version has
been done. This might need some reclassification! All the old compatibility
pages keep their percent values.
2013-11-17 01:29:40 +01:00
Jordi Vilalta Prat
83ae141b9d
WEB: Replace unnecesary references to SVN with VCS-agnostic terminology.
...
svn path=/web/trunk/; revision=55899
2011-02-12 20:18:55 +00:00
Eugene Sandulenko
d429c48de0
Website rewrite from Fredrik Wendel
...
svn path=/web/trunk/; revision=40814
2009-05-23 18:45:30 +00:00