Michael Shavit
207004beff
Remove config_server_url setting.
5 years ago
Michael Shavit
27d084ce39
Remove the KoboUserKey-based Authentication.
...
Instead, the user generates the api_endpoint url to set on their device
by visiting http://.../kobo_auth/generate_auth_token .
The generated url will contain a RemoteAuthorizationToken that will be
included on all subsequent requests from the device to the kobo/
endpoints. (In contrast, the device is authenticated using a session cookie on
requests to the download endpoint).
Also use Flask.url_for to generate download urls.
5 years ago
Michael Shavit
0b709f7dfb
Merge branch 'master' into kobo
5 years ago
Michael Shavit
9ede01f130
* Add a UserKeyToken to the User table for Kobo authorization.
...
* Add proper authorization checks on the new Kobo endpoints.
Important Note: As a side-effect, all CalibreWeb API calls can be
authorized using this token (i.e without a username&password).
5 years ago
Michael Shavit
5357867103
Add initial support for Kobo device Sync endpoint.
...
- Supports /v1/library/sync call to get list of books
- Supports /v1/library/metadata call to get metadata for a given book
+ Assumes books are stored on Backblaze for metadata call
- Changes to helper.py so that we can return no cover instead of a blank
image.
5 years ago
Ozzieisaacs
8af178c19c
Fix for gdrive not working #1081
5 years ago
Ozzieisaacs
a4416c202d
Merge remote-tracking branch 'rename/develop'
5 years ago
zelazna
3764c33a3a
Add the posibility to change the username
5 years ago
Ozzieisaacs
f543d7f486
Fix #1016
5 years ago
Ozzieisaacs
3e008ef29b
Fix update dates shown in local time format again
...
Fix "to update" history is shown again
5 years ago
Ozzieisaacs
38f3c2d5b9
Reenabled multiple oauth provider
...
deleted duplicate download counting function
5 years ago
Ozzieisaacs
c6542fdec6
New Oauth code
5 years ago
Ozzieisaacs
26a7d9ef30
Merge branch 'Develop'
...
# Conflicts:
# cps/__init__.py
# cps/about.py
# cps/admin.py
# cps/cli.py
# cps/config_sql.py
# cps/constants.py
# cps/converter.py
# cps/db.py
# cps/editbooks.py
# cps/gdriveutils.py
# cps/helper.py
# cps/logger.py
# cps/oauth.py
# cps/server.py
# cps/services/simpleldap.py
# cps/ub.py
# cps/web.py
# cps/worker.py
# optional-requirements.txt
# setup.cfg
# setup.py
5 years ago
Ozzieisaacs
d82289e303
Deactivate ldap
...
Fix setup for pypi
5 years ago
Daniel Pavel
a836df9a5a
more robust disposing of database session
...
avoid spamming the log with debug messages from libraries
5 years ago
Ozzieisaacs
4708347c16
Merge branch 'Develop'
...
# Conflicts:
# MANIFEST.in
# README.md
# cps/helper.py
# cps/static/js/archive/archive.js
# cps/translations/nl/LC_MESSAGES/messages.mo
# cps/translations/nl/LC_MESSAGES/messages.po
# cps/ub.py
# cps/updater.py
# cps/web.py
# cps/worker.py
# optional-requirements.txt
5 years ago
Ozzieisaacs
e734bb120a
Merge remote-tracking branch 'github/config_sql' into Develop
5 years ago
Daniel Pavel
006e596c72
Moved config class into separate file.
...
Moved Goodreads and LDAP services into separate package.
5 years ago
Ozzieisaacs
499a66dfb0
Additional glyphicons for music on search and author page
...
Fix duplicate user and email (now case insensitive)
Output of calibre on stderr is now logged (full traceback in debug-log, otherwise, only errormessage)
Natural sorting for comic reader
Fix for long running tasks
5 years ago
Ozzieisaacs
572b5427c7
Fix Encoding issues for python2
6 years ago
Ozzieisaacs
32af660f86
Improvements for logfile viewer
...
Fix for tornado-server with deactivated accesslog doesn't log to normal log anymore
Merge from master for unique user ids, get_metadata,
fix Goodreads integration
Update Translation (merge NL, update DE)
6 years ago
Ozzieisaacs
cc8a431532
Merge remote-tracking branch 'socket/unix-socket' into Develop
6 years ago
Ozzieisaacs
5c7aeb2f2c
Change GDrive
6 years ago
Daniel Pavel
e254565901
support binding the http server to a unix socket file instead of TCP socket
6 years ago
Ozzieisaacs
f40fc5aa75
Update LDAP
6 years ago
Ozzieisaacs
9b74d51f21
Merge remote-tracking branch 'ldap/master' into Develop
...
# Conflicts:
# cps/server.py
# cps/templates/config_edit.html
# cps/ub.py
# cps/updater.py
# cps/web.py
# optional-requirements-ldap.txt
# setup.cfg
6 years ago
Ozzieisaacs
d45b1b8ea5
Fix #937
...
logviewerintegrated
Code cosmetics
6 years ago
Ozzieisaacs
26949970d8
Revert logging functions
...
Fix access logger for tornado
6 years ago
Ozzieisaacs
8e4539cf8e
Prevent delete of last admin user
6 years ago
Ozzieisaacs
546ed65e1d
Update logging
...
Fix sort order author
Fixes sorting view
Moved version info
added feature limit listening to single ipaddress
6 years ago
Ozzieisaacs
14b6202eec
Code cosmetics
...
Fixes func in helper,web
Fixes for pdf reader
fixes for calling from another folder
renamed to calibreweb for importing in python caller script
6 years ago
Daniel Pavel
b89ab9ff10
logging clean-up
...
- moved most constants to separate file
- sorted and cleaned-up imports
- moved logging setup to separate file
6 years ago
Ozzieisaacs
bb0d5c5538
Working for pip and "normal" start for python3 and python2
6 years ago
Ozzieisaacs
f70c839014
Added additional permission viewer
6 years ago
Ozzieisaacs
0c80f5c63a
Update Teststatus
6 years ago
Ozzieisaacs
6940bb9b88
Code improvement
6 years ago
Ozzieisaacs
07649d04a3
Fix updater
...
Update translations
Code cleaning updater
6 years ago
Ozzieisaacs
39a3f70084
Fix for slow updater
6 years ago
Ozzieisaacs
a360b1759a
Code cosmetics
...
bugfix import HttpError from pydrive
6 years ago
Ozzieisaacs
9c1b3f136f
Improved sorting for rated,random, hot books, read/unread book
6 years ago
Ozzieisaacs
6d2270d931
Fixes for Oauth
6 years ago
Ozzieisaacs
1db1c2e7df
Enabling LDAP working again
...
LDAP/Github oauth and Google oauth no credentials/parameters are rejected now
6 years ago
Ozzieisaacs
9144a7ceb9
Fix for sqlalchemy 1.3
6 years ago
Ozzieisaacs
f483ca3214
Code cosmetics
...
Bugfix uploadprogress
Bugfix mature content
Reenable read and unread feature
6 years ago
Ozzieisaacs
0224d45961
Code cosmetics
6 years ago
Ozzieisaacs
0be17ed157
Refactored sidebar (some parts are missing)
6 years ago
Ozzieisaacs
f0de822ce7
Start refactor sidebar and view settings sidebar
6 years ago
Ozzieisaacs
de58d0a4d8
Merge remote-tracking branch 'metadata/Develop' into Develop
...
Update logger for updater
6 years ago
Ozzieisaacs
3d5d95904a
Oauth working somehow (?)
6 years ago
Ozzieisaacs
a0be02e687
Ldap working
6 years ago