Commit Graph

1078 Commits

Author SHA1 Message Date
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
Christopher C. Wells 682ebb34ca Implement pull-to-refresh (#107) 2020-02-04 10:58:26 -08:00
Christopher C. Wells 5c8fc91538 Update Docker deployment documentation (#106) 2020-02-02 14:14:27 -08:00
Christopher C. Wells a0a6c88a19 Fix linting issue 2020-01-31 12:05:40 -08:00
Christopher C. Wells 17ed16bc8b Hide Child from Timer detail in one child use cases 2020-01-31 12:01:17 -08:00
Christopher C. Wells b5dc34e388 Bump version 2020-01-31 09:10:40 -08:00
Christopher C. Wells 05266d4b76 Mute child name on timer detail 2020-01-31 09:09:01 -08:00
Christopher C. Wells dcce3c5ee7 Add `TIME_ZONE` configuration to EB documentation 2020-01-31 09:09:01 -08:00
Christopher C. Wells c56d414d8c Update README for manual Heroku deploy 2020-01-31 09:09:01 -08:00
Christopher C. Wells 8c28e8941e Update admin fields for core Timer model 2020-01-31 09:09:01 -08:00
Christopher C. Wells 8421b14088 Update `api` app for latest core model changes 2020-01-31 09:09:01 -08:00
Christopher C. Wells 6ba6e429cd Add core Timer tests 2020-01-31 09:09:01 -08:00
Christopher C. Wells f7d9f6b361 Refactor core forms test base class
The extra child added in the base classes caused failures with the `test_child_with_one_child` test.
2020-01-31 09:09:01 -08:00
Christopher C. Wells 1b536ff6ed Update tests for timers list template tag 2020-01-31 09:09:01 -08:00
Christopher C. Wells 385d833247 Add test for `instance_add_url` template tag 2020-01-31 09:09:01 -08:00
Christopher C. Wells 2b0e15d8ec Add tests for initial values settings on core models 2020-01-31 09:09:01 -08:00
Christopher C. Wells bd79a3f2d1 Do not use generated fake data in form tests
This could cause unpredictable errors during tests so each test case should set up it's own environment.
2020-01-31 09:09:01 -08:00
Christopher C. Wells 1d492e4163 Refactor core form tests for better organization and coverage 2020-01-31 09:09:01 -08:00
Christopher C. Wells 39b0df534b Correct success message for Child delete form 2020-01-31 09:09:01 -08:00
Christopher C. Wells 107257cc34 Update model tests for timer-child relationship changes 2020-01-31 09:09:01 -08:00
Christopher C. Wells 3eb0e336c6 Refactor core forms on a base class to handle initial values 2020-01-31 09:09:01 -08:00
Christopher C. Wells 4e01365e85 Set Child from an argument instead of the timer 2020-01-31 09:09:01 -08:00
Christopher C. Wells 5e9946ecd6 Respect child if set when setting feeding defaults 2020-01-31 09:09:01 -08:00
Christopher C. Wells b31d9194d9 Include child when setting defaults from timer 2020-01-31 09:09:01 -08:00