Commit graph

63 commits

Author SHA1 Message Date
Shish
d1ed1c4b64 footer_html as HTMLElement 2024-09-05 12:27:21 +01:00
Shish
4076051456 factor out commonly duplicated flash_html 2024-09-05 12:19:48 +01:00
Shish
7353683a13 no implicit nulls (they are deprecated in php8.4) 2024-09-01 00:06:46 +01:00
Shish
399a56ac79 [dev] bump phpstan strictness
no more null surprises
2024-08-31 21:25:20 +01:00
Shish
8efa960e5d Make some more things null-safe
(in preparation for bumping up the phpstan strictness to disallow null-unsafe code)
2024-08-31 19:19:24 +01:00
Shish
8f8c0d151a Update dependency versions 2024-08-31 17:06:39 +01:00
Shish
f84bcaec01 microhtml for everything in <head>
I wanted to ensure that all pages (even the downtime page, terms page, home page, etc) had the appropriate `data-` attributes on `<body>` (because those are required for certain javascript, eg autocomplete, to work). One thing led to another and now everything in `head` is microhtml'ed
2024-06-21 18:52:05 +01:00
Shish
db148da479 [core] add shm_make_link JS function, to generate links from JS which work both with and without niceurls, fixes #1160, fixes #1151 2024-06-05 14:01:40 +01:00
Shish
e80d235fe9 [core] use Safe library, reduce StdLibEx 2024-02-20 10:38:20 +00:00
Shish
43e8ff3e3e more tests 2024-02-09 14:41:20 +00:00
Shish
e5828b0810 base_href as a data attr 2024-01-28 21:24:21 +00:00
Shish
82a3ce25c2 level 7 typing 2024-01-20 23:27:34 +00:00
Shish
8b797a9a31 [tests] more strictness 2024-01-20 19:47:27 +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
589ff69eea [types] typetypetypetypetype 2024-01-15 15:08:22 +00:00
Shish
8a895113f3 [core] typed cookie object 2024-01-15 14:08:13 +00:00
Shish
7146d07f4e [style] use CSS for text-wrapping 2024-01-08 21:24:41 +00:00
Shish
74fd48a0f2 [theme] add data-userclass to body tag 2024-01-04 14:11:20 +00:00
Shish
55d5dc0a35 [themes] have themes implement head_html/body_html rather than render 2024-01-04 14:11:20 +00:00
Shish
49d2760ab6 happy new year 2024-01-03 14:47:58 +00:00
Shish
509f8eee3e [core] separate init.js for code which needs to run before page load 2024-01-01 20:03:50 +00:00
Shish
8815b702c5 [core] DIY CSS/JS minifier 2024-01-01 19:52:33 +00:00
Shish
42fc180c25 [docker] set BUILD_TIME/BUILD_HASH vars 2023-12-31 14:45:39 +00:00
Shish
c2befbdf9f remove modernizr 2023-12-30 03:45:29 +00:00
Shish
f00a4e3d90 fewer loose functions 2023-12-16 11:04:52 +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
Shish
9c95646aa7 only hide deprecation warnings, not all errors 2023-08-18 21:51:01 +01:00
Shish
d0faf29c9f hide deprecation warnings 2023-08-18 21:51:01 +01:00
Shish
ecd7ec5b6b make source maps better upstream 2023-08-18 21:51:01 +01:00
Shish
5ef00eb37c only generate source maps in debug mode 2023-08-18 21:51:01 +01:00
Shish
74037d9d0a use (a forked version of) tbela99/css for css minification 2023-08-18 21:51:01 +01:00
Shish
d9489ac8aa split css_cache_file / js_cache_file into their own functions 2023-08-18 21:51:01 +01:00
Shish
f040709a76 proper support for html in usernav 2023-08-16 15:52:14 +01:00
Shish
016a5d240b truncate filenames to 250 chars, fixes #931 2023-07-03 15:09:38 +01:00
Shish
533c4f5128 It's been a while... 2023-06-27 14:21:13 +01:00
Shish
fadadc0efd Use HTTP/1.1 2023-02-07 13:56:44 +00:00
Shish
91b354f6f8 assert 2023-01-11 10:12:19 +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
a04bc2e7e4 php8.1 gogogo 2022-10-28 01:45:35 +01:00
Shish
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
Laureano Passafaro
8bd781cc8c CSS and JS files configurable by themes 2021-07-26 12:26:03 +01:00
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Matthew Barbour
dbb90c7a99 Updated copyright notice to media-neutral language 2020-10-26 10:53:01 -05:00
Shish
19a6b39c70 make use of str_starts_with / str_ends_with / str_contains 2020-10-25 19:31:58 +00:00
Matthew Barbour
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
Matthew Barbour
ed8a9fca52 Removed function stub 2020-06-03 20:02:55 +01:00
Matthew Barbour
bccb206369 formatting pass 2020-06-03 19:58:13 +01:00
Matthew Barbour
16c58e266b Added manual page mode to allow extensions to have direct control of the output 2020-06-03 19:40:43 +01:00
Shish
1b10d8583e missed a reference 2020-03-26 15:01:26 +00:00