Commit Graph

851 Commits

Author SHA1 Message Date
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
Christopher C. Wells ad9cfea541 Update NPM dependencies and static assets 2020-02-08 19:46:43 -08:00
Christopher C. Wells 2bde57cc32 Bump version (v1.3.3) 2020-02-08 15:23:59 -08:00
Christopher C. Wells 60cd90ca80 Use `last()` instead of `latest()`
With `latest()`, an exception is thrown if there is one child in the database and no feeding entries.
2020-02-08 14:02:47 -08:00
Christopher C. Wells 843c7fc49b Update .gitignore
This removes the deprecated Docker environment file and adds support for a local virtual environment (which will be used in some deployments (and Sandstorm)).
2020-02-08 13:44:44 -08:00
Christopher C. Wells 7c0b8c0071 Bump version (v1.3.2)
Static assets relevant to the new Pull to Refresh feature were missed in v1.3.1 ):
2020-02-07 12:28:48 -08:00
Christopher C. Wells 89efe90a9a Add missed static assets 2020-02-07 12:26:48 -08:00
Christopher C. Wells 724848827c Bump version (v1.3.1) 2020-02-07 11:56:57 -08:00
Christopher C. Wells c16ba31aef Update Docker Hub repo (#112) 2020-02-07 11:55:36 -08:00
Christopher C. Wells 86f0c2f04b Update references to old repo address 2020-02-06 22:16:57 -08:00
Christopher C. Wells af710b977a Add tests for inactive Timer delete functionality 2020-02-06 21:50:22 -08:00
Christopher C. Wells 127c3d5cb0 Add ability to delete all inactive Timers (#108) 2020-02-06 21:15:36 -08:00
Christopher C. Wells 005a4f180e Correct timer urls to use plural form 2020-02-06 20:14:01 -08:00
Christopher C. Wells 6333b0b1ea Move add button to header in list views 2020-02-06 20:09:24 -08:00
Christopher C. Wells 703782b21c Use provided `end` in Timer.stop() (#111) 2020-02-06 19:56:26 -08:00
Christopher C. Wells 5b24ff21b6 Move environment variables to example Docker Compose file (#110) 2020-02-04 11:30:19 -08:00
Christopher C. Wells 8e5364d891 Ensure that empty environment values get defaults
The `os.environ.get` default is _not_ used if the environment variable is set to an empty value. This can lead to confusion if, for example, the `TIME_ZONE` environment variable is set to empty. The expected behavior is a fallback on "Etc/UTC".
2020-02-04 11:28:16 -08:00
Christopher C. Wells c0db24555a Do not enforce two columns in dashboard 2020-02-04 11:00:24 -08:00