Commit Graph

905 Commits

Author SHA1 Message Date
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
Christopher C. Wells f725dd12f6 Prevent double import of global styles 2020-01-31 08:47:03 -08:00
Christopher C. Wells b8e2416cd1 Set all datetime fields to `readonly` 2020-01-31 08:47:03 -08:00
Christopher C. Wells 073bb37d3d Reorganize and add some basic documentation to `Gulpfile.js` 2020-01-27 19:58:50 -08:00
Christopher C. Wells c9b9ad543d Add `updatestatic` gulp command (#102) 2020-01-27 19:48:28 -08:00
Christopher C. Wells fd05659fe8 Tweak formatting of Travis CI config 2020-01-27 15:13:27 -08:00
Christopher C. Wells 387bc36956 Fix incorrect element ID for timer start field 2020-01-27 15:09:16 -08:00
Christopher C. Wells 87a38f4e87 Add close button to datetime picker widget 2020-01-27 14:59:40 -08:00
Christopher C. Wells 26b54b114e Add wrapper for datetime picker widget 2020-01-27 14:56:37 -08:00
Christopher C. Wells 4a81e2c5a9 Add the ability to set the development server IP address from gulp 2020-01-27 08:52:42 -08:00
Christopher C. Wells c51e755c0f Add Diaper Change "amount" field data to API 2020-01-26 14:30:00 -08:00
Christopher C. Wells 3a7c8c92fd Add a Diaper Change amounts report 2020-01-26 14:12:27 -08:00
Christopher C. Wells 7f258f972d Add Diaper Change amounts to fake data generation 2020-01-26 13:32:02 -08:00