Commit Graph

1622 Commits

Author SHA1 Message Date
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
MaximilianKindshofer d695afef90 fix(Docker): Fixed Docker-Compose-Example
The docker-compose example now runs out of the box, when the env variables are supplied. Migrations are
applied at startup and cachetable is created.

Closes #141
2020-04-18 18:30:35 +02:00
MaximilianKindshofer 85777d0b9a fix(Docker): Fixed Docker-Compose-Example
The docker-compose example now runs out of the box. Migrations are
applied at startup and cachetable is created.

Closes #141
2020-04-18 18:28:51 +02:00
Christopher Charbonneau Wells 8898a04edf
Merge pull request #138 from phardy/method-select
Auto select "bottle" method for formula and fortified milk types
2020-03-30 05:27:08 -07:00
Christopher Charbonneau Wells cbf6f0ce1e
Fix minor linting issues 2020-03-30 05:25:57 -07:00
Peter Hardy dfd89ae339 Tests for initial feeding methods (#127) 2020-03-28 21:54:07 +11:00
Peter Hardy 4581722e0b Actually check for FBM as well (#127). 2020-03-26 22:28:27 +11:00
Peter Hardy dce0cd1e10 Update method select for when formula types selected (#127) 2020-03-26 22:16:07 +11:00
Peter Hardy 4978208d7f Prepopulate method for formula types (#127). 2020-03-26 22:15:08 +11:00
Christopher C. Wells 4d74df27d9 Remove padding and borders from Sleep Pattern graph 2020-03-17 05:42:24 -07:00
Christopher C. Wells 4915f809e6 Update tests for feeding frequency changes (#135) 2020-03-17 05:03:09 -07:00
Christopher Charbonneau Wells 7fda7beabf
Merge pull request #135 from BenjaminHae/statistics
add enhanced feedings statistics
2020-03-16 14:44:24 -07:00
Benjamin Häublein aeba14f714 linting 2020-03-16 18:53:36 +01:00
Benjamin Häublein 853ab54b8c add enhanced feedings statistics 2020-03-15 17:18:21 +01:00
Christopher C. Wells 3316ce3c2d Update node dependencies 2020-03-14 13:38:55 -07:00