Commit graph

78 commits

Author SHA1 Message Date
Shish
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01:00
Shish
46f75f7b34 [static] allow extensions to customise robots.txt 2023-03-30 20:36:58 +01:00
Shish
689b2b13af send_event(T) -> T 2023-02-04 20:50:26 +00:00
Shish
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
Shish
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
Shish
f5a69e8fa9 only show some admin actions on some pages 2021-04-25 11:20:55 +01:00
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Matthew Barbour
32927aea3d Formatting pass 2021-01-18 08:37:32 -06:00
Matthew Barbour
7cea8592ee Fixed issues with next/prev post functionality not working with certin URL setups, as the query was not making it back to the server, or was being lost on redirect 2021-01-16 14:54:11 -06:00
Matthew Barbour
769fbecbb0 Image to Post - View 2020-10-26 10:53:02 -05:00
Matthew Barbour
4c5ef85906 Added image info option to admin, changed the info template parser to not use the url-escaped option 2020-08-28 09:50:36 -05:00
Shish
49e4c3f9c7 info as part of view ext 2020-07-31 15:50:57 +01:00
Shish
8b1b4d257e stick a blank index.php in data/ just in case somebody left directory-indexing on 2020-03-23 19:56:05 +00:00
Shish
52a232d113 ... 2020-03-23 00:24:37 +00:00
Shish
92b000ed4e derp 2020-03-23 00:21:35 +00:00
Shish
1fc75c0b18 Whenever we display an image for any reason, show the admin block, fixes #621 2020-03-23 00:06:43 +00:00
Shish
9c47bdb100 users who can edit locks, can edit locked images 2020-02-13 20:54:45 +00:00
Shish
0b304bdf2e use Permissions for Favourites / Artist / Relationships, and also check image lock when sending ImageInfoSet instead of getting each receiver to check it 2020-02-08 00:24:42 +00:00
Shish
af733b53ca more encoding 2020-01-30 22:10:51 +00:00
Shish
615da9e9d2 fix all the tests (for sqlite, php7.4, osx, at least) 2020-01-28 21:19:59 +00:00
Shish
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
Matthew Barbour
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
Matthew Barbour
dd6c3b2321 Added window title option to post title extension 2019-08-01 08:10:30 -05:00
Matthew Barbour
826c623538 PageMode constants 2019-06-18 21:04:31 -05:00
Shish
1d10baa719 only sql-escape if we're going to the database, not the accelerator 2019-06-16 19:25:40 +01:00
Shish
e232811e8c silence errors from a broken client 2019-06-16 19:12:44 +01:00
Shish
2396ae2ef9 fix a bunch of lints 2019-05-28 20:27:23 +01: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
b93026ac1d dedupe 'og:' meta tags 2018-11-05 19:17:42 +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
jgen
8a2eb4b121 Fixing more PHP Doc related issues. 2014-04-27 19:29:36 -04:00
jgen
daee99c1bc Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 22:28:53 -04:00
Shish
7b68d8ebfd use new-style constructors everywhere 2014-03-22 09:00:59 +00:00
Daku
87065d08f6 use elseif 2014-03-02 21:58:45 +00:00
Shish
79ce40abd0 less code 2012-03-09 18:14:14 +00:00
Shish
fb111803c7 save a warning 2012-03-09 18:12:46 +00:00
Shish
af7704825b use HTTP status codes with error messages 2012-02-16 15:37:05 +00:00
Shish
0698b780f9 remove regular Extension, have SimpleExtension take its place, optimise the event system based on SimpleExtension methods 2012-02-08 12:07:01 +00:00
Shish
cc8f1f35a5 more type hints 2012-02-02 14:14:33 +00:00
Shish
ee40a9aad3 merge 2012-01-27 16:49:35 +00:00
Shish
85af28c0b5 return after error, don't handle the bad data 2012-01-26 17:16:57 +00:00
Shish
98f09695b6 sometimes tags are set with no images id... 2012-01-26 15:16:52 +00:00
Shish
b8bdbd3533 after detecting an error, don't carry on processing the bad data... 2012-01-19 15:23:44 +00:00
Shish
bdf274074c some people like heading to the image after an image that isn't there (mostly robots with old URLs) 2012-01-18 03:13:27 +00:00
Shish
9d36a6a1bb sometimes when looking for next/prev the image doesn't exist 2012-01-14 14:38:45 +00:00
Shish
41cc80df34 more url_escape 2010-07-26 23:10:43 +01:00
Shish
a71bf287dd blargh 2010-06-17 19:44:05 +01:00
Shish
da449245de Convert some Extensions to SimpleExtensions with priorities 2010-05-28 13:06:31 +01:00
Shish
2b21471441 the final bit? 2010-02-09 10:08:08 +00:00