Commit Graph

480 Commits

Author SHA1 Message Date
Christopher C. Wells 1d9577a192 Sync moment and Django formats for PT and TR
Fixes #498 and #532
2023-02-11 17:41:17 -08:00
Christopher C. Wells c95b2f07a3 Update latest translations from POEditor 2023-02-11 11:21:26 -08:00
Christopher C. Wells 10a58e61b5 Refactor read only group creation as post migrate operation 2023-02-11 10:31:14 -08:00
Christopher Charbonneau Wells 996d81966c
Indicate user locked state and allow unlocking from users admin (#600)
* Use custom template for account lock

* Rename Baby Buddy base template tags

* Add user unlock view

* Add user unlock test
2023-02-11 09:02:23 -08:00
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
Christopher C. Wells d187ac58ae Create v1.12.1 release 2022-08-03 19:55:09 -07:00
Christopher Charbonneau Wells 0d26efe05a
Add a way to set the SMTP configuration (#506)
* Update configuration of password reset URLs

* Add support for email configuration via environment variables

* Remove unused settings files

* Add email configuration documentation

* Reorganize configuration documentation by topic

* Fix linting issue

* Add password reset flow test

* Correct icon name

* Isolate password reset test case

* Update locales for new strings
2022-07-30 14:22:34 -07:00
Christopher C. Wells d397d169f9 Set default date during picker initialization 2022-07-29 07:58:01 -07:00
Christopher C. Wells c816726960 Create v1.12.0 release 2022-07-28 08:07:26 -07:00
Jean-Louis Jouannic a606f86033 🚸 improves quick timer user experience 2022-07-24 12:32:07 -07:00
Jean-Louis Jouannic e6107b6f3d ♻️ changes the way to prevent double form submission
Instead of disabling form submit buttons, which values were lost
in the process, attach a new handler which disabled form submission
until first submission is processed
2022-07-24 12:32:07 -07:00
Jean-Louis Jouannic b0f469497e 🚨 fixes lint errors 2022-07-10 07:16:15 -07:00
Jean-Louis Jouannic e8de147657 🔧 adds config file for Clever Cloud deployment 2022-07-10 07:16:15 -07:00
Jean-Louis Jouannic e950aeb4da 🐛 sets overflow-auto class only for child selection input 2022-07-07 14:28:40 -07:00
Jean-Louis Jouannic d8aa3acf91 🚸 scrolls if too many selectable children in forms
May be particularly useful on a phone
2022-07-07 14:28:40 -07:00
Christopher C. Wells dbc5236ed5 Create v1.11.2 release 2022-06-28 07:01:33 -07:00
Christopher C. Wells 0eac0f6934 Create v1.11.1 release 2022-06-12 19:26:59 -07:00
Christopher Charbonneau Wells f5ae1a55a7
Fix list view classes and colspans and re-sort menu items (#481)
* Standardize list class and fix colspans

Fixes #469

* Alpha organize new recent menu item additions
2022-06-12 19:24:00 -07:00
Marcelino Alberdi Pereira 9d3c32fec1
Fix filtering not working for capitalized tags (#480)
Closes #467.
2022-06-12 19:07:19 -07:00
Jean-Louis Jouannic f6960dc2e9
Add support for other S3-like providers (#476) 2022-06-06 13:34:22 -07:00
Christopher C. Wells aba239e6da Update Render.com config
Default database instance is _not_ free... rude.
2022-06-02 07:05:50 -07:00
Christopher C. Wells d8e03dbf92 Add settings for Railway 2022-05-30 20:09:38 -07:00
Daniel Beard 21b8a737c0
Add carousel of last 7 days of feedings to the todays feeding card (#450)
Add list of last 7 days of feedings to the todays feeding card

Co-authored-by: Daniel Beard <daniel@medcrypt.co>
2022-05-30 19:43:42 -07:00
Christopher C. Wells 7178bf9fa4 Update node dependencies 2022-05-29 15:51:48 -07:00
Christopher C. Wells e76e7ade4b Create v1.11.0 release 2022-05-28 14:00:37 -07:00
Christopher C. Wells 838020ceff Update Faker API usage 2022-05-28 07:02:13 -07:00
Christopher C. Wells 4d8466be99 Format code 2022-05-23 15:59:57 -07:00
Christopher C. Wells 5d16e0ea19 CSRF_TRUSTED_ORIGINS is a list derp 2022-05-23 15:59:57 -07:00
Christopher C. Wells e577441c85 Use join for CSRF origin config? 2022-05-23 15:59:57 -07:00
Christopher C. Wells b46ee34b12 Correct CSRF trusted origin config 2022-05-23 15:59:57 -07:00
Christopher C. Wells 369c4d9bc6 Create basic render.com configuration 2022-05-23 15:59:57 -07:00
Christopher C. Wells 379f9b1e86 Move tag widget customizations to form classes
This allows the custom tag widget to function normally in Baby Buddy's
frontend without breaking behaviors in the Django admin forms. The previous
setup would prevent the standard tag editor behavior from working in the
Django admin and give incorrect help text.
2022-04-16 14:59:28 -07:00
Christopher Charbonneau Wells 4916a810e0 Don't require wet or solid when generating fake data 2022-04-15 20:56:34 -07:00
Rubens e7702262df Add Catalan translations 2022-04-10 16:01:02 -07:00
bugbountyguy f94b533568 Move pumping to activities 2022-04-04 20:39:39 -07:00
bugbountyguy 4ceb6095d3 Rename breastpump to pumping 2022-04-04 20:39:39 -07:00
bugbountyguy b9e98b16a2 Fix lint errors 2022-04-04 20:39:39 -07:00
bugbountyguy 5c45b037f0 Finish up adding the brestpump measurement 2022-04-04 20:39:39 -07:00
bugbountyguy 3474185b00 Add icon 2022-04-04 20:39:39 -07:00
Christopher C. Wells 5159e97aff Add tags to fake data 2022-04-03 18:13:25 -07:00
Paul Konstantin Gerke 7d8ead594c Add api tests 2022-03-06 19:47:47 +01:00
Paul Konstantin Gerke 7af66176aa Black 2022-03-05 13:09:08 +01:00
Paul Konstantin Gerke 0335b8ca89 Merge remote-tracking branch 'origin/master' into tags 2022-03-05 13:08:39 +01:00
Paul Konstantin Gerke e5d014a60f Remove taggit _app_ again. Custom models are enough. 2022-03-05 13:06:38 +01:00
Paul Konstantin Gerke 7bbaee1f80 Fix verbose_name for fields, update migrations 2022-03-05 13:01:28 +01:00
Paul Konstantin Gerke b7e15e6da9 Fix typo, sourced different "complementary color" code 2022-03-05 12:24:53 +01:00
Christopher C. Wells f711cc23bd Create v1.10.2 release 2022-03-03 21:23:14 -08:00
Paul Konstantin Gerke 23e7c84547 Merge remote-tracking branch 'origin/master' into tags 2022-03-02 22:13:41 +01:00
Paul Konstantin Gerke cfdb9e1ade Made widget translateable, added German translation 2022-02-27 19:41:27 +01:00
Paul Konstantin Gerke f1aa7c151c Replaced alert with bootstrap-modal 2022-02-27 02:19:19 +01:00
Christopher C. Wells c19d6cc6b9 Complete support for subdirectory hosting
Fixes #186
2022-02-26 15:55:16 -08:00