Commit Graph

505 Commits

Author SHA1 Message Date
John Merlie 4318593632 add pumping item to nav dropdown 2023-06-21 05:56:01 -07:00
Christopher C. Wells 6d1eb3b4ec Create v2.0.0-beta3 pre-release 2023-06-14 20:25:52 -07:00
Christopher C. Wells 4263e4809b Create v2.0.0-beta2 pre-release 2023-06-04 17:46:57 -07:00
Christopher C. Wells 8abb6d749e Enforce min and max nap start parameters
Fixes #644
2023-06-04 17:39:08 -07:00
Christopher Charbonneau Wells 31a0aa4741
513: Make nap user toggleable (#641)
* Add `nap` field, remove `napping` field.

* Default `nap` property to NULL

* Update existing tests

* Format the code!!

* Allow `Sleep.nap` to be blank

* Migrate settings from `NAP_START_MIN` AND `NAP_START_MAX`

* Remove `active` class from boolean fields

* Correct test method name and user config

* Add forms test

* Use settings for Sleep nap model tests
2023-05-07 15:10:50 -07:00
Christopher C. Wells a669decc88 Create v2.0.0-beta1 pre-release 2023-05-03 07:05:38 -07:00
Christopher C. Wells 94619b6b5b Merge remote-tracking branch 'origin/master' into v2 2023-05-02 19:56:06 -07:00
Christopher C. Wells 6de285df91 Create v1.16.0 release 2023-05-02 19:29:42 -07:00
Christopher C. Wells 5ec926ac2b Update translations from POEditor 2023-05-02 18:54:19 -07:00
Christopher C. Wells 1f3e1ca6db Add tests for site settings 2023-05-02 17:33:40 -07:00
Christopher C. Wells 0a0582217b Override site settings form 2023-05-02 17:33:31 -07:00
Christopher C. Wells 472dba13f8 Update missed BS4 classes for BS5 2023-04-15 14:03:18 -07:00
Christopher C. Wells 694bb3f811 Use django-dbsettings package for site settings 2023-04-15 13:59:44 -07:00
Christopher Charbonneau Wells 99dd3d3956
Format!! 2023-03-25 14:39:45 -07:00
Christopher C. Wells 5875ef9658 Remove support for 24H time format override 2023-03-25 14:29:35 -07:00
Christopher C. Wells 4d1d915478 Adjust for changes from main rebase 2023-03-25 13:54:25 -07:00
Christopher C. Wells 613f53a4da Add mechanism for site wide settings
The two settings properties introduced here are not yet used.
2023-03-25 13:24:56 -07:00
Christopher C. Wells 7b7f17fde6 Remove "inactive" timer concept -- delete on complete
Closes #109
2023-03-25 13:23:05 -07:00
Christopher C. Wells 353533a6ef Remove custom frontend datetime handlers 2023-03-25 13:15:20 -07:00
Christopher C. Wells 44418b2906 Remove issue workaround from Tempus Dominus 4 2023-03-25 13:12:13 -07:00
Christopher C. Wells 3e60f61031 Update node dependencies 2023-03-25 13:10:55 -07:00
Christopher C. Wells f155caa268 Remove deprecated `TIME_ZONE` environment variable configuration
Closes #301
2023-03-25 12:59:32 -07:00
Christopher C. Wells 34fe811a54 Upgrade to Bootstrap 5 (#479)
* Update Tempus Dominus to v6 (WIP)

* Re-add calendar input prepend container

* Normalize setting of default date values

* Migrate to Bootstrap 5 (WIP)

* Remove deprecated card columns implementation from dashboard

* Update BS5 data props

* Use Masonry layout for dashboard cards (for now)

This doesn't seem particularly ideal so may need a more involved refactor

* Update styles for Bootstrap 5 deprecations

* Remove resolutions crap

* Refactor deprecated BS4 classes

* Update list table styles

* Refactor deprecated jumbotron class usages

* Update close button structure

* Add `v2` branch to standard CI workflows
2023-03-25 12:57:12 -07:00
Christopher C. Wells e30af09d7c Create v1.15.1 release 2023-03-18 11:02:40 -07:00
Christopher C. Wells 0b64ad0a4d Create v1.15.0 release 2023-02-20 09:46:42 -08:00
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