Commit graph

67 commits

Author SHA1 Message Date
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
e55fecaaa2 Switch from DateTime to DateTimeImmutable across codebase 2024-04-13 14:05:14 -05:00
Mike Colagrosso
29fc6f9ff2 Update AlternateTitle to parse dcterms:alternate 2024-02-25 15:43:47 -06:00
Alex Cabal
2b47b65437 Clean up function imports 2024-01-31 10:28:22 -06:00
Mike Colagrosso
09b4385100 Convert SOURCE_ constants to an enum 2024-01-30 11:10:05 -06:00
Alex Cabal
ca3fc6dbfd Refactor HttpInput::Str and rename some exceptions for consistency 2024-01-18 11:21:05 -06:00
Alex Cabal
f7ff76bf7d Rename some Formatter functions for clarity 2024-01-17 16:04:30 -06:00
Alex Cabal
783c09864f Add type hints for remaining classes 2024-01-08 16:08:57 -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
65c4578a4e Handle exception for a possible attack vector 2023-07-20 15:05:24 -05: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
8d8de1e062 Fix reading ease description calculation 2023-03-16 11:40:58 -05: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
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
885b8745e7 Default to author name if no file-as found 2022-07-14 12:55:09 -05:00
Alex Cabal
011cd747f1 Convert newsletter to use Users table as base 2022-07-04 12:09:49 -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
dbefba6b94 Change 'timestamp' properties on objects to more descriptive names 2022-06-29 17:19:28 -05:00
Alex Cabal
3d32bd03b9 Remove unused var declaration 2022-06-26 11:46:17 -05:00
Alex Cabal
70fbce410c Use the se:is-a-collection metadata element to decide if we search the ToC 2022-06-25 20:09:09 -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
6c267497cc Adjust how tags URLs are calculated to support tags with non-ASCII characters like 'children’s' 2022-06-18 21:17:33 -05:00
Alex Cabal
b0197d189a Add newsletter management functionality 2022-03-20 17:46:47 -05:00
Alex Cabal
79e17c9b94 Remove OLS from pre-formatted page scan links 2021-09-23 14:19:16 -05:00
Alex Cabal
d714971e06 Further improve RDFa metadata 2021-06-17 18:42:53 -05:00
Alex Cabal
9c76355972 If the illustrator and translator are the same, don't list them as both 2021-06-01 14:14:54 -05:00
Alex Cabal
94a6330576 Add ability to parse se:role epub property 2021-03-23 20:07:44 -05:00
Alex Cabal
2bfcb41ec3 Add Faded Page as a source with an icon 2021-01-04 12:55:41 -06:00
Alex Cabal
99f1c1537a Switch from JSON-LD to RDFa for internal metadata 2020-12-26 14:55:13 -06:00
Alex Cabal
5c4617d759 Code style tweaks to satisfy PHPStan 2020-12-08 14:32:53 -06:00
Alex Cabal
658db66c2b Include ToC entries in search results for short and poetry compilations 2020-12-08 14:27:01 -06:00
Alex Cabal
95ee5265bc When searching ebooks by keyword, also search collection names 2020-12-07 20:57:07 -06:00
Alex Cabal
f4f700f4d1 Differentiate from PG from PG-CA and PG-AU when listing ebook sources 2020-10-28 17:46:51 -05:00
Alex Cabal
73ba658a05 Update ebooks to explode the ./src/epub folder into ebook endpoints, instead of just exploding the whole epub 2020-10-13 14:28:32 -05:00
Alex Cabal
262e86c625 Enable reading from the ToC and single-page reading 2020-10-11 13:39:32 -05:00
Alex Cabal
eed3355916 Rename .epub3 output to _advanced.epub 2020-09-09 22:22:00 -05:00
Alex Cabal
8cb6fd7315 Don't show AVIF images if they don't exist in the filesystem 2020-08-07 15:06:50 -05:00
Alex Cabal
1ab7c8c0fe Add support for AVIF covers, and multiple image source sets in covers 2020-08-06 17:03:39 -05:00
Alex Cabal
b451d521bd Add new Google Books URL scheme as a recognized ebook source 2020-07-16 09:46:58 -05:00
Alex Cabal
86f3adca36 Add search ability to OPDS feed 2020-06-19 16:20:40 -05:00
Alex Cabal
25c40e3e67 Add link to Github for each commit in an ebooks short commit history 2020-06-03 12:01:09 -05:00
Alex Cabal
98ad906c11 Search se:alternate-title when searching ebooks 2020-05-29 12:42:14 -05:00
Alex Cabal
c8cacc4ace Add series number to collection headline 2020-05-22 16:03:59 -05:00
Alex Cabal
8efec57abd Sort collections by their sequence number 2020-05-21 15:49:48 -05:00
Alex Cabal
b634e6ba7a Switch from se:collection to epub belongs-to-collection metadata property 2020-05-16 15:20:35 -05:00
Alex Cabal
56aaab7152 Add new WEB_ROOT constant 2020-03-20 11:37:42 -05:00