21 Commits

Author SHA1 Message Date
shamoon
e24b9fd5f9 Security: disallow API remote-user auth if disabled (#6739) 2024-05-15 20:18:50 +00:00
Trenton H
9943f36be3 Chore: Adds additional rules for Ruff linter (#5660) 2024-02-05 21:46:59 +00:00
shamoon
111537ff0a Enhancement: re-implement remote user auth for API as opt-in (#5561) 2024-02-01 19:46:26 +00:00
shamoon
1b5135f2b9 Revert "Enhancement: support remote user auth directly against API (DRF)" (#5534) 2024-01-24 11:00:44 -08:00
shamoon
fc0bd04895 Enhancement: support remote user auth directly against API (DRF) (#5386) 2024-01-16 23:26:05 +00:00
shamoon
efdcb9c1bb Fix: Disable auto-login for API token requests (#5094) 2023-12-26 22:22:41 +00:00
Igor Rzegocki
aaf2ba2ba0 fix broken "failed login" signal 2023-06-03 17:48:17 +02:00
shamoon
6bb72deb6a Specify backend for auto-login 2023-04-25 22:15:21 -07:00
Trenton Holmes
f62193099c Runs pyupgrade to Python 3.8+ and adds a hook for it 2022-05-06 09:04:08 -07:00
Trenton Holmes
6635fa5f0d Runs the pre-commit hooks over all the Python files 2022-03-11 11:34:28 -08:00
kpj
c56cb25b5f Format Python code with black 2022-02-27 15:26:41 +01:00
jonaswinkler
759d4f06fa fixes #745 2021-03-14 14:17:21 +01:00
Simon Taddiken
7ab5dbdee8 Add the possibility to customize the remote user header name
Inspired by the discussion here https://github.com/jonaswinkler/paperless-ng/discussions/639#discussion-3242017 it is worthwhile to be able to customize the header name that is used for authentication as its name is not really standardized.
2021-03-02 09:07:42 +01:00
Michael Shamoon
0286abd92a Refactor to extend RemoteUserMiddleware & add authentication for Django 2021-01-03 21:21:39 -08:00
Michael Shamoon
009de5184f Allow authentication via HTTP_REMOTE_USER 2021-01-03 00:37:19 -08:00
Jonas Winkler
bd8a2eaf1e codestyle 2020-11-25 16:05:52 +01:00
Jonas Winkler
b275297a05 added setting PAPERLESS_AUTO_LOGIN_USERNAME 2020-11-23 22:50:02 +01:00
Jonas Winkler
a532200d10 code cleanup 2020-11-21 15:34:00 +01:00
Jonas Winkler
1ca35f6fd1 fixed dev auth 2020-11-09 15:47:22 +01:00
Jonas Winkler
3b0e794b3d use django authentication instead of auth tokens. 2020-11-09 15:28:12 +01:00
Jonas Winkler
93d963ed4e added
- document index
- api access for thumbnails/downloads
- more api filters

updated
- pipfile

removed
- filename handling
- legacy thumb/download access
- obsolete admin gui settings (per page items, FY, inline view)
2020-10-25 23:03:02 +01:00