Commit graph

6495 commits

Author SHA1 Message Date
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
Shish
cafef06b14 [core] avoid making convert show an error message 2024-01-09 15:26:45 +00:00
Shish
81ec577b32 [core] only move file to warehouse if all the rest of the upload is ok, fixes #1004 2024-01-09 04:49:19 +00:00
Shish
3c90597ca8 [core] inline some single-use functions 2024-01-09 04:22:59 +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
baf5f38a25 [core] only check image contents if the mime type is one we can handle 2024-01-09 01:05:33 +00:00
Shish
0762da54eb [core] have ThumbnailGenerationEvent work on an Image 2024-01-09 01:03:46 +00:00
Shish
01261b0fa6 [regen_thumb] use common image search function 2024-01-09 00:40:37 +00:00
Shish
14646e2bb9 [regen_thumb] use common deltree function 2024-01-09 00:37:02 +00:00
Shish
6c2c04c602 [r34] remove dead code 2024-01-09 00:34:32 +00:00
Shish
c494bf293d [core] if image is created from a temp file, have get_image_filename() return that file 2024-01-09 00:17:54 +00:00
Shish
8b18b73f94 fmt 2024-01-08 22:08:10 +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
7146d07f4e [style] use CSS for text-wrapping 2024-01-08 21:24:41 +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
8237a22029 -: 2024-01-08 20:12:45 +00:00
Shish
9d80b1470c [upload] cleaner upload size counters 2024-01-08 19:38:23 +00:00
Shish
29fde1388a [core] only show decimal for KB/MB/etc less than 10 2024-01-08 19:35:25 +00:00
Shish
7135eca9c2 [themes] remove dead styles 2024-01-08 19:15:31 +00:00
Shish
5fccbc5ad5 [autocomplete] disable spellcheck from also trying to autocomplete 2024-01-08 19:14:42 +00:00
Shish
ae327f5a2a [autocomplete] use the same font size as the surrounding text, see #999 2024-01-08 18:56:46 +00:00
Shish
73eb3c96d4 [tag_edit] don't spellcheck tags 2024-01-08 18:56:03 +00:00
Shish
b1dc9892d5 [dev] open port 8000 when forwarded 2024-01-08 14:50:17 +00:00
Shish
1df53715bd [themes/danbooru2] make font sizes a bit more consistent, see #999 2024-01-07 23:49:26 +00:00
Shish
4852bb0704 [autocomplete] be consistently aligned, see #999 2024-01-07 23:48:42 +00:00
Shish
63b479592a [core] parse CACHE_DSN using parse_url, and support username / password for redis, fixes #1000 2024-01-07 23:28:15 +00:00
Shish
8a82a3348f [autocomplete+home] don't limit the size of the completion list while on the home page, see #999 2024-01-07 22:28:37 +00:00
Shish
e0f5ce21a2 [autocomplete] don't allow completions to overflow the box, or for the box to overflow the screen, see #999 2024-01-07 22:14:13 +00:00
Shish
ad4d9c74d4 [autocomplete] no text-wrapping in the middle of completions, see #999 2024-01-07 22:06:46 +00:00
Shish
15582c5138 [core] default cache TTL to null rather than zero, fixes #997 2024-01-07 18:47:32 +00:00
Shish
046f70c3ba [docker] add php8.3-memcached library, see #997 2024-01-07 18:40:31 +00:00
Shish
94ee6e4bc3 [user] admins are exempt from the email requirement, fixes #996 2024-01-07 17:33:39 +00:00
Shish
051d6242ed [tests] add assertException because PHPUnit doesn't have it 2024-01-07 17:22:16 +00:00
Shish
77e88f6f54 [ratings/search] remove implicit 'rating:*' from image counting process, hopefully fixes #991 2024-01-07 04:17:22 +00:00
Shish
c79751007c [rating] fix description of user config 2024-01-07 03:48:28 +00:00
Shish
e401dd9e52 [s3] allow sync to skip files that exist 2024-01-06 22:57:00 +00:00