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
710b95a5f4
WEB: Better error handling
...
When PHP functions fail they often return false instead of the expected
object type.
CHeck for this value and fail properly.
2025-08-24 12:32:47 +02:00
Le Philousophe
cc9fa80181
WEB: Add typing
2025-08-24 12:32:47 +02:00
Le Philousophe
1c9380ef3e
JANITORIAL: Fix code style
...
This should not have any behavioral changes
2025-08-24 12:32:46 +02:00
Thunderforge
f25dbcc8fa
WEB: Removing unused imports
2023-05-24 18:42:56 -05:00
mataniko
f4bc9f9ba1
WEB: Really fix stripping of "a" at the end of markdown files
2021-08-23 22:19:20 -04:00
mataniko
262d6165e0
DATA: Fix references to news files
2021-08-22 11:37:00 -04:00
Mataniko
4292507fcb
WEB: Convert localization utils to a static class
2021-01-01 10:07:47 -05:00
Mataniko
f03e46b0c7
WEB: Generate localized news folders
2020-10-10 01:34:06 -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
e483873d57
WEB: Remove the lang cookie and leverage the url path instead
2020-09-29 16:08:34 -04:00
Mataniko
08ea2cfcde
WEB: Lint and static analysis cleanup
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
9ee91e7265
WEB: Remove deprecated use of array_key_exists
2020-09-27 22:08:07 -04:00
mataniko
99ec834693
L10N: Use consistent line breaks when encoding news.json
2020-09-02 20:53:24 -04:00
mataniko
f501e23113
WEB: Fix generating the base news file
2020-09-02 09:26:49 -04:00
mataniko
2da6d8f010
WEB: Fix formatting and analysis errors
2020-09-01 00:10:54 -04:00
mataniko
18208be623
L10N: Rename I18N file
2020-09-01 00:10:54 -04:00