1837fbcfed
Fix response url, fix Uppercase usernames breaking(?!?!)
2022-07-12 23:41:28 +00:00
826f362abb
Update cps/admin.py, cps/oauth_bb.py, cps/templates/config_edit.html, cps/ub.py
2022-07-12 05:40:32 +00:00
d0e90de500
Fix second instance of hardcoded wrong userinfo path
2022-07-12 05:23:25 +00:00
889c075fb6
Hard-code Authentik userinfo path
2022-07-12 05:06:20 +00:00
94f4957c3d
Add generic OAuth support to current
2022-07-10 17:34:12 -07:00
Ozzie Isaacs
4379669cf8
Database error is more detailed
...
renamed debug_or_exception to error_or_exception
2022-03-12 17:14:54 +01:00
Ozzie Isaacs
ed26d34961
Code cleaning (remove python2)
2021-10-04 19:23:24 +02:00
Ozzie Isaacs
67775bc797
Update requirements
...
Catch error for invalid oauth tokens
Fixes for displaying error messages on deleting books from list
Fixes for displaying error messages on deleting bookformats
2021-04-13 19:08:02 +02:00
Ozzie Isaacs
8acd1f1fe4
Code refactoring and improved error handling for edit user list
...
Update teststatus
2021-04-06 17:29:42 +02:00
Ozzie Isaacs
f4e134742b
Fix updater
...
Bugfixes from testruns
Update Testresults
2021-03-24 18:46:03 +01:00
Ozzie Isaacs
9864d932e0
Changed user.nickname to user.name
...
Added function to view downloads of all users for admins
2021-03-21 18:55:02 +01:00
Ozzie Isaacs
59ebc1af8a
Code refactoring
2021-03-21 08:20:04 +01:00
Ozzie Isaacs
9a963bbe79
Refactored code
...
Testrun
2021-03-15 13:10:17 +01:00
Ozzie Isaacs
725fc658f8
Some code cosmetics
2021-03-14 13:28:52 +01:00
jvoisin
b8ab66369e
Remove some unused imports
2021-01-07 17:59:08 +01:00
Ozzieisaacs
5cce01215f
Code refactoring ub.session.commit()
...
Code cosmentics admin.py
2021-01-03 09:53:34 +01:00
Ozzieisaacs
1905e0ee6f
refactoring to prevent web.py being the middle of the universe
2020-12-12 11:23:17 +01:00
Ozzieisaacs
b637a63e71
Refactored exception logging
2020-12-12 08:11:00 +01:00
Ozzieisaacs
d9b22fd513
log exceptions only in debug mode
2020-12-11 16:46:02 +01:00
OzzieIsaacs
8f36128fe3
Merge branch 'session' into Develop
2020-12-08 11:49:39 +01:00
OzzieIsaacs
986d4c99bd
Fix oauth ub session
2020-12-08 11:24:20 +01:00
Ozzieisaacs
5e3618716d
Fix missing session rollback on commit error
2020-12-07 19:53:34 +01:00
Ozzieisaacs
777c2726d3
Changed session_handing
2020-12-07 08:52:52 +01:00
OzzieIsaacs
4b14cc6a74
Merge remote-tracking branch 'oauth/oauth-typo' into Develop
2020-08-30 08:28:14 +02:00
Sean Leonard
078fc25845
Remove Google+ OAuth scope
...
The scope is no longer available per https://developers.google.com/+/api-shutdown
Fixes #1472
Fixes #1573
2020-08-26 08:56:56 -07:00
Marvel Renju
67eb4b317a
Fix typo
...
google oauth provider obtain link was pointing to github
2020-08-26 03:15:39 +01:00
OzzieIsaacs
0cc07362b8
Fix for #1573
2020-08-21 19:26:58 +02:00
Ozzieisaacs
2c42972230
Fix for #1307 (Oauth login not working)
...
- Changed blueprint reference in Backend from name to id, users can now again be found
- Depending on version of flask-dance the resultcode of authorized is set different to prevent redirect loop with newer versions(>1.3)
- Redirect to login page in case no user is linked to current oauth account
- Flash messages upon successfull login, successsfull linked account
2020-04-16 17:58:42 +02:00
Ozzieisaacs
a784c6bd52
Fixes for oauth login after programming basic tests
2020-04-15 22:03:21 +02:00
Ozzieisaacs
2ea45b1fdc
Removed shebang on non executable scripts
2020-02-10 18:37:47 +01:00
Ozzie Isaacs
e04aa80fd6
Fix #1181 and Fix #1182 handle removed "is_xhr" on werkzeug version 1.0.0
2020-02-08 14:40:13 +01:00
Ozzieisaacs
38f3c2d5b9
Reenabled multiple oauth provider
...
deleted duplicate download counting function
2019-07-21 09:45:36 +02:00
Ozzieisaacs
c6542fdec6
New Oauth code
2019-07-20 20:01:05 +02:00
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
2019-07-13 20:54:21 +02:00