Commit graph

55 commits

Author SHA1 Message Date
Alex Cabal
810087ccf9 Update OpenSearch features to current standards 2025-03-31 13:28:26 -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
9d1b66d19e Update PHPStan and Safe PHP, and review codebase for further type correctness 2025-02-25 22:41:18 -06:00
Alex Cabal
b48f3a5798 Improve honeypot link 2025-01-27 10:49:44 -06:00
Alex Cabal
5b0d37824b Add configuration to stop rude bot crawlers using fail2ban 2025-01-18 17:37:47 -06:00
Alex Cabal
343d92f7c9 Tweak drive ending times 2025-01-06 10:30:08 -06:00
Alex Cabal
bcba5c2192 Remove now-redundant PD placeholders code 2025-01-01 10:05:59 -06:00
Alex Cabal
fcb5240585 Tweak PD Day banner 2024-12-31 15:00:14 -06:00
Alex Cabal
bcc2f331bc Remove period from page titles 2024-12-14 00:07:58 -06:00
Alex Cabal
5270891eb4 Update PD day banner and tweak blog post wording 2024-11-27 15:17:10 -06:00
Alex Cabal
c65035630f Add public domain day banner 2024-11-27 12:52:37 -06:00
Alex Cabal
8ad3291a35 Add admin form to view and edit users 2024-11-23 14:30:11 -06:00
Alex Cabal
5c7a924be2 Add Bluesky and Mastadon accounts, and add some Mastodon metadata to header 2024-11-18 13:41:45 -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
7c8463d297 Add <link rel="canonical"> to some pages 2024-05-08 11:01:18 -05:00
Alex Cabal
9437beaee9 Add thank-you page to ebook downloads 2024-02-26 13:34:44 -06:00
Alex Cabal
f7ff76bf7d Rename some Formatter functions for clarity 2024-01-17 16:04:30 -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
Mike Colagrosso
1685a7b8ea ereader browser: Preload the League Spartan font
When the font doesn't blink in a moment after the rest of the page, the
page looks faster.
2023-03-19 18:38:28 -05:00
Mike Colagrosso
e48ac5643a Move ereader check to utility function 2023-03-19 18:38:28 -05:00
Robin Whittleton
706fd4fea0 Load an ereader CSS instead of core for Kobo/Kindle 2023-03-19 18:38:28 -05:00
Alex Cabal
c335ad331d Use @aria-current attribute instead of class on nav items 2023-02-22 15:39:07 -06:00
Alex Cabal
733b52c581 Don't serve Safari XHTML because of a bug in <picture> elements causing multiple images to be downloaded 2022-09-26 20:18:04 -05:00
Alex Cabal
f1352ec215 Don't output OG header data for 404 pages 2022-09-23 13:57:52 -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
6c603016bd Move feeds behind Patrons Circle login 2022-07-09 20:09:39 -05:00
Alex Cabal
c109c565cb Move feeds under new /feeds root 2022-06-24 12:54:57 -05:00
Alex Cabal
a3d823dd5a Add XSLT stylesheet for RSS feed 2022-06-19 21:11:43 -05:00
Alex Cabal
e164e74519 Change default Opengraph image on all pages 2022-04-26 18:00:20 -05:00
Alex Cabal
bbe89b0baf Add donation drive scaffolding 2022-02-15 20:43:19 -06:00
Alex Cabal
3cc2826509 Fix crossorigin attribute in header 2022-01-23 14:31:29 -06:00
Alex Cabal
bbb35911cd Update RDFa representation for ebooks to better match what's expected in https://developers.google.com/search/docs/data-types/book 2021-06-17 15:07:27 -05:00
Alex Cabal
91f7038f35 Don't preload less frequently used fonts 2021-06-05 11:49:48 -05:00
Alex Cabal
656ff7c249 Rearrange font preload links 2021-06-04 09:32:32 -05:00
Alex Cabal
aadeab3b0c Add crossorigin attribute to preloaded fonts so that they actually work 2021-06-01 12:35:48 -05:00
Alex Cabal
2a25d5f473 Remove safari-pinned-tab.svg as it is no longer necessary 2021-04-27 13:25:44 -05:00
Alex Cabal
3f1af712f4 Use file modified time to bust CSS cache instead of file crc 2021-04-23 12:19:27 -05:00
Alex Cabal
7e155b600c Add header information to preload web fonts 2021-03-30 16:53:08 -05:00
Alex Cabal
4b4e2b7e84 Fix some color scheme bugs in manual CSS 2021-01-10 19:03:47 -06:00
Alex Cabal
681c7a93e6 Add embedded newsletter signup form 2021-01-06 19:59:39 -06:00
Alex Cabal
11224136d1 Merge reset.css into core.css, and add settings page for specifying dark mode preferences 2021-01-02 16:53:01 -06:00
Alex Cabal
99f1c1537a Switch from JSON-LD to RDFa for internal metadata 2020-12-26 14:55:13 -06:00
Alex Cabal
796ce22a9e Add donation page and masthead 2020-12-20 14:32:58 -06:00
Guilherme Simoes
27f7862ae9 Use PNG as meta image since SVG is unsupported
Also use the homepage image instead of the logo because:

1. It's more visually appealing
2. It's what facebook is already using

https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Fstandardebooks.org%2F
2020-12-07 14:10:02 -06:00
Guilherme Simoes
d27648c891 Provide a fallback meta title when none is given 2020-12-07 14:10:02 -06:00
Alex Cabal
500b2e8150 Don't import reset.css to prevent FOUC 2020-11-19 20:42:05 -06:00
Alex Cabal
c6e8e7d36a Serve PHP files as XHTML 2020-09-21 12:45:27 -05:00
Alex Cabal
79ec73946e Close all void HTML tags and remove HTML entities 2020-09-04 12:42:27 -05:00
Alex Cabal
ada670b7d4 Add a version hash query string to CSS files to ensure users get thhe lastest versions regardless of their local cache 2020-08-14 13:36:47 -05:00
Alex Cabal
986183a83f Remove trailing slashes from URLs 2020-05-02 21:03:22 -05:00