Commit Graph

2425 Commits (ed2fa4cdd8369925b373da914cb50d1662a6ed0d)

Author SHA1 Message Date
Ozzie Isaacs 87d6008dfc Fix for #1870 (png was missing in supported picture formats for comic viewer) 3 years ago
Ozzie Isaacs b9c0c8d2dc Update bootstrap table to 1.18.2 3 years ago
Ozzie Isaacs 81c30d5fd5 Add missing files from bootstrap editable
Added user-table single-select header for locale and default-language
3 years ago
Ozzie Isaacs 0aa33d88a5 Merge branch 'master' into development 3 years ago
Ozzie Isaacs e64a504bb1 Working Locale and default language selection in user table edit 3 years ago
jvoisin bc876a159e Declare variables before using them
It should fix the following stacktrace:

```
[2021-02-18 14:46:14,771] ERROR {cps:1891} Exception on / [GET]
Traceback (most recent call last):
  File "/opt/calibre/vendor/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/opt/calibre/vendor/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/opt/calibre/vendor/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/opt/calibre/vendor/flask/_compat.py", line 39, in reraise
    raise value
  File "/opt/calibre/vendor/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/calibre/vendor/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/opt/calibre/cps/usermanagement.py", line 38, in decorated_view
    return login_required(func)(*args, **kwargs)
  File "/opt/calibre/vendor/flask_login/utils.py", line 272, in decorated_view
    return func(*args, **kwargs)
  File "/opt/calibre/cps/web.py", line 719, in index
    return render_books_list("newest", sort_param, 1, page)
  File "/opt/calibre/cps/web.py", line 422, in render_books_list
    entries, random, pagination = calibre_db.fill_indexpage(page, 0, db.Books, True, order)
  File "/opt/calibre/cps/db.py", line 610, in fill_indexpage
    return self.fill_indexpage_with_archived_books(page, pagesize, database, db_filter, order, False, *join)
  File "/opt/calibre/cps/db.py", line 635, in fill_indexpage_with_archived_books
    #    book = self.order_authors(book)
UnboundLocalError: local variable 'entries' referenced before assignment
```
3 years ago
Ozzieisaacs 4aa1a838ed Removed f-strings, making it compatible with python 3.5 3 years ago
Ozzieisaacs 095a51edd0 Convert tabs to spaces in server.py (related to #1862) 3 years ago
Ozzie Isaacs a3a11bdf3f Changed checkbox states are saved on server 3 years ago
Ozzie Isaacs 70b503f3d4 Merge branch 'master' into development
# Conflicts:
#	test/Calibre-Web TestSummary_Linux.html
3 years ago
Ozzie Isaacs bbf609b880 Fix #1859 (Upload of jpg files without installed imagemagick doesn't work) 3 years ago
Ozzie Isaacs 0992bafe30 Bulk User management 3 years ago
Ozzie Isaacs 3c1b06872d Updated testresults
Changed optional-requirements
Prevent redirect 308 on /<data> routes (#1854)
3 years ago
Ozzie Isaacs cefdd2f66c suppress asyncio message always on restart or shutdown 3 years ago
Ozzie Isaacs 5dac13b1da Revert change in ub.py 3 years ago
Ozzie Isaacs 8aebf48193 Update handling for package data 3 years ago
Ozzie Isaacs fbb905957b Prevent redirect 308 on /<data> routes 3 years ago
Ozzie Isaacs e0ce135838 Move "create_engine" call 3 years ago
Ozzie Isaacs 60497c60c1 Update creating Home_Config variable for packaging support, added .HOMEDIR to ignored filename during update 3 years ago
Ozzie Isaacs 251a77c8b4 Merge branch 'master' into Development
Improved packaging support
3 years ago
Ozzie Isaacs e6fb460071 New restart routine for executable files
Fix log in updater
New source option updater available
3 years ago
Ozzie Isaacs 6137fdeb33 Version bump 3 years ago
Ozzie Isaacs 4a4d02ea6a Added translations 3 years ago
Ozzie Isaacs be26e5f152 Update Teststatus
Update Version
3 years ago
Ozzie Isaacs 127bfba135 fix wrong path in get_update_status js function 3 years ago
Ozzie Isaacs 7efae3c125 Renamed "Recently Added" to "Books" 3 years ago
Ozzie Isaacs 1e5af21000 Fix #1843 (get path to script via html file and known js file instead of randomly picking last one) 3 years ago
Ozzie Isaacs 33a0a4c173 Changed function for getting path in js file 3 years ago
Ozzie Isaacs eeb7974e05 User table:
Added button for single user edit
Added delete-trash-icon (not working)
Roles are displayed correct per user
Guest user is not visible if anonymous browsing is disabled
3 years ago
Ozzie Isaacs f45ea1a31c Merge branch 'master' into development 3 years ago
Ozzie Isaacs a866dbaa80 Fix mimetype in comic reader 3 years ago
Ozzie Isaacs 62447d6b89 Basic User edit in tables 3 years ago
Ozzie Isaacs ff16afbf0b Merge branch 'master' into development 3 years ago
Ozzie Isaacs 9d7ef25062 Fix Kobo sync & Update Teststatus 3 years ago
Ozzie Isaacs 88078d65e9 Fix #1482 (do not shorten title in book detail page) 3 years ago
Ozzie Isaacs b07a97c17e Merge remote-tracking branch 'webp/comic-webp' into master 3 years ago
Ozzie Isaacs 41e7d65e2a Merge remote-tracking branch 'caliblur/master' into master 3 years ago
Ozzie Isaacs 7fa5865cf6 Merge remote-tracking branch 'autoconv/kepub_autoconv' into development
# Conflicts:
#	cps/kobo.py
#	cps/kobo_auth.py
3 years ago
Ozzie Isaacs 4a11dd1e16 Fix mistyping "option" 3 years ago
Ozzie Isaacs 34a474101f Fix #1838 (Log message on failed OPDS login) 3 years ago
Ozzie Isaacs e6799e7a04 Improved detection of invalid email addresses (#1831) upon registering 3 years ago
Ozzie Isaacs 0f83f9992c Added swipe support for epub reader (fixes #925)
Cleaned reader js include files
3 years ago
Ozzie Isaacs d2ad78eb40 Added swipe support for comic reader and txt reader (#925)
Bugfix for txt file not present on serving file
3 years ago
Ozzie Isaacs 0b32738f4e Fix Store UI settings in flask session for guest user (#1820)
Updated testresults
Fix Filepicker (absolute instead of abs)
3 years ago
Ozzie Isaacs a9cedb3fca Add logger to db.py 3 years ago
Ozzie Isaacs 51f9cd4bb4 Fix english language names 3 years ago
Ozzie Isaacs a1668e2411 Version Bump 3 years ago
Ozzie Isaacs 9418045a2c Updated Translation
Version bump
Fixed errors in requirements file(s)
3 years ago
Ozzie Isaacs a7da6d210a Added hint for python 2 3 years ago
Ozzie Isaacs e09f2c9beb Added Password change on cli 3 years ago
Ozzie Isaacs 4bc3c8d9ac Added missing mimetype (fix #1811) 3 years ago
Ozzie Isaacs 9acea8adf4 Fixed logging of exception in debug_or_exception handler for python version <3.8 3 years ago
Ozzie Isaacs e5f754ed0e improved session handling 3 years ago
Ozzie Isaacs 263a8f9048 Added catching of missing invalid_request 3 years ago
Ozzie Isaacs 6f9e52792a No autoflush on metadata.db change 3 years ago
Ozzie Isaacs 4a9b01e93b Added IntegrityError to catched error 3 years ago
Ozzie Isaacs b7de23e895 Merge remote-tracking branch 'fix/unused_imports' into master 3 years ago
jvoisin b8ab66369e Remove some unused imports 3 years ago
jvoisin 54a78d5565 Remove duplicate id from the search form 3 years ago
mmonkey b4324cd685 Merge remote-tracking branch 'upstream/master' into master 3 years ago
Ozzieisaacs ca212c8737 Kobo sync limit set to 100
Remove python2 support from readme
3 years ago
Ozzieisaacs a659f2e49d Improved logging for emails
Removed private data from debug export
3 years ago
OzzieIsaacs 760fbbb357 Fix shelf time_created vs. time_last_modified 3 years ago
OzzieIsaacs 56388145b5 Fixes from testrun 3 years ago
Ozzieisaacs cd60db417c Code refactor shelf handling 3 years ago
Ozzieisaacs 5cce01215f Code refactoring ub.session.commit()
Code cosmentics admin.py
3 years ago
mmonkey bc8bdfe385 Merge remote-tracking branch 'upstream/master' into master 3 years ago
Ozzieisaacs 4578af7a6d Fix export of logfiles (#1794) 3 years ago
Ozzieisaacs 9e1cdd8f57 Merge remote-tracking branch 'it/patch-20' into master
# Conflicts:
#	cps/translations/it/LC_MESSAGES/messages.po
3 years ago
OzzieIsaacs 682c3b834f Revert unrar5 experiment 3 years ago
OzzieIsaacs 9b50114852 Fixes from testrun 3 years ago
Ozzieisaacs b100d198e8 Merge branch 'master' into Develop
Remove relate to referrer for tag/custom column allow / deny dialog
3 years ago
Ozzieisaacs 7849f2fb4b Remove relate to referrer for tag/custom column allow / deny dialog 3 years ago
Ozzieisaacs b35ecddde3 Added Id on Filechooser dialog for testability 3 years ago
Ozzieisaacs bde7921016 Fix modal path id for calibre db filepicker
Fix SyncToken last-Book-id missing
3 years ago
Ozzieisaacs d33b0587cb Advanced search tags are now multiselects (#1240) 3 years ago
Ozzieisaacs 7e0ed537b7 irst steps Advanced search with mulitselects 3 years ago
Ozzieisaacs 1e351eb01d Search for read status 3 years ago
Ozzieisaacs 1a83bddf8c Merge bubble read status 3 years ago
Ozzieisaacs 2a63c35743 Activate serverside filepicker with parameter in unconfigured state 3 years ago
Ozzieisaacs 27dcbcd7e1 paged and orderable shelfs
Fix for non writable settings db with non configured calibre-web
3 years ago
mmonkey 0cf4c7b7b7 Merge remote-tracking branch 'upstream/master' into master 3 years ago
ElQuimm 623372387d
Update italian message.po
Merry Christmas and Happy Holidays :-)
3 years ago
OzzieIsaacs abf0f4d699 Updated Testresult
Fixed delete book call
3 years ago
Ozzieisaacs 2bea447de5 Fix show archived books 3 years ago
Ozzieisaacs f6538b6110 New delete user button
refactored confirm dialogs
3 years ago
Ozzieisaacs 2d3ae71a3d Fixed button for email config (Fix #1766) 3 years ago
Ozzieisaacs 9a20faf640 Revert accidentally deleted lines in caliblur! theme 3 years ago
andylizi 123493ee59
Fix #1255 (support webp in comic viewer) 3 years ago
mmonkey 2d498dd138 Preserve publisher links, and fix formatting in custom columns for CaliBlur theme. 3 years ago
Ozzieisaacs 62da469fd1 Shelfs are now paginated (sorting buttons are disabled)
Changed gevent dependencys
4 years ago
Ozzieisaacs d64009e23e preparation for filtered and ordered shelfs 4 years ago
Ozzieisaacs fd8b642d64 Code cosmetics css
Code cosmetics js
Fixes for links with remote_login
4 years ago
OzzieIsaacs d5ed5cd665 Fixes from tests 4 years ago
OzzieIsaacs fa95d064ff Fix get_sidebar_config 4 years ago
Ozzieisaacs 1905e0ee6f refactoring to prevent web.py being the middle of the universe 4 years ago
Ozzieisaacs 96b18faea1 Merge remote-tracking branch 'nl/master' into master 4 years ago
Ozzieisaacs 0d7f2e157a Update Download Debug package
- include config
- bugfix for stream logger
4 years ago
Marcel 2d66936d8b NL translation update
NL translation update
4 years ago
Ozzieisaacs b637a63e71 Refactored exception logging 4 years ago
Ozzieisaacs 1ae778d81e Fix #1753 (errorhandling on route serve_book) 4 years ago
Ozzieisaacs f4412ee96b Fix #1753 (errorhandling on route serve_book) 4 years ago
Ozzieisaacs 9130aceb5a Changed admin page 4 years ago
Ozzieisaacs b8336c03c3 Changed admin page 4 years ago
Ozzieisaacs 76c3ade394 Changed logging in worker thread 4 years ago
Ozzieisaacs d9b22fd513 log exceptions only in debug mode 4 years ago
Ozzieisaacs 88ea998f8b Only register gdrive callback if gdrive is enabled
With enabled gdrive return on change if no watch callback is configured, instead of send request to google drive
4 years ago
Ozzie Isaacs db91577485 Use calibre-web folder in tempdir on upload cover and metadata backup
fix upload cover on windows (slash vs. backslash)
4 years ago
Ozzie Isaacs 5d9404863d Fix detection and removal of metadata.db ending in calibre-directory
Update requirements
4 years ago
Ozzieisaacs d3986ca14a Server side file browser 4 years ago
Ozzieisaacs 2508c1abb2 Started implement server side filechooser 4 years ago
OzzieIsaacs 983e3b2274 Bugfix allowed formats for comics
Bugfix editing archived books
4 years ago
Ozzieisaacs 72a02e087c Update optional pydrive requirement
Bugfix cover url download for Wand insted of Pillow
Fix for gdrive with unknown certificates
4 years ago
Ozzieisaacs 352b4a0b73 Remove Pillow as dependency 4 years ago
Ozzieisaacs d957b2d20f Fix detect correct encoding for txt-reader 4 years ago
Ozzieisaacs dcab8af8ab Fixes for kobo sync 4 years ago
OzzieIsaacs e1987c34d9 Revert expire on commit 4 years ago
OzzieIsaacs a80a8aab1c Fix LDAP import user 4 years ago
OzzieIsaacs d6fbcdb09d Fix merge problem (ub prefix in ub.py) 4 years ago
OzzieIsaacs d39b28b011 Fix for existing book format with gdrive 4 years ago
OzzieIsaacs 8f36128fe3 Merge branch 'session' into Develop 4 years ago
OzzieIsaacs 986d4c99bd Fix oauth ub session 4 years ago
Ozzieisaacs f677dcb1f4 Fix missing optional parameter initSession 4 years ago
Ozzieisaacs 1a9b220ec2 Session no longer expires on commit (only in worker thread) 4 years ago
Ozzieisaacs d15d252af7 Session no longer expires on commit 4 years ago
Ozzieisaacs 5e3618716d Fix missing session rollback on commit error 4 years ago
Ozzieisaacs f13522559d Fixed problems on startup with config session 4 years ago
Ozzieisaacs 777c2726d3 Changed session_handing 4 years ago
Ozzieisaacs c25afdc203 Chunked sync 4 years ago
Ozzieisaacs c25f6d7c38 Prefer kepub in kobo sync 4 years ago
Ozzieisaacs 388e46ee81 Merge remote-tracking branch 'prefer_kepub/prefer-kepub' into master (send kepub instead of epub) 4 years ago
Ozzieisaacs 242866948f Merge branch 'master' into Develop 4 years ago
Ozzieisaacs 15bb0ce990 Fix for #1439 (send kepub file instead of epub for kobo epub3 request)
Fix archived books are editable
4 years ago
Ozzieisaacs a82911ea5d Fixed missing variable exception 4 years ago
Ozzieisaacs 9a8f20317b Update ldap import user -> improve error messages 4 years ago
Ozzieisaacs b605a0f622 Update error message LDAP import user 4 years ago
Ozzieisaacs 046a074c3a Catch attribute error on ldap import user
Fixes for Login with Windows AD
4 years ago
Ozzieisaacs 7c96fac95c Removed unnecessary parameters 4 years ago
Ozzieisaacs a3ef53102d Fix warning message on ldap import 4 years ago
Ozzieisaacs 68513b775b Wording 4 years ago
Ozzieisaacs a79dcc93f6 Fixed description for LDAP filter 4 years ago
Ozzieisaacs 7aabfc573b Merge branch 'master' into Develop
# Conflicts:
#	cps/admin.py
#	cps/config_sql.py
#	cps/templates/config_edit.html
#	cps/web.py
4 years ago
Ozzieisaacs 56505457eb Merge remote-tracking branch 'ldap_import/feat/ldap-import-user-identifier' into master
# Conflicts:
#	cps/admin.py
4 years ago
Ozzieisaacs 5930c6d5fb remove parenthesis in LDAP Message 4 years ago
Ozzieisaacs c3b9888b31 Fix #1739 (opds download with anonymous browsing enabled) -> download rights of guest user are now respected again 4 years ago
Ozzieisaacs cb8dfdde4c Fix #1739 (opds download with anonymous browsing enabled) 4 years ago
Ozzieisaacs 8eb4b6288a Added id's for testablility 4 years ago
Ozzieisaacs f18836be90 Fix for #1435 (download not allowed with for opds links, with ldap login and a cookie in the download request) 4 years ago
Ozzieisaacs 3372070a58 Fix change title regex
Merge branch 'Develop' into master
4 years ago
Ozzieisaacs f99e2ebd13 Changed wording for tooltips 4 years ago
Ozzieisaacs 4feb26eefb Added series order option (#1715)
Added authors order option (#1301)
Added tooltips for ordering options
Fixed ratings, formats, languages order option
4 years ago
Ozzieisaacs 2da7cd2064 Merge remote-tracking branch 'it/patch-18' into master 4 years ago
Ozzieisaacs 9d7daf7afd Kobo links to /v1/products/books/external are responded
Merge remote-tracking branch 'kobo/patch-1' into master
4 years ago
Ozzieisaacs cb1ebc1cd0 Drag 'n drop for files 4 years ago
Ozzieisaacs 6ad56a0859 Merge branch 'master' into Develop 4 years ago
Ozzieisaacs 8515781564 Fix #1727 (import rarfile 4.0 fails on python3.5) 4 years ago
ElQuimm 7e2bfbd255
update italian message.po
some minors changes.
4 years ago
Jennifer Thakar e2325f7ba4
Forward Overdrive requests to Kobo Store
When loading books from OverDrive, Kobo readers make requests to `/v1/products/books/external/<overdrive ids>`.
This adds a route to forward these requests to the Kobo Store, so that OverDrive still works when using Calibre-Web's Kobo sync server.
4 years ago
OzzieIsaacs 9afdab8c52 Fix from merge convert_from _to 4 years ago
Ozzieisaacs f620d4a9ca Fix LDAP errors 4 years ago
Ozzieisaacs fb1e763bbe Fix browser caching problem on change cover 4 years ago
Ozzieisaacs ecea7e7493 Revert "Fix browser caching problem on change cover"
This reverts commit b9536812f4.
4 years ago
Ozzieisaacs 560ade00b4 Fix browser caching problem on change cover 4 years ago
Ozzieisaacs 81ea24ad54 Merge branch 'master' into df 4 years ago
Ozzieisaacs 747b25046a Merge branch 'master' into Develop 4 years ago
Ozzieisaacs b9536812f4 Fix browser caching problem on change cover 4 years ago
Ozzieisaacs eed2f0a430 Merge remote-tracking branch 'comic/master' into master 4 years ago
Ozzieisaacs 31fe8cd263 Improvement for #1721 (shrinked generic cover) 4 years ago
Ozzieisaacs a3fadbaa1a Shrinked size of generic cover 4 years ago
Ozzieisaacs e2be655d74 Update LDAP, fix Windows AD login (#1697) 4 years ago
Ozzieisaacs 6538aff02f Merge branch 'master' into Develop 4 years ago
Ozzieisaacs 42c13ae135 Fix for #1718 (fetch of metadata from google without cover leads to exception) 4 years ago
Ozzieisaacs 9bd51c650b Add config options for client certificate authentication 4 years ago
Ozzieisaacs ba1c1c87c4 Merge remote-tracking branch 'kobo/feature/use-kobo-specific-download-urls' into Develop 4 years ago
Ozzieisaacs ceefba2743 Fix for #1550 (password prompt for LDAP and anonymous browsing) 4 years ago
Ozzieisaacs 32b7b39223 Added function to download debug information 4 years ago
verglor 2343c79126 Use djvu_html5 to read djvu format in browser 4 years ago
verglor 09a5a69f86 djvu_html5 0.3.0-beta1 static assets 4 years ago
Ozzieisaacs 4081895a78 exclude _pysqlite.so from being overwritten 4 years ago
Ozzieisaacs 013c4e9c35 Merge remote-tracking branch 'epub/recompute_epub' into master 4 years ago
Ozzieisaacs 067f289050 Merge remote-tracking branch 'comic/comic' into master 4 years ago
Ozzieisaacs 06511b92aa Merge remote-tracking branch 'epub/GruberMarkus-patch-1' into master 4 years ago
Ozzieisaacs 32f4c9eabf Merge remote-tracking branch 'fr/master' into master 4 years ago
Ozzieisaacs 14bc345883 Merge remote-tracking branch 'audio/fix-audio-icon' into master 4 years ago
Ozzieisaacs d76b4fd7ea Merge remote-tracking branch 'it/patch-17' into master 4 years ago
ElQuimm 83cdd7e9fb
update italian message.po
some minor update to the translation.
4 years ago
verglor 50441bae62 Fix missing audio icon for other audio formats than mp3 4 years ago
Martin 5b0766a9b0
Correct spelling 4 years ago
Martin d979fe8e5f
fix fr translation : sed cryptage/chiffrement 4 years ago
Markus Gruber f2c52fd278
Update jszip to 3.5.0. Update epub.js to 0.3.88.
Fixes several problems when viewing EPUBs in a browser, for example when jumping to a certain chapter in the table of contents does not work.
4 years ago
Ozzieisaacs 87d60308f2 Merge remote-tracking branch 'caliblur/issue/caliblur-981' into master 4 years ago
Ozzieisaacs 58d485cbb5 Fix #1702 (invalid timestamps during kobo sync caused by malformed database) 4 years ago
Ozzieisaacs e99dd3310c Exchanged douban apikey 4 years ago
Ozzieisaacs 400f6e02a5 Fix #1668 (upload of books with language set to different than UI language and not showing all books)
Fix for only showing external port if kobo is really activated in admin menu
4 years ago
jvoisin 700b0609df Don't recompute metadata for epubs 4 years ago
cbartondock bc52f90ed4 Merge remote-tracking branch 'upstream/master' 4 years ago
Ozzieisaacs 0771546dad Log exception on user import 4 years ago
jvoisin 95a1a71a66 Minor refactor of comic.py 4 years ago
Ozzieisaacs 25da6aeeca Merge remote-tracking branch 'sec_fixes/space' into master 4 years ago
Ozzieisaacs 00b422807b Merge remote-tracking branch 'sec_fixes/edit_auth' into master 4 years ago