Alex Cabal
|
98f45ea4e0
|
Add the HttpInput::File() and HttpInput::Date() method
|
2024-05-24 20:48:28 -05:00 |
|
Alex Cabal
|
794e175d47
|
Add Date type to DbConnection
|
2024-05-20 20:29:27 -05:00 |
|
Alex Cabal
|
55fb675b70
|
Add Db::QueryFloat()
|
2024-05-18 20:43:10 -05:00 |
|
Alex Cabal
|
4cd7a1b72c
|
Tweak some PHPDocs
|
2024-05-18 20:41:15 -05:00 |
|
Alex Cabal
|
3215e8edcf
|
Fix broken enum
|
2024-05-17 22:05:41 -05:00 |
|
Alex Cabal
|
c4bff3f613
|
Schedule new patron drive
|
2024-05-16 16:30:32 -05:00 |
|
Alex Cabal
|
4b796c0155
|
Add more type hints
|
2024-05-16 14:05:00 -05:00 |
|
Alex Cabal
|
3c54255775
|
Rename internal PHP config variable
|
2024-05-14 15:47:29 -05:00 |
|
Alex Cabal
|
a9eab552ab
|
Flesh out some PHPDocs, and consistently name enums
|
2024-05-14 15:40:56 -05:00 |
|
Alex Cabal
|
ace9cea6b7
|
Throw exception when last insert ID can't be determined
|
2024-05-13 21:46:29 -05:00 |
|
Alex Cabal
|
d1ad02e3be
|
Remove CoreFunctions.php file, as PHPStan no longer complains about having all helper functions in Core.php
|
2024-05-13 15:22:26 -05:00 |
|
Alex Cabal
|
52e177b886
|
Add new methods to DbConnection class
|
2024-05-13 15:13:02 -05:00 |
|
Alex Cabal
|
acb6b2949f
|
Use static class names instead of strings when getting objects from the DB
|
2024-05-13 14:49:28 -05:00 |
|
Alex Cabal
|
a4910b8d67
|
Rename function
|
2024-05-13 11:02:08 -05:00 |
|
Alex Cabal
|
70ae877dd8
|
Bump PHPStan check level to max and add final round of type hints
|
2024-05-13 10:48:05 -05:00 |
|
Alex Cabal
|
110c091a7b
|
Define some constants to make HTTP input code less wordy
|
2024-05-12 12:29:30 -05:00 |
|
Alex Cabal
|
ee7c8343dd
|
Convert some constants to enums
|
2024-05-11 21:51:06 -05:00 |
|
Alex Cabal
|
703e1a7a03
|
Continue improving type hints
|
2024-05-10 23:38:57 -05:00 |
|
Alex Cabal
|
eb376c87bd
|
Remove error suppression that is no longer necessary
|
2024-05-10 21:08:32 -05:00 |
|
Alex Cabal
|
c4c8e7353f
|
Enable strict exception type hint checking in PHPStan and add exception type hints
|
2024-05-10 20:47:36 -05:00 |
|
Alex Cabal
|
a634e4e970
|
Remove unused constant
|
2024-05-08 11:24:01 -05:00 |
|
Alex Cabal
|
8cc661015c
|
Add enum for view type and fix some type hints
|
2024-05-08 11:22:28 -05:00 |
|
Alex Cabal
|
7c8463d297
|
Add <link rel="canonical"> to some pages
|
2024-05-08 11:01:18 -05:00 |
|
Alex Cabal
|
a0dc70762d
|
Fix types
|
2024-05-04 15:37:02 -05:00 |
|
Alex Cabal
|
41dd9db4aa
|
Change Accessor from class to trait
|
2024-05-04 13:07:03 -05:00 |
|
Alex Cabal
|
10bea9ad9e
|
Add newdecimal type to DbConnection
|
2024-05-02 16:25:24 -05:00 |
|
Alex Cabal
|
2e137d2df7
|
Better exception message when database encounters a duplicate unique key
|
2024-05-02 11:01:34 -05:00 |
|
Alex Cabal
|
f4613aa9af
|
Fix docblocks
|
2024-05-01 23:56:52 -05:00 |
|
Alex Cabal
|
de76531589
|
Better type check in DbConnection
|
2024-05-01 23:41:42 -05:00 |
|
Alex Cabal
|
82fe64c368
|
Don't check for boolean columsn in DbConnetion
|
2024-05-01 09:38:33 -05:00 |
|
Alex Cabal
|
97cafbf128
|
Allow for an object's own FromRow method in DbConnection
|
2024-05-01 09:38:33 -05:00 |
|
Alex Cabal
|
50efeb05d1
|
Style tweaks for getters and add more type hinting
|
2024-04-30 22:45:20 -05:00 |
|
Alex Cabal
|
aa8bdfed0e
|
Remove unnecessary test from DbConnection
|
2024-04-29 14:37:47 -05:00 |
|
Alex Cabal
|
6a3a5d5ec3
|
Add type hints to DB connection class
|
2024-04-29 12:05:43 -05:00 |
|
Alex Cabal
|
49f5bc7641
|
Use new duplicate key exception instead of checking PDOException
|
2024-04-29 12:01:24 -05:00 |
|
Alex Cabal
|
5ee7e8e2ad
|
Fix incorrect exception check in DB connection code
|
2024-04-29 11:39:41 -05:00 |
|
Alex Cabal
|
233f8eb171
|
More DB connection cleanup
|
2024-04-28 20:53:05 -05:00 |
|
Alex Cabal
|
e14988ff8c
|
Improve exceptions in DB classes
|
2024-04-27 14:42:37 -05:00 |
|
Alex Cabal
|
fdca261133
|
Remove unnecessary try/catch from DB connection
|
2024-04-27 12:37:09 -05:00 |
|
Alex Cabal
|
07110829e7
|
Specify explicit duplicate key exception in DB class
|
2024-04-26 13:58:05 -05:00 |
|
Alex Cabal
|
265db89448
|
Fix typo in DB constructor
|
2024-04-26 13:17:18 -05:00 |
|
Alex Cabal
|
7eaa400ae3
|
Type tweaks for exceptions and some validation
|
2024-04-25 20:40:49 -05:00 |
|
Alex Cabal
|
5b3f8f7b77
|
Add support for filling backed enum types in the DB ORM layer, and cleanup some formatting issues
|
2024-04-25 11:57:02 -05:00 |
|
Alex Cabal
|
225b01f3dd
|
Tweak type hints in ValidationException
|
2024-04-22 20:18:43 -05:00 |
|
Alex Cabal
|
79bb41de42
|
Sanity check to make sure 'convert' worked on TIFF file when uploading cover art
|
2024-04-16 11:17:09 -05:00 |
|
Alex Cabal
|
40932332cb
|
Remove temporary fixup tag from artworks validation
|
2024-04-15 12:21:35 -05:00 |
|
Alex Cabal
|
e55fecaaa2
|
Switch from DateTime to DateTimeImmutable across codebase
|
2024-04-13 14:05:14 -05:00 |
|
Alex Cabal
|
1bf7e9e10f
|
Remove unused import
|
2024-04-09 11:13:10 -05:00 |
|
Alex Cabal
|
debd0c31ae
|
Remove 'todo' tag processing
|
2024-04-05 14:00:15 -05:00 |
|
Alex Cabal
|
2e7b1041bd
|
Add type hint
|
2024-03-20 13:08:38 -05:00 |
|