Commit Graph

63 Commits

Author SHA1 Message Date
Xavier Mehrenberger 6c4f5b23f0 feat: Height percentiles report (#719) 2023-12-25 06:48:33 -08:00
Christopher C. Wells 39c1e98d8c Add birth time support to Child model 2023-10-21 14:02:07 -07:00
Christopher C. Wells b54499d6f2 Add image field to note 2023-10-20 17:06:59 -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
John Merlie b5ee54872a fix for /pull/665#discussion_r1250131684 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
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 4d1d915478 Adjust for changes from main rebase 2023-03-25 13:54:25 -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 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 1f5ec91d54 Implement formatting updates 2023-02-07 13:16:44 -08:00
Brian O'Connor 945e30adb9 Add tags to Pumping model 2023-01-29 14:09:35 -08:00
Christopher C. Wells 1a107fc31b Update dependencies and migrations 2022-10-11 19:22:09 -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
jcgoette 5ba95b8cae migrate 2022-04-15 20:17:26 -07:00
bugbountyguy 0d89574a65 Fix lint issues 2022-04-04 20:39:39 -07:00
bugbountyguy b21c193488 Add pumping migration 2022-04-04 20:39:39 -07:00
bugbountyguy 254e796020 Add migration 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
Paul Konstantin Gerke ce21f39ec7 Add tags to most things except: Timers and Children 2022-03-08 08:35:27 -08:00
Paul Konstantin Gerke b431c27835 Add color widget to the admin-UI 2022-03-08 12:55:50 +01:00
Paul Konstantin Gerke b27cf6c4b8 Black 2022-03-05 13:01:59 +01:00
Paul Konstantin Gerke 7bbaee1f80 Fix verbose_name for fields, update migrations 2022-03-05 13:01:28 +01:00
Paul Konstantin Gerke db140cff98 Black 2022-03-02 22:31:35 +01:00
Paul Konstantin Gerke 4f325ba07b Remove BabyBuddy prefix from Tags-model 2022-03-02 21:53:51 +01:00
Paul Konstantin Gerke c665ebb181 Applied black 2022-02-27 20:36:31 +01:00
Paul Konstantin Gerke 5046b754e5 Add api-serializer 2022-02-15 22:24:13 +01:00
Paul Konstantin Gerke 56ebbd3181 Fix storing of tags 2022-02-15 15:46:07 +01:00
Paul Konstantin Gerke bf49cc92ad Initial (bugged) work on tag editor 2022-02-15 10:13:35 +01:00
Christopher C. Wells cd946280cb Format code with black 2022-02-09 16:00:30 -08:00
Yulian Kuncheff 648d46dc94 Adjust migrations 2021-12-31 09:19:53 -05:00
Yulian Kuncheff 9b604627a1 Add Height, Head Circumference, and BMI, corresponding reports, and move to separate menu with Weight and Temperature. 2021-12-31 09:19:53 -05:00
Marcelino Alberdi Pereira 89ed408acc
Make last name optional (#361) 2021-12-29 16:41:39 -05:00
Christopher C. Wells 09714f5810 Update Python dependencies 2021-11-13 06:07:08 -08:00
Christopher C. Wells c215ad9d0f Ensure overridden Sleep.save() is run on migration 2021-10-30 10:47:44 -07:00
codisart c33ace2bf9 feat(sleep): #323 Add napping field to the sleep model 2021-10-30 07:16:37 -07:00
Christopher C. Wells 71da84a47b Add missed migration from #206 2021-06-07 20:26:15 -07:00
Christopher C. Wells dadb84ec6a Add migrations 2021-04-15 05:45:25 -07:00
Christopher C. Wells 3f0694dc9d Make datetime editable for Note model
Closes #151
2020-08-12 19:47:58 -07:00
Christopher C. Wells 48a0093700 Add general notes to most models 2020-02-16 15:09:57 -08:00
Christopher C. Wells c80ec252bc Add optional Child to Timer model 2020-01-31 09:09:01 -08:00
Christopher C. Wells a8abfb725f Add generic "Amount" field to Diaper Change model (#77) 2020-01-26 13:22:20 -08:00
Christopher C. Wells f270af8cd4 Add "Fortified brest milk" feeding type option (#71). 2019-06-07 07:24:03 -07:00
Christopher C. Wells 4397d4a406 Add temperature tracking. 2019-05-16 21:33:26 -07:00
Christopher C. Wells 0261f39864 Add "both breasts" option for Feeding method (#52). 2019-05-02 10:19:56 -07:00
Christopher C. Wells 383fa0b74f Add no-op migrations related to translation changes. 2019-04-16 21:42:31 -07:00
Christopher Charbonneau Wells 5dc372281b Remove all unicode_literals imports. 2018-02-17 17:09:40 -05:00