Commit graph

194 commits

Author SHA1 Message Date
Shish
b60c3fe362 [core] a load more type hints, and fix bugs revealed by type hints 2024-01-20 14:11:00 +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
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
bb9ab613ce [everything] bulk set event handler return types to void 2024-01-15 11:52:35 +00:00
Shish
4b8bc82ee4 [tag_edit] abort on error rather than only applying some tags 2024-01-11 10:28:41 +00:00
Shish
ec35cace6a [core] replace quarter-arsed CLI interface with Symfony Console 2024-01-11 01:01:39 +00:00
Shish
2c77a4e6a1 [tag_edit] mass edit CLI 2024-01-10 18:01:16 +00:00
Shish
7b9201cb42 [core] Database::with_savepoint() 2024-01-09 21:59:24 +00:00
Shish
edb8ec33fa more consistency for 'old' and 'new' terminology 2024-01-09 15:27:02 +00:00
Shish
03d4045117 [core] also simplify uploading by having merge handled as a special case 2024-01-09 04:07:32 +00:00
Shish
4c2d6d9ca4 [replace] split upload and replace completely, fixes #1001 2024-01-09 03:38:51 +00:00
Shish
a28fb66b91 [core] have ImageReplace replace image->file with a new file, not replace a whole Image object 2024-01-09 02:33:14 +00:00
Shish
267e176658 [core] have extensions react to ImageAdditionEvent, instead of sending ImageAddition and other events in parallel 2024-01-09 01:32:34 +00:00
Shish
73eb3c96d4 [tag_edit] don't spellcheck tags 2024-01-08 18:56:03 +00:00
Shish
48b3de3c6e [core] fix error in error handling 2024-01-04 23:10:31 +00:00
Shish
47c92894f1 test 2024-01-01 23:58:47 +00:00
Shish
20b72f5cfb [tag edit] textarea for more tagging 2024-01-01 23:32:42 +00:00
Shish
9f002b6bf7 typed arrays 2024-01-01 03:30:21 +00:00
Shish
9e9225acf3 [core] allow SHM_POST_INFO html element to accept a link parameter 2023-12-31 22:27:32 +00:00
Shish
209e9b4ab5 [tag edit] have image info link to history if they're active 2023-12-31 22:00:31 +00:00
Shish
7617daa15c [autocomplete] rely on autocomplete-script to disable browser built-in where appropriate 2023-12-26 12:53:46 +00:00
Shish
9e7f3cb397 Make SHM_POST_INFO more logical
Rather than having a boolean for view or edit + optional editor, use the
existence of the editor to know if a field is editable
2023-12-19 11:41:02 +00:00
Shish
a5c6f1321b refactor search a little and add much better testing 2023-12-14 17:04:16 +00:00
Shish
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
Shish
43c7be0e89 dedicated search_link() function for generating links to search results, see #936 2023-08-18 13:52:03 +01:00
Shish
5879184895 SHM_POST_INFO element for doing info box elements in a standard way 2023-08-17 18:21:28 +01:00
Shish
3c18ebd40c use Tag/SourceSetEvent for mass editing, to ensure the standard rules are followed 2023-07-03 10:58:15 +01:00
Shish
0f162fe32a format 2023-06-28 13:09:02 +00:00
Shish
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01:00
Shish
e62cdb0979 offset can't be null, and named args 2023-06-27 15:32:39 +01:00
Shish
5c4a9ea2ef create new transaction 2023-06-25 21:46:51 +00:00
Shish
dd48681524 commit work-in-progress tag replacements 2023-06-25 21:22:00 +00:00
Shish
1f908bdd05 use array_merge / array_diff rather than for loops 2023-06-25 20:26:51 +00:00
Shish
e66acefa53 extra tracing for bulk tag edit 2023-06-25 14:42:24 +00:00
Shish
7d6615c298 trim 2023-03-30 19:40:17 +00:00
Shish
689b2b13af send_event(T) -> T 2023-02-04 20:50:26 +00:00
Shish
9b6f40e06e updates 2023-01-11 18:39:46 +00:00
Shish
5a64e8729b nits 2023-01-11 11:15: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
Jessica Stokes
335b8a94c4 Allow autocomplete for tagging in addition to tag searching 2022-04-29 11:44:42 -07: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
886d7cfd99 Image to Post - tag edit 2020-10-26 10:53:03 -05:00
Shish
19a6b39c70 make use of str_starts_with / str_ends_with / str_contains 2020-10-25 19:31:58 +00:00
Shish
c783ff0e8d polyfills for php8's str_starts_with and str_ends_with 2020-10-25 19:15:13 +00:00
Shish
aeb9829c9a if an admin tries to use a banned tag (eg during a mass-revert), ignore it 2020-07-29 14:03:28 +01:00
Shish
03806d0420 https a bunch of things 2020-03-25 11:47:00 +00:00
Shish
33731e8cb0 separate link formatting for URLs and for plain text 2020-02-25 12:26:56 +00:00
Shish
9b822e4132 bump 2020-02-23 11:22:15 +00:00