Christopher C. Wells
e4832ccff8
Use lazy translation in form definition
...
Fixes #715
2023-10-09 06:40:51 -07:00
Michael Salaverry
8d8006ab71
feat: Weight percentiles report #512 ( #708 )
...
* feat: weight percentiles report
https://github.com/babybuddy/babybuddy/issues/512
* fix: formatting on weight percentile graph to extend out only 1 day more than the last weigh in date
https://github.com/babybuddy/babybuddy/pull/708#discussion_r1332335789
* feat: pre-commit lint with black hook
tested and stops the python commit if formatting is bad. then it runs black and fixes the formatting, resulting in a new git change to add/commit again
---------
Co-authored-by: Christopher Charbonneau Wells <10456740+cdubz@users.noreply.github.com>
2023-09-27 06:24:53 -07:00
Christopher C. Wells
b0de44b5d5
Correct missed BS5 class name updates
...
Fixes #677
2023-07-13 10:27:32 -07:00
Christopher C. Wells
ad5f81d84a
Adopt new Bootstrap 5 dark mode support
2023-07-09 09:26:13 -07:00
John Merlie
d227a88403
fix for /pull/665#discussion_r1250140997
2023-07-09 08:48:54 -07:00
John Merlie
b5ee54872a
fix for /pull/665#discussion_r1250131684
2023-07-09 08:48:54 -07:00
John Merlie
3826772b1c
updated pumping form for start/end/duration
2023-07-09 08:48:54 -07:00
John Merlie
77622c4924
updated core pump test case for start/end/duration
2023-07-09 08:48:54 -07:00
John Merlie
e56ff48128
added migration for converting pumping schema
2023-07-09 08:48:54 -07:00
John Merlie
dbbb0d325c
add pumping to quick timer disposition
2023-07-09 08:48:54 -07:00
John Merlie
54c305fc46
update field references in pumping_list
2023-07-09 08:48:54 -07:00
John Merlie
b25d27c40e
modify pumping admin to reflect start/end/duration
2023-07-09 08:48:54 -07:00
John Merlie
1391819548
modify pumping form to add start/end/duration
2023-07-09 08:48:54 -07:00
John Merlie
3430f2b34f
update pumping fields based on feeding
2023-07-09 08:48:54 -07:00
abdessamad-el
347ef41a0e
Include temperature measurements in timeline
2023-06-15 19:08:29 -07:00
Christopher C. Wells
8abb6d749e
Enforce min and max nap start parameters
...
Fixes #644
2023-06-04 17:39:08 -07:00
abdessamad-el
38143f4065
display 0 minutes ago on dashboard when event is less than 1 minute old
2023-05-30 07:50:21 -07:00
Paul Konstantin Gerke
c593fa94c1
Fix dependency for hand-written migration 0028
2023-05-11 16:04:32 -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
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 C. Wells
2007f998cf
Default datetime input to seconds granularity
2023-04-15 12:58:41 -07:00
Christopher C. Wells
5875ef9658
Remove support for 24H time format override
2023-03-25 14:29:35 -07:00
Christopher C. Wells
716d121575
Remove outdated tests
2023-03-25 13:57:01 -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
a2e203a3f8
Use date only input for dates without time
2023-03-25 13:16:56 -07:00
Christopher C. Wells
c1e9f28215
Update tests for new datetime handling
2023-03-25 13:16:54 -07:00
Christopher C. Wells
353533a6ef
Remove custom frontend datetime handlers
2023-03-25 13:15:20 -07:00
Christopher C. Wells
4e98d18448
Update child radio for BS5
2023-03-25 13:12:15 -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
a5504520d1
Explicitly reset format caches during testing
...
This seems to be necessary primarily for consistency when running tests in
parallel.
Fixes #483
2023-02-11 20:21:09 -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
Christopher C. Wells
90e16431b8
Format code
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
Brian O'Connor
d9201d2c7e
Change PumpingFilter to be TagFilter
2023-01-29 14:09:35 -08:00
Brian O'Connor
6c14590579
Add tags to the list view and the Api serializer
2023-01-29 14:09:35 -08:00
Brian O'Connor
945e30adb9
Add tags to Pumping model
2023-01-29 14:09:35 -08:00
jcgoette
94f81e3754
test: Remove out of date comment
2022-11-12 04:59:23 -08:00
Christopher C. Wells
1a107fc31b
Update dependencies and migrations
2022-10-11 19:22:09 -07:00
jmunoz94
5b171ff66f
Add a test for deltasince
2022-10-11 19:13:22 -07:00
jmunoz94
fff19339f4
Add deltasince function as an alternative to timesince (to get a timedelta instead of a str)
2022-10-11 19:13:22 -07:00
earthcomfy
62bde09b3d
fix: Hide recently used tags when tag list is empty
2022-10-04 17:03:44 -07:00
earthcomfy
364676aeac
fix: Hide delete inactive timers button if there are no entries
2022-10-04 16:47:17 -07:00
Jean-Louis Jouannic
4455e74262
💄 improves dropdown toggle look and feel
2022-08-03 10:45:22 -07:00
Jean-Louis Jouannic
0cd989ff96
🚸 adds a child quick switch in breadcrumb
...
This quick switch is available in dashboard, timeline and reports breadcrumbs
and allows to quickly switch to the "same" page but for another child
2022-08-03 10:45:22 -07:00
Jean-Louis Jouannic
a606f86033
🚸 improves quick timer user experience
2022-07-24 12:32:07 -07:00