Commit Graph

451 Commits

Author SHA1 Message Date
Mataniko 7025c556b7 WEB: Catch all cache driver errors for fallback 2020-10-05 00:11:33 -04:00
Mataniko 4013dd2502 WEB: Simplify credits data 2020-10-03 09:10:00 -04:00
Mataniko c0c4209efe WEB: Fallback cache to files 2020-10-02 08:53:30 -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 35039fedb3 WEB: Update news and feed templates to use canonical language URLs 2020-09-29 16:08:34 -04:00
Mataniko 6d0899847b WEB: Cache based on locale 2020-09-29 16:08:34 -04:00
Mataniko cae79c85e3 L10N: Add new smarty modifier function to add lang url path 2020-09-29 16:08:34 -04:00
Mataniko e483873d57 WEB: Remove the lang cookie and leverage the url path instead 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 2fd56bebe4 WEB: Remove type hint due to PHP version 2020-09-27 22:08:07 -04:00
Mataniko 47744206e4 WEB: Add null check for games with no company id 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 16cc3d8762 DATA: Simplify yaml data 2020-09-27 22:08:07 -04:00
Mataniko c172c669df DATA: Convert documentation to YAML 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 6816cdab5a WEB: Increase cache duration and clear cache during site update 2020-09-27 22:08:07 -04:00
Mataniko c0eb021126 WEB: Add caching to all models 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 23875f8ca9 JANITORIAL: Remove debug message 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 2bdcfa3aef DATA: Add Screenshots data and update data 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 df1a9ceec3 DATA: Sort versions 2020-09-27 22:08:07 -04:00
Mataniko b4bb9c119b DATA: Create a class to update the existing data model from spreadsheet 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 d455741806 DATA: Remove the need to have "DEV" in versions file 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 9ee91e7265 WEB: Remove deprecated use of array_key_exists 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 7f9ae97e6c DATA: Rename GamesModel to GameDownloadsModel 2020-09-27 22:08:07 -04:00
Eugene Sandulenko 7c6827cd1f WEB: Announce 2.2.0 release 2020-09-27 16:22:12 +02:00
mataniko 99ec834693 L10N: Use consistent line breaks when encoding news.json 2020-09-02 20:53:24 -04:00