Commit Graph

212 Commits

Author SHA1 Message Date
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 e5a5e330b9 Obscure timer-child relations for one child use case 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 c80ec252bc Add optional Child to Timer model 2020-01-31 09:09:01 -08:00
Christopher C. Wells 475b7abf78 Apply custom style to `.datetimepicker-input` 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 387bc36956 Fix incorrect element ID for timer start field 2020-01-27 15:09:16 -08:00
Christopher C. Wells 26b54b114e Add wrapper for datetime picker widget 2020-01-27 14:56:37 -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 69798ff490 Add YYYY-MM-DD support to frontend library 2020-01-23 20:33:36 -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 d9280d4887 Use `LOCALE` in Timer form 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 1a31a27974 Remove hardcoded time formats in list views (#93) 2020-01-19 13:29:49 -08:00
Christopher C. Wells eceece0db2 Update tests for Diaper Change attribute verbose names 2019-11-09 16:42:51 -08:00
Christopher C. Wells d5509bdb52 Fix linting issues 2019-11-09 16:42:51 -08:00
Christopher C. Wells b6733650dc Use get_FOO_display for choices fields in templates 2019-11-09 16:42:51 -08:00
Christopher C. Wells cce4855b52 Add translation support to CoreDeleteView 2019-11-09 16:42:51 -08:00
Christopher C. Wells 4f84482803 Add translation support to `duration_string` utility 2019-11-09 16:42:51 -08:00
Christopher C. Wells 74f089fcec Refactor usee of removd Visibility API library. 2019-08-22 20:35:52 -07:00
Christopher C. Wells f270af8cd4 Add "Fortified brest milk" feeding type option (#71). 2019-06-07 07:24:03 -07:00
Christopher C. Wells 4397d4a406 Add temperature tracking. 2019-05-16 21:33:26 -07:00
Christopher C. Wells 0261f39864 Add "both breasts" option for Feeding method (#52). 2019-05-02 10:19:56 -07:00
Christopher C. Wells 185f52b01f Fix linting issues. 2019-04-18 19:55:55 -07:00
Christopher C. Wells 383fa0b74f Add no-op migrations related to translation changes. 2019-04-16 21:42:31 -07:00
Christopher C. Wells 485b8fb2ae Add translation support to Child timeline elements. 2019-04-16 20:33:49 -07:00
Christopher C. Wells 1c3dacf96c Fix missed translation strings for template headers. 2019-04-16 20:03:34 -07:00
Christopher C. Wells b4c417ac3d Add translatable verbose names to all Model fields. 2019-04-14 18:59:16 -07:00
Christopher C. Wells ee82286da5 Add translatable strings support to formatted strings (WIP). 2019-04-14 14:42:58 -07:00
Christopher C. Wells bd4705b77f Add translateable strings support in core app. 2019-04-13 22:51:44 -07:00
Christopher C. Wells efc613c637 Fix minor linting issues. 2019-02-02 19:17:25 -08:00
Christopher Charbonneau Wells 4b7bb69218 Add support for Django 2.1 and Django Filters 2.0.0. 2018-08-04 13:00:51 -07:00
Christopher Charbonneau Wells 08488af718 Raise permission denied instead of redirecting to login (#49). 2018-05-20 14:40:09 -07:00
Christopher Charbonneau Wells 7c980150a4 Make sure there is at least one Feeding object before attempting to preset the type for a new entry. 2018-04-07 06:35:35 -07:00
Christopher Charbonneau Wells cdaef446a0 Automatically fill in the type field for a new Feeding entry with the value used for the latest entry. 2018-03-13 19:49:21 -07:00
Christopher Charbonneau Wells b10944b030 Fix datetime picker class name for time form fields. 2018-03-13 19:17:30 -07:00
Christopher Charbonneau Wells 911cde4f95 Remove ounces references for feeding amounts. 2018-03-13 19:10:21 -07:00
Christopher Charbonneau Wells 5dc372281b Remove all unicode_literals imports. 2018-02-17 17:09:40 -05:00
Christopher Charbonneau Wells b972482cb1 Don't require color for solid diaper change entries. 2018-02-16 09:33:30 -05:00
Christopher Charbonneau Wells 5ad656060f Fix bug keeping datetime input open after losing focus. 2018-01-14 09:39:06 -05:00
Christopher Charbonneau Wells 2b279fd175 Remove timer start messages.
These are not needed as the Timer model, unlink other models, redirects to the newly added instance (instead of the instances list).
2017-12-25 11:55:12 -05:00
Christopher Charbonneau Wells f2a8cdec2d Update URL definitions to Django 2.0 style. 2017-12-13 18:12:32 -05:00
Christopher Charbonneau Wells ca2a5c6ee8 Use reverse/reverse_lazy instead of strings for core views URLs. 2017-12-06 17:16:47 -05:00
Christopher Charbonneau Wells b6516c6b48 Add status messages for core app views. 2017-12-06 16:58:19 -05:00