Commit graph

36 commits

Author SHA1 Message Date
Alex Cabal
9d1b66d19e Update PHPStan and Safe PHP, and review codebase for further type correctness 2025-02-25 22:41:18 -06:00
Alex Cabal
72615fe79a Fix logic errors 2024-12-06 11:36:11 -06:00
Alex Cabal
9a2b095b70 Allow adjustment of Patrons Circle cost 2024-12-05 14:32:46 -06:00
Alex Cabal
c30d79138a Fix logic in payment process script 2024-12-05 10:46:24 -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
be5574eaec Move enums into their own namespace 2024-11-08 16:34:21 -06:00
Alex Cabal
c3c588cc1b Add more type hints and work on some code formatting 2024-11-08 14:20:06 -06:00
Alex Cabal
06b82cdaaa Fix broken updated timestamps in OPDS feeds, and fix and add some type hints. 2024-11-08 12:43:47 -06:00
Alex Cabal
2246becb59 Better support for soft credit donors from funds 2024-09-18 19:12:35 -05:00
Alex Cabal
8b02a0ab39 Remove commas from payment values when processing payments 2024-09-18 11:45:46 -05:00
Alex Cabal
44901cf3e2 Add Db::QueryBool() and some code style updates 2024-09-15 13:50:13 -05:00
Alex Cabal
ad89a4af45 Add type checks 2024-05-30 23:46:50 -05:00
Alex Cabal
3215e8edcf Fix broken enum 2024-05-17 22:05:41 -05:00
Alex Cabal
a442f92e28 Use exists() for some SQL statements; send thank-you email to patron donors who donate again 2024-05-13 12:32:07 -05:00
Alex Cabal
ee7c8343dd Convert some constants to enums 2024-05-11 21:51:06 -05:00
Alex Cabal
e55fecaaa2 Switch from DateTime to DateTimeImmutable across codebase 2024-04-13 14:05:14 -05:00
Alex Cabal
0f324efed1 Update payment process script to work with new FA HTML 2023-09-10 21:28:17 -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
1c055d3e6f Disable emulate prepares in DB 2023-05-13 23:42:58 -05:00
Alex Cabal
6ec1669308 Update payment process script to work around FA additions 2023-04-26 15:54:30 -05:00
Alex Cabal
e7ef78bcd4 Add code to mark donations as company matches for purposes of calculatin the patron's circle 2023-01-05 17:04:02 -06:00
Alex Cabal
26a24cdbe2 Pretty print SQL 2022-12-24 15:44:42 -06:00
Alex Cabal
9f87133cb9 Notify admins of new fully-anonymous patrons 2022-12-11 12:10:27 -06:00
Alex Cabal
2eba3974b7 Update payment process script for new FA quirk 2022-11-27 22:42:32 -06:00
Alex Cabal
7071504034 Remove logging code 2022-07-24 18:33:07 -05:00
Alex Cabal
9e202c4f49 Update wanted ebooks list 2022-07-18 15:46:37 -05:00
Alex Cabal
fa8fa4f7eb Send email to the admin when a new patron joins 2022-07-09 12:26:32 -05:00
Alex Cabal
727e1af67d Update user in database if they exist when processing a payment 2022-07-04 15:31:16 -05:00
Alex Cabal
3fa9592e6d Send an email to lapsed patrons 2022-07-02 16:45:23 -05:00
Alex Cabal
0875e697b4 Change secrets from being stored in flat files to being stored in PHP INI configuration 2022-07-02 13:36:46 -05:00
Alex Cabal
5f0b57f7e9 Fix wrong test when processing payments 2022-06-30 09:57:05 -05:00
Alex Cabal
32206f3cd7 Improve handling of returning patrons 2022-06-29 18:05:49 -05:00
Alex Cabal
dbefba6b94 Change 'timestamp' properties on objects to more descriptive names 2022-06-29 17:19:28 -05:00
Alex Cabal
2ef5ce6551 Add poll system for Patrons Circle 2022-06-29 17:17:20 -05:00
Alex Cabal
afe7ebeb22 Fix broken template in payment process script 2022-06-23 09:33:46 -05:00
Alex Cabal
70a80d0e02 Add system to retrieve and manage donations in a local database 2022-06-20 14:05:27 -05:00