Changesets: Website

master dfa3855a

2021-05-26 12:44:07

dregad

Details Diff
Merge branch 'builds' into master
mod - builds.php Diff File

master 9ee21fbe

2021-05-26 12:43:02

dregad

Details Diff
Fix PHP warning when ZIP file missing

The ZIP file's timestamp is used for sorting the builds; if the file is
missing, PHP throws an Undefined array key warning.
mod - builds.php Diff File

master cb672211

2021-05-26 12:38:15

dregad

Details Diff
Add ASCII-armored signatures to build page

Include link to PGP keys file (KEYS.md in MantisBT GitHub repo).

Fixes #28635
mod - builds.php Diff File

master 6408091e

2021-05-26 12:24:52

dregad

Details Diff
Fix builds sort order

Builds were sorted by branch name ascending, which caused master to
come first, followed by 1.3.x then 2.x.

Sorting by version number descending instead, gives us master first
followed by 2.x and finally 1.3.x as expected (logic assumes that
version number is bumped to '-dev' on master branch).

Also simplify custom sort function to use spaceship operator instead of
if/elseif/else block.

Fixes #28634
mod - builds.php Diff File

master f94bb110

2021-05-26 12:08:58

dregad

Details Diff
Print error message when no builds are found
mod - builds.php Diff File

master 3e798290

2021-05-26 12:07:02

dregad

Details Diff
Fix indentation
mod - builds.php Diff File

master d71d7d94

2021-05-26 12:03:19

dregad

Details Diff
Wrap log file info in <p> tag
mod - builds.php Diff File

master cd23ea42

2021-05-26 12:02:33

dregad

Details Diff
Display H1 title even when no builds are found
mod - builds.php Diff File

master 5e7fcf3e

2021-05-26 11:59:52

dregad

Details Diff
Fix PHPStorm static analysis warnings
mod - builds.php Diff File

master c76fa2e1

2021-05-26 11:58:00

dregad

Details Diff
Remove legacy PHP 5.x code
mod - builds.php Diff File

master 9328d639

2021-05-26 11:57:25

dregad

Details Diff
Fix PHPDoc blocks and function signatures
mod - builds.php Diff File

master b60ab3a0

2021-05-25 07:47:25

dregad

Details Diff
Composer: abraham/twitteroauth v2.0.1
mod - composer.json Diff File
mod - composer.lock Diff File

master 773cd05c

2021-05-25 07:46:00

dregad

Details Diff
Composer: update PHP platform and set min version

Following server upgrade, we're now running PHP 7.4.3.

Set 7.4 as minimum PHP version, and add missing ext-json requirement.
mod - composer.json Diff File

master 0cfcb70f

2021-05-25 07:34:36

dregad

Details Diff
Use Browser Detection library

Composer require foroco/php-browser-detection

Replace getBrowser() function with the BrowserDetection object provided
by the library.

Fix PHP NOTICE that gets triggered when HTTP_USER_AGENT is not set (use
coalesce operator).

Generate the redirection header in browser_check.php instead of top.php.

Fixes #28631
mod - browser_check.php Diff File
mod - composer.json Diff File
mod - composer.lock Diff File
mod - top.php Diff File

master 5591698c

2020-11-14 07:41:19

dregad

Details Diff
Update TwitterOauth library

Fixes #27518
mod - .gitignore Diff File
mod - bot.php Diff File
add - composer.json Diff File
add - composer.lock Diff File
mod - get-tweets.php Diff File
mod - js/custom.js Diff File
rm - twitteroauth-master/LICENSE Diff File
rm - twitteroauth-master/README.md Diff File
rm - twitteroauth-master/callback.php Diff File
rm - twitteroauth-master/clearsessions.php Diff File
rm - twitteroauth-master/config.php Diff File
rm - twitteroauth-master/connect.php Diff File
rm - twitteroauth-master/html.inc Diff File
rm - twitteroauth-master/images/darker.png Diff File
rm - twitteroauth-master/images/lighter.png Diff File
rm - twitteroauth-master/index.php Diff File
rm - twitteroauth-master/redirect.php Diff File
rm - twitteroauth-master/test.php Diff File
rm - twitteroauth-master/twitteroauth/OAuth.php Diff File
rm - twitteroauth-master/twitteroauth/twitteroauth.php Diff File

master edadb3e4

2020-11-14 07:38:46

dregad

Details Diff
Gracefully handle errors when retrieving tweets

In case the Twitter API call fails, get-tweets.php now returns the
status code in addition to the error details (JSON) in the response
body.

This allows the client to react properly to the error, as before it
would always get an HTTP 200 success status code and did not know that
something went wrong.

Adding a .fail() handler to the ajax call, displaying an error message;
the browser console should log the details about the failed XHR.
mod - get-tweets.php Diff File
mod - js/custom.js Diff File

master f3585104

2020-11-14 07:35:11

dregad

Details Diff
Add text indicating tweets are being retrieved
mod - bot.php Diff File
mod - js/custom.js Diff File

master fde6fcd6

2020-11-14 07:33:51

dregad

Details Diff
Replace deprecated ajax xhr.success() by .done()
mod - js/custom.js Diff File

master 81098fad

2020-11-14 07:25:08

dregad

Details Diff
Remove hardcoded tweets count in javascript

Use data property to provide the parameter.
mod - bot.php Diff File
mod - js/custom.js Diff File

master daa93668

2020-11-14 07:22:55

dregad

Details Diff
Refactor get-tweets.php to use Twitter library from Composer

Delete the previously bundled library
mod - get-tweets.php Diff File
rm - twitteroauth-master/LICENSE Diff File
rm - twitteroauth-master/README.md Diff File
rm - twitteroauth-master/callback.php Diff File
rm - twitteroauth-master/clearsessions.php Diff File
rm - twitteroauth-master/config.php Diff File
rm - twitteroauth-master/connect.php Diff File
rm - twitteroauth-master/html.inc Diff File
rm - twitteroauth-master/images/darker.png Diff File
rm - twitteroauth-master/images/lighter.png Diff File
rm - twitteroauth-master/index.php Diff File
rm - twitteroauth-master/redirect.php Diff File
rm - twitteroauth-master/test.php Diff File
rm - twitteroauth-master/twitteroauth/OAuth.php Diff File
rm - twitteroauth-master/twitteroauth/twitteroauth.php Diff File

master b69bfce8

2020-11-14 07:20:23

dregad

Details Diff
.gitignore: move config_inc.php out of editor files section
mod - .gitignore Diff File

master 21a67115

2020-11-14 07:19:28

dregad

Details Diff
.gitignore: exclude vendor directory
mod - .gitignore Diff File

master 1b30629f

2020-11-14 07:18:07

dregad

Details Diff
Composer: add abraham/twitteroauth v1.0.1

The library https://twitteroauth.com was previously bundled in our repo.
The code (from 2014) was quite outdated, so switching to using Composer.

Later versions of the library require PHP 7.2 or newer. Setting PHP
platform to match the server config, to ensure a compatible version gets
installed.
add - composer.json Diff File
add - composer.lock Diff File

master bd0b2635

2020-04-25 19:17:42

dregad

Details Diff
Reference KEYS file on Downloads page

Fixes 0022269
Affected Issues
0022269
mod - download.php Diff File

master 2d5abc31

2019-08-29 07:02:51

dregad

Details Diff
Fix spaces after links
mod - doc_dev_inc.php Diff File
1 2 3 4 5 ... 10 ... 15 ... 20 ... 25 ... 28 29 30  Next  Last