Shish
8f8c0d151a
Update dependency versions
2024-08-31 17:06:39 +01:00
Shish
8100ab31a9
[handle_archive] standard tmpdir
2024-02-21 22:35:27 +00:00
Shish
db0e788a67
[core] Deduplicate ImageAdditionEvent & ImageInfoSetEvent
...
Rather than ImageAddition triggering TagsSet/SourceSet/LockSet etc in one way, and ImageInfoSet triggering TagsSet/SourceSet/LockSet in a different way, why not have ImageAddition *just* deal with image addition, and then send a separate ImageInfoSet to deal with all of the metadata setting?
2024-02-20 22:15:24 +00:00
Shish
e80d235fe9
[core] use Safe library, reduce StdLibEx
2024-02-20 10:38:20 +00:00
Shish
5735320a95
[extensions] have extension categories, remove versions
2024-02-10 19:42:28 +00:00
Shish
82a3ce25c2
level 7 typing
2024-01-20 23:27:34 +00:00
Shish
434455b836
[tests] more voiding of tests
2024-01-15 14:31:51 +00:00
Shish
bb9ab613ce
[everything] bulk set event handler return types to void
2024-01-15 11:52:35 +00:00
Shish
e754ec89a7
[tests] cleaner teardown
2024-01-10 08:51:56 +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
af309601f5
[upload] separate out DataUpload, ImageAddition, and TagSet/SourceSet/LockSet/etc
2024-01-05 15:00:07 +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
bce2d55744
Namespaces are one honking great idea—let's do more of those!
2023-01-10 22:44:09 +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
Matthew Barbour
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
Matthew Barbour
984c9702ec
The great MIMEing
2020-06-25 00:42:34 +01:00
Shish
b893da927f
format
2020-06-24 17:02:24 +01:00
Matthew Barbour
9e1aabe17f
Added handling for empty archives
2020-06-24 16:59:35 +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
d97f492aaf
format
2020-02-25 12:18:47 +00:00
Shish
e2319769c6
Make ArchiveFileHandler inherit from DataHandlerExtension
2020-02-25 12:04:37 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
b568933f45
remove extension metadata comments (we have metadata objects now)
2019-11-02 20:19:09 +00:00
Matthew Barbour
de98e86938
ExtensionInfo conversions what have I done
2019-08-07 15:40:01 -05:00
Shish
34b05cca7c
PSR-2. I'm not a huge fan, but ugly consistency beats no consistency...
2019-05-28 17:59:38 +01:00
Shish
977c3db1e3
PHP7 type annotations
2017-09-21 05:21:42 +01:00
jgen
c0e87ae2ae
Fix issue with archive handler if no add_status method.
2017-05-11 23:43:10 -07:00
Shish
1ac88e8923
more comments
2015-09-27 12:38:48 +01:00
Shish
ec484c1144
more phpunit-ing
2015-09-20 20:04:13 +01:00
Shish
2aea79ac35
merge common parts of handle_archive and bulk_add
2015-05-24 16:08:46 +01:00
jgen
4f51e942be
Updating/Fixing/Adding more comments with the PHP Doc style.
2014-04-27 15:33:57 -04:00
jgen
1ca3865a1c
Removing the closing PHP "?>" tag as per style guidelines. (Also see: https://stackoverflow.com/questions/4410704/why-would-one-omit-the-close-tag )
2014-04-25 22:54:51 -04:00
Shish
f72bfbb050
fix indentation
2014-04-06 20:47:01 +01:00
Shish
c8aa3327a1
A bunch of small changes from scrutinizer-ci; some tidying, some actual bug fixes
2014-03-30 13:26:48 +01:00
Justin Brewer
946dec9415
readdir is not guaranteed to be in order
...
readdir's ordering is filesystem-dependent. On many systems, that means it
might as well be random. People uploading archives will reasonably expect the
files to appear in alphabetical order, so we should make sure they do.
2013-08-11 17:52:38 -05:00
Justin Brewer
305e25f676
Fix incorrect DataUploadEvent creation, triggering an assertion failure
...
I guess this one slipped through the cracks when $user was made global.
2013-08-11 17:38:50 -05:00
Shish
216d137064
when uploading an archive, say the file was handled
2012-05-08 18:32:55 +01:00
Shish
67f1c1c51d
store enabled exts in a config file, rather than moving directories around
2012-03-31 18:59:28 +01:00