Commit graph

61 commits

Author SHA1 Message Date
004156712b Rewrote Base62 algorithm to avoid errors with very big numbers. 2024-12-22 02:02:53 +00:00
365a455c94 Fixed strange rounding error between PHP 8.3 and 8.4. 2024-12-02 01:37:08 +00:00
f31b3a41d4 Updated to PHPstan 2.x and fixed type annotations accordingly. 2024-12-02 01:30:36 +00:00
40cbd35ba3 Switch to in-memory db for polyfill test. 2024-10-21 18:15:09 +00:00
2f577d97cc Attempt at polyfilling MariaDB functions for SQLite. 2024-10-21 18:12:23 +00:00
17cdb4d1c2 Added non-Misuzu specific raw RGB conversion methods. 2024-10-19 16:04:17 +00:00
f137dfaab5 Moved DbTools::detectType to DbType::detect. 2024-10-19 15:16:22 +00:00
bf7977f511 Added cache backends registry. 2024-10-18 20:56:56 +00:00
0ebd0fa298 Added database backends registry. 2024-10-18 20:47:29 +00:00
b4ff61ad96 Removed ability to use class paths as Cache DSN protocols. 2024-10-16 01:26:08 +00:00
c43b3b56b0 Removed ability to use class paths as DSN protocols. 2024-10-16 01:18:10 +00:00
c43c6eb334 Also added COUNTRY_CODE (i forgor in the previous commit). 2024-10-05 14:10:08 +00:00
efe7d181d4 Expose REMOTE_ADDR and HTTPS in HttpRequest. 2024-10-05 13:58:24 +00:00
d3e4d0985a Imported Sasae into Index. 2024-10-04 23:39:36 +00:00
eec264ab98 Better filename for FsConfigTest test data. 2024-10-04 22:59:37 +00:00
9ed97e8575 Changed Data namespace to Db.
In case you wanted more breaking changes.
2024-10-04 22:35:57 +00:00
28d65263be Imported Syokuhou into Index. 2024-10-04 22:28:27 +00:00
eb0f65c5ef Some updates to the URL registry (feat. tests). 2024-10-04 20:43:28 +00:00
93f0f27561 Added RSS feed builder classes. 2024-10-03 20:39:40 +00:00
a5aa0152a0 Removed .NET-style stream types. 2024-10-02 16:17:48 +00:00
2a84a614be Fixed oversights. 2024-10-02 02:09:21 +00:00
44b4445664 HEH HEH YEAH ILIGHT HAHAHAHA WAHHH 2024-10-02 02:05:40 +00:00
3e7d443689 Removed the British to be consistent with JSON. 2024-10-02 01:37:18 +00:00
d9a7b04a3b Fixed namespace and class casing. 2024-10-02 01:35:05 +00:00
2217c8c3de Fixed method arguments issue. 2024-09-30 17:34:51 +00:00
caf4eef02d Added JsonProperty and BencodeProperty attributes for easier object encoding. 2024-09-29 23:53:44 +00:00
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