Mike Colagrosso
fce4fbc601
Delete non-alphanumerics from query, don't replace with space
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
Mike Colagrosso
e25993b208
Add parameter to MarkdownToHtml for inline HTML
2024-12-28 14:18:08 -06:00
Mike Colagrosso
0359119a11
Add Formatter::MarkdownToInlineHtml()
...
HTML without the surrounding `<p>` tags will be useful to show
placeholder notes to admins on the wanted ebooks page.
Examples of generating block-level and inline HTML:
https://github.com/erusev/parsedown/wiki/Tutorial:-Get-Started
2024-12-28 14:18:08 -06:00
Alex Cabal
617d27ec92
Tweak comment
2024-12-27 21:21:57 -06:00
Alex Cabal
051e286a6d
Continue fleshing out project management system
2024-12-16 15:01:22 -06:00
Alex Cabal
cf5f488cae
Improve error message for people trying to log in to the Patrons Circle
2024-12-13 10:10:52 -06:00
Alex Cabal
b5933631c5
Replace some global variables with static class properties in Formatter
2024-07-06 13:34:12 -05:00
Alex Cabal
a9eab552ab
Flesh out some PHPDocs, and consistently name enums
2024-05-14 15:40:56 -05:00
Alex Cabal
7c8463d297
Add <link rel="canonical"> to some pages
2024-05-08 11:01:18 -05:00
Alex Cabal
a9dcdcde94
Limit artwork results at the DB level
2024-01-28 14:04:29 -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
Alex Cabal
7f50f00b42
work
2022-07-10 00:55:24 -05:00
Alex Cabal
12b79b5dcd
Split bulk downloads into file type and cache output
2022-07-09 20:09:40 -05:00
Alex Cabal
dbc2fd5fcd
Improve bulk downloads page
2022-07-09 20:09:39 -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
f9fd6c8a02
Further refinment to OPDS/RSS generation and also add Atom feeds
2022-06-23 21:27:25 -05:00
Alex Cabal
f6df03cfca
Flesh out OPDS generation backend to be more robust and to support generic Atom feeds
2022-06-22 15:09:05 -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
c5b686636b
Convert rsquo when making strings URL safe
2022-06-18 20:50:57 -05:00
Alex Cabal
b0197d189a
Add newsletter management functionality
2022-03-20 17:46:47 -05:00
Alex Cabal
def275ab3c
Remove closing tags from pure PHP files
2019-04-03 16:25:00 -05:00
Alex Cabal
58cc098058
Add Safe PHP functions
2019-03-07 12:11:50 -06:00
Alex Cabal
b812485d8a
Remove flaky iconv and replace with PHP-intl
2019-01-18 20:51:22 -06:00
Alex Cabal
5939195955
Fix iconv bug with apostrophes
2019-01-18 13:40:02 -06:00
Alex Cabal
c879dcab34
Updates to more strict type checking after some static analysis
2019-01-17 21:26:48 -06:00
Alex Cabal
28c8a3f0ba
Initial commit
2018-12-29 16:02:00 -06:00