Commit graph

1646 commits

Author SHA1 Message Date
Alex Cabal
8804c71ef4 Update wanted ebooks list 2024-02-06 09:49:21 -06:00
EmmaSweeney
0b78578262 Tweak caesura CSS in poem how-to guide 2024-02-05 21:30:13 -06:00
Mike Colagrosso
0ed064c8f0 Move single collection view to collections/get.php 2024-02-05 13:51:51 -06:00
Alex Cabal
c98b15dca5 Update wanted ebooks list 2024-02-05 12:49:20 -06:00
Alex Cabal
4238890fdb Update wanted ebooks list 2024-02-05 11:55:01 -06:00
Alex Cabal
6da7f948b7 Add temporary support for the 'fixup' tag for cleaning up legacy artwork entries 2024-02-05 10:20:45 -06:00
Alex Cabal
1394a25b27 Update wanted ebooks list 2024-02-04 21:51:38 -06:00
Alex Cabal
e267911305 Change column in Polls table 2024-02-04 21:51:35 -06:00
Alex Cabal
2b47b65437 Clean up function imports 2024-01-31 10:28:22 -06:00
Alex Cabal
b5c6d5fe34 Update wanted ebooks list 2024-01-31 09:05:40 -06:00
Alex Cabal
1d36ece705 Hide emails in constants 2024-01-30 11:17:59 -06:00
Mike Colagrosso
f50fab37d3 Minor comment fixes
Fix one typo, remove a docstring meant for an old function
2024-01-30 11:10:05 -06:00
Mike Colagrosso
d95d9b3349 Refactor Library::FilterEbooks and Template::SearchForm to accept EbookSort 2024-01-30 11:10:05 -06:00
Mike Colagrosso
980ed8cea9 Convert ebook SORT_ constants to an enum 2024-01-30 11:10:05 -06:00
Mike Colagrosso
94dce1009a Refactor Library::FilterArtwork and artworks/index.php to accept ArtworkSort 2024-01-30 11:10:05 -06:00
Mike Colagrosso
004a4a27c3 Convert SORT_COVER_ constants to an enum 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
3606a5c425 Restore missing 'order by' clause to artwork list 2024-01-29 18:32:15 -06:00
Alex Cabal
6ff60d8d96 Allow PATCHing of artwork ebook URL to empty string 2024-01-29 18:27:56 -06:00
EmmaSweeney
69dc4580ed Add ToC to how-to play guide 2024-01-29 10:43:53 -06:00
Alex Cabal
a9dcdcde94 Limit artwork results at the DB level 2024-01-28 14:04:29 -06:00
Alex Cabal
d7275074b8 Update uncategorized artwork page 2024-01-28 12:19:36 -06:00
Alex Cabal
7ea9f707c5 Fix spacing in HTML output 2024-01-26 12:17:57 -06:00
Alex Cabal
801b5f524a Add special 'query-ebook-url' parameter to /artworks to get covers matching exactly the ebook URL 2024-01-26 12:05:34 -06:00
Mike Colagrosso
3ebe6fe457 Set artist name length to 255
The length should be long enough to store COVER_ARTWORK_MAX_STRING_LENGTH
2024-01-26 10:17:36 -06:00
Mike Colagrosso
e08dfab9da Set the death year to null for the Anonymous artist 2024-01-26 10:14:22 -06:00
Alex Cabal
fc42f1579a Some tweaks to artwork form 2024-01-24 00:06:38 -06:00
Alex Cabal
1a14a775d4 Add clarifying comment 2024-01-23 23:54:59 -06:00
Alex Cabal
cbf87487eb Use ebook URL and not filesystem slug to identify ebooks in artworks 2024-01-23 23:11:30 -06:00
Mike Colagrosso
91ac96d784 Add status and user filtering to GetArtworksByArtist 2024-01-23 21:34:27 -06:00
Alex Cabal
770c010025 Add todo comment 2024-01-23 14:53:27 -06:00
Mike Colagrosso
b6c1e1133d Add z-index: -1 to select down arrow
Without this change clicking exactly on the down arrow eats the click and
doesn't active the <select> element.
2024-01-23 14:53:10 -06:00
Mike Colagrosso
959b79a439 Add "select" class to match the ::after selector 2024-01-23 14:53:10 -06:00
Mike Colagrosso
53dc36d25a Fix searching for words adjacent to an underscore in EbookWwwFilesystemPath 2024-01-23 13:54:41 -06:00
Alex Cabal
e3ea224256 Tweak style 2024-01-23 13:51:34 -06:00
Mike Colagrosso
93adef171f s/GetArtworkByArtist/GetArtworksByArtist/ 2024-01-23 13:46:12 -06:00
Mike Colagrosso
cad2f5f730 List artwork by artist via /artworks/<artist-name> 2024-01-23 13:46:12 -06:00
Weijia Cheng
780be15ed0 Update punctuation outside quotation marks command in review guide 2024-01-23 13:08:28 -06:00
Alex Cabal
478eb200c8 Add rsquo to artwork filter query parsing 2024-01-22 13:33:27 -06:00
Mike Colagrosso
8a8692619c Keep words with apostrophes intact when searching
The code will convert a search for:

`Whistler's Mother`

into:

`\b(whistler's|mother)\b`

Before this fix, it was:

`\b(whistler|s|mother)\b`
2024-01-22 09:57:33 -06:00
Mike Colagrosso
d8360b28ca
Replace PHP filtering with pure SQL (#323)
* Replace PHP filtering with pure SQL
2024-01-21 14:08:46 -06:00
Mike Colagrosso
67fcdedd08
Library::FilterArtwork(): Move sort logic to SQL, condense status condition (#321)
Move artwork sort logic to SQL
2024-01-19 23:24:22 -06:00
Alex Cabal
4d5e0c59b0 Change submit button on artwork form if editing 2024-01-19 20:09:58 -06:00
Alex Cabal
e6672b99d8 Update wanted ebooks list 2024-01-19 20:09:50 -06:00
Alex Cabal
b96f7684ec Fix artwork file upload logic 2024-01-19 11:55:43 -06:00
Alex Cabal
fe03f01393 Some more minor fixes, and checks for the temporary 'todo' tag 2024-01-18 21:31:36 -06:00
Alex Cabal
f3aa4f35fc Clarify edit link on artworks page 2024-01-18 20:58:59 -06:00
Alex Cabal
a16b6690e9 Update wanted ebooks list 2024-01-18 20:58:51 -06:00
Alex Cabal
652cbba535 Fix permissions problem 2024-01-18 19:58:49 -06:00
Alex Cabal
3287dd3b30 Show artwork IDs to admins 2024-01-18 16:36:55 -06:00