Commit graph

3255 commits

Author SHA1 Message Date
Shish
c084016b5b [setup] have ConfigSaveEvent carry its own params 2024-02-10 00:23:52 +00:00
Shish
31dc7f1ee0 [bulk] have BulkActionEvent carry its own params 2024-02-10 00:05:33 +00:00
Shish
6d1bf8eede [admin] have AdminActionEvent carry its own params 2024-02-10 00:00:49 +00:00
Shish
f95e59cbae [image info] have ImageInfoSetEvent carry its own params 2024-02-10 00:00:49 +00:00
Shish
09774416c3 fix tests 2024-02-10 00:00:02 +00:00
Shish
77b755e68b [core] reduce use of GET global 2024-02-09 16:36:57 +00:00
Shish
e9e2a01aa3 Merge branch 'branch-2.10' 2024-02-09 16:35:00 +00:00
Shish
9ba9bf0fdf fix tests 2024-02-09 14:54:37 +00:00
Shish
eebb4c53e6 [link_scan] be get/post agnostic 2024-02-09 14:46:50 +00:00
Shish
062b6d3f4a Back out "use POST when building search results, see #1026"
Original commit changeset: c44822ec47
2024-02-09 14:41:23 +00:00
Shish
43e8ff3e3e more tests 2024-02-09 14:41:20 +00:00
Shish
2e536e980c [link_scan] apply to POST 2024-02-09 11:13:40 +00:00
Shish
5f335a54c9 [link_scan] apply to POST 2024-02-09 11:13:24 +00:00
Shish
e3eeb848b7 Merge branch 'master' into branch-2.10 2024-02-09 11:01:44 +00:00
Shish
a9e4c4bdb3 use POST when building search results, see #1026 2024-02-09 11:00:18 +00:00
Shish
c44822ec47 use POST when building search results, see #1026 2024-02-09 10:50:07 +00:00
Shish
4974359846 Merge branch 'branch-2.10' 2024-02-08 00:41:56 +00:00
Shish
c6e65a21f9 [setup] more specific niceurl test 2024-02-07 22:27:47 +00:00
Shish
9f9ee49e02 [setup] make niceurl testing more accurate, see #1024 2024-02-07 20:44:39 +00:00
Shish
db902d6d26 [r34] remove custom parts 2024-02-06 20:53:55 +00:00
Shish
5059520935 a little clarity 2024-02-05 23:16:31 +00:00
Shish
88530f5f67 [ext manager] interpret 'off' as 'turn off extension' 2024-02-05 23:01:22 +00:00
Shish
5d9090cd52 [comment] handle people posting junk 2024-02-05 13:27:40 +00:00
Shish
c71fce0628 home page lacks base-href 2024-02-04 00:33:40 +00:00
Shish
51afc014a2 home page lacks base-href 2024-02-04 00:33:22 +00:00
Shish
74889c4c94 [autocomplete] allow enter to do the default thing 2024-02-04 00:24:34 +00:00
Shish
e5828b0810 base_href as a data attr 2024-01-28 21:24:21 +00:00
Shish
b542b87f91 [image] we might be generating a link to an image which has not yet been posted 2024-01-22 22:37:47 +00:00
Shish
cd79e4879d [autocomplete] check for completions with and without colons, fixes #1018 2024-01-21 10:51:43 +00:00
Shish
37ceebdabd [autocomplete] more tests 2024-01-21 10:41:25 +00:00
Shish
82a3ce25c2 level 7 typing 2024-01-20 23:27:34 +00:00
Shish
8bd00f60c1 [core] kill another secret global 2024-01-20 19:57:26 +00:00
Shish
05199c13cc [core] kill a secret global 2024-01-20 19:52:18 +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
373be4e05c avoid stringy class names 2024-01-20 01:03:02 +00:00
Shish
12ca708be8 submit form when enter is pressed in an autocomplete text area 2024-01-19 19:11:18 +00:00
Shish
46d11a0be5 smaller gap between image controls 2024-01-19 19:07:03 +00:00
Shish
dbb8bb8280 have image admin controls block use microhtml consistently 2024-01-19 18:57:02 +00:00
Shish
2d6a318a3b type fix 2024-01-19 18:38:18 +00:00
Shish
448e270da8 more typing 2024-01-19 18:33:32 +00:00
Shish
6bde7457e7 wtf php, array_filter() will return an array with gaps in it... 2024-01-19 18:01:50 +00:00
Shish
2a561392d0 [sitemap] add tests, and big rewrite to pass tests, fixes #1016 2024-01-18 19:47:48 +00:00
Shish
cc9cd396ad [r34] remove dead code 2024-01-18 15:56:14 +00:00
Shish
deb7c2adec [bulk actions] remove timeout before doing bulk actions 2024-01-18 15:31:11 +00:00
Shish
376b2c6ac6 [tag_list] make logarithms consistent across databases 2024-01-18 15:31:10 +00:00
Shish
b60646e98d [tag_list] ln(x) is 10x faster than log(2.7, x) 2024-01-18 15:31:10 +00:00
Shish
9ddd43d720 [bulk_add_csv] add each image in a transaction, fixes #1015 2024-01-17 22:54:43 +00:00
Shish
2667d635ad [bulk_add_csv] better docs, see #1015 2024-01-17 22:42:52 +00:00
Shish
d8a7ccd894 [tag_edit] only add https:// if there is no protocol, see #1015 2024-01-17 22:42:32 +00:00
Shish
50e0d74ee8 [link scan] there is no theme 2024-01-17 22:41:55 +00:00
Shish
d999198fb6 remove dead bit 2024-01-16 17:03:39 +00:00
Shish
6a0c5c4e2d more docs 2024-01-16 13:29:29 +00:00
Shish
04471a2875 [link scan] handle missing posts 2024-01-16 12:47:42 +00:00
Shish
a59dddd98f fmt 2024-01-16 12:16:18 +00:00
Shish
b1940ca919 [link scan] intercept search box inputs 2024-01-16 12:08:03 +00:00
Shish
5a9e6f2638 fmt 2024-01-16 11:05:10 +00:00
Shish
8e5c64e834 [link scan] new ext 2024-01-16 10:56:53 +00:00
Shish
ea1867f92d die louder if CSRF is missing for admin actions 2024-01-16 10:55:03 +00:00
Shish
83f3ae99eb [s3] allow CLI sync to limit number of itesm 2024-01-16 01:25:48 +00:00
Shish
30c564d317 [s3] allow sync'ing more posts in one go 2024-01-16 00:44:17 +00:00
Shish
5cc1a6febe [s3] button for manual sync, fixes #998 2024-01-16 00:35:17 +00:00
Shish
22cf7914a6 [pools] add lastupdated column if needed, fixes #1013 2024-01-15 23:23:33 +00:00
Shish
641821f6f1 databases?? 2024-01-15 22:56:06 +00:00
Shish
5d120cd0c8 [tests] put tests inside transactions 2024-01-15 22:50:43 +00:00
Shish
2a494504f3 [core] all image columns should be statically or dynamically defined - nothing undefined 2024-01-15 18:52:07 +00:00
Shish
fb034af699 [core] int_props + bool_props -> prop_types 2024-01-15 18:52:07 +00:00
Shish
bbea373c19 [core] use ArrayAccess rather than dynamic props for extra columns on the images table 2024-01-15 18:52:07 +00:00
Shish
434455b836 [tests] more voiding of tests 2024-01-15 14:31:51 +00:00
Shish
a1f22ef67c [themes] void return type for display_* functions 2024-01-15 14:23:12 +00:00
Shish
4e789040a0 [core] don't pass strings to functions that want ints 2024-01-15 14:21:33 +00:00
Shish
7b7ec9c83f [tests] phpstan version bump 2024-01-15 14:08:12 +00:00
Shish
8439e696dc [wiki] remove old and broken wiki page diffing 2024-01-15 14:08:12 +00:00
Shish
802ff336a2 [core,tests] even more types 2024-01-15 14:08:11 +00:00
Shish
2688843d80 more types 2024-01-15 13:08:59 +00:00
Shish
955d787fa3 [reverse search links] remove dead code 2024-01-15 12:24:49 +00:00
Shish
646f95f91a [core] bump microcrud version, add types 2024-01-15 12:14:41 +00:00
Shish
bb9ab613ce [everything] bulk set event handler return types to void 2024-01-15 11:52:35 +00:00
Shish
985d34aedd [resize] specifically be int, not float 2024-01-15 11:51:58 +00:00
Shish
013ae41f89 [tag_categories] fix return type for page_update(), fixes #918 2024-01-15 10:21:30 +00:00
Shish
1b6d8540a5 [autocomplete] don't show tags with 0 uses, see #1012 2024-01-14 16:45:09 +00:00
Shish
2af4a83fd1 [view] give input box a little extra buffer height to account for padding, fixes #1009 2024-01-13 13:28:19 +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
8308a21cb1 [nav_timing] client-side timing as an extension 2024-01-12 12:37:33 +00:00
Shish
4b8bc82ee4 [tag_edit] abort on error rather than only applying some tags 2024-01-11 10:28:41 +00:00
Shish
36388aa7a1 schema-dump doesn't need any args 2024-01-11 01:03:19 +00:00
Shish
ec35cace6a [core] replace quarter-arsed CLI interface with Symfony Console 2024-01-11 01:01:39 +00:00
Shish
69e9201cc6 [s3] no need for static 2024-01-10 18:41:06 +00:00
Shish
2c77a4e6a1 [tag_edit] mass edit CLI 2024-01-10 18:01:16 +00:00
Shish
219096d10b show queue length 2024-01-10 17:25:02 +00:00
Shish
e754ec89a7 [tests] cleaner teardown 2024-01-10 08:51:56 +00:00
Shish
7e7e9ec049 [rating] teardown tests properly 2024-01-09 22:47:10 +00:00
Shish
28a9724ffa fmt 2024-01-09 22:13:56 +00:00
Shish
7b9201cb42 [core] Database::with_savepoint() 2024-01-09 21:59:24 +00:00
Shish
b2f67363a1 [core] roll back database transaction when upload fails - fixes #1007 2024-01-09 21:01:10 +00:00
Shish
4d011fa5e5 [core] remove add_image, send_event(DataUpload) is much clearer as to what it's actually doing 2024-01-09 19:24:56 +00:00
Shish
c16aeca4d8 [handle_pixel] don't fail silently when imagemagick fails - see #1006 2024-01-09 17:59:41 +00:00
Shish
d986d0d378 [view] tag entry should grow as-needed, but not shrink - fixes #1005 2024-01-09 17:38:55 +00:00
Shish
e95c47c547 [s3] when there are many actions in a single page request, queue them instead of timing out 2024-01-09 17:23:34 +00:00
Shish
edb8ec33fa more consistency for 'old' and 'new' terminology 2024-01-09 15:27:02 +00:00