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
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
7146d07f4e
[style] use CSS for text-wrapping
2024-01-08 21:24:41 +00:00
Shish
29fde1388a
[core] only show decimal for KB/MB/etc less than 10
2024-01-08 19:35:25 +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
15582c5138
[core] default cache TTL to null rather than zero, fixes #997
2024-01-07 18:47:32 +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
6a2d3f49e2
typed return arrays too
2024-01-06 21:34:30 +00:00
Shish
e57264fd95
[ci] more specific version in /system_info, less specific version in footer
2024-01-06 19:32:33 +00:00
Shish
f47c7d7ee8
[core] version alpha to beta
2024-01-05 15:35:29 +00:00
Shish
26630a4e3b
fmt
2024-01-05 15:32:07 +00:00
Shish
d4b86b0e95
[core] redo deltree to also delete dotfiles, fixes #972
2024-01-05 15:30:32 +00:00
Shish
af309601f5
[upload] separate out DataUpload, ImageAddition, and TagSet/SourceSet/LockSet/etc
2024-01-05 15:00:07 +00:00
Shish
48b3de3c6e
[core] fix error in error handling
2024-01-04 23:10:31 +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
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
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
72a0d3f90b
[install] sqlite as the default DB
2024-01-04 12:08:08 +00:00
Shish
49d2760ab6
happy new year
2024-01-03 14:47:58 +00:00
Shish
1f9de8dd5a
more tests
2024-01-03 03:46:04 +00:00
Shish
aea533b345
[file handlers] separate out display_image and display_metadata
2024-01-01 20:21:51 +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
8815b702c5
[core] DIY CSS/JS minifier
2024-01-01 19:52:33 +00:00
Shish
9f002b6bf7
typed arrays
2024-01-01 03:30:21 +00:00
Shish
26bf4277e0
Separate out GET and POST more explicitly
...
- No longer allow uploading directly via GET, that is terrible for
security. Instead, use the GET parameters to pre-fill the upload form.
- PageRequestEvent has a `method` property that can be checked in
extensions
2024-01-01 03:30:21 +00:00
Shish
0f52b54667
format
2023-12-31 23:08:53 +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
625406e591
extra comments
2023-12-31 18:48:56 +00:00
Shish
fb49b785ef
[core] don't take shortcuts when going next/prev, as some extensions (eg ratings) might want to alter search results ( fixes #984 )
2023-12-31 18:48:49 +00:00
Shish
6df0f4f307
put runtime-generated data into data/
2023-12-31 17:42:04 +00:00
Shish
e3c61b72dc
[core] cache event listeners based on which extensions are enabled + version number
2023-12-31 15:44:35 +00:00
Shish
42fc180c25
[docker] set BUILD_TIME/BUILD_HASH vars
2023-12-31 14:45:39 +00:00
Shish
c2befbdf9f
remove modernizr
2023-12-30 03:45:29 +00:00
Shish
840b0849df
[user] make email-requiredness a setup option
2023-12-27 10:07:09 +00:00
myname
85b1e54904
Refactoring auto-complete functionality for alias editor and auto tagger
2023-12-26 02:37:47 +00:00
Shish
2ac243d20d
[core] use rawurlencode/decode consistently, deprecate caret system
2023-12-24 22:42:14 +00:00
Shish
ad181377c8
[userclass] ghosts should still be able to read PMs
2023-12-21 21:15: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
64e6460f22
don't look at cookies if bearer token was ok
2023-12-17 00:08:06 +00:00
Shish
282d13f632
Use nginx Unit rather than the php development server
2023-12-16 23:03:04 +00:00