InvenTree/.github
Oliver 0ba7f7ece5
[PUI] Session authentication (#6970)
* Adjust backend cookie settings

* Allow CORS requests to /accounts/

* Refactor frontend code

- Remove API token functions
- Simplify cookie approach
- Add isLoggedIn method

* Adjust REST_AUTH settings

* Cleanup auth functions in auth.tsx

* Adjust CSRF_COOKIE_SAMESITE value

* Fix login request

* Prevent session auth on login view

- Existing (invalid) session token causes 403

* Refactor ApiImage

- Point to the right host
- Simplify code
- Now we use session cookies, so it *Just Works*

* Fix download for attachment table

- Now works with remote host

* Cleanup settings.py

* Refactor login / logout notifications

* Update API version

* Update src/frontend/src/components/items/AttachmentLink.tsx

Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>

* fix assert url

* Remove comment

* Add explicit page to logout user

* Change tests to first logout

* Prune dead code

* Adjust tests

* Cleanup

* Direct to login view

* Trying something

* Update CUI test

* Fix basic tests

* Refactoring

* Fix basic checks

* Fix for PUI command tests

* More test updates

* Add speciifc test for quick login

* More cleanup of playwright tests

* Add some missing icons

* Fix typo

* Ignore coverage report for playwright test

* Remove coveralls upload task

---------

Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2024-04-17 21:35:20 +10:00
..
actions Code structure refactor (#5582) 2024-04-03 12:16:59 +11:00
ISSUE_TEMPLATE Add current deployment methods to bug template (#6893) 2024-03-30 08:48:17 +11:00
scripts Fix unit tests (#6932) 2024-04-03 06:50:13 +00:00
workflows [PUI] Session authentication (#6970) 2024-04-17 21:35:20 +10:00
CODEOWNERS Code structure refactor (#5582) 2024-04-03 12:16:59 +11:00
dependabot.yml Cleanups for refactor (#6933) 2024-04-03 19:59:02 +11:00
FUNDING.yml Add polar to funding page (#6639) 2024-03-05 11:39:47 +11:00
release.yml New tags (#4971) 2023-06-05 19:41:42 +10:00