Commit graph

41 commits

Author SHA1 Message Date
1172115e69 Bump minimum PHP requirement. 2023-08-28 13:58:51 +00:00
6a38f803f4 Added hasUploadedFile method to FormContent. 2023-08-22 00:04:20 +00:00
208446b544 Added getParamString method to FormContent. 2023-08-21 20:26:56 +00:00
a4c1d5627e Added hasCookie method to HttpRequest. 2023-08-16 23:03:01 +00:00
553b7c4a14 Fixed return type on UriBase64::decode. 2023-08-03 01:29:57 +00:00
557f089ff7 Allow empty string in MediaType parser. 2023-07-22 14:25:58 +00:00
4aae77900b Simplify serialisation. 2023-07-21 21:47:41 +00:00
64d6bdca1f Added some of the database utilities from Misuzu to Index. 2023-07-21 20:11:02 +00:00
fc55b73ba1 Updated README. 2023-07-21 18:42:55 +00:00
25720957fe Updated TODO (excuse to test Packagist hook). 2023-07-21 18:16:29 +00:00
ecce01c537 Translate to Simplified English. 2023-07-21 18:09:19 +00:00
5150f0cb56 Allow including Index through Composer.
index.php automatically detects if the Composer autoloader exists and doesn't initialise its own autoloader.
Also including phpunit and phpstan through it instead of including the phars, probably makes more sense to do it the other way but they're Big.
2023-07-21 18:04:29 +00:00
ccf75ede4a Don't scream on double close. 2023-07-17 19:02:07 +00:00
939dcd10fe Exposed more steps of the DbTools::create process. 2023-07-11 22:42:57 +00:00
31798a6b53 Change CSRFP epoch and check if token is empty. 2023-07-11 22:11:56 +00:00
4d92459731 Removed hash function wrappers. 2023-07-11 22:00:24 +00:00
828dc867a1 Made the CSRF protection less needlessly complex. 2023-07-11 21:59:09 +00:00
f3535117ce Fixed error on double close for mysqli library. 2023-07-10 22:43:29 +00:00
1cd1695429 Added byte formatting methods. 2023-07-05 23:07:54 +00:00
8f908d7f68 Added methods to count unique characters in a string. 2023-07-05 01:28:33 +00:00
bce5ba77a2 Altered MediaType parse routine. 2023-02-01 20:24:42 +00:00
1a8344c1c3 Added ProcessStream (popen wrapper). 2023-01-25 22:26:36 +00:00
99a4e0c302 Removed Max-Age cookie field for now. 2023-01-10 21:51:54 +00:00
f244121e0b Removed Max-Age cookie field for now. 2023-01-10 21:50:54 +00:00
30064e6891 Default to RFC3986 encoding for getParamString in HttpRequest. 2023-01-07 19:03:43 +00:00
fbe4fe18de Added database migration utility. 2023-01-07 04:12:05 +00:00
f8c6602ab9 Added interface for common router methods. 2023-01-06 20:20:59 +00:00
6e09904013 Actually run precommit this time. 2023-01-05 02:34:41 +00:00
fa67c7b0d6 Added common random string generation routine. 2023-01-05 02:33:37 +00:00
884d2cb9da Added ability to remove cookies. 2023-01-05 02:33:24 +00:00
b67f5c8e90 Updated copyright year. 2023-01-02 23:52:17 +00:00
66a35f030f Added default alpha param to ColourRGB and ColourHSL. 2023-01-02 23:20:46 +00:00
28634b5db3 Added function to convert to Misuzu format colours. 2023-01-02 22:37:10 +00:00
a24cfb8e6f Added colour library tests. 2023-01-02 22:22:37 +00:00
05a940667c Forgot to run precommit! 2023-01-02 03:24:41 +00:00
3f0504b1fd Added colour handling (tests soon). 2023-01-02 03:23:48 +00:00
a0b3a08d7f strval -> cast 2023-01-01 19:53:27 +00:00
d166428729 Replaced uses of floatval and intval with casts. 2023-01-01 19:00:00 +00:00
9bb07806a0 Fixed bitrot issues related to PHP updates. 2023-01-01 18:47:24 +00:00
3bcb7781dd Removed unfinished Colour implementation. 2023-01-01 18:36:54 +00:00
ac2255d24d Imported into new repository. 2022-09-13 15:13:11 +02:00