Commit graph

121 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
8cc661015c Add enum for view type and fix some type hints 2024-05-08 11:22:28 -05:00
Alex Cabal
7c8463d297 Add <link rel="canonical"> to some pages 2024-05-08 11:01:18 -05:00
Alex Cabal
e55fecaaa2 Switch from DateTime to DateTimeImmutable across codebase 2024-04-13 14:05:14 -05:00
Alex Cabal
835ea7c767 Add note explaining Kindle epub 'support' to download page 2024-03-19 13:48:16 -05:00
Alex Cabal
7cf3148536 Add safe function 2024-03-16 13:39:36 -05:00
Alex Cabal
bb80fb206d Remove dead code path 2024-03-16 13:39:03 -05:00
Alex Cabal
1adc1dfe1e Add @nofollow attribute to ebook download links to prevent crawlers 2024-03-12 11:36:09 -05:00
Alex Cabal
ff8cc6554d Catch exception in download script 2024-02-28 09:04:05 -06:00
Alex Cabal
9437beaee9 Add thank-you page to ebook downloads 2024-02-26 13:34:44 -06:00
Mike Colagrosso
0ed064c8f0 Move single collection view to collections/get.php 2024-02-05 13:51:51 -06:00
Mike Colagrosso
d95d9b3349 Refactor Library::FilterEbooks and Template::SearchForm to accept EbookSort 2024-01-30 11:10:05 -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
8a82524de7 Change artwork list to grid view 2024-01-09 11:19:36 -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
042816cf45 Use auto_prepend_file INI directive to prepend Core.php to all web requests automatically 2023-07-15 15:17:20 -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
10f4cc1418 Tweak non-US-PD warning before ebook downloads 2023-03-10 14:52:06 -06:00
Mike Colagrosso
e2dd256edc Add a /collections endpoint 2023-02-16 18:26:34 -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
7c2de0ed5c Fix bug where More Details section was not apearing in ebook detail page when there is no Wikipedia URL 2022-11-15 10:36:32 -06:00
Alex Cabal
58abfc50d7 Tweak wording in author feeds button 2022-10-17 15:32:31 -05:00
Alex Cabal
98850bd475 Fix possible infinite loop when building ebook carousel 2022-07-28 13:51:35 -05:00
Alex Cabal
fe247568bb Fix some PHPStan errors 2022-07-24 19:33:32 -05:00
Alex Cabal
4dea56407e Add RSS links to page headers for collections and authors 2022-07-19 15:27:01 -05:00
Alex Cabal
dc0e873577 Add feed/download toolbar to author and collection indexes 2022-07-12 10:24:41 -05:00
Alex Cabal
45221365b5 More work on bulk downloads 2022-07-10 14:48:58 -05:00
Alex Cabal
7f50f00b42 work 2022-07-10 00:55:24 -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
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
1b237265c7 Add opensearch directives to Atom and RSS feeds 2022-06-24 13:26:15 -05:00
Alex Cabal
c109c565cb Move feeds under new /feeds root 2022-06-24 12:54:57 -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
ed4ef9c646 On ebook detail page, split 'more details' section into 'more details' and 'sources' 2022-06-15 16:45:01 -05:00
Alex Cabal
173386dddf Define variable 2022-05-10 11:25:45 -05:00
Alex Cabal
e5c2e0d5fc Add grant giveaway donation dialog 2022-05-09 15:45:31 -05:00
Alex Cabal
5985939cd5 Make 'more ebooks' carousel in ebook detail page show ebooks from a random tag of the current ebook 2022-04-30 13:19:02 -05:00
Alex Cabal
b0197d189a Add newsletter management functionality 2022-03-20 17:46:47 -05:00
Alex Cabal
bf2f5e10c3 Add Kobo FAQ 2022-03-13 21:50:40 -04:00
Alex Cabal
bbe89b0baf Add donation drive scaffolding 2022-02-15 20:43:19 -06:00
Alex Cabal
24b8c6ca54 Refine 3D book structure/CSS 2022-01-23 16:04:03 -06:00
Alex Cabal
864d6836d3 Add 3D book figure to ebook download pages 2022-01-23 12:09:47 -06:00
Alex Cabal
3c2819081d Better exception matching 2022-01-08 19:59:33 -06:00