Commit Graph
545 Commits
Author SHA1 Message Date
Thunderforge beeb7ce7a8 WEB: Removing /frs/extra/ from the url field of game downloads 2022-01-11 20:50:55 -06:00
Thunderforge a060430d43 WEB: Fixing extra info for tools 2022-01-11 20:04:40 -06:00
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 f90e1e3406 WEB: Changing getLastModified($path) to return as ISO 8601 date (#194)
We don't need second precision when showing last updated, so reducing from datetime to date. Changing to ISO 8601 has the added benefit of reducing visual complexity and also preventing the need to translate the spelled out dates.
2022-01-10 18:54:57 -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
Thunderforge 2d73bc74cc WEB: Use absolute file path if available
I suspect this will fix an issue with the hashes and such showing up locally, but not on the server.
2022-01-10 00:55:03 +01: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
Thunderforge bea0da3bc4 WEB: Change how file extra info is generated 2022-01-09 09:04:05 +01:00
Thunderforge f53ffc4ab8 WEB: Removing leading slash from file path constants
This resulted in `//`, which resolved as a `/` in the URL, but broke calls like `is_file()`.
2022-01-09 09:04:05 +01:00
Eugene Sandulenko 39398a2670 WEB: Put tools to the current category regardless of their version 2022-01-02 19:04:24 +01:00
Eugene Sandulenko 45f449f0d3 WEB: Announce 2.5.1 release 2022-01-02 18:28:08 +01: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 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 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 ec361d1328 WEB: Preventing "Daily" from being appended to file names 2021-11-25 10:50:52 -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 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
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 0aff36bb46 WEB: Replacing {$version} in file name (#176)
Makes this appear properly

```
IRIX (6.5.{$version}, n32, mips3) package
IRIX (6.5.{$version}, n32, mips4) package
```
2021-11-18 16:56:42 -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
Thunderforge 0ddd37e5f7 WEB: Fixing lint errors
Ran `composer lint` and accepted its auto-fixes
2021-11-10 18:22:34 +01:00
Thunderforge b9ce5baf45 WEB: Removing file.getType() and related dead code
It appears that at one point the data spreadsheet included a `type` field. This is no longer the case and so all of this is not used, providing unnecessary confusion and maintenance.
2021-11-01 06:52:39 +01:00
Thunderforge 18ee3ada4f WEB: Changing headers to use Markdown headers instead of bold 2021-10-18 19:47:26 +02:00
Lothar Serra Mari 0aa987dfc8 WEB: Update release data 2021-10-09 20:50:22 +02:00
Lothar Serra Mari 6ba423d322 WEB: Bump RELEASE constant to 2.5.0 2021-10-09 18:52:59 +02:00
SupSuper 0eeb279c31 WEB: Combine daily downloads into a single list 2021-09-20 07:31:07 +01:00
Thunderforge 53da9ef108 WEB: Using full Wikipedia link if given, or Wikipedia page name if not 2021-09-08 15:45:34 +02:00
Thunderforge 60b9a85f16 WEB: Add a Wikipedia link for games
Add a new field to the game table called `wikipedia_page`, which is the URL page title for the game's corresponding page on English Wikipedia.

The field has been filed out for a few games (such as Martian Memorandum and Manhunter: New York), but more will need to be filled out.
2021-09-08 15:45:34 +02:00
Thunderforge 1e89f3e7ca WEB: Moving ScummVM Wiki link from table to game page
"Data Files" is now just a link to the ScummVM Wiki page. Moving to the same place as the new MobyGames link.
2021-08-26 22:34:20 -04:00
mataniko 5810703f63 WEB: Add support for static pages in the router 2021-08-24 22:01:34 -04:00
Thunderforge 23423a8599 Fixing check for mobyId 2021-08-24 11:21:06 -04:00
Thunderforge ce6bb0cacf Changing to use Markdown for Mobygames hyperlink 2021-08-24 11:21:06 -04:00
Thunderforge bd3aeff0e0 Adding MobyGames external link
Future external links might be added for things like Wikipedia or the ScummVM Wiki.
2021-08-24 11:21:06 -04:00
Thunderforge b5a64de515 Fixing unsupported platforms not appearing 2021-08-24 07:33:35 +03:00
mataniko f4bc9f9ba1 WEB: Really fix stripping of "a" at the end of markdown files 2021-08-23 22:19:20 -04:00
mataniko 43e117fdf2 WEB: Add Director demos page, model and template 2021-08-23 22:17:58 -04:00
mataniko 7b0b6b8bb1 WEB: Add Director Demo data model 2021-08-23 21:39:04 -04:00
mataniko 262d6165e0 DATA: Fix references to news files 2021-08-22 11:37:00 -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 2c280bfe12 WEB: Fix potential race condition when building data 2021-01-25 15:18:42 -05:00
Thierry Crozat b81751b385 WEB: Sort versions on compatibility page from newer to oldest
This fixes bug #12054
2021-01-18 21:25:08 +00:00
Mataniko b20d4c5fb1 WEB: Fix compat version queries 2021-01-09 13:15:55 -05:00