Commit Graph

3904 Commits

Author SHA1 Message Date
Edouard Rouch
63cebcd849 Completed french translation
Added missing translations.
Corrected grammatical or spelling errors.
Harmonized recurring translations (Success !, Oops !, Show...)
2026-01-15 12:34:47 +01:00
Ozzie Isaacs
99e91e622e Change quoting of downloaded filename 2026-01-10 12:53:16 +01:00
Ozzie Isaacs
36ef81dd91 Make kobo resources editable (#3472) 2026-01-10 12:40:19 +01:00
Ozzie Isaacs
2700b4f0d1 Support kobo/auth/refresh endpoint 2026-01-10 12:20:52 +01:00
Ozzie Isaacs
be89c25a90 Merge branch 'master' into Develop 2026-01-08 19:58:48 +01:00
Ozzie Isaacs
c5e9526fc8 Bugfix Exclude shelfs 2026-01-07 20:35:26 +01:00
Ozzie Isaacs
a99960e6c5 Merge remote-tracking branch 'it/patch-1' 2026-01-05 15:06:41 +01:00
mapi68
8105f54ebb Update Italian language 2026-01-04 02:24:15 +01:00
Julian_Chu
02fbef3dba Move progress css style to dedicated file
In kthoom implementation, there is also a DOM

    `<div id="progress"....>`

If this part of css style stays in main.css, it also effects the kthoom
implementation, therefore the progress bar will disappear when reading
comic files (such as cbz).
2025-12-29 18:49:44 +09:00
Ozzie Isaacs
38b0af9ea2 Remove debug code 2025-12-20 13:22:20 +01:00
Ozzie Isaacs
83b5d0f22b Merge remote-tracking branch 'replace_archive_icon/chore_replace_archive_icon' 2025-12-14 14:45:46 +01:00
Ozzie Isaacs
38c58bd7c9 Merge remote-tracking branch 'pl/patch-1' 2025-12-14 14:44:46 +01:00
Ozzie Isaacs
6276806c0e Merge remote-tracking branch '401/patch-1' 2025-12-14 14:40:49 +01:00
Evan Goldenberg
97a8fc661f Send WWW-Authenticate header with 401 responses 2025-12-10 00:06:32 -08:00
lb803
0569c644a3 change archive button icon from glyphicon-trash to glyphicon-folder-open 2025-12-09 21:44:36 +00:00
szepix
3565e5f068 Updated polish translations
Did all missing translations
2025-12-08 12:53:57 +01:00
Ozzie Isaacs
8b8bc1b688 Merge remote-tracking branch 'show-shelf-size/show-shelf-size'
Added some missing texts to caliblur theme
Caliblur theme fix language icon
2025-12-07 19:32:40 +01:00
Ozzie Isaacs
ff9dabadf1 Merge remote-tracking branch 'cache/master' 2025-12-07 18:27:58 +01:00
Ozzie Isaacs
a75d0caa02 Merge remote-tracking branch 'it/patch-1' 2025-12-07 14:32:58 +01:00
Ozzie Isaacs
eb872865a5 Merge Reader improvements 2025-12-07 14:31:16 +01:00
Ozzie Isaacs
ac1ae66246 Merge branch 'master' into Develop 2025-12-07 10:54:40 +01:00
mapi68
310443afc5 Update italian 2025-12-07 04:08:44 +01:00
Ozzie Isaacs
25c9aba469 Fix vertical scrollbar in list.html 2025-12-06 19:26:30 +01:00
Ozzie Isaacs
3a3c8ad2a4 Merge remote-tracking branch 'lock-header-sidebar' 2025-12-06 13:21:23 +01:00
Ozzie Isaacs
10816c7f6d Merge remote-tracking branch 'performance_optimize-search-queries/performance/optimize-search-queries' into Develop 2025-12-06 11:54:28 +01:00
Ozzie Isaacs
adcfd8afe8 Merge remote-tracking branch 'cn/patch-1'
Updated requirements
2025-12-06 11:52:18 +01:00
Ozzie Isaacs
74a386a284 Merge branch 'master' into Develop 2025-12-06 11:50:00 +01:00
Ozzie Isaacs
fceca5cc08 Merge remote-tracking branch 'performance_optimize-search-queries/performance/optimize-search-queries' into Develop
Updated Requirements
2025-12-06 11:36:02 +01:00
Arlen Cole
13b515d3ab Update Chinese translations in messages.po 2025-12-06 13:54:25 +08:00
Ozzie Isaacs
d2015dd998 Optimized search query 2025-12-05 16:33:30 +01:00
Ozzie Isaacs
3959a8eddd Caliblur theme display fix
Rename Gooble Books Metadata provider
2025-12-04 18:52:30 +01:00
Ozzie Isaacs
ecc6e00bfc Sort names before trying to extract coverfile of comics 2025-12-04 14:19:58 +01:00
root
c1114cd786 Fix display issue on small width resolution with fetch metadata form on caliblur theme
Renamed Google metadata provider to Google Books
2025-11-27 19:07:16 +00:00
Ozzie Isaacs
cf01bd7ad4 Merge remote-tracking branch 'kobo_tree/fix/kobo-store-proxy-routing' 2025-11-22 15:32:30 +01:00
Ozzie Isaacs
cf1b3bb37f Merge remote-tracking branch 'de/patch-1' 2025-11-22 15:29:39 +01:00
Ozzie Isaacs
70fefa2f11 Merge remote-tracking branch 'de/patch-1' 2025-11-22 15:17:49 +01:00
Ozzie Isaacs
80df8b1fa6 Merge remote-tracking branch 'ko/patch-1' 2025-11-22 15:16:13 +01:00
Ozzie Isaacs
cac33165dc Merge remote-tracking branch 'fr/patch-1' 2025-11-22 15:14:59 +01:00
Ozzie Isaacs
bf2ab66362 Merge remote-tracking branch 'ga/patch-1' 2025-11-22 15:13:49 +01:00
Ozzie Isaacs
5e14b4bf41 Merge remote-tracking branch 'ga/patch-2' 2025-11-22 15:13:13 +01:00
Ozzie Isaacs
a6fdd8ab36 Updated testresults
Fix goodreads
Remove unused import
Limit number of routes for book pages
2025-11-22 15:06:40 +01:00
Félix Pardal González
d091b9d8b9 Update Galician translations in messages.po
Edited msgstr entried adding translation to Galician.
2025-11-22 13:43:28 +01:00
Félix Pardal González
2eb7c0d3f0 Update Spanish translations for various messages
Reviewed msgid entries and added spanish translation in msgstr entries.
2025-11-22 13:30:53 +01:00
Nico31240
54eb30e2b9 Update messages.po French 2025-11-12 10:30:42 +01:00
shsm0520
47f44d71cf Update Korean translations in messages.po
updated translate
2025-11-05 21:54:59 -05:00
Aljosa Asanovic
654095054f fix(kobo): add catch-all route for proxying unknown product endpoints
The Kobo store proxy feature was failing with 404 errors for certain
store endpoints (e.g., /v1/products/featuredforkoboplus/) because
Flask's routing couldn't match these paths. This prevented the Discover
tab from working when "Proxy unknown requests to Kobo Store" was enabled.

Added catch-all routes using Flask's path converter to match any
/v1/products/* paths not handled by more specific routes, allowing
the proxy logic to properly redirect these requests to the official
Kobo store API.
2025-11-02 13:10:25 -05:00
alcibiadesc
8544702bb2 Add security fixes and improvements to search optimization
- Add FTS5 table existence check to avoid log spam on non-FTS databases
- Escape FTS5 special characters (quotes) to prevent query errors
- Wrap FTS5 search terms in quotes for phrase matching accuracy
- Improve logging: change author ordering debug to warning for visibility
- Add comment explaining author_sort data issues

These changes improve robustness and security without affecting performance.
2025-11-01 20:05:53 +01:00
alcibiadesc
a3b5d2eac7 Optimize search performance for large libraries
This commit introduces several performance optimizations to the search
system, significantly reducing query times for large Calibre libraries.

Key improvements:

1. FTS5 Integration
   - Added FTS5 full-text search support with automatic fallback
   - Uses indexed search when available, providing sub-second results
   - Gracefully degrades to traditional search if FTS5 is unavailable

2. Query Optimization
   - Replaced expensive .any() subqueries with efficient JOIN-based
     subqueries for tags, series, authors, and publishers
   - Reduced SQL complexity and improved query planning
   - Added selectinload() for authors to prevent N+1 query problems

3. LIMIT+1 Pattern
   - Implemented LIMIT+1 estimation pattern in get_search_results()
   - Avoids expensive COUNT(*) operations on large result sets
   - Provides fast pagination without sacrificing accuracy

4. Author Ordering Optimization
   - Replaced nested database queries with O(1) dictionary lookups
   - Eliminated N+1 query anti-pattern in order_authors()
   - Reduced author sorting from O(n²) to O(n) complexity

Performance Impact:
In testing with a library of 129,000+ books, these optimizations reduced
search times from 3-9 seconds to 85-330ms, achieving 89-97% improvement
across different search types.

The changes maintain backward compatibility and include fallbacks for
environments without FTS5 support.
2025-11-01 19:48:16 +01:00
IgorKurkov
bba7812a07 feat(epub.js): add autosaving of current book reading position in localStorage to open this book on the last read point 2025-10-29 22:20:08 +01:00
IgorKurkov
458d0d1e3d feat(read.html, epub): add custom theme selection with color picker, used pickr.js 2025-10-29 22:10:08 +01:00