Shish
7353683a13
no implicit nulls (they are deprecated in php8.4)
2024-09-01 00:06:46 +01:00
Shish
399a56ac79
[dev] bump phpstan strictness
...
no more null surprises
2024-08-31 21:25:20 +01: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
7ee4152942
[core] organise exceptions a bit
2024-02-11 16:03:23 +00:00
Shish
82a3ce25c2
level 7 typing
2024-01-20 23:27:34 +00:00
Shish
8b797a9a31
[tests] more strictness
2024-01-20 19:47:27 +00:00
Shish
b60c3fe362
[core] a load more type hints, and fix bugs revealed by type hints
2024-01-20 14:11:00 +00:00
Shish
bbea373c19
[core] use ArrayAccess rather than dynamic props for extra columns on the images table
2024-01-15 18:52:07 +00:00
Shish
4e789040a0
[core] don't pass strings to functions that want ints
2024-01-15 14:21:33 +00:00
Shish
802ff336a2
[core,tests] even more types
2024-01-15 14:08:11 +00:00
Shish
bb9ab613ce
[everything] bulk set event handler return types to void
2024-01-15 11:52:35 +00:00
Shish
7b9201cb42
[core] Database::with_savepoint()
2024-01-09 21:59:24 +00:00
Shish
b2f67363a1
[core] roll back database transaction when upload fails - fixes #1007
2024-01-09 21:01:10 +00:00
Shish
9f002b6bf7
typed arrays
2024-01-01 03:30:21 +00:00
Shish
a5c6f1321b
refactor search a little and add much better testing
2023-12-14 17:04:16 +00:00
Shish
fd1bb21f9d
bumps
2023-11-11 22:05:28 +00:00
Shish
689b2b13af
send_event(T) -> T
2023-02-04 20:50:26 +00:00
Shish
ff71a89948
fixes
2023-02-03 16:58:16 +00:00
Shish
5a64e8729b
nits
2023-01-11 11:15:26 +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
a04bc2e7e4
php8.1 gogogo
2022-10-28 01:45:35 +01: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
3f5930b4cb
simplify and add tests for upload (and replace) path
2020-10-28 20:51:34 +00:00
Matthew Barbour
984c9702ec
The great MIMEing
2020-06-25 00:42:34 +01:00
Matthew Barbour
fc3c6625bd
Changed references to /tmp to sys_get_temp_dir
2020-06-24 16:47:22 +01:00
Shish
1597eff082
lint fixing
2020-03-13 09:23:54 +00:00
Shish
40ab91f8ea
remove redundant scoreql_to_sql
2020-02-01 22:44:50 +00:00
Shish
60dda96fd2
nits
2020-01-26 16:38:13 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
d7a2ca9ddc
remove SCORE_STRNORM - everyone supports LOWER now
2019-12-15 16:07:46 +00:00
Shish
55c6854003
formatting
2019-11-02 19:57:34 +00:00
Shish
30698fefdc
remove a bunch of dead variables and things
2019-10-02 11:23:57 +01:00
matthew
cf8ed3b134
Added UserLoginEvent
2019-09-29 14:21:23 +01:00
Matthew Barbour
88e6e68d79
Changed omitted related tags (like tagme) to be powered by a setting, allowing any performance-impacting (or just not useful in this context) tags to be omitted
...
Further tag list performance improvements
TagListConfig constants
2019-09-26 15:46:28 +01:00
Matthew Barbour
de98e86938
ExtensionInfo conversions what have I done
2019-08-07 15:40:01 -05:00
Matthew Barbour
cb1e9c0075
Permissions to constants
2019-08-01 08:07:05 -05:00
Matthew Barbour
3859e27839
New Graphics extension
...
Added constants to several extensions
2019-07-08 08:07:02 -05:00
Matthew Barbour
826c623538
PageMode constants
2019-06-18 21:04:31 -05:00
Shish
bf473f6d51
more lint fixes
2019-05-29 18:23:29 +01: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
5ec3e89884
php7.1 all the things
2019-05-28 17:31:20 +01:00
jgen
3ffb2da91c
More checking to ensure tags is an array.
2017-05-13 23:18:47 -07:00
jgen
7ebe301ffd
Check if already an array before exploding.
2017-05-13 18:01:31 -07:00
jgen
f492c6c2c3
Ensure that the Image object tag_array and the metadata array tags are always arrays.
2017-05-12 00:57:50 -07:00
Scrutinizer Auto-Fixer
1caef6d633
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2017-03-12 23:45:38 +00:00
jgen
ede2fcf4eb
More linting and fixing
2017-03-08 23:52:31 -08:00
Shish
7be951b271
Convert tags from user-supplied string to array once, on input
...
This results in a fuckton of refactoring and code cancelling out
other code -- we no longer have a whole bunch of places trying
to support string params and array params, and doing their own
esaping and unescaping, never being quite sure if the data they've
been passed is escaped or not.
Also adds a bunch of type hinting, since we can now know what
data we're dealing with better.
2016-07-30 22:11:49 +01:00
Shish
dc10a18086
lots of minor doc tweaks, type hints, etc
2016-06-19 17:41:40 +01:00