Commit Graph

316 Commits

Author SHA1 Message Date
502d50c57d [upload] keep original post date when replacing image, fixes #903 2024-01-04 14:29:09 +00:00
3acc3fa607 [css] remove more dead css, make more extension CSS be specific 2024-01-01 16:21:43 +00:00
c0d9946e71 [upload] go full OOP for upload results 2024-01-01 04:30:43 +00:00
9f002b6bf7 typed arrays 2024-01-01 03:30:21 +00:00
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
5356008985 remove unused images 2024-01-01 03:30:21 +00:00
e3fb67661e nits 2024-01-01 03:30:21 +00:00
3462a81c28 [upload] give filesize-tracker script some polish 2024-01-01 03:30:21 +00:00
48557354fc [upload] less jquery 2023-12-30 14:25:03 +00:00
7617daa15c [autocomplete] rely on autocomplete-script to disable browser built-in where appropriate 2023-12-26 12:53:46 +00:00
d04ec4296b [upload] saner error reporting 2023-12-26 12:50:37 +00:00
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
43c7be0e89 dedicated search_link() function for generating links to search results, see #936 2023-08-18 13:52:03 +01:00
8fb6fd5f54 stricter nulls 2023-06-27 17:45:35 +01:00
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01:00
928c9d95d1 Blocks can accept HTMLElements directly 2023-06-27 11:59:39 +01:00
8ebd8bf287 format 2023-06-27 11:45:27 +01:00
38edf739fc avoid treating html as strings 2023-06-27 11:44:46 +01:00
56a60a9ec1 upload form update 2023-06-27 11:41:53 +01:00
2882bffe35 implement MIME checks on upload 2023-03-22 21:46:15 +01:00
36951db563 use DataUploadEvent fields rather than required metadata 2023-02-24 22:42:03 +00:00
95b081e9a3 put constructor data in constructor 2023-02-24 21:12:00 +00:00
077a5e7727 fix php8.2 warnings 2023-02-19 11:24:33 +00:00
5a64e8729b nits 2023-01-11 11:15:26 +00:00
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
165eea11b1 all the strict_types 2023-01-10 21:21:26 +00:00
a04bc2e7e4 php8.1 gogogo 2022-10-28 01:45:35 +01:00
4ff93c63c3 new php-cs-fixer, new opinions about what is today's preferred format... 2022-10-27 17:21:46 +01:00
9c05622d6e Fix uploader issue with SHM_FORM 2021-12-19 00:27:50 +00:00
217a36a8c5 upload microhtml 2021-12-14 19:10:21 +00:00
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
8d478b9c39 refer to user 2021-02-26 23:56:50 +00:00
e88ca1fb05 Nicer upload error messages 2021-02-26 23:54:53 +00:00
72268d529d Moved user options to separate page, modularized the settings page code so that it can be re-used to simplify and standardize user settings in the same manner as global settings 2021-01-16 14:26:17 -06:00
8a58ede5b3 remove some dead code 2020-10-29 01:28:46 +00:00
b9e1ce1b8d use the right link 2020-10-28 20:53:20 +00:00
3f5930b4cb simplify and add tests for upload (and replace) path 2020-10-28 20:51:34 +00:00
7cb18568e3 During uploads (including replacements), 'data' should be an array of files, fixes #735 2020-10-28 17:06:25 +00:00
3aa1926f72 Image to Post - upload 2020-10-26 10:53:03 -05:00
8ad783ff4c be more snake_case 2020-10-26 00:27:06 +00:00
19a6b39c70 make use of str_starts_with / str_ends_with / str_contains 2020-10-25 19:31:58 +00:00
a51cab58aa make sure extension is not-null for transloads 2020-10-14 16:07:12 +00:00
688fb8b04b Added ability to upload multiple files through a single upload input 2020-06-25 00:42:43 +01:00
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
95ef714447 Changed metadata truncation to reflect new filename column length 2020-06-24 17:21:57 +01:00
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
18cd74f57d Changed a bunch of core extensions to be hidden since there's nothing to interact with 2020-06-22 18:02:47 +01:00
5446f29141 improved filetype error handling 2020-06-03 20:01:08 +01:00
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