Commit graph

1457 commits

Author SHA1 Message Date
Alex Cabal
e234a71968 Update wanted ebooks list 2024-11-06 11:30:41 -06:00
Alex Cabal
8f17f39e1b Clean up some PD day code 2024-11-05 16:01:44 -06:00
Alex Cabal
163ada3b09 Add placeholders for public domain day ebooks 2024-11-04 21:17:09 -06:00
Alex Cabal
60f0ea16cb Formatting tweaks 2024-11-04 13:31:17 -06:00
Mike Colagrosso
9a4da8f961 Fix PHPStan errors for CollectionType enum
Use the `value` property of PHP enums to get the underlying string for functions that expect a string.

Followup to #392
2024-11-04 13:16:56 -06:00
Mike Colagrosso
6c8e819316 Implement OpenSearch feed search with FilterEbooks 2024-11-04 13:16:56 -06:00
Mike Colagrosso
807e8410b4 Use array shapes in the PHPDoc
This makes the extra documentation unnecessary
2024-11-04 13:16:56 -06:00
Mike Colagrosso
989dcab9f0 Implement FilterEbooks via DB 2024-11-04 13:16:56 -06:00
Mike Colagrosso
44dc65005d Query Contributors table for GetEbooksByAuthor() 2024-11-04 13:16:56 -06:00
Mike Colagrosso
2d5e66f2f2 Get carousel books from the DB 2024-11-04 13:16:56 -06:00
Mike Colagrosso
ee29c526f8 Add a CollectionMembership class 2024-11-04 13:16:56 -06:00
Mike Colagrosso
c85db527cf Get ebook from DB for downloads 2024-11-04 13:16:56 -06:00
Mike Colagrosso
415faeb19d Remove unused import that should have been in #371 2024-11-04 13:16:56 -06:00
Mike Colagrosso
1fd3688621 Use Ebook::GetByIdentifier() to read ebooks 2024-11-04 13:16:56 -06:00
Mike Colagrosso
b176a68d4d Replace TextSinglePageSizeNumber and TextSinglePageSizeUnit with TextSinglePageSizeFormatted 2024-11-04 13:16:56 -06:00
Mike Colagrosso
2098b265a8 Rename the constructor Ebook::__construct() to static Ebook::FromFilesystem()
Also added `GetFoo()` methods for all the derived properties like `GetUrl()`, `GetHasDownloads()`, etc. Removed that logic from the constructor so that it's reusable in `Ebook::FromFilesystem()` and `Ebook::GetByIdentifier()`
2024-11-04 13:16:56 -06:00
Mike Colagrosso
f605a4df60 Rename Created and Updated in PHP code to EbookCreated and EbookUpdated to match the schema 2024-11-04 13:16:56 -06:00
Mike Colagrosso
41b130195f Change size checks (like bigger than 3 MB) to use TextSinglePageByteCount, not number and units 2024-11-04 13:16:56 -06:00
Alex Cabal
f97539f399 Redirect an artwork if it's found under an artist's alternate name. 2024-11-03 15:15:07 -06:00
Robin Whittleton
ef2356df99 Note that our newsletter sign-up page isn’t accessible 2024-10-28 11:12:14 -05:00
Hendrik
50bfb82a65 Add some spreadsheets and change links of others 2024-10-25 22:25:05 -05:00
erin
683117473d Add Nella Larsen Short Fiction spreadsheet 2024-10-25 11:44:05 -05:00
EmmaSweeney
35b4c2ce88 Correct figure in play how-to guide 2024-10-24 18:53:34 -04:00
Alex Cabal
028c8237a5 Add short fiction spreadsheet 2024-10-24 12:31:01 -05:00
EmmaSweeney
8d70ef1be1 Update play how-to guide 2024-10-23 22:28:22 -04:00
Anthony Ryan
4a8ebb411b Losslessly Optimize PNG images
By using Efficient-Compresion-Tool we can reduce image sizes by 762.25KB (5.72%)
without changing the visual appearance.
2024-10-22 15:40:59 -05:00
Alex Cabal
b83d04c265 Update wanted ebooks list 2024-10-21 15:47:04 -05:00
Alex Cabal
47a7945167 Don't print PDF URL when downloading scans 2024-10-21 15:33:53 -05:00
Alex Cabal
38fdd7c923 Update wanted ebooks list 2024-10-21 11:36:41 -05:00
Alex Cabal
ac6d8a2bf8 Fix incorrect link in spreadsheets page 2024-10-20 20:46:48 -05:00
Emma Sweeney
5b514a50b5
Update wanted ebooks list 2024-10-20 15:42:01 -04:00
partev
f901ee89e0 replace twitter.com with x.com 2024-10-19 12:21:19 -05:00
Alex Cabal
761f994ca8 Update wanted ebooks list 2024-10-18 11:48:37 -05:00
Alex Cabal
19cf14c1aa Add automatic donation drives 2024-10-17 11:58:25 -05:00
Ainsley Ellis
d8ed44e20e Normalise capitalisation of LoI 2024-10-16 14:21:44 -05:00
Ricardo Elisiário
790bb9f5dc Update report-errors.php 2024-10-16 11:01:08 -05:00
Ricardo Elisiário
f069320055 Update index.php 2024-10-16 11:00:36 -05:00
Ricardo Elisiário
b6b1d7c68b Update index.php 2024-10-16 11:00:21 -05:00
Ricardo Elisiário
2e2bd64a32 Update index.php 2024-10-16 11:00:07 -05:00
Alex Cabal
eec79712fc Use a NOW constant instead of new DateTimeImmutable objects, and tweak how some donation drive dates work 2024-10-15 22:21:12 -05:00
brendan
376dacd833 Remove Democracy and Social Ethics from wanted ebooks 2024-10-15 09:57:00 -05:00
Alex Cabal
3dbd9a1097 Add E. F. Benson spreadsheet to spreadsheets page 2024-10-14 21:14:08 -05:00
Alex Cabal
eb41b22e09 Update wanted ebooks list 2024-10-14 10:49:58 -05:00
Alex Cabal
77aa0cff4f Update wanted ebooks list 2024-10-11 12:50:36 -05:00
Alex Cabal
9fe6c6b64a Update wanted ebooks list 2024-10-09 17:06:52 -05:00
Alex Cabal
d0725da8f0 Update wanted ebooks list 2024-10-05 11:46:02 -05:00
Ainsley Ellis
dbbd972ad5 Remove unused CSS rule for footer paragraphs 2024-10-02 16:46:54 -05:00
Alex Cabal
b05115b005 Add PD proof folder 2024-10-02 15:11:51 -05:00
Alex Cabal
27285b0fbc Update wanted ebooks list 2024-10-01 09:01:18 -05:00
Alex Cabal
8cf996e764 Update wanted ebooks list 2024-09-30 20:30:38 -05:00