Commit Graph

506 Commits

Author SHA1 Message Date
zjean 2c10fc03a5
Exclude /api from PROXY forward auth (#790)
* Update middleware.py

* Fix gulp

* Call super()

* Fix comment formatting

* Super duper

---------

Co-authored-by: Christopher Charbonneau Wells <10456740+cdubz@users.noreply.github.com>
2024-04-13 08:19:17 -07:00
Christopher C. Wells 8b4ac2487f Add Hebrew translations 2024-03-28 05:50:41 -07:00
Christopher Charbonneau Wells a9480950d2
Add Ukrainian translations (#786) 2024-03-28 05:03:11 -07:00
Andrew Hosgood 197d663f92 Build static assets 2024-03-28 04:57:51 -07:00
WeslleyNasRocha a68deabdf0 Add Brazilian Portuguese translations 2024-03-13 20:27:00 -07:00
billybonks 25d3c9f58c deploy: rebuild static files 2024-03-06 05:33:19 -08:00
billybonks dd4e565008 feat: improve styling of pill groups
1. add default spacing
2. increase size to use all space on mobile
2024-02-27 20:11:41 -08:00
billybonks 66ccc1c6c8 refactor: move javascript to babybuddy.js
having it directly in the page html is not ideal, now its properly
isolated.

Also use the new classname
2024-02-27 20:11:41 -08:00
billybonks b7743674d8 feat: Improve advanced fields styling
on mobile it text align center
Increased the font size so its easier to click
Added translations
2024-02-27 20:11:41 -08:00
billybonks 232cde19ee feat: use field set on some forms
Create choices template to have all multi choice experience be the same
as radio select choices.

Moved notes and tags into advanced template in order to reduce the
amount of fields in a form for users. Given that these two fields are
usually a catch all for anything that is not in the core data model. it
is not garunteed that users will use them.

If a user does decide to use the fields we will store that selection in
localstorage so that they dont have to open it every time.

I put the javascript into the page section, as i seem to have had issues
with javascript blocks overriding each other.
2024-02-27 20:11:41 -08:00
billybonks 60b113f197 feat: create fieldset implementation
In order to have more control and flexiability on how elements are
rendered create field set implementation.

every field set gets rendered in order, and uses the template specified.

This should probably be built into the metaclass of the form but i have
no idea how to do that.
2024-02-27 20:11:41 -08:00
billybonks f28df6ecf3 lint: lint all js and sjon files with prettier 2024-02-07 19:46:51 -08:00
Sebastien Stettler 682090f594
feat: add links for bottle feeding (#764)
Co-authored-by: Christopher C. Wells <git-2022@chris-wells.net>
2024-02-06 20:17:54 -08:00
Sebastien Stettler f30479db42
ci: add djlint to ci (#763)
* ci: add djlint to ci

* lint: all django templates
2024-02-06 05:35:36 -08:00
Christopher C. Wells ae76ef3606 Add LOGGING override option for production troubleshooting 2024-02-05 21:02:44 -08:00
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 98f46fe468 Create v2.2.1 release 2024-01-27 19:43:07 -08:00
Christopher C. Wells 17635a71a1 Update node dependencies and static assets 2024-01-27 19:41:10 -08:00
Christopher C. Wells 267780d113 Update outdated Django docs references 2024-01-27 09:05:24 -08:00
Christopher C. Wells 27d4a9e98d Create v2.2.0 release 2024-01-20 06:35:12 -08:00
Christopher Charbonneau Wells 49d8f2b340
Update to Django 5.x (#746) 2024-01-13 20:22:08 -08:00
mmomjian 9b603a9e84
Add DB options support (#745)
* Update base.py

allow postgres SSL

* Update base.py

* Update database.md

documentation

* Update database.md

* Update database.md

* Update database.md

Docs specified that postgres was the default variable, but settings/base.py:100-115 uses SQLite as default.

* Adjust documentation language

---------

Co-authored-by: Christopher Charbonneau Wells <10456740+cdubz@users.noreply.github.com>
2024-01-06 03:39:18 -08:00
Xavier Mehrenberger 519045d5e7 Improve fake data for height percentile reports
As requested by @cdubz on https://github.com/babybuddy/babybuddy/pull/741
2023-12-25 06:48:33 -08:00
Christopher C. Wells ce4518014d Remove hardcorded `master` branch reference 2023-10-21 14:02:07 -07:00
Christopher C. Wells 3b9d320a80 Remove unused imports 2023-10-21 14:02:07 -07:00
Christopher C. Wells 9fc666dd2e Add support and testing for Python 3.12 2023-10-20 20:56:28 -07:00
Christopher C. Wells 9baec8d906 Increase carousel slider contrast 2023-10-20 19:24:23 -07:00
Christopher C. Wells ed18fc865e Create v2.1.2 release 2023-10-14 06:59:11 -07:00
Christopher Charbonneau Wells 6db4d18e0a Create v2.1.0 release 2023-10-08 22:41:04 +00:00
Christopher C. Wells f986ff7917 Create v2.0.4 release 2023-07-29 05:39:36 -07:00
Christopher C. Wells 4d37e69ad4 Create v2.0.3 release 2023-07-25 17:42:23 -07:00
Christopher C. Wells 4df816984d Move cache table creation to a migration 2023-07-25 17:40:01 -07:00
Christopher C. Wells fc383dff18 Create v2.0.2 release 2023-07-17 06:53:42 -07:00
Christopher C. Wells 0c3866794b Create v2.0.1 release 2023-07-13 10:36:39 -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 d85cd12ca9 Create v2.0.0 release 2023-07-09 09:45:05 -07:00
Christopher C. Wells ad5f81d84a Adopt new Bootstrap 5 dark mode support 2023-07-09 09:26:13 -07:00
John Merlie 9f3f4242e8 update to differentiate test cases for pumping 2023-07-09 08:48:54 -07:00
John Merlie aac2400f85 modified pumping test data for start/end/duration 2023-07-09 08:48:54 -07:00
John Merlie 7918b9aca8 updated pumping fake data for start/end/duration 2023-07-09 08:48:54 -07:00
John Merlie 5c5fa318c4 migration added from prior changes by gulp-migrate 2023-07-09 08:48:54 -07:00
Paul Konstantin Gerke 1ef31cccf7 Add documentation to UserAddDevice render function 2023-07-05 14:32:26 -07:00
Paul Konstantin Gerke 894a4c540a Read ENABLE_HOME_ASSISTANT_SUPPORT from environment 2023-07-05 14:32:26 -07:00
Paul Konstantin Gerke c1eb9da7f3 Black 2023-07-05 14:32:26 -07:00
Paul Konstantin Gerke c716334f02 Add tests for middleware 2023-07-05 14:32:26 -07:00
Paul Konstantin Gerke 6f05fb3835 Renamed the settings-option to ENABLE_HOME_ASSISTANT_SUPPORT 2023-07-05 14:32:26 -07:00
Paul Konstantin Gerke b88d0cf897 Docstring for middleware, refactored middleware a bit 2023-07-05 14:32:26 -07:00
Paul Konstantin Gerke 643c9bec13 Black 2023-07-05 14:32:26 -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