Shish
c0bc11ee0c
Revert "[upload] add rating fields to upload form"
...
This reverts commit 32d5274880
.
2024-02-19 23:00:37 +00:00
discomrade
32d5274880
[upload] add rating fields to upload form
...
If the Post Ratings extension is enabled, encourage a rating to be selected when uploading.
This can be extended to also have a Common Ratings field, if wanted.
2024-02-19 17:23:06 +00:00
Shish
4e362d816f
[core] named constant for nice urls
2024-02-14 12:35:58 +00:00
Shish
8c22cb1fb6
[core] exact and named page args
2024-02-11 11:34:17 +00:00
Shish
82a3ce25c2
level 7 typing
2024-01-20 23:27:34 +00:00
Shish
4c2d6d9ca4
[replace] split upload and replace completely, fixes #1001
2024-01-09 03:38:51 +00:00
Shish
8b18b73f94
fmt
2024-01-08 22:08:10 +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
af309601f5
[upload] separate out DataUpload, ImageAddition, and TagSet/SourceSet/LockSet/etc
2024-01-05 15:00:07 +00:00
Shish
3acc3fa607
[css] remove more dead css, make more extension CSS be specific
2024-01-01 16:21:43 +00:00
Shish
c0d9946e71
[upload] go full OOP for upload results
2024-01-01 04:30:43 +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
e3fb67661e
nits
2024-01-01 03:30:21 +00:00
Shish
3462a81c28
[upload] give filesize-tracker script some polish
2024-01-01 03:30:21 +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
d04ec4296b
[upload] saner error reporting
2023-12-26 12:50:37 +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
8fb6fd5f54
stricter nulls
2023-06-27 17:45:35 +01:00
Shish
928c9d95d1
Blocks can accept HTMLElements directly
2023-06-27 11:59:39 +01:00
Shish
8ebd8bf287
format
2023-06-27 11:45:27 +01:00
Shish
38edf739fc
avoid treating html as strings
2023-06-27 11:44:46 +01:00
NottyNoz
56a60a9ec1
upload form update
2023-06-27 11:41:53 +01:00
Shish
077a5e7727
fix php8.2 warnings
2023-02-19 11:24:33 +00:00
Shish
bce2d55744
Namespaces are one honking great idea—let's do more of those!
2023-01-10 22:44:09 +00:00
Shish
4ff93c63c3
new php-cs-fixer, new opinions about what is today's preferred format...
2022-10-27 17:21:46 +01:00
flatty
9c05622d6e
Fix uploader issue with SHM_FORM
2021-12-19 00:27:50 +00:00
Shish
217a36a8c5
upload microhtml
2021-12-14 19:10:21 +00: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
Shish
8a58ede5b3
remove some dead code
2020-10-29 01:28:46 +00:00
Shish
b9e1ce1b8d
use the right link
2020-10-28 20:53:20 +00:00
Shish
3f5930b4cb
simplify and add tests for upload (and replace) path
2020-10-28 20:51:34 +00:00
Shish
7cb18568e3
During uploads (including replacements), 'data' should be an array of files, fixes #735
2020-10-28 17:06:25 +00:00
Matthew Barbour
3aa1926f72
Image to Post - upload
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
Matthew Barbour
688fb8b04b
Added ability to upload multiple files through a single upload input
2020-06-25 00:42:43 +01:00
Matthew Barbour
984c9702ec
The great MIMEing
2020-06-25 00:42:34 +01:00
Matthew Barbour
bd9808081e
Added false is_content flags to several blocks so that the 404 extension can work properly
2020-06-24 17:01:09 +01:00
Matthew Barbour
63b2601e67
Mime type handling overhaul
...
Changed mime type map to deal with the reality that certain file types have multiple extensions and/or multiple mime types, as well as constants supporting all of the data. Created new functions using the updated mime type map to resolve mime types and extensions. Updated various items around the project that determine mime/extension to take advantage of the new functions.
2020-06-03 19:47:40 +01:00
Shish
dede46374f
avoid double-escape for upload collision error
2020-03-13 09:39:00 +00:00
Shish
d97f492aaf
format
2020-02-25 12:18:47 +00:00
Shish
85731ebf65
file-accept
2020-02-25 12:04:37 +00:00
Shish
615da9e9d2
fix all the tests (for sqlite, php7.4, osx, at least)
2020-01-28 21:19:59 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Matthew Barbour
972b68bdd3
Setup constants
2019-08-05 09:00:23 -05:00
Matthew Barbour
826c623538
PageMode constants
2019-06-18 21:04:31 -05:00
Matthew Barbour
eb4292316d
Added webp upload and thumbnailing support
...
Bug fixes and consolidation of various thumbnail and resize functionality
Changed resize/rotate extensions to use replace image event
Added content-disposition header to image responses to provide a human-friendly filename when saving
Added more bulk thumbnail regeneration tools
Tweaks to bulk actions to correct totals when batching items
2019-06-09 14:14:04 -05:00