Commit Graph

1709 Commits

Author SHA1 Message Date
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
Christopher C. Wells d1cb5c2277 Update documentation for "timer" field (#131) 2020-03-14 13:33:05 -07:00
Christopher C. Wells 910aff4d3b Always override child with Timer.child value (#131) 2020-03-14 13:33:05 -07:00
Christopher C. Wells 7276dc331a Add "timer" field information to OPTIONS (#131) 2020-03-14 13:33:05 -07:00
Christopher C. Wells 3071050881 Add tests for new "timer" argument (#131) 2020-03-14 13:33:05 -07:00
Christopher C. Wells 6d75dde424 Update serializers to accept a "timer" argument (#131) 2020-03-14 13:33:05 -07:00
Christopher C. Wells fbe15868f8 Document new PATCH and DELETE API operations (#126) 2020-03-13 20:29:07 -07:00
Christopher C. Wells 76b7e90396 Pass full instance for API PATCH operations (#126)
This is necessary in order to allow partial updates of entries but also
provide full context for model `clean()`` methods that use multiple fields.
2020-03-13 20:29:07 -07:00
Christopher C. Wells 0c086e6469 Use a base class for API tests 2020-03-13 20:29:07 -07:00
Christopher C. Wells 0fbb4d92fc Add expected PATCH and DELETE test cases (#126)
Some of these tests are failing. Additional changes may be needed to models or
the API serializers.
2020-03-13 20:29:07 -07:00
Christopher C. Wells 0082f0d838 Add PATCH and DELETE support (#126) 2020-03-13 20:29:07 -07:00
Christopher C. Wells a17ae0754e Update Travis Python 3.8 to 3.8.1
WTF Travis?
2020-03-13 18:30:44 -07:00
Christopher C. Wells 65a9131d09 Update Python versions for Travis
https://docs.travis-ci.com/user/reference/bionic/#python-support
2020-03-13 18:23:28 -07:00
Christopher C. Wells 5c0ab940b0 Bump version (v1.4.0) 2020-02-19 09:17:30 -08:00