Commit graph

400 commits

Author SHA1 Message Date
Alex Cabal
d4707eb595 Update setcookie() for PHP8 compatibility 2023-06-20 18:53:11 -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
Mike Colagrosso
4212131f01 Remove PollItem property from Session 2023-04-01 23:45:53 -05:00
Mike Colagrosso
e48ac5643a Move ereader check to utility function 2023-03-19 18:38:28 -05:00
Alex Cabal
8d8de1e062 Fix reading ease description calculation 2023-03-16 11:40:58 -05:00
Alex Cabal
1e32a97c7d Some tweaks to collections 2023-02-16 18:45:20 -06:00
Mike Colagrosso
e2dd256edc Add a /collections endpoint 2023-02-16 18:26:34 -06:00
Alex Cabal
cee4517517 Suppress PHP warnings that are handled by PHP Safe 2023-01-30 16:37:45 -06:00
Alex Cabal
04759aa17b Add size warning when single-page download is larger than 1MB 2023-01-13 16:42:57 -06: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
c2dabfbe2d Add comment for clarity 2022-07-27 11:30:56 -05:00
Weijia Cheng
f2ffacdff8 Restrict Internet Archive source to scans only 2022-07-27 11:29:12 -05:00
Alex Cabal
850ad44e83 Enable Patron login required for ebook feeds 2022-07-25 12:26:29 -05:00
Alex Cabal
f572422d8c Correctly update user name when receiving payment 2022-07-24 18:32:49 -05:00
Alex Cabal
e857e4e9e6 Rebuild web caches immediately on ebook updates 2022-07-14 15:28:57 -05:00
Alex Cabal
885b8745e7 Default to author name if no file-as found 2022-07-14 12:55:09 -05:00
Alex Cabal
30442c0c62 Move HTTP auth to PHP 2022-07-14 12:50:21 -05:00
Alex Cabal
c457af896c Log user in automatically if a request with HTTP auth is received 2022-07-12 11:30:03 -05:00
Alex Cabal
dc0e873577 Add feed/download toolbar to author and collection indexes 2022-07-12 10:24:41 -05:00
Alex Cabal
05e0f77b45 Add collections and authors RSS/Atom/OPDS feeds 2022-07-11 18:49:11 -05:00
Alex Cabal
c95d8c4954 Fix collection sorting in bulk downloads 2022-07-11 11:01:15 -05:00
Alex Cabal
9a72b27233 Rearrange bulk download index pages 2022-07-10 23:25:31 -05:00
Alex Cabal
0bc3dc3830 Create cookie-based login and authentication system 2022-07-10 20:53:20 -05:00
Alex Cabal
45221365b5 More work on bulk downloads 2022-07-10 14:48:58 -05:00
Alex Cabal
fc1db3a3d4 Break bulk downloads into sections, add authors bulk download, and refactor bulk download generation code 2022-07-10 12:56:28 -05:00
Alex Cabal
7f50f00b42 work 2022-07-10 00:55:24 -05:00
Alex Cabal
d086ea59bd Abbreviate months in bulk download page 2022-07-09 20:35:35 -05:00
Alex Cabal
270c612fc5 Move bulk-download page generation into the Library object 2022-07-09 20:09:40 -05:00
Alex Cabal
76a4c34688 Move items out of the 'patrons-circle' folder into the root 2022-07-09 20:09:40 -05:00
Alex Cabal
12b79b5dcd Split bulk downloads into file type and cache output 2022-07-09 20:09:40 -05:00
Alex Cabal
4300619383 Normalize contents of webroot variables 2022-07-09 20:09:39 -05:00
Alex Cabal
dbc2fd5fcd Improve bulk downloads page 2022-07-09 20:09:39 -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
904b8b1f50 Tweak SQL to use 'using' instead of 'on' 2022-07-07 10:38:53 -05:00
Alex Cabal
f66f6e3287 Improved error printing in dev site 2022-07-06 16:47:24 -05:00
Alex Cabal
4efc5dcdaf Rename Vote object to PollVote 2022-07-06 11:36:42 -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
de9e8161ce PHPStan tweaks 2022-07-04 12:58:18 -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
b48a788430 Fix some naming errors and code cleanup 2022-07-02 16:50:59 -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
6c8414f844 Update PropertiesBase to new patterns and improve static analysis checks 2022-06-30 13:23:05 -05:00
Alex Cabal
c2cf6ef455 Change 'modified' property to 'updated' for consistency 2022-06-29 18:55:51 -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
18f761929a Clean up some class inheritance issues in feeds 2022-06-29 17:17:21 -05:00