Commit graph

75 commits

Author SHA1 Message Date
285e2de40c Removed local PSR-4 autoloader implementation.
I've fully moved to Composer and its autoloader is more optimised than this one could ever hope to be.
2024-07-31 19:12:24 +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
b3078c28e3 Updated Base62 implementation. 2024-07-31 18:36:16 +00:00
d556081541 Updated Base32 method signatures. 2024-07-31 18:25:01 +00:00
4b4ff9f7c4 Made syntax of URI-safe base64 methods compatible with the built in base64_* methods. 2024-07-31 18:20:29 +00:00
27d28f03ce Removed Base64 proxy. 2024-07-31 18:15:05 +00:00
3952dd96e8 Updated to PHP 8.3 and added cache provider requirements to the README. 2024-07-31 18:12:46 +00:00
e4c8ed711e Default to PHP serializer for Redis. 2024-04-10 23:40:14 +00:00
339f9d3701 Fixed oversight not caught by phpstan tsk tsk. 2024-04-10 23:36:28 +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
9d5b050b89 Revert to implicitly supporting HEAD.. 2024-03-28 23:27:04 +00:00
0472625a00 Attempt to make trailing slash optional. 2024-03-28 23:07:17 +00:00
ce855061ec Added content and error handling. 2024-03-28 22:30:06 +00:00
add621716a Fixed full match not being removed from args list. 2024-03-28 20:33:41 +00:00
a5cfba6b96 Today I learned: attribute declaration does not inherit. 2024-03-28 20:23:09 +00:00
bcc7e8066a Fixed inheritance. 2024-03-28 20:19:54 +00:00
8a5059c7ec Fixed is_array being used instead of array_key_exists. 2024-03-28 20:16:18 +00:00
154d82de02 Fixed typo. 2024-03-28 20:10:21 +00:00
1efb379601 Work in progress router rewrite. 2024-03-28 20:01:34 +00:00
c8d16b02e6 Added database result iterator. 2024-02-06 21:39:36 +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
e31781c69f Always use UTF-8 for HTML if no content type is specified. 2023-11-20 19:01:19 +00:00
c563bb20e8 Added boolean getters to IDbResult. 2023-11-09 14:04:39 +00:00
987ce5ce52 Added ~OrNull methods to IDbResult. 2023-11-09 13:52:12 +00:00
96700f7044 Added documentation comments to the Colour classes. 2023-11-09 13:36:45 +00:00
41ac00e3e0 Cleanups in XArray. 2023-11-09 13:12:34 +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
82a350a5c7 Allow file resource in Bencode encoder. 2023-09-15 22:44:36 +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
3dbf0fa85f More adjustments to path handling. 2023-09-11 19:44:34 +00:00
c57d2a49f2 Attempt to fix URL parsing edge case. 2023-09-11 19:25:29 +00:00
923484c7ac Added middleware support to attribute registry. 2023-09-08 00:09:23 +00:00
bb4d3e80b0 Fixed HttpFx not becoming available to registerRoutes. 2023-09-07 23:57:14 +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
2b8b31289d Added interface for route handlers. 2023-09-06 11:49:54 +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