aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/auth.py
Commit message (Collapse)AuthorAgeFilesLines
* web: fix bytes/text warning loggingBryan Newbold2021-11-031-3/+3
| | | | Minor issue. Caught by type checking
* web: add type annotationsBryan Newbold2021-11-031-7/+8
| | | | | This commit does not include type fixes, only annotations. A small number of tuples were also converted to lists.
* fmt (black): fatcat_web/Bryan Newbold2021-11-021-57/+73
|
* python: isort everythingBryan Newbold2021-11-021-5/+8
|
* skip pylint on 'assigning-non-slot' warnings in Flask 2.0Bryan Newbold2021-05-251-2/+2
| | | | | | | | | | | | | | The 'permanent' field is still valid to set to a boolean in Flask 2.0; not sure why pylint is unhappy in CI (causing test failures). Don't see any problem running test suite locally. Flask API docs: https://flask.palletsprojects.com/en/2.0.x/api/?highlight=permanent#flask.session.permanent And code (recent master branch): https://github.com/pallets/flask/blob/4240ace59710d86c478111affd4ad6fb4c8cad9e/src/flask/sessions.py#L20
* small python lint fixes (no behavior change)Bryan Newbold2021-05-251-1/+1
|
* web: reduce flash() usage; have logins redirectBryan Newbold2021-02-261-9/+10
|
* get mediawiki username creation working with spacesBryan Newbold2020-07-091-1/+2
|
* lint (flake8) web interface python filesBryan Newbold2020-07-011-2/+1
|
* web: catch MacaroonInitExceptionBryan Newbold2019-11-121-0/+4
| | | | | Caught one of these in sentry. Probably due to a crawler? Or typing gibberish in the token form.
* add guide editing links to edit forms and signup messageBryan Newbold2019-09-181-1/+2
|
* remove '@' from archive.org identBryan Newbold2019-09-171-1/+1
|
* IA auth: use itemname not screenname for usernameBryan Newbold2019-09-171-1/+1
| | | | | | | Have run in to several issues with IA screenname being invalid fatcat usernames (eg, containing whitespace). This probably won't catch all such issues, but hopefully most of them.
* refactor all python source for client lib nameBryan Newbold2019-09-051-2/+2
|
* Revert "remove periods from oauth usernames"Bryan Newbold2019-06-071-1/+0
| | | | This reverts commit 04fb2c1d0683662161f1ba481d2c33e59242aade.
* remove periods from oauth usernamesBryan Newbold2019-06-071-0/+1
|
* bugfix and special case for orcid loginsBryan Newbold2019-04-101-1/+6
|
* crude mostly-working wikipedia (mediawiki) loginBryan Newbold2019-04-091-0/+11
|
* warn() -> warning() (deprecated)Bryan Newbold2019-04-041-5/+5
|
* create app.log explicitlyBryan Newbold2019-04-031-6/+6
|
* editgroup submit/mergeBryan Newbold2019-04-031-0/+1
|
* better warn/error loggingBryan Newbold2019-04-031-5/+5
|
* bunch of lint/whitespace cleanupsBryan Newbold2019-02-221-2/+1
|
* more robust IA Xauth loggingBryan Newbold2019-01-161-1/+4
|
* basic/crude IA loginBryan Newbold2019-01-071-4/+53
|
* one-month default session; lock down cookiesBryan Newbold2019-01-041-0/+2
|
* basic OIDC auth workingBryan Newbold2019-01-031-25/+32
|
* account page and renamingBryan Newbold2019-01-031-3/+11
|
* several auth improvementsBryan Newbold2019-01-031-6/+54
|
* start on webface oauth2/oidc web authBryan Newbold2019-01-021-0/+27