InvenTree/docs/docs
Matthias Mair 03278c56c9
Remove django-allauth-2fa, dj-rest-auth and django-user-sessions (#6293)
* Remove django-allauth-2fa
Fixes #6281

* fix req

* fix file again

* remove allauth_2fa flows

* reintroduce otp

* fix rq

* remove old ref

* remove otp things from settings

* reintroduce otp codes

* remove totp section

* bump version

* fix reqs

* add missing model

* ignore TOTP migration if the model is not laoded

* add model deps

* add extra migrations step for easier testing

* add migration testing

* remove old catch

* cover static devies too

* remove more old stuff

* fix import

* mrege migrations

* bump API version

* switch to allauth.usersessions

* add headless

* re-add saml/openid

* user sessions cleanup

* turn off normal allauth urls if CUI is not active

* disable tests that rely on old endpoints - to be replaced

* always track session changes

* remove old allauth templates

* remove old ref

* add missing model

* fix session lookup

* always logout when pwd is changed

* reimplement session ending

* fix merge

* upgrade reqs

* lower cryptography version

* clean allauth_2fa reference

* disable test temporarly

* fix migration check

* disable tests temporarly

* Re-implement auth flow using new APIs; adds MFA to PUI

* re-implement logoff

* stop failure message from appearing when in MFA flow

* remove jwt mention

* fix: email endpoints (to be cleaned TODO@matmair)

* remove unused endpoints

* ignore the now often-used 410 error

* fix auth for email actions in MFA scenarios

* add mfa listing use build-in forms

* add dummy entry for missing frontend urls; see TODO@matmair

* remove unneeded change of confirm url

* add mfa reg endpoint (not fully implemented)

* implement more provider stuff

* simplify calls

* make calls more robust

* switch to browser based sessions

* add todo's

* update api version

* remove x-session, not needed anymore

* remove old urls

* remove ui preference - there is no decision anymore

* fix login redirect logic

* change name to ensure 1p can detect field

* add mfa table

* fix remove sso provider account action; provider (user) admin stuff is done

* reduce templates to the raw basics

* fix tests

* more exclusions

* rewrite url structure

* move buildin token test

* re-enable registration tests

* re-implement registrations

* enable registration for now

* re-implement password change

* adjust tests

* fix asserts

* align names with allauth

* simplify

* refactor and rephrasing

* fix nesting issue

* clean up urls even more

* add mfa add and remove screens

* add type

* revert dep change

* fix api version

* re-add settings

* simplify urls

* Add timeout to login wait for

* fix url assertation

* remove unneded mfa_enabled

* add setting for configuring types

* bump api version

* fix password reset flow

* change settings order

* save auth context

* rename var to remove confusion

* make login/register seperate paths

* make info text better

* adjust urls

* add error message

* disable buttons if no email is set

* add custom adapters for MFA and headless authentication to use upstreamed features

* move auth settings to status

* respect more settings

* update settings

* bump api version

* remove depreceated docs part

* remove dj_rest_auth stuff

* fix api_version bump

* remove temp fix

* fix provider login

* remove unsupported option

* remove hash requirement for now

* simplify customisation

* implement email-verification

* remove auth from api docs

* fix override of get_frontend_url
details in https://codeberg.org/allauth/django-allauth/pulls/4248

* bump api again

* fix req

* Revert "remove hash requirement for now"

This reverts commit 00bb6c5274.

* remove usage of git repo

* fix doc string

* extend schema generation to just patch in allauth

* patch allauth OAI ref names

* reduce types

* refactor code structure

* fix ref patching a bit more

* add param cleanup

* ensure strings, number, bools are handled correctly in cleanup

* move fnc

* shorten names

* bump allauth

* re-add auth doc section

* fix doc structure

* revert playwrigth change

* ckean up browser only path

* clean up parameters that we do not use

* re-add 2fa required middleware

* fix mail sending hook

* fix password set texts

* Add forced mfa setup

* remove type

* adjust api_version

* Remove debug prints

* Add error message for TOTP creation

* Handle failed TOTP login

* fix reqs

* Add error on 409 during login

* fix tested url

* fix api_version

* fix allauth version

* minimize req diff

* further minimize diff

---------

Co-authored-by: Oliver Walters <oliver.henry.walters@gmail.com>
2025-02-22 11:11:04 +11:00
..
api Add namespaces to tasks (#7904) 2024-09-05 13:04:57 +10:00
app Sales order barcode allocate (#6072) 2023-12-14 11:13:50 +11:00
assets Datamatrix (#8853) 2025-01-08 12:06:00 +11:00
barcodes Barcode scanning (#8732) 2024-12-28 20:38:53 +11:00
build Order start dates (#8966) 2025-01-29 22:45:39 +11:00
concepts [Pricing] Add option to convert received items currency (#8970) 2025-02-03 18:34:15 +11:00
develop Devcontainer updates (#9101) 2025-02-19 11:04:20 +11:00
extend Extend plugin docs (#9025) 2025-02-04 15:41:57 +11:00
javascripts Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
order [Pricing] Add option to convert received items currency (#8970) 2025-02-03 18:34:15 +11:00
part chore(backend): bump devtools (#9088) 2025-02-18 18:57:48 +11:00
releases Remove CUI (#8384) 2024-12-17 12:30:41 +11:00
report chore(backend): bump devtools (#9088) 2025-02-18 18:57:48 +11:00
settings fix(backend): determine active branch on startup (#9056) 2025-02-11 09:19:49 +11:00
start Remove django-allauth-2fa, dj-rest-auth and django-user-sessions (#6293) 2025-02-22 11:11:04 +11:00
stock [Documentation] Remove package credits (#8811) 2025-01-06 14:14:38 +11:00
stylesheets Render API docs (#6463) 2024-03-02 11:28:37 +11:00
webfonts Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
__init__.py Fixes for docs building (#4659) 2023-04-22 23:35:25 +10:00
demo.md Invoke docs (#8373) 2024-10-27 10:51:51 +11:00
faq.md feat(backend): Improve error with missing manifest (#8957) 2025-01-27 19:52:05 +11:00
features.md Fix spelling of InvenTree in code base (#8561) 2024-11-26 08:29:47 +11:00
hooks.py [Pricing] Add option to convert received items currency (#8970) 2025-02-03 18:34:15 +11:00
index.md Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
privacy.md Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
security.md Docs code links (#7342) 2024-05-26 22:09:08 +10:00