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
Mataniko
7f9ae97e6c
DATA: Rename GamesModel to GameDownloadsModel
2020-09-27 22:08:07 -04:00
mataniko
4e4ab142dd
WEB: Add Sponsors template, data and images
2020-08-04 07:35:46 -04:00
Matan Bareket
a5722c8ca0
WEB: Move the Recommended Download logic to the DownloadsModel
2019-05-09 00:28:27 -04:00
Matan Bareket
2015d340b3
WEB: Add new recommended download UAs
2019-05-08 23:52:36 -04:00
Matan Bareket
f48d95e174
WEB: Lint PHP files
2019-05-08 23:28:05 -04:00
Matan Bareket
6769084e98
WEB: Move recommended download detection to PHP
2019-05-08 23:26:05 -04:00
Lothar Serra Mari
5f09bdb0c0
WEB: Rename release variable in DownloadsPage.php
2019-04-28 09:49:06 +02: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
018c78010a
NEWS: Add support for news filenames in either yyyyMMdd or yyyyMMddHHmm format
...
This also changes the behavior that when a user clicks on a news
article, he will get all news articles from the same day. The reasoning
is a) we barely have more than 1 article a day. b) if a user wanted a
hotlink to a particular news article, he might get two different ones
which is odd.
2018-11-18 07:46:22 -05:00
Matan Bareket
a6e8ff5f17
WEB: Fix reference to the compatibility detail page
2018-07-26 20:43:55 -04:00
Matan Bareket
7809a83d56
WEB: Fix the snowberry PR page
2018-07-26 07:17:40 -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
Matan Bareket
ea7287fd04
WEB: Add the screenshot back to the intro
...
The random screenshot is back in the front page, but I didn't re-do the gallery.
2018-07-01 15:43:49 +02:00
Matan Bareket
cafe09a2f9
WEB: Remove openhub iframes from documentation page
2018-07-01 15:43:49 +02:00
Matan Bareket
1e43b3518b
WEB: Fix screenshots page not loading its CSS file
2018-07-01 15:43:49 +02:00
Matan Bareket
cd816a34ca
WEB: Add CSS for the documentation page
...
This cleans up the openhub IFrames a little to fit in the smaller max-width
2018-07-01 15:43:49 +02:00
Matan Bareket
35f2c06864
WEB: Remove unused CSS files and their references
2018-07-01 15:43:49 +02:00
Matan Bareket
4ab4000135
WEB: Update the screenshots page to use baguetteBox
2018-07-01 15:43:49 +02:00
Matan Bareket
d278388e75
WEB: Removed unused screenshot viewer
...
This template is never used since the move to lightbox
2018-07-01 15:43:49 +02:00
Thierry Crozat
0de80e5bf3
WEB: Fix text for recommended download on Windows
2016-03-28 22:28:44 +01:00
Eugene Sandulenko
51c6d597c2
WEB: Fix description for the recommended binary download
2016-03-05 22:43:34 +01:00
Eugene Sandulenko
794b6ab40a
WEB: Fix extracting recommended download metadata
2016-03-05 20:28:25 +01:00
Eugene Sandulenko
64bfa6e644
WEB: Really fix referring to non-existent compatibility versions
2016-03-01 23:10:29 +01:00
Eugene Sandulenko
c9ca27d399
WEB: Moved strings from NewsPage.de.php to lang.de.ini
2016-01-16 23:43:58 +01:00
Eugene Sandulenko
441e2f9140
WEB: Put all strings into lang.ini
2016-01-16 23:43:58 +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
Eugene Sandulenko
46eed0ba3e
WEB: Added lang.ini support
2016-01-16 23:43:58 +01:00
Eugene Sandulenko
4325671e2e
WEB: More German translations
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
Eugene Sandulenko
e0f634a837
Merge pull request #4 from lordhoto/compat-levels
...
WEB: Use descriptive support levels in compat page.
2014-01-08 11:35:21 -08: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
Filippos Karapetis
3bbb230b3d
WEB: Generate the list of recommended downloads from the XML data
...
Add a new XML field, "user_agent", used to find the user agent string
where the download item in question will be suggested to the user. Only
items with the "user_agent" field can be provided as recommended
downloads
2013-11-08 02:49:25 +02:00
Filippos Karapetis
9fee571210
WEB: Create a separate CSS style for the games page
2013-11-04 21:43:10 +02:00
Filippos Karapetis
1b9d45b878
WEB: Split game downloads into a separate "Games" page
...
This separates binary ScummVM downloads from the freeware games and
extras downloads
2013-11-04 12:11:19 +02:00
Filippos Karapetis
eb35f1bb8c
WEB: Replace specific HTML entities in RSS/atom feeds
...
This fixes the invalid XML entities in the RSS/atom feeds.
Currently, only e acute is replaced, but this can be extended to
replace more entities that may appear in news items
2013-07-02 13:25:46 +03:00