Commit graph

126 commits

Author SHA1 Message Date
Shish
4076051456 factor out commonly duplicated flash_html 2024-09-05 12:19:48 +01:00
Shish
8b20fa3bc2 Add preg_replace_ex
having preg_replace return string|array|null is a pain, string|exception is much cleaner
2024-08-31 19:56:27 +01:00
discomrade
94cdfd6952 [futaba] add missing class to username links 2024-06-22 13:16:49 +01:00
discomrade
38a7bb542b use <code> where appropriate 2024-06-21 18:24:38 +01:00
discomrade
751a8f61d2 [futaba] add greentext formatting 2024-02-23 23:31:04 +00:00
discomrade
3ba8834c20 [futaba] fix comment reply button 2024-02-23 23:31:04 +00:00
Shish
2136be80ab [core] test truncate() properly, and then fix it, and then use it 2024-02-20 15:04:38 +00:00
discomrade
d451f164a3 [comment] fix unnecessary truncate when trimming
Also makes trimming consistent across themes
2024-02-20 10:40:32 +00:00
Shish
ffb0d405b4 [comment] fix comment deletion in other themes too 2024-02-19 22:29:45 +00:00
Shish
82a3ce25c2 level 7 typing 2024-01-20 23:27:34 +00:00
Shish
b60c3fe362 [core] a load more type hints, and fix bugs revealed by type hints 2024-01-20 14:11:00 +00:00
Shish
a1f22ef67c [themes] void return type for display_* functions 2024-01-15 14:23:12 +00:00
Shish
55d5dc0a35 [themes] have themes implement head_html/body_html rather than render 2024-01-04 14:11:20 +00:00
Shish
89a61d3499 [themes] remove references to no-js, there is no more modernizr 2023-12-31 14:18:54 +00:00
Shish
b67fca51f5 [view] ViewImage -> ViewPost 2023-12-31 01:20:36 +00:00
Shish
6d370b0aa3 [all themes] use rems for more consistent font sizing 2023-12-25 15:33:57 +00:00
Shish
75a7b79380 [themes] set font-size on :root rather than BODY so that REMs work consistently 2023-12-25 13:08:14 +00:00
Shish
f8ec844745 [themes] move disable_left to base class 2023-12-15 21:25:18 +00:00
Shish
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
NottyNoz
909e54b1e2 fixes 2023-06-27 11:41:47 +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
c9ce396c9d remove ancient irrelevant comments 2022-05-20 13:06:29 +01:00
Shish
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Daniel Oaks
0029aa5320 Add shortwiki entries when viewing a single tag 2020-03-23 22:48:38 +10:00
Daniel Oaks
fc59fe6a3d Fix Futaba theme with new strict types 2020-03-23 22:29:34 +10:00
Shish
1597eff082 lint fixing 2020-03-13 09:23:54 +00:00
Shish
0bcbcb679e have navlinks as a utility methods that themes can call, if they want to 2020-02-01 23:23:23 +00:00
Shish
f0f3cc7aa0 merge layout stuff into Page class 2020-02-01 18:11:11 +00:00
Shish
dba89e9d13 make all themes have a Page class, to simplify loading 2020-01-27 18:35:36 +00:00
Shish
e0778f94f7 more types 2020-01-26 18:47:30 +00:00
Shish
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
Shish
5d559dc654 fix typo 2019-12-16 00:02:34 +00:00
Shish
70db0ce5bd flash_message -> page->flash, with no cookies 2019-12-15 19:47:18 +00:00
Matthew Barbour
972b68bdd3 Setup constants 2019-08-05 09:00:23 -05:00
Matthew Barbour
dd6c3b2321 Added window title option to post title extension 2019-08-01 08:10:30 -05:00
Matthew Barbour
cb1e9c0075 Permissions to constants 2019-08-01 08:07:05 -05:00
Matthew Barbour
7c4356d788 Updated copyright notice 2019-06-13 18:19:18 +01:00
root
76bd6d4238 Fixed an issue when null wueries were passed to some themes 2019-06-01 09:47:03 -05:00
Shish
bf473f6d51 more lint fixes 2019-05-29 18:23:29 +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
5ec3e89884 php7.1 all the things 2019-05-28 17:31:20 +01:00
Shish
b01edb2aec copyright date update 2018-11-07 12:11:17 +00:00
Shish
6ae14e4921 https for theme links 2018-09-26 22:49:37 +01:00
Shish
e43b1b3aed Merge branch 'tag-tables' of git://github.com/im-mi/shimmie2 into im-mi-tag-tables 2016-10-10 14:19:57 +01:00
im-mi
c1083bbea1 Fixed comment-delete code-injection vulnerability 2016-09-14 17:42:32 -04:00
im-mi
ab33652d70 Made tag list spacing more like it was before
It's still a few pixels off in some cases, but the difference is negligible now.
2016-09-06 22:05:34 -04:00
im-mi
5919112477 Use tables for tag lists 2016-09-06 06:08:33 -04:00