Commit Graph

426 Commits

Author SHA1 Message Date
Brian O'Connor ac19f30173 Add DRF's OrderingFilter to list of default filter backends to implement ordering in the API 2023-02-10 19:06:55 -08:00
Christopher C. Wells 1f14549e83 Noop reverse migration for standard group removal 2023-02-10 06:14:37 -08:00
Christopher C. Wells 1faabdde9d Add migration to remove unused "standard" group 2023-02-10 06:14:37 -08:00
Christopher C. Wells a40b3c6f93 Add user types tests 2023-02-10 06:14:37 -08:00
Christopher C. Wells ae06cbd47e Update `createuser` to match behavior of UI 2023-02-10 06:14:37 -08:00
Christopher C. Wells 90e16431b8 Format code 2023-02-10 06:14:37 -08:00
Christopher C. Wells 94bc12973a Handle read only setting in users form 2023-02-10 06:14:37 -08:00
Christopher C. Wells cd44a473cf Replace references to Django core `User` model with `get_user_model` 2023-02-10 06:14:37 -08:00
Christopher C. Wells 1f5ec91d54 Implement formatting updates 2023-02-07 13:16:44 -08:00
Christopher C. Wells 54aaf0dda3 Create v1.14.0 release 2023-01-29 16:20:49 -08:00
Christopher C. Wells 58de32d918 Add updated TZs migration 2023-01-29 15:21:13 -08:00
Tom Pansino 8716a3108a Fix formatting 2022-12-07 16:35:02 -08:00
Tom Pansino 6acadcb11b Allow setting CSRF_COOKIE_SECURE and SESSION_COOKIE_SECURE via env vars 2022-12-07 16:35:02 -08:00
Christopher C. Wells 6b7196cfb7 Pass verbosity argument to `createcachetable` 2022-11-05 07:15:28 -07:00
earthcomfy eb8ed1bcd1 Fix empty password bug in createuser command 2022-11-02 13:05:03 -07:00
earthcomfy 6f83611f42 Remove group arg and add --read-only flag to createuser command 2022-10-31 06:49:55 -07:00
earthcomfy 6992ddc911 fix: add reverse operation for data migration 2022-10-31 06:49:55 -07:00
earthcomfy 84d14c3410 feat: Add data migration to create groups and assign permissions 2022-10-31 06:49:55 -07:00
earthcomfy b50748598b fix - Remove staff type from group and add is-staff arg 2022-10-31 06:49:55 -07:00
earthcomfy 400ad66968 feat: Add group argument to createuser command 2022-10-31 06:49:55 -07:00
Christopher C. Wells 6392ffb37b Add cache table creation to reset command 2022-10-29 19:39:18 -07:00
Christopher C. Wells 65a7e8776c Remove Heroku-specific config and documentation 2022-10-29 18:51:59 -07:00
Paul Konstantin Gerke 6080058635 Refactor handle_api_key_post, fix type annotation 2022-10-20 10:53:10 +02:00
Paul Konstantin Gerke f7a583f50c Remove unneeded dependecy in template 2022-10-19 21:37:13 +02:00
Paul Konstantin Gerke 58b2c78ab3 Fix breadcrumbs 2022-10-19 21:36:19 +02:00
Paul Konstantin Gerke 901bb99bd7 Fix copy-pasta mistake redirecting to the wrong page 2022-10-19 21:30:21 +02:00
Paul Konstantin Gerke f559f553a0 Rework titles/texts on the add-device page 2022-10-19 21:30:09 +02:00
Paul Konstantin Gerke d604f6f85a Better coverage 2022-10-17 10:02:21 +02:00
Paul Konstantin Gerke 8b617b0bff Black 2022-10-17 09:48:26 +02:00
Paul Konstantin Gerke 1f835d181d Fix test 2022-10-17 09:45:26 +02:00
Paul Konstantin Gerke 0f4c006c05 Add new "Add a device" view, remove QR-code from settings-view 2022-10-17 09:40:06 +02:00
Paul Konstantin Gerke 5e2b847ed8 Merge remote-tracking branch 'origin/master' into app-integration 2022-10-17 07:11:58 +02:00
Christopher C. Wells af5aa18b65 Create v1.13.2 release 2022-10-15 14:15:34 -07:00
Christopher C. Wells de4d66cecd Set superuser for CLI created users
Closes #543
2022-10-15 14:02:55 -07:00
Christopher C. Wells 2cef8199fc Create v1.13.1 release 2022-10-12 19:07:31 -07:00
Christopher C. Wells c970768d89 Create v1.13.0 release 2022-10-11 19:44:11 -07:00
Christopher C. Wells 1a107fc31b Update dependencies and migrations 2022-10-11 19:22:09 -07:00
Hana Belay 74582effb1
Create a user add management command (#534)
* feat: Create management command to add a user

* feat: Test user create management command

* feat: Remove unnecessary args from createuser command

* fix: remove in-active arg from createuser command

* feat: Add doc to createuser command

Co-authored-by: Christopher C. Wells <git-2022@chris-wells.net>
2022-10-04 08:24:01 -07:00
EnsuingRequiem 46159850c4
Add forward auth by way of remote user
* Add forward auth related settings

* Document forward auth settings

* Rearrange code to match preference

* Adjust forward auth configuration

* Add tests for reverse proxy auth

Closes #517 

Co-authored-by: Christopher C. Wells <git-2022@chris-wells.net>
2022-09-18 14:00:41 -07:00
Paul Konstantin Gerke 878ff64fad Add tests, add username to api/profile endpoint 2022-08-30 22:49:54 +02:00
Paul Konstantin Gerke 7424155ba4 Remove unused imports 2022-08-30 21:34:04 +02:00
Paul Konstantin Gerke 0991780816 Remove more unused imports 2022-08-30 21:33:27 +02:00
Paul Konstantin Gerke da7597fd37 Revert unused/incorrect imports 2022-08-30 21:32:10 +02:00
Paul Konstantin Gerke be4f987d35 Remove qrcode library and replace with django-qre-code
Required some rework to make qr-codes work via a template machanism. I think
that the new solution is working neatly as well.
2022-08-30 21:26:45 +02:00
Paul Konstantin Gerke 500fb06453 Remove debug print and add docstring 2022-08-26 00:03:48 +02:00
Paul Konstantin Gerke e238563b53 Replace qrcode generator with template tag 2022-08-25 23:56:18 +02:00
Paul Konstantin Gerke d5bbbd4ee4 Add login QR-code to settings-page 2022-08-24 22:20:08 +02:00
Christopher C. Wells 3ae5aa378e Update test string for updated translation 2022-08-15 07:53:01 -07:00
Christopher C. Wells 54511e0b0a Create v1.12.2 release 2022-08-04 08:26:23 -07:00
Christopher C. Wells 5a257f5b11 Revert "Set default date during picker initialization"
This reverts commit d397d169
2022-08-04 08:16:01 -07:00