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