Commit Graph

452 Commits

Author SHA1 Message Date
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