Commit graph

33 commits

Author SHA1 Message Date
Alex Cabal
a9eab552ab Flesh out some PHPDocs, and consistently name enums 2024-05-14 15:40:56 -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
c4c8e7353f Enable strict exception type hint checking in PHPStan and add exception type hints 2024-05-10 20:47:36 -05:00
Alex Cabal
50efeb05d1 Style tweaks for getters and add more type hinting 2024-04-30 22:45:20 -05:00
Alex Cabal
e14988ff8c Improve exceptions in DB classes 2024-04-27 14:42:37 -05:00
Alex Cabal
07110829e7 Specify explicit duplicate key exception in DB class 2024-04-26 13:58:05 -05:00
Alex Cabal
7eaa400ae3 Type tweaks for exceptions and some validation 2024-04-25 20:40:49 -05:00
Alex Cabal
225b01f3dd Tweak type hints in ValidationException 2024-04-22 20:18:43 -05:00
Alex Cabal
e55fecaaa2 Switch from DateTime to DateTimeImmutable across codebase 2024-04-13 14:05:14 -05:00
Alex Cabal
2e7b1041bd Add type hint 2024-03-20 13:08:38 -05:00
Alex Cabal
a9dcdcde94 Limit artwork results at the DB level 2024-01-28 14:04:29 -06:00
Alex Cabal
fe03f01393 Some more minor fixes, and checks for the temporary 'todo' tag 2024-01-18 21:31:36 -06:00
Alex Cabal
ca3fc6dbfd Refactor HttpInput::Str and rename some exceptions for consistency 2024-01-18 11:21:05 -06:00
Alex Cabal
2b5f4f55a2 Style tweaks to artworks DB 2024-01-18 10:50:14 -06:00
Alex Cabal
531e3600ea Convert some constants to enums 2024-01-14 22:32:47 -06:00
Alex Cabal
16df5b29fe Validate and normalize museum URLs when submitting artwork 2024-01-12 14:20:54 -06:00
Alex Cabal
e17a4bcc65 Normalize URLs when submitting artwork to database 2024-01-09 13:59:00 -06:00
Alex Cabal
1c3640fab6 More type hinting 2024-01-08 20:21:42 -06:00
Alex Cabal
cb79832092 More type hinting 2024-01-08 17:00:20 -06:00
Alex Cabal
8e37543fa3 Add type hints to Artwork class members 2024-01-08 14:06:25 -06:00
Alex Cabal
5b6a334dd0 Add minimum artwork dimensions 2024-01-08 13:48:56 -06:00
Alex Cabal
5a1c05d8c5 Add password login option for some users, and further refinements to artwork management system 2024-01-06 22:27:38 -06:00
Mike Colagrosso
6a5c05511a Add cover art database
Co-authored-by: Job Curtis <job.curtis@gmail.com>
Co-authored-by: Alex Cabal <alex@standardebooks.org>
2024-01-03 19:14:04 -06:00
Alex Cabal
12cf83a843 Rename SeException class to AppException 2023-07-14 09:36:10 -05:00
Alex Cabal
fda3ca6695 Clean up unused code in ValidationException 2023-07-06 21:48:28 -05:00
Alex Cabal
0bc3dc3830 Create cookie-based login and authentication system 2022-07-10 20:53:20 -05:00
Alex Cabal
4efc5dcdaf Rename Vote object to PollVote 2022-07-06 11:36:42 -05:00
Alex Cabal
497f749523 Tweak patrons poll REST structure 2022-07-04 12:46:48 -05:00
Alex Cabal
011cd747f1 Convert newsletter to use Users table as base 2022-07-04 12:09:49 -05:00
Alex Cabal
2ef5ce6551 Add poll system for Patrons Circle 2022-06-29 17:17:20 -05:00
Alex Cabal
70a80d0e02 Add system to retrieve and manage donations in a local database 2022-06-20 14:05:27 -05:00
Alex Cabal
b0197d189a Add newsletter management functionality 2022-03-20 17:46:47 -05:00