Commit Graph

87 Commits

Author SHA1 Message Date
Mataniko 4013dd2502 WEB: Simplify credits data 2020-10-03 09:10:00 -04:00
Mataniko fcb1d69f96 WEB: Replace relative FRS path to absolute path 2020-10-01 15:48:18 -04:00
Mataniko 6c973b34b7 WEB: Move Subprojects to Downloads page 2020-10-01 00:48:59 -04:00
Mataniko 11316500b7 WEB: Fix strpos condition ambiguity 2020-09-29 16:38:00 -04:00
Mataniko bcf45949d0 JANITORIAL: Code lint 2020-09-29 16:08:34 -04:00
Mataniko 858b40f31d WEB: Update links in news articles to localized links 2020-09-29 16:08:34 -04:00
Mataniko 29f694654a WEB: Fix images in localized pages 2020-09-29 16:08:34 -04:00
Mataniko 86139044c0 WEB: Fix screenshots in prod
PHP executes in a different folder while running on the server, so the glob function needs to be adjusted
2020-09-27 22:08:07 -04:00
Mataniko db6cb726e8 WEB: Add a new SimpleModel class
The SimpleModel is used to to read simple data models from YAML that require no further processing

This allows us to delete several models that re-use the same code.
2020-09-27 22:08:07 -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 33d8a28f4a WEB: Sort screenshots page 2020-09-27 22:08:07 -04:00
Mataniko e3373fdb99 WEB: Parse screenshot language into display string 2020-09-27 22:08:07 -04:00
Mataniko f8ca4c046a WEB: Update screenshots data & model 2020-09-27 22:08:07 -04:00
Mataniko 393fcd5b12 WEB: Add Series to game objects 2020-09-27 22:08:07 -04:00
Mataniko 23dbf430a6 WEB: Add Series model and object 2020-09-27 22:08:07 -04:00
Mataniko 8914b73caa DATA: Update date from sheet 2020-09-27 22:08:07 -04:00
Mataniko e465650a1b DATA: Remove all legacy compatibility data 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 b5636d15e0 WEB: Clean up data and fix spelling errors 2020-09-27 22:08:07 -04:00
Mataniko 696bb7f24e WEB: Allow to skip sanitization of notes 2020-09-27 22:08:07 -04:00
Mataniko 60e62c824d WEB: Make markdown parser and html purifier static 2020-09-27 22:08:07 -04:00
Mataniko cfead6a64c DATA: Sanitize compatibilities notes markdown 2020-09-27 22:08:07 -04:00
Mataniko 5a3baabba6 JANITORIAL: Lint PHP files 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 e570c479fe WEB: Convert game demos to the new data model 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
Mataniko 3cead6ad94 WEB: Update models and objects
- Populate object data with referenced data
- Fixes several naming issues
2020-09-27 22:08:07 -04:00
Mataniko a75a6c70ee WEB: Add new Models and Objects to support the new data files 2020-09-27 22:08:07 -04:00
mataniko 2da6d8f010 WEB: Fix formatting and analysis errors 2020-09-01 00:10:54 -04:00
mataniko 4e4ab142dd WEB: Add Sponsors template, data and images 2020-08-04 07:35:46 -04:00
Thunderforge 1f43fcf784 DATA: Converting Menu data from XML to YAML 2020-04-04 19:04:04 -05:00
Thunderforge 1f0ead5edc DATA: Converting Articles data from XML to YAML 2020-04-04 19:03:44 -05:00
Matan Bareket 5f850f6941 DATA: Use .markdown extension instead of .yaml 2019-10-22 08:15:29 -04:00
Matan Bareket d6fba215f0 DATA: Convert news to FM+MD 2019-10-22 01:16:53 -04:00
Matan Bareket 546e545d88 WEB: Add links to the datafiles in the compatability chart 2019-10-12 20:20:22 -04:00
Matan Bareket f48d95e174 WEB: Lint PHP files 2019-05-08 23:28:05 -04:00
Matan Bareket 1cfa12d2cb WEB: Fix syntax error in File.php 2019-04-27 09:32:37 -04:00
Matan Bareket 299a7595e5 WEB: Move the daily folder to /frs 2019-04-27 09:27:02 -04:00
Matan Bareket e916b2b7e3 WEB: Fix download URLs 2019-01-23 05:18:28 -05:00
Matan Bareket 67778e13ce WEB: Fix phpdoc errors 2019-01-22 19:49:58 -05:00
Matan Bareket 7c90a6f7d6 WEB: Parse News JSON as an array instead of an object 2019-01-22 19:49:58 -05:00
Matan Bareket 601465558f WEB: Resolve static analysis errors 2019-01-22 19:49:58 -05:00
Matan Bareket 393959c39b WEB: Remove die() in CreditsSection 2019-01-22 19:49:58 -05:00
Matan Bareket 4c97bcbcaf WEB: Remove unused objects and methods in downloads/games 2019-01-22 19:49:58 -05:00
Matan Bareket dcc281b2c2 WEB: Fix line endings 2019-01-22 19:49:58 -05:00
Matan Bareket 42d8516b65 WEB: Fix template warnings on subsections 2019-01-22 19:49:58 -05:00
Matan Bareket 8682a63731 WEB: Improve inheritance for Section classes 2019-01-22 19:49:58 -05:00
Matan Bareket 6652331db9 WEB: Move file download base URLs to Config.php 2019-01-22 19:49:58 -05:00
Matan Bareket 8a51f21f0c WEB: Rename Section objects 2019-01-22 19:49:58 -05:00