19 Commits

Author SHA1 Message Date
Le Philousophe 93d3aa56a1 WEB: Handle null cases
Sometimes variables may be null. Handle the cases when passing to
functions expecting something non-null.
2025-08-24 12:32:47 +02:00
Le Philousophe 9a59454525 BUILD: Increase PHPStan level
The AltoRouter::match function has a bad signature: fix it using a stub.
2025-08-24 12:32:47 +02:00
Le Philousophe a1afb8a64d WEB: Handle cases when WebLink are mixed with Files
Also make hasOldVersion static as it doesn't need access to the
instance.
2025-08-24 12:32:47 +02:00
Le Philousophe cc9fa80181 WEB: Add typing 2025-08-24 12:32:47 +02:00
Le Philousophe 641ff7939d WEB: Remove useless baseUrl argument 2024-09-14 13:14:49 +02:00
Le Philousophe ae90ba23db WEB: Remove useless getId function
It always returned an uninitialized id.
2024-09-14 13:14:49 +02:00
Thunderforge 7c2680462a WEB: Replace dynamic variables with instance variables
This feature is deprecated in PHP 8.2.
2022-12-20 20:07:25 -06:00
Thunderforge bead8af168 DATA: Sorting by autoId after sorting by version 2022-01-28 18:08:03 -06:00
Thunderforge 684e3e9ca7 WEB: Fixing the Games page not loading
Game items don't have a getVersion() method. Now we check for it before we try to sort.
2021-11-27 12:11:43 -06:00
Thunderforge fb71c0068d WEB: Only sort versions that are old
Prevents an issue where release and current builds are getting scrambled
2021-11-27 11:54:19 -06:00
Thunderforge cc79eb0043 WEB: Sorting downloads by version after a new one is inserted
Previously, downloads always got added to the end of the list. Now, the download is added to the end and then the list is sorted by version, meaning that the download will be moved to be the last one of all the downloads with that version.
2021-11-25 14:53:15 +01:00
Mataniko 22ef91d2a5 WEB: Migrate game downloads to use the 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 8b036bed3f WEB: Update downloads page to use the new data model 2020-11-24 14:51:10 -05:00
Matan Bareket e916b2b7e3 WEB: Fix download URLs 2019-01-23 05:18:28 -05:00
Matan Bareket 4c97bcbcaf WEB: Remove unused objects and methods in downloads/games 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