Commit graph

6399 commits

Author SHA1 Message Date
Shish
7524abe040 bumps 2024-01-04 18:41:35 +00:00
Shish
d8986159fe avoid passing an array as a database parameter, fixes #820 2024-01-04 18:40:51 +00:00
Shish
53152bf9f0 [forum] use microhtml, avoid double-escaping text, fixes #835 2024-01-04 17:48:13 +00:00
Shish
889f595076 [numeric_score] use Search::get_images() to find images only when they match the visibility settings, fixes #563 2024-01-04 16:58:14 +00:00
Shish
9e1f0e792d [image_view_counter] use Search::get_images() to take ratings etc into account and only showe popular images that the user can see - fixes #864 2024-01-04 16:58:04 +00:00
Shish
7673b394f4 [search] get_images function to get specific images in specific order with search visibility (ratings etc) taken into account 2024-01-04 16:55:39 +00:00
Shish
f877ad0c92 [index] allow searching for multiple IDs 2024-01-04 16:52:30 +00:00
Shish
fd403c2b84 [handle_archive] add tests 2024-01-04 16:46:48 +00:00
Shish
ff04083ad5 [handle_archive] merge tags from inside the archive and the form, fixes #483 2024-01-04 15:55:48 +00:00
Shish
e49fcfa0c7 [core] allow ip_in_range to match exact IPs 2024-01-04 15:07:07 +00:00
Shish
c5395df243 [core] trust x-forwarded-for from trusted proxies, see #800 2024-01-04 14:50:36 +00:00
Shish
502d50c57d [upload] keep original post date when replacing image, fixes #903 2024-01-04 14:29:09 +00:00
Shish
30bcfed964 css comment 2024-01-04 14:17:55 +00:00
Shish
74fd48a0f2 [theme] add data-userclass to body tag 2024-01-04 14:11:20 +00:00
Shish
ef3492e9b5 [theme] add data-rating attribute to thumbnails 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
0c31a11f9b [themes/danbooru2] dark mode, see #937 2024-01-04 13:12:41 +00:00
Shish
9754e114e2 [docker] send error logs to stderr 2024-01-04 12:36:11 +00:00
Shish
4de08a7e01 [dev] one-click dev environment 2024-01-04 12:15:29 +00:00
Shish
e6116297fe [dev] set INSTALL_DSN to get started faster 2024-01-04 12:08:08 +00:00
Shish
72a0d3f90b [install] sqlite as the default DB 2024-01-04 12:08:08 +00:00
Shish
96f7293c71 [dev] run composer install when devcontainer is started 2024-01-04 12:00:20 +00:00
Shish
a3d7a05f71 move db setup to a script for easier re-use 2024-01-04 00:15:08 +00:00
Shish
f4da2e92f0 don't try blocking empty tag 2024-01-03 23:57:17 +00:00
Shish
4066e6db81 Slightly better client-side tag blocking, fixes #802 2024-01-03 23:54:03 +00:00
Shish
febaa815f7 [setup] wider forms on setup page 2024-01-03 15:51:22 +00:00
Shish
c5c972fe94 [themes] use CSS variables + CSS grid to control image grid layouts, fixes #938 2024-01-03 15:30:20 +00:00
Shish
61b28c5031 [image] set thumb width / height as CSS varibles, see #938 2024-01-03 15:08:41 +00:00
Shish
49d2760ab6 happy new year 2024-01-03 14:47:58 +00:00
Shish
886b884bd6 [image_view_counter] give post a view so it isn't null 2024-01-03 12:02:39 +00:00
Shish
1f9de8dd5a more tests 2024-01-03 03:46:04 +00:00
Shish
2f2f8e2eda [system] add a basic test, see #986 2024-01-02 23:58:48 +00:00
Shish
145deaeea5 [system] fix sorting for system nav links, fixes #986 2024-01-02 20:44:37 +00:00
Shish
015950c30c
Get status for main rather than master 2024-01-02 13:19:29 +00:00
Shish
47c92894f1 test 2024-01-01 23:58:47 +00:00
Shish
6840f3e144 github?? 2024-01-01 23:54:54 +00:00
Shish
6d238578f8 github?? 2024-01-01 23:54:23 +00:00
Shish
20b72f5cfb [tag edit] textarea for more tagging 2024-01-01 23:32:42 +00:00
Shish
164e6df9f8 derp 2024-01-01 22:38:01 +00:00
Shish
fab4b489ac infobox css to css file, and a little wider 2024-01-01 22:27:42 +00:00
Shish
a267e502f3 fmt 2024-01-01 21:17:36 +00:00
Shish
e4ce96fe6c font tweak 2024-01-01 21:16:54 +00:00
Shish
ec567d399a log image loading errors 2024-01-01 21:16:47 +00:00
Shish
aea533b345 [file handlers] separate out display_image and display_metadata 2024-01-01 20:21:51 +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
c80197ecaf bump 2024-01-01 20:01:56 +00:00
Shish
8815b702c5 [core] DIY CSS/JS minifier 2024-01-01 19:52:33 +00:00
Shish
47dfc2c36e fix view js a bit 2024-01-01 17:17:27 +00:00
Shish
3acc3fa607 [css] remove more dead css, make more extension CSS be specific 2024-01-01 16:21:43 +00:00