Commit Graph

1168 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells 26fa988fe6 Add Gitpod config for CSRF origin
Supports CSRF with Django 4+ (Baby Buddy v1.10.0+).

See #393.
2022-02-20 22:27:19 +00:00
Christopher C. Wells 741548edf2 Create v1.10.0 release 2022-02-16 08:46:14 -08:00
Christopher C. Wells 2037035e6d Add the little code style badge guy 2022-02-09 16:05:39 -08:00
Christopher C. Wells ae7f9d5043 Use black for linting and formatting 2022-02-09 16:03:31 -08:00
Christopher C. Wells cd946280cb Format code with black 2022-02-09 16:00:30 -08:00
Christopher C. Wells bf9bd4dd8a Add black to dev packages; update dependencies 2022-02-09 15:44:31 -08:00
Benjamin Häublein f22bfcfedd hide feeding_day card when no amount is stored with feedings 2022-02-07 17:07:48 -08:00
ubu 843160276f Address comments on PR babybuddy/babybuddy#384 2022-02-05 17:02:32 -08:00
alzyee 264bfb970b Don't display total in legend
total is always 0 in the graph
2022-02-05 17:02:32 -08:00
alzyee 37b3205cf8 fix lint 2022-02-05 17:02:32 -08:00
alzyee 8c34075696 breakout feeding types 2022-02-05 17:02:32 -08:00
Christopher C. Wells acde3156c6 Add images to getting started user guide 2022-01-30 13:59:21 -08:00
Christopher C. Wells 0bd68c2243 Add Managing Users to guide 2022-01-30 13:42:04 -08:00
Christopher C. Wells c181b99ed9 Update timer edit/delete user guide videos 2022-01-30 13:30:03 -08:00
adamaze 8ac6130291 Rearrange dashboard cards to set timer card first 2022-01-27 12:36:41 -08:00
Christopher C. Wells fcf09c284c Update user guide videos; reorganize content 2022-01-26 16:03:16 -08:00
Paul Konstantin Gerke 8275d18d6c Fix linting 2022-01-17 07:27:07 -08:00
Paul Konstantin Gerke d34814260f Alternative implementation for item ordering 2022-01-17 07:27:07 -08:00
Paul Konstantin Gerke 847125b1c6 Add literal ordering of timeline object types
Makes it so that timline items registered at the same moment are
always ordered "start->end", not "end->start".

Signed-off-by: Paul Konstantin Gerke <paulkgerke@craftware.info>
2022-01-17 07:27:07 -08:00
Christopher C. Wells bb1e854ab3 Add Pillow (imagekit dependency) 2022-01-16 15:49:09 -08:00
Christopher C. Wells 226f67f02c Update Django to 4.x 2022-01-16 15:49:09 -08:00
Christopher C. Wells 81f0fb94e7 Replace easy-thumbnails with imagekit
Closes #373
2022-01-16 15:49:09 -08:00
Salvo Musumeci 8efce23ac3 Updated Italian translation
File has been generated from poeditor.com after updates of definition
2022-01-15 12:52:40 -08:00
Peter Ott 9e71911757 add HA Addon link 2022-01-15 12:46:00 -08:00
Christopher C. Wells e0df2751d2 Create docs user guide (WIP) 2022-01-15 06:46:37 -08:00
Christopher C. Wells 5964eed601 Add a gulp command to generate OpenAPI schema 2022-01-12 16:18:10 -08:00
Christopher C. Wells 4ce498a14f Update OpenAPI schema 2022-01-12 16:18:10 -08:00
Paul Konstantin Gerke 5e1248e798 Fix tests to test new behavior
Signed-off-by: Paul Konstantin Gerke <paulkgerke@craftware.info>
2022-01-12 16:18:10 -08:00
Paul Konstantin Gerke c1a0abd1f7 Way simpler implementation of the new endpoints
Signed-off-by: Paul Konstantin Gerke <paulkgerke@craftware.info>
2022-01-12 16:18:10 -08:00
Paul Konstantin Gerke 53d4759add Fix linter messages
Signed-off-by: Paul Konstantin Gerke <paulkgerke@craftware.info>
2022-01-12 16:18:10 -08:00
Paul Konstantin Gerke 63d0b1373a Reworked POST to PATCH endpoints
Signed-off-by: Paul Konstantin Gerke <paulkgerke@craftware.info>
2022-01-12 16:18:10 -08:00
Paul Konstantin Gerke cf58ae6aba Add timer restart and stop triggers
Restarting and stopping timers from the API was not allowed. This
commit adds api/timer/{id}/[stop|restart]/ triggers that can be
posted to through the REST-API to start/stop timers.

Signed-off-by: Paul Konstantin Gerke <paulkgerke@craftware.info>
2022-01-12 16:18:10 -08:00
Paul K. Gerke 319ae220fe
Fix German translation mistake (#368)
* Fix German translation error

"Anzahl" refers to "Count" in German. This always confused me a bit when using the app. "Menge" better refers to "unspecified amount of something". In language use, it sounds weird a bit though, but captures the sentiment of the app the best, which does not specify what unit is used in the "diaper change amount". More typical language use would dictate to use something like "Gewicht" (weight) to name what is being measured.

* Compile updated messages
2022-01-11 13:08:43 -08:00
Louis 5f9fe99e7b
fix(sleep-reports): #286 Init all days in the period to remove gaps (#341)
* fix(sleep-reports): #286 Init all days in the period to remove gaps

* Only account for dates (not times) in sleep graph dates init

Co-authored-by: Christopher C. Wells <git@chris-wells.net>
2021-12-31 10:17:21 -05:00
Christopher C. Wells f174971ee7 Update static assets 2021-12-31 09:19:53 -05:00
Yulian Kuncheff 648d46dc94 Adjust migrations 2021-12-31 09:19:53 -05:00
Yulian Kuncheff 0af4521005 Linting and faker changes 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 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
Christopher C. Wells 6cc9890f5a Use named patterns for settings URLs
This should improve support for subdirectory hosted installations.
2021-12-24 14:28:24 -05:00
Christopher C. Wells c8ed066806 Add documentation site commands to Gulp config 2021-12-22 11:32:53 -05:00
Christopher C. Wells c01dbee4c7 Add convenience function in Gulp for simple pipenv tasks 2021-12-22 11:29:32 -05:00
Christopher C. Wells 5811755f7b Customize docs site 2021-12-22 11:10:20 -05:00
Christopher C. Wells cbc2fed2fb Add initial mkdocs config 2021-12-21 16:45:50 -05:00
Christopher C. Wells db703c07ec Merge remote-tracking branch 'origin/master' 2021-12-21 15:58:42 -05:00
MagiX13 498eddf5b6 Serve login pages using the SCRIPT_NAME if available 2021-12-21 15:51:20 -05:00