Commit graph

35 commits

Author SHA1 Message Date
25063f6b1f Fixed MediaType::getQuality always returning 1.0. 2024-08-18 16:56:17 +00:00
57f8c69ca0 Fixed middleware on / issue. 2024-08-18 16:41:02 +00:00
50af08e54f Use compact use statements where possible and removed RuntimeException extensions. 2024-08-01 23:17:11 +00:00
51f97b7a67 Updated PHPDocs and some argument lists. 2024-08-01 22:16:38 +00:00
57b939103e Removed Version class, please use Composer's SemVer instead. 2024-07-31 21:01:22 +00:00
4806b35c6b Moved CSRFP into the root namespace. 2024-07-31 20:54:55 +00:00
d3c7b8f496 Removed dodgy DateTimeInterface wrappers, use Carbon or the XDateTime utils instead. 2024-07-31 20:53:06 +00:00
1fa778b338 Removed most of the Environment class and renamed it to just Index as a library meta class. 2024-07-31 19:47:05 +00:00
4d41d3218e Moved Bencode implementation into its own namespace. 2024-07-31 19:10:26 +00:00
4a40868f58 Added generic IntegerBaseConverter implementation and merged Base62 class with XNumber.
The Base62 implementation was always a bit misleading because both UriBase64 and Base32 handle any binary data whereas Base62 was only for converting integers.
This shake-up should lessen that confusion.
2024-07-31 19:05:41 +00:00
94cd311f8c Moved Base32 and UriBase64 implementations into the root namespace. 2024-07-31 18:39:47 +00:00
3952dd96e8 Updated to PHP 8.3 and added cache provider requirements to the README. 2024-07-31 18:12:46 +00:00
c40f264755 Added DSN documentation for Database and Cache backends. 2024-04-10 23:26:13 +00:00
ad75d72aa0 Added cache wrappers. 2024-04-10 22:23:34 +00:00
09fc6b3958 Fixed routes with similar regexes not being able to match. 2024-04-02 17:27:06 +00:00
9b57fbb42c Removed old router code. 2024-03-30 16:24:34 +00:00
18397477d6 Removed AString and IString and turned WString into a utility class like XString for multibyte strings. 2024-01-04 02:07:43 +00:00
06f0ba27bb Removed Type class. 2023-11-09 12:59:28 +00:00
1c2058e199 Deprecated IString. 2023-11-09 12:58:04 +00:00
6e4d155536 Added colour mixing and various number funcs. 2023-09-15 22:02:23 +00:00
f71f3fcf9e Revert "Reverted Router changes."
This reverts commit d9f7cd5037.
2023-09-11 20:34:16 +00:00
d9f7cd5037 Reverted Router changes. 2023-09-11 20:32:16 +00:00
405724ec3f Removed router merging. 2023-09-11 20:08:15 +00:00
923484c7ac Added middleware support to attribute registry. 2023-09-08 00:09:23 +00:00
a4e39d5e56 Allow repeat Route attributes. 2023-09-07 22:37:04 +00:00
0710597062 Added abstract RouteHandler and documentation. 2023-09-07 22:22:41 +00:00
32254bf398 Added routing through attributes. 2023-09-07 22:08:31 +00:00
4aae77900b Simplify serialisation. 2023-07-21 21:47:41 +00:00
828dc867a1 Made the CSRF protection less needlessly complex. 2023-07-11 21:59:09 +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
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
d166428729 Replaced uses of floatval and intval with casts. 2023-01-01 19:00:00 +00:00
ac2255d24d Imported into new repository. 2022-09-13 15:13:11 +02:00