Ozzie Isaacs
64e4a1155c
Code cosmetics
...
Bugfix missing bleach tags (#3080 )
Bugfix pdfreader
4 months ago
Ozzie Isaacs
3c4ed0de1a
Added ratelimiterbackends
8 months ago
Ozzie Isaacs
ce48e06c45
Improved limiter
2 years ago
Ozzie Isaacs
f241b260d7
Updated requirements
...
Bugfix from testrun
Testresults
2 years ago
Ozzie Isaacs
508e2b4d0a
Merge branch 'master' into Develop
...
# Conflicts:
# cps/admin.py
# cps/config_sql.py
# cps/search.py
# cps/templates/admin.html
# cps/web.py
# setup.cfg
# test/Calibre-Web TestSummary_Linux.html
2 years ago
Ozzie Isaacs
8022b1bb36
Merge remote-tracking branch 'english/master'
2 years ago
Ozzieisaacs
2472e03a69
Bugfix ratelimiter kobo
2 years ago
Ozzie Isaacs
f85b587d0a
Prevent converting of kepub on every new user ( #2446 )
...
Added error logging message if convert fails
If convert only task, only convert book message is logged
2 years ago
Ozzie Isaacs
2e007a160e
reenable startup logging
...
Bugfixes from refactoring and merge
3 years ago
Ozzie Isaacs
d759df0df6
Kobo sync token is now also created if accessed from localhost( fixes #1990 )
...
Create kobo sync token button is now "unclicked" after closing dialog
Additional localhost route is catched
If book format is deleted this also deletes the book synced to kobo status
3 years ago
Ozzieisaacs
785726deee
Migrated some routes to POST
...
- delete shelf, import ldap users
- delete_kobo token, kobo force full sync
- shutdown, reconnect, shutdown
3 years ago
Ozzie Isaacs
9864d932e0
Changed user.nickname to user.name
...
Added function to view downloads of all users for admins
4 years ago
Ozzie Isaacs
b75247ea3a
Suppress some errors
4 years ago
Ozzie Isaacs
7fa5865cf6
Merge remote-tracking branch 'autoconv/kepub_autoconv' into development
...
# Conflicts:
# cps/kobo.py
# cps/kobo_auth.py
4 years ago
jvoisin
b8ab66369e
Remove some unused imports
4 years ago
Ozzieisaacs
5cce01215f
Code refactoring ub.session.commit()
...
Code cosmentics admin.py
4 years ago
Ozzieisaacs
1905e0ee6f
refactoring to prevent web.py being the middle of the universe
4 years ago
OzzieIsaacs
8f36128fe3
Merge branch 'session' into Develop
4 years ago
Ozzieisaacs
5e3618716d
Fix missing session rollback on commit error
4 years ago
Ozzieisaacs
777c2726d3
Changed session_handing
4 years ago
norangebit
bdf6052388
Conversion to kepub when creating a sync token
4 years ago
Ozzieisaacs
d0e603e62d
Better detection of localhost for kobo sync
4 years ago
Ozzieisaacs
2d92818613
Code cosmetics
5 years ago
Ozzieisaacs
fc4436f091
Update Translation
5 years ago
Ozzieisaacs
32a6beae65
Merge remote-tracking branch 'fix/kobo'
...
# Conflicts:
# cps/kobo.py
5 years ago
Ozzieisaacs
372c284ad4
Merge branch 'master' into Develop
5 years ago
Ozzieisaacs
6893635251
Handle kobo auth request
...
Handle access from localhost for kobo
5 years ago
Ozzieisaacs
e3ddc16657
Fix opds login not working anymore (due to kobo sync protocol)
5 years ago
Ozzieisaacs
317e59df4b
Bugfixes from tests
5 years ago
Ozzieisaacs
0411d4a8c9
Added 2 new kobo settings: Enable Kobo Sync (currently not working) and proxy Requests to Kobo
...
Added fix for kobo reader generating requests without right port number, causing url_for not working correct
5 years ago
Michael Shavit
d30b44ee0f
Minor formatting changes per codacy review.
5 years ago
Ozzieisaacs
79a9ef4859
Make Kobo optional
...
move jsonschema dependency to optional-requirements.txt
Added version of jsonschema to about section
Added additional column to RemoteAuthToken table
Update configuration of Kobo sync protocol
5 years ago
Ozzieisaacs
1c630eb604
fixes from tests
5 years ago
Ozzieisaacs
288944db2c
Merge remote-tracking branch 'kobo_sync/kobo' into Develop
...
# Conflicts:
# cps.py
# cps/kobo.py
# cps/kobo_auth.py
# cps/ub.py
5 years ago
Michael Shavit
2118d920f5
Formatter.
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
Ozzieisaacs
f705889c23
Inital Kobo
5 years ago
Michael Shavit
040d7d9ae3
Remove unused import and fix python3 compatibility, as per Ozielsaacs comments.
5 years ago
Michael Shavit
2b55b9b250
Use the login_user Cookie to authorize download requests instead of
...
passing the UserKey over url params.
5 years ago
Michael Shavit
fffa2d5a1b
Support passing the Auth token as a url param.
...
This is required to support ebook downloads which the Kobo device emits
without any auth headers.
* Also some other small bug fixes discovered during device testing.
5 years ago
Michael Shavit
b5da2c4199
Clean-up: Fix import order in kobo.py, and other minor formatting
...
changes.
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