Commit Graph

57 Commits

Author SHA1 Message Date
6c08ee9675 Revert "Merge tag 'v2.10.6'"
This reverts commit 122ea4ab9e, reversing
changes made to c54a11e250.
2024-02-16 23:06:09 -06:00
82a3ce25c2 level 7 typing 2024-01-20 23:27:34 +00:00
8b797a9a31 [tests] more strictness 2024-01-20 19:47:27 +00:00
b60c3fe362 [core] a load more type hints, and fix bugs revealed by type hints 2024-01-20 14:11:00 +00:00
bbea373c19 [core] use ArrayAccess rather than dynamic props for extra columns on the images table 2024-01-15 18:52:07 +00:00
4e789040a0 [core] don't pass strings to functions that want ints 2024-01-15 14:21:33 +00:00
802ff336a2 [core,tests] even more types 2024-01-15 14:08:11 +00:00
bb9ab613ce [everything] bulk set event handler return types to void 2024-01-15 11:52:35 +00:00
7b9201cb42 [core] Database::with_savepoint() 2024-01-09 21:59:24 +00:00
b2f67363a1 [core] roll back database transaction when upload fails - fixes #1007 2024-01-09 21:01:10 +00:00
9f002b6bf7 typed arrays 2024-01-01 03:30:21 +00:00
a5c6f1321b refactor search a little and add much better testing 2023-12-14 17:04:16 +00:00
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
689b2b13af send_event(T) -> T 2023-02-04 20:50:26 +00:00
ff71a89948 fixes 2023-02-03 16:58:16 +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
a04bc2e7e4 php8.1 gogogo 2022-10-28 01:45:35 +01: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
3f5930b4cb simplify and add tests for upload (and replace) path 2020-10-28 20:51:34 +00:00
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
fc3c6625bd Changed references to /tmp to sys_get_temp_dir 2020-06-24 16:47:22 +01:00
1597eff082 lint fixing 2020-03-13 09:23:54 +00:00
40ab91f8ea remove redundant scoreql_to_sql 2020-02-01 22:44:50 +00:00
60dda96fd2 nits 2020-01-26 16:38:13 +00:00
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
d7a2ca9ddc remove SCORE_STRNORM - everyone supports LOWER now 2019-12-15 16:07:46 +00:00
b568933f45 remove extension metadata comments (we have metadata objects now) 2019-11-02 20:19:09 +00:00
55c6854003 formatting 2019-11-02 19:57:34 +00:00
30698fefdc remove a bunch of dead variables and things 2019-10-02 11:23:57 +01:00
cf8ed3b134 Added UserLoginEvent 2019-09-29 14:21:23 +01:00
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
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
cb1e9c0075 Permissions to constants 2019-08-01 08:07:05 -05:00
3859e27839 New Graphics extension
Added constants to several extensions
2019-07-08 08:07:02 -05:00
826c623538 PageMode constants 2019-06-18 21:04:31 -05:00
bf473f6d51 more lint fixes 2019-05-29 18:23:29 +01:00
34b05cca7c PSR-2. I'm not a huge fan, but ugly consistency beats no consistency... 2019-05-28 17:59:38 +01:00
5ec3e89884 php7.1 all the things 2019-05-28 17:31:20 +01:00
3ffb2da91c More checking to ensure tags is an array. 2017-05-13 23:18:47 -07:00
7ebe301ffd Check if already an array before exploding. 2017-05-13 18:01:31 -07:00
f492c6c2c3 Ensure that the Image object tag_array and the metadata array tags are always arrays. 2017-05-12 00:57:50 -07:00
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
ede2fcf4eb More linting and fixing 2017-03-08 23:52:31 -08:00
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
dc10a18086 lots of minor doc tweaks, type hints, etc 2016-06-19 17:41:40 +01:00
d30665d274 more deduping 2015-09-27 21:09:27 +01:00
35a4f385b3 phpstorm tidying 2015-09-12 11:43:28 +01:00
3af95b5ebe Fix duplicate handling
Now with 17% less fat:
* Moved validation logic into OuroborosPost for sanity
* Added sanity checks for OuroborosPost values
* Changed defaults to be more sane (mainly tags)
* OuroborosPost now accepts an MD5 hash along the metadata (like it
should!)
* Fixed dupe handling logic
2015-01-05 13:47:53 +02:00