Commit graph

4735 commits

Author SHA1 Message Date
Shish
920bdd1884 microcrud for image hash bans 2019-11-29 01:52:33 +00:00
Shish
ae805be967 separate messages for ban types 2019-11-28 23:40:14 +00:00
Shish
5cc6a7cd68 show user's IP 2019-11-28 23:39:45 +00:00
Shish
a1e67e97b7 Don't cache ghost-ban announcement pages 2019-11-28 21:46:34 +00:00
Shish
efdc903263 fix typo 2019-11-28 21:35:43 +00:00
Shish
30b85f58db anon-ghost mode, and ghosts can't sign up for accounts 2019-11-28 21:32:18 +00:00
Shish
26e24c8988 ban message is not content 2019-11-28 18:10:58 +00:00
Shish
9cab604455 hook bans into UserLoginEvent instead of InitExtEvent 2019-11-28 18:01:21 +00:00
Shish
358f6d7abc ghost bans 2019-11-28 17:20:23 +00:00
Shish
3ed3ea7234 simplify ban fetching code 2019-11-28 16:49:21 +00:00
Shish
56b8d88ca4 install with composer.lock to make sure exact versions are installed 2019-11-28 16:42:59 +00:00
Shish
45351dd7d1 update microcrud 2019-11-28 15:27:36 +00:00
Shish
9e084cd615 support custom ban modes 2019-11-28 14:57:56 +00:00
Shish
7bf60542df script defer 2019-11-28 11:43:30 +00:00
Shish
33a32d2287 faster ip search in postgres 2019-11-28 11:43:30 +00:00
Shish
a9993b47a8 working microcrud for ipbans 2019-11-27 21:06:14 +00:00
Shish
1edc4a37bf remove sys_ip_bans 2019-11-27 19:55:25 +00:00
Shish
80a816de8c get-token and post-page 2019-11-27 16:10:12 +00:00
Shish
6b2304af93 format 2019-11-27 12:13:04 +00:00
Shish
21b983ac85 remove travis 2019-11-27 12:03:24 +00:00
Shish
33f564994d disambig 2019-11-27 11:51:23 +00:00
Shish
95ef5940fc consistently use colon parameters 2019-11-27 11:47:38 +00:00
Shish
861def1aa3 be explicit about using FFS-PHP's PDO not vanilla PDO 2019-11-26 10:26:38 +00:00
Shish
29994e9613 postgres now recommends IDENTITY over SERIAL 2019-11-25 00:24:45 +00:00
Shish
a175405210 replace ipban page with microcrud 2019-11-24 15:59:14 +00:00
Shish
56bb03f01a and tests 2019-11-24 13:25:41 +00:00
Shish
0de2f23ece be more CRUD 2019-11-24 13:24:42 +00:00
Shish
d8c4331c66 localhost 2019-11-23 12:15:16 +00:00
Shish
fb3a7c03e8 no host 2019-11-23 12:12:28 +00:00
Shish
bd1897ef9f auth 2019-11-23 12:09:18 +00:00
Shish
5ae8d02366 server 2019-11-23 12:00:45 +00:00
Shish
5ab54609b9 sudo 2019-11-23 11:54:54 +00:00
Shish
1fc0eb70e0 update 2019-11-23 11:51:01 +00:00
Shish
c638943eb8 install sqlite3 2019-11-23 00:09:15 +00:00
Shish
6f17f28194 mysql password 2019-11-22 23:03:34 +00:00
Shish
950d9c9fd3 set up db first 2019-11-21 17:42:31 +00:00
Shish
dde38ce403 ql 2019-11-21 17:35:41 +00:00
Shish
417f16079b more environment setup 2019-11-21 17:34:07 +00:00
Shish
17e2662d06 reduce CI CPU use while testing... 2019-11-21 17:30:19 +00:00
Shish
30df57eaf5 use php's database names 2019-11-21 17:28:13 +00:00
Shish
d00f0cdbe7 install pgsql driver 2019-11-21 17:25:05 +00:00
Shish
849d04bf7a more phpunit 2019-11-21 17:18:43 +00:00
Shish
1e4f08e9e9 updates for phpunit 8 2019-11-21 17:16:11 +00:00
Shish
4026181219 composer updates 2019-11-21 17:12:08 +00:00
Shish
d91e7fa136
testing github actions 2019-11-21 16:59:07 +00:00
Shish
659ef7dac9 update dependencies 2019-11-14 18:24:09 +00:00
Shish
962f6073ff sqlite requires limit/offset, offset/limit is treated as a syntax error 2019-11-11 16:53:11 +00:00
Shish
c94f289291 html_escape all exception messages - pass query out-of-band if we want it formatted 2019-11-11 16:43:42 +00:00
Shish
6486bb95da name_to_id 2019-11-11 16:43:42 +00:00
Shish
247cfcbd77 Avoid shadowing global variable
When we aren't referencing the current `global $user`, we should give it
a different name to avoid confusion
2019-11-11 16:43:42 +00:00