Commit Graph

888 Commits

Author SHA1 Message Date
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
Christopher C. Wells 4194d833d2 Remove `vendor.css` reference (see 7030258) 2020-01-26 13:31:29 -08:00
Christopher C. Wells a8abfb725f Add generic "Amount" field to Diaper Change model (#77) 2020-01-26 13:22:20 -08:00
Christopher C. Wells 6bf63f89b1 Add updated Spanish translations 2020-01-26 13:01:50 -08:00
Christopher C. Wells 7030258f94 Remove vendor CSS file separation 2020-01-26 09:30:43 -08:00
Christopher C. Wells 4c9a4fe420 Improve contrast in datetime picker widget (#96) 2020-01-26 09:26:54 -08:00
Christopher Charbonneau Wells 49156c1d80
Update to Node 10 minimum version for development (#97)
Updates Travis CI configuration to support Node 10 directly with the `generic` language for supported Python versions.
2020-01-24 21:24:43 -08:00
Christopher C. Wells 69798ff490 Add YYYY-MM-DD support to frontend library 2020-01-23 20:33:36 -08:00
Christopher C. Wells 85ad08b30f Update example French translations 2020-01-23 20:22:41 -08:00
Christopher C. Wells 746526d4ed Add "trimmed" key to `blocktrans` tags and update formatting 2020-01-23 20:00:32 -08:00
Christopher C. Wells b3fd5378d6 Fix missing user name in Timer info string 2020-01-23 19:20:55 -08:00
Christopher C. Wells e1d17759de Do not use imports in custom formats file
Using imports here apparently does not work as all the formats have to get
loaded before the new ones can be added, which means that the newly added
formats do not get recognized until the application restarts.

Fixes #90, again.
2020-01-21 07:22:30 -08:00
Christopher C. Wells d9280d4887 Use `LOCALE` in Timer form 2020-01-20 15:50:35 -08:00
Christopher C. Wells cc0eef33a8 Add support for additional datetime input formats
The frontend library uses an datetime strong format for it's base language (US English)
that is not supported by Python's datetime. This commit adds custom formats to
support the frontend strings.
2020-01-20 15:50:35 -08:00
Christopher C. Wells a93070c5ba Add locale support for datetime picker 2020-01-20 15:50:35 -08:00
Christopher C. Wells 5fb2627c19 Move Plotly locales in to `graph.js` 2020-01-20 15:50:35 -08:00
Christopher C. Wells 609784dc10 Add missed language update migrations
This migration should have been included in `2627b1c`.
2020-01-20 15:50:35 -08:00
Christopher C. Wells 1a31a27974 Remove hardcoded time formats in list views (#93) 2020-01-19 13:29:49 -08:00