Commit graph

21 commits

Author SHA1 Message Date
Alex Cabal
8ad3291a35 Add admin form to view and edit users 2024-11-23 14:30:11 -06:00
Alex Cabal
db35e380c0 Fix newsletter type hints 2024-11-11 11:21:28 -06:00
Alex Cabal
acb30b897c Add PropertyFromHttp trait and update codebase to use new pattern 2024-11-10 22:23:43 -06:00
Alex Cabal
eec79712fc Use a NOW constant instead of new DateTimeImmutable objects, and tweak how some donation drive dates work 2024-10-15 22:21:12 -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
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
41dd9db4aa Change Accessor from class to trait 2024-05-04 13:07:03 -05:00
Alex Cabal
50efeb05d1 Style tweaks for getters and add more type hinting 2024-04-30 22:45:20 -05:00
Alex Cabal
49f5bc7641 Use new duplicate key exception instead of checking PDOException 2024-04-29 12:01:24 -05:00
Alex Cabal
7eaa400ae3 Type tweaks for exceptions and some validation 2024-04-25 20:40:49 -05:00
Alex Cabal
e55fecaaa2 Switch from DateTime to DateTimeImmutable across codebase 2024-04-13 14:05:14 -05:00
Alex Cabal
350f65532f Rename PropertiesBase to more accurate Accessor 2024-02-24 13:58:24 -06:00
Alex Cabal
ca3fc6dbfd Refactor HttpInput::Str and rename some exceptions for consistency 2024-01-18 11:21:05 -06:00
Alex Cabal
ad0badc09e Type hinting fixes 2024-01-08 16:41:44 -06:00
Alex Cabal
783c09864f Add type hints for remaining classes 2024-01-08 16:08:57 -06:00
Alex Cabal
bd4b8d8944 Some type check fixes 2023-06-21 11:01:43 -05:00
Alex Cabal
8127f0c7e2 Remove unused exception variables, now that this is possible with PHP8 2023-06-06 21:00:12 -05:00
Alex Cabal
26a24cdbe2 Pretty print SQL 2022-12-24 15:44:42 -06:00
Alex Cabal
904b8b1f50 Tweak SQL to use 'using' instead of 'on' 2022-07-07 10:38:53 -05:00
Alex Cabal
011cd747f1 Convert newsletter to use Users table as base 2022-07-04 12:09:49 -05:00