Commit Graph

986 Commits

Author SHA1 Message Date
Christopher C. Wells 8a9dd9c04d Run non-isolated tests in parallel 2020-08-12 20:00:03 -07:00
Christopher C. Wells 426378c3e1 Disable system checks for `gulp reset` command 2020-08-12 19:58:53 -07:00
Christopher C. Wells 3f0694dc9d Make datetime editable for Note model
Closes #151
2020-08-12 19:47:58 -07:00
Christopher C. Wells 7a2eab0173 Ensure `data` directory exists
Closes #156
2020-08-12 19:33:35 -07:00
Christopher C. Wells 634b1dafd1 Add Finnish to list of translations in README 2020-07-29 19:51:32 -07:00
Christopher C. Wells a99efe587b Add Moment to locale contributing guidelines 2020-07-29 19:48:23 -07:00
Christopher C. Wells 9641a2369c Add Finnish locale files front frontend libraries 2020-07-29 19:44:31 -07:00
Christopher Charbonneau Wells 701825e281
Merge pull request #152 from haiksu/add-finnish-language
Add Finnish language
2020-07-29 13:09:24 -07:00
Mikko Haikonen 308f0f4c57 Revert development.py 2020-07-29 16:42:04 +03:00
Mikko Haikonen dfdadea5ba Add Finnish language 2020-07-29 16:40:18 +03:00
Christopher C. Wells 37baabccde Bump version (late -- oops!) 2020-07-26 21:21:29 -07:00
Christopher C. Wells 292ffadff4 Prevent Heroku from using Pipenv
Heroku uses an outdated Pipenv that has started to fail hash checks.
2020-07-26 21:16:53 -07:00
Christopher C. Wells aed0c681d0 Update Heroku Python runtime to 3.8.5 2020-07-26 20:51:26 -07:00
Christopher Charbonneau Wells dda1cd4750
Merge pull request #150 from babybuddy/148-24h-time
Add support for 24 hour time override (#148)
2020-07-26 20:09:46 -07:00
Christopher C. Wells 3005fe3976 Add support for "isolated" tests (#148) 2020-07-26 20:02:51 -07:00
Christopher C. Wells 7abe7b2a5f Add test for USE_24_HOUR_TIME_FORMAT (#148)
Note: this new test has been tagged "isolate" and excluded from regular tests
because the locale behavior being tested involves Django internals that must
be handled at initialization and cannot be changed during runtime (i.e. this
new test with PASS when run alone, but FAIL when run with other tests).

A future commit or set of commits should come up with a way to execute all
tests tagged "isolate" in isolated test environments as part of the full test
suite. For now, this test simply does not run until it is run manually.
2020-07-22 21:56:29 -07:00
Christopher C. Wells 23ac4ade91 Add specific failing string detail to datetime format test (#148) 2020-07-22 21:14:34 -07:00
Christopher C. Wells d138558158 Concatenate (not append) DATETIME_INPUT_FORMATS (#148) 2020-07-22 21:13:56 -07:00
Christopher C. Wells 1eb02f436b Correct minute directive in DATETIME_INPUT_FORMATS (#148) 2020-07-22 20:27:44 -07:00
Christopher C. Wells 8f3f8e5104 Add tests for template tag (#148) 2020-07-22 20:16:23 -07:00
Christopher C. Wells 6f7ec903cc Add missing commas in list definition (#148) 2020-07-22 20:14:07 -07:00
Christopher C. Wells 81ec4c7fb9 Add SHORT_DATETIME_FORMAT format (#148) 2020-07-22 19:56:11 -07:00
Christopher C. Wells 6b06dbf936 Add documentation for USE_24_HOUR_TIME_FORMAT (#148) 2020-07-22 19:48:56 -07:00
Christopher C. Wells aa261616a9 Provide default when USE_24_HOUR_TIME_FORMAT is not set (#148) 2020-07-21 22:05:46 -07:00
Christopher C. Wells 4d71f9c5ec Add 24 hour time format override support to input fields (#148) 2020-07-21 22:03:08 -07:00
Christopher C. Wells d5dc329cf8 Add USE_24_HOUR_TIME_FORMAT setting (#148) 2020-07-21 20:46:46 -07:00
Christopher C. Wells c5e5589c22 Update Python dependencies 2020-07-21 19:42:51 -07:00
Christopher C. Wells 73b89886e7 Update NPM dependencies 2020-07-21 19:25:01 -07:00
Christopher Charbonneau Wells 72c157c661
Merge pull request #149 from JeanFred/add-card-feeding-day
Add a "Today's Feeding" card
2020-07-21 19:17:44 -07:00
Jean-Frederic Berthelot f29515a04d Add a "Today's Feeding" card
It is useful to know today's cumulated Feeding amount.

Right now, this can be inferred from the "Feeding Amount" report,
but is not made readily available in the dashboard, where the
Feeding-related cards are the last Feeding and its method.

This adds a new card `Today's Feeding`, heavily based on "Today's Sleep".
2020-07-21 00:48:07 +02:00
Christopher C. Wells 3135d1d9d0 Use settings override for rolling session refresh test 2020-06-28 05:31:34 -07:00
Christopher C. Wells 4e7d54163f Remove PostgreSQL passport env variable from SQLite Docker Compose example 2020-06-21 12:43:08 -07:00
Christopher C. Wells 172ef58fcf Add example Docker Compose file for SQLite-based deployment (#145) 2020-06-21 08:21:17 -07:00
Christopher C. Wells 3407afbf1b Move default database file to a directory (#145) 2020-06-21 08:21:16 -07:00
Christopher C. Wells df0b54b6c2 Add OpenAPI schema file to repository (#147) 2020-06-19 15:13:01 -07:00
Christopher C. Wells fddde9d46f Add OpenAPI schema endpoint to API (#147) 2020-06-19 14:56:05 -07:00
Christopher C. Wells 099e393f36 Add OpenAPI support dependencies (#147) 2020-06-19 14:47:42 -07:00
Christopher C. Wells 4e5153daed Default to current user on timer POST (#134) 2020-06-19 14:23:43 -07:00
Christopher C. Wells d6c2b48917 Update Python dependencies 2020-06-17 05:57:22 -07:00
Christopher C. Wells a9787f6743 Move default `DATABASES` config to babybuddy.settings.base 2020-06-09 07:11:25 -07:00
Christopher C. Wells a4eb20e1ae Update Python dependencies 2020-06-09 07:02:34 -07:00
Christopher C. Wells a09ceadc40 Ensure naps are captured for both start and end time 2020-06-09 07:02:28 -07:00
Christopher Charbonneau Wells e2f432f92c
Merge pull request #144 from phardy/master
Ensure date passed to nap filter is localtime.
2020-05-18 19:30:35 -07:00
Peter Hardy 120cbf35b6 Ensure date passed to filter is localtime. 2020-05-18 23:07:11 +10:00
Christopher C. Wells efa52d14f7 Update NPM dependencies 2020-05-17 05:34:38 -07:00
Christopher Charbonneau Wells 7fdc358533
Merge pull request #143 from phardy/master
Periodic session expiry update to prevent timeouts
2020-05-17 05:27:12 -07:00
Peter Hardy 2806d0a22f The rest of the middleware commit 2020-05-17 20:11:08 +10:00
Peter Hardy 1d9a7d4215 Adds rolling session refresh middleware (#130) 2020-05-17 16:57:00 +10:00
Christopher Charbonneau Wells 9944de9bee
Merge pull request #142 from MaximilianKindshofer/rework-docker-example
Rework docker example
2020-04-22 12:50:12 -07:00
Maximilian Kindshofer c14f5b19b0
remove collect static as mentioned in PR 2020-04-22 08:47:53 +02:00