Commit Graph

1446 Commits

Author SHA1 Message Date
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
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 542e0dacb3 Ignore any unknown settings files 2021-12-20 09:41:32 -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 709847663c Lock Django to 3.x
Some Django 4.x deprecations/removals may affect Baby Buddy. And the Easy
Thumbnail dependency does not support Django 4.x yet.
2021-12-18 16:57:10 -05:00
Christopher C. Wells 457598e3da Translate untranslated strings
Fixes #352
2021-12-18 13:45:05 -05:00
Christopher C. Wells ee0805c824 Move stylelint config to a file 2021-12-18 13:04:14 -05:00
MagiX13 34038652b8 Convert envir variables that are supposed to be boolean to boolean
dotenv does not take allow for boolean environment variables and thus they have to be converted before
2021-12-15 06:26:50 -05:00
Christopher C. Wells 9722d540ec Create v1.9.3 release 2021-12-14 09:50:27 -05:00
Christopher C. Wells cddf0a8338 Update Python dependencies 2021-12-14 09:45:48 -05:00
Christopher C. Wells 73be17240e Update node dependencies 2021-12-14 09:37:47 -05:00
Christopher C. Wells 9585443218 Revert "Treat `en` as `en-US` for date formatting"
This reverts commit c06ce032. Proper handling for this language setting is
added in commit 59372a01.
2021-12-14 09:25:21 -05:00
Christopher C. Wells 59372a01d2 Add migration for `en` to `en-US` language setting
Fixes #337
2021-12-13 16:34:36 -05:00
Christopher C. Wells c06ce0325b Treat `en` as `en-US` for date formatting
Fixes #337
2021-12-13 16:28:53 -05:00
Christopher Charbonneau Wells 2ad48940c1
Merge pull request #335 from Amith211/333-en-gb-datetimeformat
Add en-gb datetime overrides
2021-12-13 16:19:45 -05:00
Christopher C. Wells b302cc853f Create v1.9.2 release 2021-12-04 06:44:41 -05:00
Christopher C. Wells e13f00e024 Force AM/PM for en-GB 12H setting combination 2021-11-28 15:51:51 -05:00
Christopher C. Wells f0a7f53752 Merge remote-tracking branch 'origin/master' into 333-en-gb-datetimeformat 2021-11-28 14:44:36 -05:00
Christopher C. Wells d532c57142 Update Heroku runtime 2021-11-28 14:34:15 -05:00
Christopher C. Wells 4920f4341b Use request language code when available (#346)
Enables translation on the login page.
2021-11-28 14:18:00 -05:00
Christopher C. Wells 0250faec6e Ensure "settings saved" is translated (#346) 2021-11-28 14:05:56 -05:00
Christopher C. Wells c28620b3d8 Activate and deactivate user language in middleware
Fixes #346
2021-11-28 14:02:23 -05:00