Commit Graph

299 Commits

Author SHA1 Message Date
Catalin 0a4dce082f
Putting date when editing news
Fuzzy date when editing the news in the database, with several options.
2023-03-10 21:24:32 +01:00
Wruczek 4ac20a09f7 Fixed "Your IP has been banned" alert on ban list not being displayed
Fixes #215
2022-12-14 01:37:19 +01:00
Wruczek 3704f427ad News - change to fuzzy date 2022-12-05 02:26:56 +01:00
Wruczek c28ab18fee Add date to news 2022-09-27 00:54:03 +02:00
Wruczek 83d7d0b970 Don't store user language in session
So that we don't save it in every session on every page visit. Cookies are enough to remember selected language.
2022-06-30 03:47:15 +02:00
Wruczek 8c93d31321 Merge remote-tracking branch 'origin/2.0' into 2.0 2021-10-16 01:55:01 +02:00
Wruczek 1d03800336 TS-website is not yet compatible with PHP 8 2021-10-16 01:54:47 +02:00
Sascha Moser 1dd01b5bb8
Update FontAwesome and jQuery (#188) 2021-10-16 01:52:27 +02:00
toster234 832bfbbc12
Copyright year update (#205) 2021-10-16 01:33:18 +02:00
toster234 e597b156c0
Bump version (#204) 2021-10-16 01:13:19 +02:00
Wruczek 48f5dcacde
Update Latte (#203) 2021-10-16 01:10:27 +02:00
Wruczek ed436d8392
Update translations, added Chinese language (#202) 2021-10-16 00:59:07 +02:00
Wruczek 524729c939
Fix typos (#200) 2021-10-16 00:03:12 +02:00
Wruczek e1a6345338
Remove utf8_encode polyfill (#201)
utf8_encode is included with PHP 7.2, which is our minimum required version.
2021-10-16 00:03:05 +02:00
Wruczek 5661bfb9f6
Update readme (#199) 2021-10-15 23:35:49 +02:00
Wruczek 51639a48bf Merge remote-tracking branch 'origin/2.0' into 2.0 2021-04-16 16:58:01 +02:00
Wruczek 223309c428 FAQ page bug fixes
- link to the first question didnt worked (first question has ID of 0, which was treated as false)
- sometimes the copy button didnt worked (was returning from the script without being in a function)
2021-04-16 16:57:44 +02:00
Ondřej Niesner c0b32f5992
Convert to string before replace (#186)
This fixes this error  text.replace is not a function
When somebody has this nickname 1234567890 it thorws error in the server viewer.
2021-03-24 18:06:05 +01:00
Sascha Moser 70d2c7f870
Use minified day.js locale files 2021-02-05 22:31:37 +01:00
toster234 1347556b41
Merge pull request #181 from xopez/patch-1
Correct version comment
2021-02-01 19:45:47 +01:00
Sascha Moser 5ccd403085
Correct Version Comment
Just correcting the comment
2021-02-01 19:43:45 +01:00
Wruczek aa431b3436 Set font-display to fallback for google fonts (#179) 2021-02-01 14:31:39 +01:00
Wruczek 411fa13807 Update versions of libs from CDNJS, remove an unused datatables plugin 2021-02-01 14:31:01 +01:00
Wruczek 3c874d725d Merge branch '2.0' of github.com:Wruczek/ts-website into 2.0 2021-02-01 09:13:00 +01:00
Sascha Moser daa56f4b13
Add display swap (#179)
We should ensure that the text remains visible during webfont load. Further link:
https://web.dev/font-display/
This should be also done for font awesome but I didn't find a way to make it with the load of the font. Maybe we should place this in CSS.
2021-02-01 09:09:20 +01:00
Wruczek fe60bbe7a7 Mark a channel hidden based on its needed subscribe power 2020-12-02 19:16:42 +01:00
Wruczek 6fff5900eb Update readme 2020-11-03 04:22:50 +01:00
Wruczek 63c4895c91 Remove mentions of the admin panel to prevent confusion 2020-11-03 04:21:25 +01:00
Wruczek 167f20981f Minor changes to installer 2020-10-23 18:27:54 +02:00
Wruczek 99842a8ba4 Remove TS3 server ID from metrics
We don't really use it for anything, so we don't need to collect it.
2020-10-23 18:22:27 +02:00
Wruczek e6c48d170f Update comment 2020-10-23 18:12:46 +02:00
Wruczek 3aca04e04c Remove dayjs language fallback 2020-10-23 18:07:32 +02:00
Wruczek 9a5e05ca84 Fix an exception in viewer, when client had an empty away message 2020-10-23 18:06:46 +02:00
Wruczek c751001c61 Update lang for day.js 2020-10-21 16:55:32 +02:00
Wruczek 2ca6ac03d7 Replace moment.js with smaller day.js 2020-10-21 16:18:00 +02:00
Wruczek f3d7584a46 Correct variable declaration in latte 2020-10-21 14:45:26 +02:00
Wruczek 753c6c7688 Minor improvements 2020-10-08 06:29:13 +02:00
Wruczek b736b13286 Fix functions __ and __get having invalid parameter types 2020-10-08 06:28:26 +02:00
Wruczek 06b843353a Updated requirements in installer 2020-10-07 00:33:34 +02:00
Wruczek c317ac3614 Add TS3 icon sync to the installer 2020-10-06 23:58:29 +02:00
Wruczek d93bff9634 More type declarations, minor code improvements 2020-10-06 23:09:58 +02:00
Wruczek 502a7d2fde More minor improvements
- more type declarations
- remove config caching, it was a minor speed improvement, but a big confusion when website didnt updated after editing config
- fix issue where DB problems will display a PHP recursion error instead of the error template
2020-10-06 17:05:08 +02:00
Wruczek 16b6e829fe Add more type declarations, support for hiding channels in viewer 2020-10-06 04:29:59 +02:00
Wruczek 8bcca7d0c1 Remove special support for TS server < 3.8.0 2020-10-06 04:27:56 +02:00
Wruczek 9848c096e6 bans.php - dont pass null into Utils::escape 2020-10-06 04:26:04 +02:00
Wruczek d0d9c91ab2 PHP 7 - type declarations, use secure pseudo randoms 2020-10-06 04:13:28 +02:00
Wruczek 742707a29a Updated composer package versions 2020-10-06 02:42:59 +02:00
toster234 415fcae523
Updated the year 2020-10-05 01:34:55 +02:00
toster234 e0c8a3ad4c
Bump version to dev-2.0.5.2 2020-10-05 01:33:14 +02:00
toster234 5bc4b10c11
Updated lang (#170) 2020-10-05 01:22:20 +02:00