Commit Graph

1684 Commits

Author SHA1 Message Date
Christopher C. Wells c0dd79ef19 Remove sourcemap references when collecting static files 2022-02-21 10:31:38 -08:00
Christopher C. Wells c540d36495 Add Chinese (simplified) translations 2022-02-21 10:31:38 -08:00
Christopher C. Wells 579ea327e7 Update Turkish translations from POEditor 2022-02-21 09:07:08 -08:00
Christopher C. Wells 18efa9cc82 Compile latest translations for all locales 2022-02-21 09:03:57 -08:00
Gitoffomalawn 427887144f
Add missing translations to Dutch (#397) 2022-02-21 08:47:44 -08:00
Christopher C. Wells 107c0870bb Tweak Heroku documentation 2022-02-21 08:32:19 -08:00
Christopher C. Wells fb15e31064 Add database reset to review environment scrips 2022-02-21 08:32:19 -08:00
Christopher C. Wells cf21441576 Use Heroku generator for DISABLE_COLLECTSTATIC
Heroku's attempts to run collectstatic automatically but Baby Buddy never
wants that. Instead of offering a user-editable environment variable this
change uses Heroku's secret generator to set the variable so the user cannot
change it during deploy.
2022-02-21 08:32:19 -08:00
Christopher C. Wells 12ba4736e6 Add new `format` gulp command to docs 2022-02-20 20:46:55 -08:00
Christopher Charbonneau Wells 002f86aebd Fix code formatting issue 2022-02-20 22:32:54 +00:00
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
Paul Konstantin Gerke f47d3c6b76 Implement last_used 2022-02-20 12:40:06 +01:00
Paul Konstantin Gerke 4fd55124f4 Basically everything works :) 2022-02-20 12:15:04 +01:00
Paul Konstantin Gerke c397836e68 Add dynamic tag creation 2022-02-18 00:22:01 +01:00
Christopher C. Wells 741548edf2 Create v1.10.0 release 2022-02-16 08:46:14 -08: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 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