Commit graph

1671 commits

Author SHA1 Message Date
Mike Colagrosso
dab857d127 Cast WordCount to string to fix PHPStan error 2025-03-25 13:10:53 -05:00
Alex Cabal
ba22538659 Add new schema.org wordCount property to ebook view 2025-03-14 12:10:05 -05:00
Alex Cabal
18b462bb52 Fix typo in blog post 2025-03-12 15:01:22 -05:00
Alex Cabal
1385d4bf9f Reveal blog post 2025-03-12 11:44:10 -05:00
Alex Cabal
dc84ff3fa9 Style tweaks 2025-03-10 14:38:54 -05:00
Mike Colagrosso
af956b2714
Replace EbookUrl with EbookId in Artworks (#482)
* Replace `EbookUrl` with `EbookId` in `Artworks`

* Add a `FullUrl` member to `Ebook`

Add documentation about when to use it versus Url.

The full URL is also being used as an ID in RSS feeds, so use `FullUrl` there.

* Store an `EbookId` in `Artworks`
2025-03-10 14:33:20 -05:00
vr8hub
1b6d69c725 Clarify the files excluded from language check 2025-03-10 13:36:07 -05:00
Alex Cabal
4446b6d161 Add breadcrumb to new artwork form 2025-03-07 13:40:37 -06:00
Alex Cabal
9eff02db87 Add metadata section to artist page 2025-03-07 11:11:46 -06:00
Alex Cabal
34fd71e55a Tweak wording on delete artist page and add some more breadcrumbs 2025-03-07 10:37:56 -06:00
Mike Colagrosso
a91509726c
Add admin tool to handle duplicate artist names (#480) 2025-03-06 14:28:26 -06:00
Alex Cabal
576fcea0b1 Add blog post 2025-03-04 22:47:20 -06:00
Alex Cabal
124e8343fc Completely type hint template functions and switch to named arguments 2025-03-04 20:32:20 -06:00
Alex Cabal
6108b5e53d Tweak step by step guide spelling modernization tip 2025-03-03 14:49:38 -06:00
vr8hub
6f97e557b9 Add manual spelling changes section to Step by Step guide 2025-03-03 14:41:58 -06:00
Weijia Cheng
682f23a1f3 Update step-by-step guide to account for project manager role 2025-03-01 13:47:43 -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
c203de4c6b Set in progress bit when saving ebook placeholder 2025-02-27 23:06:12 -06:00
Alex Cabal
99b5fd66f2 More type fixes 2025-02-26 15:17:08 -06:00
Alex Cabal
b6079dbf74 Show reviewer and manager when a new project is created 2025-02-26 08:43:20 -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
0a684facee Simplify exceptions in HttpInput 2025-02-24 14:46:42 -06:00
Bex Edmondson
a0ea3949ac Adding missing </p> closing tag in common-issues-when-working-on-public-domain-ebooks.php 2025-02-22 12:46:04 -06:00
Alex Cabal
e0ebb58934 Remove list of museums from 'how-to' page 2025-02-17 14:17:56 -06:00
Alex Cabal
4746b9b18f Add Richard Connell spreadsheet to list 2025-02-15 12:00:34 -06:00
Mike Colagrosso
55e0428006 Add a Default EbookSortType
This allows the user to run a keyword search and then change the sort
order. `Default` is interpreted as `Relevance` if a query is present,
`Newest` if not.
2025-02-13 13:48:39 -06:00
Mike Colagrosso
1a71913794 Add a Relevance sort order and improve search
Here's what's in `IndexableText` right now:

1. Title
2. Collections
3. Authors
4. Tags
5. LocSubjects
6. TocEntries

Here is the proposed new ranking:

```
10 * Title +
8 * Authors +
3 * Collections +
IndexableText
```

New indices for existing DBs:

```
ALTER TABLE `Ebooks` ADD COLUMN `IndexableAuthors` text NOT NULL;
ALTER TABLE `Ebooks` ADD COLUMN `IndexableCollections` text NULL;
ALTER TABLE `Ebooks` ADD FULLTEXT `indexSearchTitle` (`Title`);
ALTER TABLE `Ebooks` ADD FULLTEXT `idxSearchAuthors` (`IndexableAuthors`);
ALTER TABLE `Ebooks` ADD FULLTEXT `idxSearchCollections` (`IndexableCollections`);
```
2025-02-13 13:48:39 -06:00
Alex Cabal
5e23837d17 Add blog post 2025-02-04 11:59:46 -06:00
Alex Cabal
2d108211e1 Remove item from uncategorize artwork list 2025-02-01 20:58:13 -06:00
Alex Cabal
94e7937987 Fix typo in reviewer URL 2025-01-30 12:46:03 -06:00
Alex Cabal
6261eee67f Correctly pull reviewer of active projects 2025-01-30 12:44:57 -06:00
Alex Cabal
4f4e72564a Fix permissions logic when patching projects 2025-01-28 15:30:42 -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
b48f3a5798 Improve honeypot link 2025-01-27 10:49:44 -06:00
Weijia Cheng
a15ae6f77e Fix title of blog post 2025-01-26 16:12:04 -06:00
Alex Cabal
2258c4f742 Add Manly Wade Wellman spreadsheet 2025-01-25 11:39:17 -06:00
Weijia Cheng
2aaa1e301f Fix typo in newest blog post 2025-01-25 11:00:49 -06:00
Alex Cabal
4bec47a389 Add Andre Norton to spreadsheets page 2025-01-22 10:46:49 -06:00
Alex Cabal
bddbfe3cfa Don't list authors more than once in sitemap 2025-01-22 09:54:05 -06:00
vr8hub
aeb2a0877e Add item for initial caps in a chapter 2025-01-21 12:35:04 -06:00
Weijia Cheng
2a220cff21 Make bold/strong regular expression catch more cases 2025-01-21 09:36:25 -06:00
erin
43cf946cc9 Add Descartes to-do summary document to spreadsheets page 2025-01-21 09:35:31 -06:00
vr8hub
5bd6853498 Add checks for bold/strong and illustration names/ids 2025-01-19 14:31:36 -06:00
Alex Cabal
37aaa97b66 Brower compatibility for ::before alt text 2025-01-19 13:28:45 -06:00
Alex Cabal
8a15519b0e Hide honeyhot link from older browsers 2025-01-18 22:29:17 -06:00
Alex Cabal
0483a6d841 Add empty alt text for some CSS pseudo elements 2025-01-18 17:44:22 -06:00
Alex Cabal
5b0d37824b Add configuration to stop rude bot crawlers using fail2ban 2025-01-18 17:37:47 -06:00
Alex Cabal
14cdd74585 Enable Hudson River Bracketed in blog post 2025-01-15 14:53:09 -06:00
Alex Cabal
bdeebc8291 Add endpoint to get collections for an ebook or placeholder 2025-01-15 14:32:50 -06:00
Alex Cabal
ed5540c177 Enable latest blog post 2025-01-15 13:03:53 -06:00