Commit Graph

867 Commits

Author SHA1 Message Date
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
Christopher C. Wells eb9e2f3927 Display per-child timer lists on dashboard card 2020-01-31 09:09:01 -08:00
Christopher C. Wells e5a5e330b9 Obscure timer-child relations for one child use case 2020-01-31 09:09:01 -08:00
Christopher C. Wells 6662d1036d Clear cache during `reset` operation 2020-01-31 09:09:01 -08:00
Christopher C. Wells fd6bcfe9a5 Maintain a cached count of Child instances 2020-01-31 09:09:01 -08:00
Christopher C. Wells e93c70bf2c Add `createcachetable` to deploy configurations 2020-01-31 09:09:01 -08:00
Christopher C. Wells f4f7b8f5af Don't run `createcachetables` during `reset`
The `reset` command can only be run after initial app setup, which will include cache tables creation so running it again won't ever do anything since the table will already exist.
2020-01-31 09:09:01 -08:00
Christopher C. Wells c720f0b581 Add cache table support (WIP) 2020-01-31 09:09:01 -08:00
Christopher C. Wells c80ec252bc Add optional Child to Timer model 2020-01-31 09:09:01 -08:00
Christopher C. Wells e168babd86 Style datetime picker inputs 2020-01-31 08:47:03 -08:00
Christopher C. Wells e587ddeccd Use large inputs for datetime picker 2020-01-31 08:47:03 -08:00
Christopher C. Wells 475b7abf78 Apply custom style to `.datetimepicker-input` 2020-01-31 08:47:03 -08:00