Commit Graph

1318 Commits

Author SHA1 Message Date
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
Christopher C. Wells a2f145f095 Update all translation files 2020-02-19 06:02:28 -08:00
Christopher C. Wells cd78ff82fc Update Python dependencies 2020-02-19 05:27:36 -08:00
Christopher C. Wells 6ef3fe1229 Update NPM dependencies 2020-02-19 05:24:58 -08:00
Christopher C. Wells 30b690884e Correct anchor link for Import/Export section 2020-02-18 14:41:33 -08:00
Christopher C. Wells 773491205e Add basic import/export documentation to README 2020-02-18 14:41:33 -08:00
Christopher C. Wells d0b33c2b1b Use user first and last name, when available, in UI 2020-02-18 14:41:33 -08:00
Christopher C. Wells 192d8d9b09 Change Django backend name to "Database Admin"
This is primarily done to make the documentation for import/export a little easier to understand.
2020-02-18 14:41:33 -08:00
Christopher C. Wells 2346995cb3 Remove bottle-formula validation test
This is not really necessary and only serves as validation that will need to updated if model choices ever change.
2020-02-18 14:41:33 -08:00
Christopher C. Wells 959649f5f7 Add data import tests 2020-02-18 14:41:33 -08:00
Christopher C. Wells 8c64dd8cae Configure support for imports 2020-02-18 14:41:33 -08:00
Christopher C. Wells e81d3c100c Fix linting issues 2020-02-18 14:41:33 -08:00
Christopher C. Wells 796ba1ae7f Exclude duration (calculated) from model exports 2020-02-18 14:41:33 -08:00
Christopher C. Wells c9f39437c2 Add child name data to exports 2020-02-18 14:41:33 -08:00
Christopher C. Wells 014b373a78 Add initial basic admin import/export support 2020-02-18 14:41:33 -08:00
Christopher C. Wells a751b0b2e0 Add random notes to faker 2020-02-16 15:09:57 -08:00
Christopher C. Wells 37fc8aa5a8 Update list templates to include notes 2020-02-16 15:09:57 -08:00
Christopher C. Wells f681c579e5 Add missing `form_class` value to core model update forms 2020-02-16 15:09:57 -08:00
Christopher C. Wells 11164f0cd0 Set notes textarea to 5 rows 2020-02-16 15:09:57 -08:00
Christopher C. Wells e3c2f0c0b9 Implement example notes handling in Diaper Change list 2020-02-16 15:09:57 -08:00
Christopher C. Wells 48a0093700 Add general notes to most models 2020-02-16 15:09:57 -08:00
Christopher C. Wells a449de0be4 Update static assets for dashboard card changes 2020-02-16 13:38:20 -08:00
Christopher C. Wells 0b437ae5cf Offset horizontal padding in cards with a carousel 2020-02-16 13:38:20 -08:00
Christopher C. Wells 8dd2aa9b3a Custom last feeding method text size 2020-02-16 13:38:20 -08:00
Christopher C. Wells 18b61581b7 Do not render carousel controls for single item 2020-02-16 13:38:20 -08:00
Christopher C. Wells 4d34a48652 Standardize card language for "no data" 2020-02-16 13:38:20 -08:00
Christopher C. Wells cb1712377b Include past three methods is Last Feeding Method card (#117) 2020-02-16 13:38:20 -08:00
Christopher C. Wells 785b87f66d Correct Moment Timezone to include timezone data 2020-02-14 12:46:01 -08:00
Christopher C. Wells c05ce176fc Persist user timezone setting with middleware 2020-02-14 12:45:24 -08:00
Christopher C. Wells 8735655f23 Add user timezone setting support to datetime form fields 2020-02-14 12:07:43 -08:00
Christopher C. Wells f0d763d374 Remove exception handling for Plotly output (#69)
At some point in Plotly 3.x, the offline graph output was changed to produce
two script tags instead of the initial one. With Plotly 4.x, that change was
reverted and the output now always has only a single script tag again.
2020-02-14 11:29:33 -08:00
Christopher C. Wells d4291712bd Document that `TIME_ZONE` setting is now a default 2020-02-14 10:56:13 -08:00
Christopher C. Wells 7727e254c3 Add specific test for timezone setting via form 2020-02-14 10:56:13 -08:00
Christopher C. Wells a0ec0591e4 Remove timezone overrides from tests
Tests will now use the timezone from a Settings model instance.
2020-02-14 10:56:13 -08:00
Christopher C. Wells bcfa352b9b Ensure naps card uses minimum date _without_ a time value 2020-02-14 10:56:13 -08:00
Christopher C. Wells 93207d88fe Add user timezone setting to test fixtures
Without this change, some tests will fail because the default setting value
for the timezone will override (UTC) when "US/Eastern" is expected.
2020-02-14 10:56:13 -08:00
Christopher C. Wells b54b0facb3 Account for timezone field in existing forms tests 2020-02-14 10:56:13 -08:00
Christopher C. Wells 6433b52bec Use "common_timezones" instead of "all_timezones" 2020-02-14 10:56:13 -08:00
Christopher C. Wells 1514e77f8c Add user configurable timezone setting 2020-02-14 10:56:13 -08:00
Christopher C. Wells ea6476f9ca Bump version (v1.3.4) 2020-02-08 20:34:07 -08:00
Christopher C. Wells 3066b7f62f Add persistent storage for media in example Docker Compose config 2020-02-08 20:22:36 -08:00
Christopher C. Wells c890fb5dce Update Python dependencies 2020-02-08 20:00:27 -08:00