Commit graph

18 commits

Author SHA1 Message Date
Shish
77b755e68b [core] reduce use of GET global 2024-02-09 16:36:57 +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
e507105212 comments 2024-01-15 23:04:19 +00:00
Shish
5d120cd0c8 [tests] put tests inside transactions 2024-01-15 22:50:43 +00:00
Shish
de022564b3 make sure every test happens inside a transaction 2024-01-15 22:32:25 +00:00
Shish
589ff69eea [types] typetypetypetypetype 2024-01-15 15:08:22 +00:00
Shish
7b7ec9c83f [tests] phpstan version bump 2024-01-15 14:08:12 +00:00
Shish
acd3abcc77 [core] fix error in error handling 2024-01-11 10:19:38 +00:00
Shish
39bfde6dff [tests] clear() at the end of each class, not the end of each test 2024-01-10 09:04:39 +00:00
Shish
051d6242ed [tests] add assertException because PHPUnit doesn't have it 2024-01-07 17:22:16 +00:00
Shish
26630a4e3b fmt 2024-01-05 15:32:07 +00:00
Shish
af309601f5 [upload] separate out DataUpload, ImageAddition, and TagSet/SourceSet/LockSet/etc 2024-01-05 15:00:07 +00:00
Shish
1f9de8dd5a more tests 2024-01-03 03:46:04 +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
625406e591 extra comments 2023-12-31 18:48:56 +00:00
Shish
6df0f4f307 put runtime-generated data into data/ 2023-12-31 17:42:04 +00:00
Shish
840b0849df [user] make email-requiredness a setup option 2023-12-27 10:07:09 +00:00
Shish
71341be3a8 move testcase to core, so that require(ext/X/*.php) can work 2023-12-16 10:52:50 +00:00