Matan Bareket
7afd0daf3f
WEB: Use OO for objects
2019-01-22 19:49:58 -05:00
Matan Bareket
2eff11cbb3
WEB: Clean up most PSR2 style warnings
2019-01-22 19:49:58 -05:00
Matan Bareket
df825b7878
WEB: Fix phpstan static errors
2019-01-22 19:49:58 -05:00
Matan Bareket
1e7815ec2e
WEB: Fix namespace reference to ErrorException
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
Matan Bareket
7304245d40
WEB: Calculate hash if the file is newer than the hash file
...
This allows us to update files and dailies and keep the hash current
2018-11-19 10:38:38 -05:00
Matan Bareket
290142bcd4
WEB: Add SHA256 to Downloads
2018-11-19 07:52:59 -05:00
Matan Bareket
018c78010a
NEWS: Add support for news filenames in either yyyyMMdd or yyyyMMddHHmm format
...
This also changes the behavior that when a user clicks on a news
article, he will get all news articles from the same day. The reasoning
is a) we barely have more than 1 article a day. b) if a user wanted a
hotlink to a particular news article, he might get two different ones
which is odd.
2018-11-18 07:46:22 -05:00
Matan Bareket
01f1443c43
I18N: Revert News model and Object but use JSON now instead of our XML
2018-11-06 08:57:44 -05:00
Matan Bareket
c4e8e96345
I18N: Update News model and object to read from the new JSON file
2018-11-06 01:00:06 -05:00
Matan Bareket
b72bd9e6f1
WEB: Fix deprecated PHP constructor
2018-09-01 14:10:30 -04:00
Matan Bareket
b91570b1fa
DATA: Add anchors to the credits data
2018-08-07 18:38:59 -04:00
Matan Bareket
904f4494ca
WEB: Add a method to generate News links in HTML and feeds
2018-07-26 07:17:40 -04:00
Matan Bareket
3ff4a1b01e
WEB: Remove broken getImage method from news articles
2018-07-26 07:17:40 -04:00
Eugene Sandulenko
7ef6da000f
WEB: Switched LEC sshots to ranges
2016-03-20 14:26:02 +01:00
Eugene Sandulenko
6e82aca7df
WEB: More sanity check for screenshot ranges
2016-03-20 14:16:38 +01:00
Eugene Sandulenko
a2af096dc1
WEB: Implement ranges in screenshots to save space
2016-03-20 14:05:35 +01:00
Eugene Sandulenko
8e8ba5d3ec
WEB: Show .tar.bz2 as extension, not .bz2
2016-03-05 23:00:23 +01:00
Eugene Sandulenko
6e7a374275
WEB: Remove now redundant file sizes for game downloads
2016-03-02 01:06:42 +01:00
Eugene Sandulenko
e70a5966e0
WEB: Gracefully round file size, remove extra info
2016-03-02 00:30:18 +01:00
Eugene Sandulenko
1ca0707086
WEB: Fix retrieving local file info
2016-03-02 00:13:40 +01:00
Eugene Sandulenko
5e9471afc5
WEB: Overhaul of download urls.
...
Now by default we're looking into local FS.
There are 3 potential places for files: frs/scummvm/, frs/scummvm-tools/
and downloads/. They're now governed by 'type' attribute to url.
2016-03-02 00:03:47 +01:00
Eugene Sandulenko
7cf6b2ef40
WEB: More robust date parsing. Fixes to French news item dates.
2016-01-17 21:57:14 +01:00
Eugene Sandulenko
baf10b1d1a
WEB: Fix warning
2015-11-02 07:15:17 +01:00
Eugene Sandulenko
e0f634a837
Merge pull request #4 from lordhoto/compat-levels
...
WEB: Use descriptive support levels in compat page.
2014-01-08 11:35:21 -08:00
Filippos Karapetis
c55c0c6287
WEB: Add category icons to the demos page and fix some demo targets
...
Add a new optional tag, "category". If it's missing, the target name is
used instead
2013-12-29 13:23:42 +02:00
Johannes Schickel
998e50d3d3
WEB: Use descriptive support levels in compat page.
...
This removes the old (and confusing) percent values and replaces them with
a simple scheme of: unsupported, playable and completable.
A initial adaption of the compatibility page of the development version has
been done. This might need some reclassification! All the old compatibility
pages keep their percent values.
2013-11-17 01:29:40 +01:00
Filippos Karapetis
3bbb230b3d
WEB: Generate the list of recommended downloads from the XML data
...
Add a new XML field, "user_agent", used to find the user agent string
where the download item in question will be suggested to the user. Only
items with the "user_agent" field can be provided as recommended
downloads
2013-11-08 02:49:25 +02:00
Filippos Karapetis
e2e430f3db
WEB: use html_entity_decode() when decoding entities
...
This removes the hacky hardcoded table. Thanks to DrMcCoy for his help.
2013-07-02 23:31:33 +03:00
Filippos Karapetis
eb35f1bb8c
WEB: Replace specific HTML entities in RSS/atom feeds
...
This fixes the invalid XML entities in the RSS/atom feeds.
Currently, only e acute is replaced, but this can be extended to
replace more entities that may appear in news items
2013-07-02 13:25:46 +03:00
Jordi Vilalta Prat
83ae141b9d
WEB: Replace unnecesary references to SVN with VCS-agnostic terminology.
...
svn path=/web/trunk/; revision=55899
2011-02-12 20:18:55 +00:00
Max Horn
b34051a2d1
WEB: Rewrote FAQ code so that the numerical anchors are always present, even if a FAQ entry gets an explicit name/id (so that existing links are not broken)
...
svn path=/web/trunk/; revision=49218
2010-05-25 19:25:33 +00:00
Fredrik Wendel
f6c9513056
#2820377 : "WEB: Unable to post more than single news item per day"
...
svn path=/web/trunk/; revision=42882
2009-07-29 09:03:27 +00:00
Eugene Sandulenko
d429c48de0
Website rewrite from Fredrik Wendel
...
svn path=/web/trunk/; revision=40814
2009-05-23 18:45:30 +00:00