Commit Graph
34 Commits
Author SHA1 Message Date
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
SupSuper 3099c653a2 WEB: Update news buildbot links 2021-06-11 17:44:42 +01:00
Mataniko ef20da2ede WEB: Fix PHP array key warnings 2021-04-02 22:01:06 -04:00
Mataniko cf5b7b8431 WEB: Rename Database tables 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 ebe03e04d6 DATA: Update downloads filenames 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 08fffe6dd0 WEB: Load localized data in models 2020-10-10 01:34:06 -04:00
Mataniko 08ea2cfcde WEB: Lint and static analysis cleanup 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
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
Lothar Serra Mari aa1b1c4de4 DATA: Remove the workaround for providing the Win32 and Mac version by variable 2020-04-01 00:00:30 +02:00
Lothar Serra Mari 1444fd65b0 DATA: Override Win32 and Mac recommended download version 2020-03-31 21:15:58 +02:00
Lothar Serra Mari f40628a471 WEB: Fix formatting for the additional snap information 2020-03-23 22:53:51 +01:00
Lothar Serra Mari 5552f936fd WEB: Add additional install information to the snap package 2020-03-23 22:52:17 +01:00
Lothar Serra Mari 396a8eebab WEB: Fix indentation 2020-03-10 11:13:30 +01:00
Lothar Serra Mari 3da67ae86b WEB: Add version constants for Android and Snap Store releases
Since we can't use the filenames for stripping out the version information,
we have to rely on set values in Constants.php like we do for the Debian
and Tools packages.

Fixes empty version string for the recommended downloads offered
for Android users.
2020-03-10 10:00:31 +00:00
mataniko 68e0ca2d7b WEB: Escape user agent in DownloadsModel preg_match 2020-01-31 17:37:10 -05:00
mataniko c8fbbe8380 WEB: Fix static call to non-static method error. 2020-01-23 07:26:43 -05:00
Matan Bareket a5722c8ca0 WEB: Move the Recommended Download logic to the DownloadsModel 2019-05-09 00:28:27 -04:00
Matan Bareket 8a51f21f0c WEB: Rename Section objects 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 d429c48de0 Website rewrite from Fredrik Wendel
svn path=/web/trunk/; revision=40814
2009-05-23 18:45:30 +00:00