Commit Graph

2839 Commits (54d06e580d73ba58274e7ed4efbd8fc94b7e1856)
 

Author SHA1 Message Date
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 c810c5275a Merge branch 'master' into development 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 7b7494b8a4 Added executable folder to gitignore 3 years ago
Ozzie Isaacs 9390dcdd43 Update optional requirements 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 93f0724b83 Merge branch 'development' into master 3 years ago
Ozzie Isaacs 724762843d Update Teststatus 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 e0b8fe3b1a Merge branch 'master' into development 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