Commit Graph
128 Commits
Author SHA1 Message Date
Thunderforge 9795706cba WEB: Renaming recommended download variables 2022-01-11 19:50:23 -06:00
Thunderforge 30fd00126b WEB: Recommended download link
When I did refactoring for FileUtils, it seems it resulted in a bad copy/paste.
2022-01-11 13:09:44 -06:00
Thunderforge 453e74263b WEB: Adding file size and extension to recommended downloads (#191)
* WEB: Refactor reading files into FileUtils

Refactoring code in `include/Objects/File` into `FileUtils`. This not only makes the code much cleaner, but also allows it to be used in other places of the app, such as the `DownloadsModel`.

* WEB: Adding file size and extension to recommended downloads
2022-01-10 15:39:01 -06:00
Thunderforge d7162fa558 WEB: Removing Win32 label in extra info (#189)
Now that we have .exe files for 64-bit Windows, it's no longer accurate to say `Win32 .exe`. This was also unique behavior for Windows; we did not indicate bitness in this way for any other operating system.
2022-01-09 18:39:34 -06:00
masbaehr c5a6691368 WEB: Update DownloadsModel.php (#187)
fix wrong url for macos. download did not work because link is like this:
https://downloads.scummvm.orgfrs/scummvm/2.5.1/scummvm-2.5.1-macosx.dmg
2022-01-09 17:34:17 -06:00
Eugene Sandulenko 39398a2670 WEB: Put tools to the current category regardless of their version 2022-01-02 19:04:24 +01:00
Thunderforge 5b5564c8d1 WEB: Removing version sort from DownloadQuery
We now sort versions at a later point, and this avoids the issue of the Daily section appearing before the release section.
2021-11-27 11:57:00 -06:00
Thunderforge 359d84ec05 WEB: Removing code related to Extras
Extras have been removed from the `scummvm_downloads` tab of the data spreadsheet. Removing related code and localization data related to it.
2021-11-25 14:55:35 +01:00
Thunderforge a4f0e15a6f WEB: Fixing lint errors 2021-11-21 20:00:54 -06:00
Thunderforge 2ceb90ef78 WEB: Replacing is_null with !==
Codacy recommends this way
2021-11-21 20:00:17 -06:00
Thunderforge 0de6a475d3 WEB: Fixing when the recommended download link is an external URL (#182) 2021-11-21 19:52:16 -06:00
Thunderforge ac98bb341e WEB: Fixing when there is no download link for the user agent (#181) 2021-11-21 19:44:32 -06:00
Thunderforge c95bf5715e WEB: Sort downloads by version (#177) 2021-11-18 17:06:46 -06:00
Thunderforge 60e02dbf54 DATA: Changing downloads table to use version column (#174)
In order to simplify the process of updating version downloads, [downloads spreadsheet table](https://docs.google.com/spreadsheets/d/1QzwFleEKXOsE59cYMOcQB7C2f0Np48uAQOCG8kicX_s/edit#gid=1057392663) now includes a `version` column and the `url` field is much simpler. In order to update a new version, simply change the value in the `version` field.

Further improvements can be made, but for now this is an improvement that keeps parity with the previous code.
2021-11-18 16:04:20 -06:00
SupSuper 0eeb279c31 WEB: Combine daily downloads into a single list 2021-09-20 07:31:07 +01:00
mataniko 43e117fdf2 WEB: Add Director demos page, model and template 2021-08-23 22:17:58 -04:00
SupSuper 3099c653a2 WEB: Update news buildbot links 2021-06-11 17:44:42 +01:00
Mataniko e683a6da6f WEB: Fix screenshot pages for various games
This fixes bug #12356 where games with only one screenshot type would not work.
2021-04-02 22:48:10 -04:00
Mataniko ef20da2ede WEB: Fix PHP array key warnings 2021-04-02 22:01:06 -04:00
Mataniko b20d4c5fb1 WEB: Fix compat version queries 2021-01-09 13:15:55 -05:00
Mataniko 91a6d8eccc WEB: Remove additional unused FAQ references 2021-01-05 16:19:26 -05:00
Mataniko 6589516321 WEB: Restore number of shots in screenshots page 2020-12-31 04:49:44 -05:00
Mataniko f27fe3d0fd WEB: Rewrite the Screenshot model to use the database 2020-12-31 04:49:44 -05:00
Mataniko c6be8fea6a WEB: ORM cleanups 2020-12-31 04:49:44 -05:00
Mataniko cf5b7b8431 WEB: Rename Database tables 2020-12-31 04:49:44 -05:00
Mataniko 8f961660d8 WEB: Move compatibility to the ORM model 2020-12-31 04:49:44 -05:00
Mataniko 22ef91d2a5 WEB: Migrate game downloads to use the ORM 2020-12-31 04:49:44 -05:00
Mataniko a74cd5d8f4 WEB: Move Game Demos to ORM 2020-12-31 04:49:44 -05:00
Mataniko c71dce7702 WEB: Move downloads page to use the ORM 2020-12-31 04:49:44 -05:00
Mataniko f1a969bdbd WEB: Use ORM objects for Screenshots 2020-12-31 04:49:44 -05:00
Mataniko 8780993416 WEB: Convert most most pages to use the ORM objects 2020-12-31 04:49:44 -05:00
Mataniko a540a7a98f WEB: Properly clear cache after data update 2020-12-01 22:14:16 -05:00
Mataniko ebe03e04d6 DATA: Update downloads filenames 2020-11-24 14:51:10 -05:00
Mataniko 2140190f1b WEB: Update games page to use the new data model 2020-11-24 14:51:10 -05:00
Mataniko 8b036bed3f WEB: Update downloads page to use the new data model 2020-11-24 14:51:10 -05:00
Mataniko 41f028310c WEB: Use symfony/yaml and predis if redis is not available
This removes the hard requirements on pecl modules making development easier.
2020-10-21 23:08:08 -04:00
Mataniko fdc6d5ff6e WEB: Fix loading localized data for news and articles 2020-10-10 01:34:06 -04:00
Mataniko 0a394a6260 WEB: Adjust references to non-localized data 2020-10-10 01:34:06 -04:00
Mataniko 08fffe6dd0 WEB: Load localized data in models 2020-10-10 01:34:06 -04:00
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 6c973b34b7 WEB: Move Subprojects to Downloads page 2020-10-01 00:48:59 -04:00
Mataniko 6d0899847b WEB: Cache based on locale 2020-09-29 16:08:34 -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