Commit graph

127 commits

Author SHA1 Message Date
Shish
33f564994d disambig 2019-11-27 11:51:23 +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
962f6073ff sqlite requires limit/offset, offset/limit is treated as a syntax error 2019-11-11 16:53:11 +00:00
Shish
bde49c4f5e paged ip bans 2019-11-11 12:52:11 +00:00
Shish
418f5484ed show types 2019-11-08 18:54:32 +00:00
Shish
1a4a76c324 php... 2019-11-05 00:19:31 +00:00
Shish
15e61c5bf4 restore strtotime, for +4 months etc 2019-11-05 00:16:26 +00:00
Shish
7601140825 missed a spot 2019-11-04 01:03:47 +00:00
Shish
954158ad43 typo 2019-11-03 23:32:55 +00:00
Shish
503d93a28e syntax 2019-11-03 23:29:29 +00:00
Shish
bcf7947837 use timestamps for bans, consistency at last /o/ 2019-11-03 23:17:09 +00:00
Shish
539dd66fe8 ipban version 2019-11-03 19:43:39 +00:00
Shish
c41378f0b9 text can't have default in mysql... 2019-11-03 19:11:48 +00:00
Shish
427acc55a0 Merge branch 'master' of https://github.com/shish/shimmie2 2019-11-03 18:28:16 +00:00
Shish
6bc33ee691 Drop SCORE_DATETIME/NOW - all the databases we care about now support TIMESTAMP/CURRENT_TIMESTAMP 2019-11-03 18:28:05 +00:00
Shish
e2cac352f5 start of ban types 2019-11-03 17:53:52 +00:00
Shish
031c441e47 split DatabaseUpgrade into a separate event from InitExt 2019-11-03 17:21:05 +00:00
Shish
ac5546c6ef remove more old comments 2019-11-03 16:22:59 +00:00
Shish
b568933f45 remove extension metadata comments (we have metadata objects now) 2019-11-02 20:19:09 +00:00
Shish
e08cdb1638 make Cache its own thing, separate from Database 2019-10-02 10:49:32 +01:00
Shish
a6bb15d859 formatting 2019-09-29 14:30:55 +01:00
Matthew Barbour
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
Matthew Barbour
00464d2579 Implemented a nav link generating system so that extension power what shows up in the menus rather than being hard-coded in the themes. 2019-08-05 09:01:20 -05:00
Matthew Barbour
cb1e9c0075 Permissions to constants 2019-08-01 08:07:05 -05:00
Matthew Barbour
1370afec72 Moved database driver constants to DatabaseDriver 2019-06-20 10:47:15 -05:00
Matthew Barbour
826c623538 PageMode constants 2019-06-18 21:04:31 -05:00
Matthew Barbour
6f501a6e74 Database driver constants 2019-06-14 13:38:47 -05:00
Shish
34b05cca7c PSR-2. I'm not a huge fan, but ugly consistency beats no consistency... 2019-05-28 17:59:38 +01:00
Shish
ffd5fbb4af fully customisable IP ban 2019-02-22 21:24:53 +00:00
Shish
7abf1aa591 custom ipban message 2019-02-22 19:58:04 +00:00
Shish
977c3db1e3 PHP7 type annotations 2017-09-21 05:21:42 +01:00
Shish
6febdec7b5 more explicit variable types 2016-06-19 23:05:57 +01:00
Shish
43eed32958 Merge pull request #551 from shish/contact-link
Have contact_link support http: and mailto:
2016-06-06 12:37:27 +01:00
Shish
aeeaabb22e allow both http: and mailto: contact links 2016-06-06 12:12:25 +01:00
Shish
3e57f725d3 update ban message 2016-05-22 16:12:43 +01:00
Shish
8c1e3bc92a mark tests as public 2015-09-26 11:17:13 +01:00
Shish
c54e336695 mark tests as incomplete rather than commenting them out 2015-09-24 23:16:38 +01:00
Shish
fc2bbefcb9 test all the things 2015-09-20 22:40:04 +01:00
Shish
9af5995dcc PHPUnit proof of concept 2015-09-20 20:03:29 +01:00
Shish
35a4f385b3 phpstorm tidying 2015-09-12 11:43:28 +01:00
Shish
e415bd3fca more database support 2015-08-09 12:20:43 +01:00
Shish
a70ca33f96 fix typo 2015-08-08 23:04:36 +01:00
Shish
65289ed9c8 skip to latest db 2015-08-08 22:18:54 +01:00
Shish
fa2f17817e scrutinizing 2015-08-04 13:53:58 +01:00
jgen
1ca3865a1c Removing the closing PHP "?>" tag as per style guidelines. (Also see: https://stackoverflow.com/questions/4410704/why-would-one-omit-the-close-tag ) 2014-04-25 22:54:51 -04:00
Shish
db5aa56300 remove a bunch of dead code 2014-03-29 11:44:34 +00:00
Shish
7b68d8ebfd use new-style constructors everywhere 2014-03-22 09:00:59 +00:00
Daku
a863072bfb DATETIME > SCORE_DATETIME
fixes #354
2014-03-02 18:50:46 +00:00
Shish
194b68e046 show when a ban was added, fixes #250 2013-08-05 20:46:54 +01:00
Shish
fed253dc18 sort bans by add date 2012-07-28 12:07:55 +01:00
Shish
7e8cf48b08 and trigger the update... 2012-07-28 11:59:11 +01:00
Shish
49a1ae94b6 ban IP as an inet type 2012-07-28 11:56:55 +01:00
Shish
442e1a0de1 stricter data for ban adding 2012-07-28 11:42:07 +01:00
Shish
38f7555d98 get rid of direct references to Database's engine 2012-06-24 00:57:55 +01:00
Shish
427175983b don't pre-populate the ban lists with fake data, things get confused 2012-06-17 18:50:46 +01:00
Shish
8c1e495ab7 better IP Ban logging 2012-06-10 17:49:17 +01:00
Shish
67f1c1c51d store enabled exts in a config file, rather than moving directories around 2012-03-31 18:59:28 +01:00
shish
4e19a29dd0 ip ban isn't essential either
git-svn-id: file:///home/shish/svn/shimmie2/trunk@806 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-11 05:46:06 +00:00
shish
f7218a677d IP Ban list on its own page
git-svn-id: file:///home/shish/svn/shimmie2/trunk@801 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-11 05:23:11 +00:00
shish
89df1557f0 IP range ban
git-svn-id: file:///home/shish/svn/shimmie2/trunk@746 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-01 10:57:18 +00:00
shish
dced16a8c4 ordered bans
git-svn-id: file:///home/shish/svn/shimmie2/trunk@740 7f39781d-f577-437e-ae19-be835c7a54ca
2008-03-31 02:58:54 +00:00
shish
bec46a910e ban to a date, not a datetime
git-svn-id: file:///home/shish/svn/shimmie2/trunk@739 7f39781d-f577-437e-ae19-be835c7a54ca
2008-03-31 02:56:28 +00:00
shish
fe8ab42901 download all bans, then compare in PHP; saves DB effort and allows more flexible ban matching
git-svn-id: file:///home/shish/svn/shimmie2/trunk@738 7f39781d-f577-437e-ae19-be835c7a54ca
2008-03-31 02:49:40 +00:00
shish
980ebd5189 use xml schemas to create tables
git-svn-id: file:///home/shish/svn/shimmie2/trunk@703 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-27 15:32:35 +00:00
shish
3e25a08db2 safety wrapper for db->GetAll
git-svn-id: file:///home/shish/svn/shimmie2/trunk@690 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-05 00:22:19 +00:00
shish
8d991a14e8 remove bans by ID. Also, show who banned whom
git-svn-id: file:///home/shish/svn/shimmie2/trunk@548 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-21 23:31:23 +00:00
shish
ad283be35f exact match for ip ban
git-svn-id: file:///home/shish/svn/shimmie2/trunk@450 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-08 05:18:54 +00:00
shish
5e041c1136 only check IP ban once per page load
git-svn-id: file:///home/shish/svn/shimmie2/trunk@449 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-08 05:16:16 +00:00
shish
0b7c038f52 much theme docs, and some display_my_foo_error replaced with generic display_error
git-svn-id: file:///home/shish/svn/shimmie2/trunk@395 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-28 20:30:01 +00:00
shish
e0029a83fe properly support null ends
git-svn-id: file:///home/shish/svn/shimmie2/trunk@364 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-24 13:25:11 +00:00
shish
0c5f7244db consistency
git-svn-id: file:///home/shish/svn/shimmie2/trunk@312 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-17 07:45:35 +00:00
shish
a625fcd787 the bulk of theme engine 2.0; it's still rough, but it works
git-svn-id: file:///home/shish/svn/shimmie2/trunk@201 7f39781d-f577-437e-ae19-be835c7a54ca
2007-06-30 01:19:11 +00:00
shish
93bb05abaf IP ban expiry times
git-svn-id: file:///home/shish/svn/shimmie2/trunk@140 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-28 23:22:37 +00:00
shish
6c26fa0fc1 use wrapped database execute function
git-svn-id: file:///home/shish/svn/shimmie2/trunk@129 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-23 22:19:12 +00:00
shish
19d3062314 extensions moved to folders
git-svn-id: file:///home/shish/svn/shimmie2/trunk@75 7f39781d-f577-437e-ae19-be835c7a54ca
2007-05-07 15:04:46 +00:00