Commit Graph

119 Commits

Author SHA1 Message Date
billybonksl 3c54636790 feat: create a trimmed form just for bottle feeding.
While Feeding for is great, i think there is room to create optimised
forms for breast feeding and bottle feeding.

This is the first one a trimmed down form for bottle feeding
specifically
2024-01-28 06:03:41 -08:00
Christopher C. Wells ad5f81d84a Adopt new Bootstrap 5 dark mode support 2023-07-09 09:26:13 -07:00
Paul Konstantin Gerke a37258db1a Expose ingress_session in qrcode to allow logins to babybuddy exposed via homeassistant ingress 2023-07-05 14:32:26 -07:00
Paul Konstantin Gerke bb871257ff Expose session-header in case the home assistant ingress-server is used 2023-07-05 14:32:26 -07:00
John Merlie 4318593632 add pumping item to nav dropdown 2023-06-21 05:56:01 -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 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 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 353533a6ef Remove custom frontend datetime handlers 2023-03-25 13:15:20 -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 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 a40b3c6f93 Add user types tests 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
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 f559f553a0 Rework titles/texts on the add-device page 2022-10-19 21:30:09 +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 878ff64fad Add tests, add username to api/profile endpoint 2022-08-30 22:49:54 +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 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 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
Jean-Louis Jouannic a606f86033 🚸 improves quick timer user experience 2022-07-24 12:32:07 -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 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
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 5c45b037f0 Finish up adding the brestpump measurement 2022-04-04 20:39:39 -07:00
Paul Konstantin Gerke 23e7c84547 Merge remote-tracking branch 'origin/master' into tags 2022-03-02 22:13:41 +01:00
Christopher C. Wells c2afa80845 Add return link to error base template 2022-02-25 20:28:12 -08:00
Christopher C. Wells ff45ab46a3 Set base design for error response templates 2022-02-25 20:28:12 -08:00
Christopher C. Wells 94d1f99344 Create base error template 2022-02-25 20:28:12 -08:00
Christopher C. Wells b1ee9fe043 Add template for 403 CSRF Bad Origin failure 2022-02-25 20:28:12 -08:00
Paul Konstantin Gerke 747b398bd5 Create new javascript file for tags editor 2022-02-22 19:40:27 +01:00
Christopher C. Wells 226f67f02c Update Django to 4.x 2022-01-16 15:49:09 -08: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
Christopher Charbonneau Wells 8f6d0295f3
Improve PWA experience (#359) 2021-12-25 14:31:58 -05:00
Christopher C. Wells c69fc603af Add logo to login page 2021-12-24 14:54:03 -05:00
Christopher C. Wells e62f4a6426 Use `sticky-top` instead of `fixed-top` for navbar 2021-12-24 14:48:14 -05:00
Christopher C. Wells 49919c2cbb Decrease size of login page logo 2021-12-24 14:42:58 -05:00
MagiX13 17e35e6469 Adjust paths to / to be dynamic
This is useful if you want to run babybuddy in a subdirectory
2021-12-21 15:51:20 -05:00
Christopher C. Wells 97fa8d7000 Support POST only for logout 2021-12-18 17:42:53 -05:00
Christopher C. Wells 32bfede6e2 Re-add non-svg favicon metadata files
Fixes #357
2021-12-18 17:11:55 -05:00
Christopher C. Wells 05c5b68d28 Remove link blank targets (let user decide) 2021-09-25 14:19:53 -07:00
Christopher Charbonneau Wells 4cf523dff0
Improve logo/favicon styling (#312)
* Update brand logo color (WIP)

Need more SVG hackery for proper transparency...

* Add SVG favicon (WIP)

👻

* Create transparent logo variant; use for brand icon

* Update primary color for all logo assets

* Add small white stroke to favicon

* Switch to SVG favicon
2021-09-25 14:16:48 -07:00
Christopher C. Wells 4b95ad48dc Adjust style of datetime picker trigger 2021-09-03 20:42:37 -07:00