Commit graph

245 commits

Author SHA1 Message Date
Alex Cabal
06096fa7dd Correctly process matching donations from funds 2025-05-02 15:28:46 -05:00
Alex Cabal
daee86b919 Don't re-throw after logging them when ingesting FA payments 2025-04-29 12:48:17 -05:00
Alex Cabal
b74d7361a1 In deploy-ebook-to-www, only check for tsp if it's installed 2025-04-14 22:25:54 -05:00
Alex Cabal
ac7a9f3725 Update README with new site installation instructions, and use venvs in scripts 2025-04-14 10:47:15 -05:00
Alex Cabal
ceccd1431e Fail quietly when updating projects with broken URLs instead of logging 2025-03-15 14:18:48 -05:00
Alex Cabal
124e8343fc Completely type hint template functions and switch to named arguments 2025-03-04 20:32:20 -06:00
Alex Cabal
a019d5e87c Enable some additional PHPStan rules and fix some type issues 2025-03-01 13:39:57 -06:00
Alex Cabal
c9e5026cf4 Add logic for accepting payments from soft credits marked as 'anonymous' 2025-02-28 11:43:39 -06:00
Alex Cabal
99b5fd66f2 More type fixes 2025-02-26 15:17:08 -06:00
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
0c2dce3f63 Handle TIFF files with multiple pages 2025-02-08 12:33:13 -06:00
Alex Cabal
6378d687d8 Add 'awaiting review' and 'reviewed' project statuses that update from GitHub; allow project owners to update their project statuses 2025-01-27 15:52:21 -06:00
Alex Cabal
221daaacac Increase wait time when fetching project updated timestamps, and improve error messages 2025-01-25 11:29:18 -06:00
Alex Cabal
617df6dda0 Add honeypot link to deployed ebook files 2025-01-18 20:41:27 -06:00
Alex Cabal
bf010f8e3c Fix rotate log script 2025-01-18 18:57:25 -06:00
Alex Cabal
5b0d37824b Add configuration to stop rude bot crawlers using fail2ban 2025-01-18 17:37:47 -06:00
Alex Cabal
bc16b1fff8 Add endpoint to get reviewer for an in-progress project 2025-01-07 21:42:51 -06:00
Alex Cabal
c07b4cec1e Abandon projects after 60 days, not 90 2025-01-06 12:17:57 -06:00
Alex Cabal
aad37981ab Add script to delete users who have no other connections in the database 2025-01-06 10:56:50 -06:00
Alex Cabal
cce0c328d1 Add <meta rel="canonical"> elements when deploying ebook 2025-01-05 13:07:59 -06:00
Alex Cabal
806939ca49 Replace Template::Emit...() functions with more generic function 2024-12-18 13:14:16 -06:00
Alex Cabal
28b7384769 Set ebook placeholders to not be in progress when a project is marked as abandoned 2024-12-16 23:54:40 -06:00
Alex Cabal
051e286a6d Continue fleshing out project management system 2024-12-16 15:01:22 -06:00
Alex Cabal
5782d6ca7d Further refine projects system 2024-12-15 23:39:23 -06:00
Alex Cabal
2449de6f6c Also check discussion threads for freshness when marking projects as stalled 2024-12-15 21:59:01 -06:00
Alex Cabal
3b9ea27391 Refactor projects fetching commits from Github 2024-12-15 14:51:53 -06:00
Alex Cabal
9b9d93bc52 Automatically update in progress projects to stalled 2024-12-14 23:54:11 -06:00
Alex Cabal
adfe07aad9 Add beginning of a project management system to placeholders 2024-12-14 19:13:03 -06:00
Alex Cabal
1a742baa51 Add CanEditEbooks benefit and clean up some PHPStan errors 2024-12-14 11:50:16 -06:00
Mike Colagrosso
1ab95df084 Add placeholders for ebooks 2024-12-13 11:46:36 -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
77540dacbb Clarify comments 2024-12-05 11:22:53 -06:00
Alex Cabal
c30d79138a Fix logic in payment process script 2024-12-05 10:46:24 -06:00
Alex Cabal
e11f2ad6b1 Adjust nofollow attribute 2024-11-26 13:41:00 -06:00
Alex Cabal
99f49d7f51 Style tweaks 2024-11-26 11:12:19 -06:00
Alex Cabal
30f2925046 Expand some scripted command arguments 2024-11-25 14:08:14 -06:00
Alex Cabal
90b70b3235 Refactor feed functions out of Library and add some enums 2024-11-15 21:13:35 -06:00
erin
66c44cbdbe Uncomment call to chapter navigation footer script 2024-11-14 17:33:21 -06:00
Alex Cabal
d6a2bdcbc8 Make MARC roles an enum and restructure how contributors are fetched from the DB to reduce queries 2024-11-11 12:01:53 -06:00
Alex Cabal
b7b63a4be5 Refactor functions out of Library 2024-11-10 23:05:31 -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
Mike Colagrosso
7253ad41ca Rename flag to --ebook-www-filesystem-path 2024-11-04 13:16:56 -06:00
Mike Colagrosso
627f90c0e2 Add try/catch around Ebook::FromFilesystem() 2024-11-04 13:16:56 -06:00
Mike Colagrosso
66021f8d00 Fix mistake when printing a single exception 2024-11-04 13:16:56 -06:00
Mike Colagrosso
d952d63ee9 Add the exception's class name when printing validation exceptions 2024-11-04 13:16:56 -06:00
Mike Colagrosso
ef3eae0da5 Catch ValidationExceptions and print them nicely and remove the findObjectDifferences() function that found differences 2024-11-04 13:16:56 -06:00