480 Commits

Author SHA1 Message Date
ruan
205df0e285 Add options to show server scope/origin in info.php.
Disable server scope column by default, since most people only use global bans.
2020-08-17 08:37:54 +02:00
ruan
8eb8ddac52 Refactor settings.php 2020-08-17 08:30:19 +02:00
ruan
7b4957a5ba Replace navbar padding with position: static 2020-08-09 08:19:40 +02:00
ruan
b57ca651a5 Make padding unselectable 2020-08-09 08:17:49 +02:00
ruan
245f3a1653 [CI] PageTest: Test page 2 2020-08-08 18:59:23 +02:00
ruan
6be6d5c680 [CI] Install unzip to fix warning 2020-08-08 13:10:17 +02:00
ruan
3d967f9f2c Remove lc_first function since PHP 5.2 is no longer supported 2020-08-08 13:05:37 +02:00
ruan
dc4a25c8cf Use require_once instead of include_once in all cases. 2020-08-08 13:00:39 +02:00
ruan
ca86925bb3 Fix PHP 5.3 compat issue 2020-08-07 20:43:55 +02:00
ruan
abc453bac8 [CI] Disable table verification for tests
The table was being checked before creation.
2020-08-07 20:25:58 +02:00
ruan
163bd48792 [CI] Fix MySQL 2020-08-07 20:10:25 +02:00
ruan
678ee9f913 [CI] Fix MySQL 2020-08-07 20:04:59 +02:00
ruan
2df02aee73 [CI] Fix MySQL 2020-08-07 19:56:03 +02:00
ruan
ca586267b4 [CI] Fix MySQL 2020-08-07 19:50:02 +02:00
ruan
2b7bc8fe2e [CI] Add pager test + MySQL service 2020-08-07 19:39:12 +02:00
ruan
e975ab8001 [CI] Update LangTest 2020-08-06 16:44:24 +02:00
ruan
b2c00c66c3 Update lang/README.md 2020-08-06 16:24:38 +02:00
ruan
dd5aa8e4c6 [CI] Refactor output of LangTest 2020-08-06 16:24:24 +02:00
ruan
c197ff0f49 [CI] Fix LangTest 2020-08-06 16:08:51 +02:00
ruan
e235f47d43 [CI] Add debug 2020-08-06 15:59:55 +02:00
ruan
e852027f8b [CI] Fix LangTest class path 2020-08-06 15:52:06 +02:00
ruan
3d393e5719 [CI] Set up PHPUnit and first unit test 2020-08-06 15:45:58 +02:00
ruan
477ccd601a Refactor locale classes for unit testing 2020-08-06 15:39:55 +02:00
Ruan
da086cafe3 [CI] Disable composer
No actual dependencies to install, for now
2020-08-06 12:43:01 +00:00
Ruan
a9541cba69 Try fixing broken-by-default CI build template (ep. 3) 2020-08-06 12:36:01 +00:00
Ruan
308b19d901 Try fixing broken-by-default CI build template (ep. 2) 2020-08-06 12:29:43 +00:00
Ruan
54f2380332 Try fixing broken-by-default CI build template
Gitlab's templates are in need of unit testing.
2020-08-06 12:22:40 +00:00
Ruan
4b6ac9f8c1 Add .gitlab-ci.yml 2020-08-06 12:15:56 +00:00
ruan
82e778ff08 Allow kick expire column value to be translated (#48) 2020-06-27 12:29:48 +02:00
ruan
3a959a8d15 Fixed pager with simple_urls disabled 2020-06-21 16:49:13 +02:00
ruan
e7598dee7e Fix up default index link if simple_urls is enabled 2020-06-21 10:14:31 +02:00
ruan
4443721716 Fix history.php / info.php error when simple_urls is disabled 2020-06-21 08:35:32 +02:00
ruan
9630eaa52b Add support for simple URLs (e.g. /bans/) 2020-06-21 00:39:16 +02:00
ruan
2333fda8df Minor code inspection cleanup 2020-06-15 13:43:36 +02:00
ruan
493a2c48b0 Fix history.php 2020-06-15 13:24:41 +02:00
ruan
817d7605fd Simplify info.php
Removed code duplication. Pruned columns are not computed due to lazy loading (via closures).
2020-06-11 10:43:20 +02:00
ruan
b45b174923 Remove the redundant "avatar_allow_offline_mode_uuids" option.
Since {name} and {uuid} can be used in avatar_source_offline_mode,
 this option no longer serves a purpose. The avatar_source_offline_mode option makes avatar_allow_offline_mode_uuids obsolete.
2020-06-08 18:10:29 +02:00
ruan
ca7e7dcccc Change default avatar source
In response to Crafatar serving default skins for some reason.
2020-06-08 17:35:40 +02:00
ruan
317b1d44d0 Make configuration more consistent 2020-05-03 15:24:14 +02:00
ruan
dd04da174a Add new translations (HU & SK) 2020-05-01 09:31:43 +02:00
ruan
b924f87b90 Add timezone specification example 2020-04-24 08:45:57 +02:00
ruan
01bc9a9212 Merge remote-tracking branch 'origin/master' 2020-02-12 07:03:27 +02:00
ruan
355a40727d Fix redirection on non-English locales 2020-02-12 07:03:07 +02:00
Ruan
6661ed285e Merge branch 'patch-4' into 'master'
Update cs_CZ.utf8.php

See merge request ruany/litebans-php!43
2020-02-07 04:22:23 +00:00
MrMorganCz
49df808360 Update cs_CZ.utf8.php 2020-02-07 01:12:23 +00:00
Ruan
6ad81e1034 Merge branch 'master' into 'master'
Add pl_PL.utf8.php

See merge request ruany/litebans-php!42
2020-01-31 11:50:27 +00:00
Szymon S
3c9c71bdea Quick fix (change "czek" to "sprawdź") 2020-01-31 11:41:52 +00:00
Szymon S
fc2db02f6a Add pl_PL.utf8.php 2020-01-31 11:12:43 +00:00
ruan
f8318961ed Check names based on descending order of login date instead of ascending 2020-01-26 12:51:52 +02:00
ruan
6c40fdfeb9 Clean up, add query comments
All user input appended to queries is either constantified or prepared - SQL injection should be impossible.
2020-01-18 11:54:28 +02:00