Commit Graph
14 Commits
Author SHA1 Message Date
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
Thunderforge 73958c69d5 BUILD: Standardizing the variable names for parsing data
Fixes the following Codacy issues:

* Avoid variables with short names like `$a`. Configured minimum length is 3.
* Avoid unused local variables such as '$key'.
2020-04-03 13:47:28 +02:00
Matan Bareket 605404ae5c WEB: Fix PHP warning in Compatibility page 2019-02-20 00:20:39 -05:00
Matan Bareket 1e7815ec2e WEB: Fix namespace reference to ErrorException 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
Eugene Sandulenko 9150342a47 WEB: Do not let compatibility browsing for non-existing version 2016-03-01 16:20:32 +01:00
Eugene Sandulenko f0934a7003 WEB: Add compatibility for 0.1.0 2016-01-16 23:43:58 +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
Jordi Vilalta Prat 35c3d66bf3 WEB: Fix the ordering of versions numbers on the compatibility page (release candidates go before the final releases)
svn path=/web/trunk/; revision=48306
2010-03-20 09:57:25 +00:00
Eugene Sandulenko d429c48de0 Website rewrite from Fredrik Wendel
svn path=/web/trunk/; revision=40814
2009-05-23 18:45:30 +00:00