Commit graph

45 commits

Author SHA1 Message Date
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
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
78aaff5c8f [misc] permission updates 2024-02-10 23:32:50 +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
434455b836 [tests] more voiding of tests 2024-01-15 14:31:51 +00:00
Shish
bb9ab613ce [everything] bulk set event handler return types to void 2024-01-15 11:52:35 +00:00
Shish
11a0ba27e9 [js] have shm_log specifically use a section, like the server-side functions 2024-01-13 13:25:58 +00:00
Shish
70882b46fd don't put white-on-yellow 2024-01-08 22:08:06 +00:00
Shish
93ce51e189 [styles] have input font-size be equal to text font-size, see #999 2024-01-08 21:33:16 +00:00
Shish
5a05f58792 [style] sortable is no longer a thing 2024-01-08 21:16:45 +00:00
Shish
a50b103a4a [themes] zebra tables are also forms 2024-01-08 21:03:04 +00:00
Shish
e564646dd8 [upload] upload form is a form 2024-01-08 20:41:03 +00:00
Shish
7135eca9c2 [themes] remove dead styles 2024-01-08 19:15:31 +00:00
Shish
8755298ee9 [static] add shm_log js function available early in page load 2024-01-01 20:15:34 +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
c2befbdf9f remove modernizr 2023-12-30 03:45:29 +00:00
Shish
e5c8bf7b18 one cookie set function, for consistent samesite/path/expires 2023-12-26 02:36:51 +00:00
Shish
ce962cb358 [style] keep form elements wide even if in a span 2023-12-24 23:17:54 +00:00
Shish
89dfd33290 allow tags to wrap 2023-12-24 23:06:26 +00:00
Shish
7a4f033cce split installer CSS into its own file, since we only use it in one place 2023-08-18 21:51:01 +01:00
Shish
9b463ce674 text 2023-03-30 21:27:12 +00:00
Shish
46f75f7b34 [static] allow extensions to customise robots.txt 2023-03-30 20:36:58 +01:00
NottyNoz
0c1fc9b85e . 2023-03-16 22:34:52 -04:00
NottyNoz
48c3eae6b9 fixes 2023-03-16 22:29:45 -04:00
Shish
e629d3d5ca click to copy class 2023-01-30 21:35:12 +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
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Matthew Barbour
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
Matthew Barbour
18cd74f57d Changed a bunch of core extensions to be hidden since there's nothing to interact with 2020-06-22 18:02:47 +01:00
Matthew Barbour
63b2601e67 Mime type handling overhaul
Changed mime type map to deal with the reality that certain file types have multiple extensions and/or multiple mime types, as well as constants supporting all of the data. Created new functions using the updated mime type map to resolve mime types and extensions. Updated various items around the project that determine mime/extension to take advantage of the new functions.
2020-06-03 19:47:40 +01:00
Shish
e362f3bad2 stop depending on unmaintained tablesorter plugin 2020-03-26 14:57:38 +00:00
Shish
03806d0420 https a bunch of things 2020-03-25 11:47:00 +00:00
Shish
ad9cca36b1 improvements to run inside docker 2020-03-22 15:23:23 +00:00
Shish
1597eff082 lint fixing 2020-03-13 09:23:54 +00:00
Shish
2e00b8c9ce scrollIntoView 2020-03-02 17:18:53 +00:00
Shish
5058e1f3fd standard jquery 2020-03-02 17:12:43 +00:00
Shish
2f51c14afd fmt 2020-03-02 15:40:13 +00:00
Shish
3844595bd1 modernish js 2020-03-02 09:33:56 +00:00
Shish
e50ff27510 === 2020-03-02 09:19:50 +00:00
Shish
05f0db73ff don't do prev/next on textarea 2020-03-02 09:19:17 +00:00
Shish
e1e161759e rename handle_static to static_files - stop confusing it with file handlers 2020-02-23 18:48:25 +00:00