Commit Graph

1489 Commits

Author SHA1 Message Date
Isaac Bythewood c7d09823bb Fix linting issue with url line length 2017-11-18 04:29:46 -05:00
Isaac Bythewood bf62a4e252 Add ability to upload picture of child with thumbnailing capabilities. 2017-11-18 04:22:12 -05:00
Christopher Charbonneau Wells db4a1b247a Add Amazon EB deployment instructions to the README. 2017-11-16 14:24:27 -05:00
Christopher Charbonneau Wells 65c46351cb Add Amazon EB config files. 2017-11-16 14:21:43 -05:00
Christopher Charbonneau Wells 2221382b4b Ignore `etc` folder when linting Python. 2017-11-15 13:12:04 -05:00
Christopher Charbonneau Wells d877d36646 Add Nanobox info to README. 2017-11-15 13:08:13 -05:00
Christopher Charbonneau Wells 979f352580 Change nanobox config to work without requirements.txt. 2017-11-15 12:38:08 -05:00
Christopher Charbonneau Wells c9b94d54c7 Add nanobox config files. 2017-11-13 16:21:33 -05:00
Christopher Charbonneau Wells 6ba5900928 Add migration to handle existing users when adding the Settings model. 2017-11-12 20:19:18 -05:00
Christopher Charbonneau Wells bd2655166e Add tests for babybuddy app code. 2017-11-12 19:43:40 -05:00
Christopher Charbonneau Wells 60ac9a7f5d Add Settings model extending User. 2017-11-12 12:09:54 -05:00
Christopher Charbonneau Wells f9f6ea5e88 Add management command tests. 2017-11-11 17:25:28 -05:00
Christopher Charbonneau Wells 151f48a695 Add separate coverage config file. 2017-11-11 17:02:47 -05:00
Christopher Charbonneau Wells 5dec231147 Refactor "fake" command.
This commit simplifies the "fake" code code and makes the data much more realistic by preventing activity intersection. It also uses atomic transactions to make fake data generation _much_ faster on slow computers (like my old laptop!).
2017-11-11 13:01:40 -05:00
Christopher Charbonneau Wells d2227e7747 Add average weight change to Statistics card. 2017-11-11 08:51:32 -05:00
Christopher Charbonneau Wells 770e7a69eb Refactor Averages card as Statistics carousel card. 2017-11-11 07:01:04 -05:00
Christopher Charbonneau Wells 3ae40027f4 Add a DEBUG environment option to Heroku settings. 2017-11-10 08:47:22 -05:00
Christopher Charbonneau Wells 37ae4056ab Make weight increase over time for "fake" command. 2017-11-10 08:13:29 -05:00
Christopher Charbonneau Wells 5d4db5de6b Add simple weight report. 2017-11-10 07:20:34 -05:00
Christopher Charbonneau Wells 067be4bf07 Add weight tracking. 2017-11-09 21:15:09 -05:00
Christopher Charbonneau Wells f947d37285 Add default Child to Note add form. 2017-11-09 19:50:54 -05:00
Christopher Charbonneau Wells 942c426a43 Reorganize non-activites under a new Children menu. 2017-11-09 19:39:50 -05:00
Christopher Charbonneau Wells 00d3cf65f5 Add a basic Welcome page. 2017-11-09 14:37:06 -05:00
Christopher Charbonneau Wells b7de3999b9 Remove xl column setting for child cards.
The lower resolutions of the xl breakpoint did not render this well (the button bar overflows cards).
2017-11-09 07:20:38 -05:00
Christopher Charbonneau Wells 20924eeaec Enable args pass through for other gulp commands.
This is not a perfect solution, but does allow pass through of some command line args.
2017-11-09 07:14:06 -05:00
Christopher Charbonneau Wells 162f117cef Move timeline code to core and integrate with Child detail view. 2017-11-07 13:15:48 -05:00
Christopher Charbonneau Wells 1c5278cebf Verify necessary fields before running model validation tests. 2017-11-07 07:07:51 -05:00
Christopher Charbonneau Wells 490e07c381 Handle utc offset changes (daylight savings) in the Sleep Patterns graph.
This change simply adjusts the size of the bar in the graph if an offset change happened between a sleep entry's start and end date.
2017-11-07 06:23:19 -05:00
Christopher Charbonneau Wells e2733e6b1e Improve Dashboard view.
This commit adds a placeholder image for Child objects (in the future, hopefully, photo uploads will be added) and reworks the Dashboard view to look better when more than one child is in the database. There are also some minor tweaks to the Child detail view and one new Gulp requirement to improve the flow of copying static image assets from apps.
2017-11-06 16:24:21 -05:00
Christopher Charbonneau Wells 7955cd04a7 Fix linting error. 2017-11-05 15:02:22 -05:00
Christopher Charbonneau Wells e6acfe4e75 Add date intersection validation for models with start and end dates. 2017-11-05 14:18:30 -05:00
Christopher Charbonneau Wells 08d6efa98b Fix display of Filter and Reset buttons for small screens. 2017-11-04 18:28:09 -04:00
Christopher Charbonneau Wells cb2c63cf8a Add nap averages data to the averages card. 2017-11-04 17:52:28 -04:00
Christopher Charbonneau Wells 4037f97e72 Add a NapManager to Sleep model and use it on the naps card. 2017-11-04 13:09:27 -04:00
Christopher Charbonneau Wells f6dd38a891 Make "nap" bounds configurable with a 6AM - 6PM default. 2017-11-04 09:42:18 -04:00
Christopher Charbonneau Wells c6c603d592 Add docstrings to existing cards. 2017-11-04 06:49:59 -04:00
Christopher Charbonneau Wells df5c3e98b9 Add core templatetags tests and update some docstrings. 2017-11-03 23:55:42 -04:00
Christopher Charbonneau Wells fe3e753d65 Update tests for new validators. 2017-11-03 23:29:55 -04:00
Christopher Charbonneau Wells c5612b102d Refactor reports graphs in to separate files. 2017-11-03 23:03:24 -04:00
Christopher Charbonneau Wells ecfa974e20 Add Note to the quick add menu for mobile. 2017-11-03 21:33:34 -04:00
Christopher Charbonneau Wells 5343db5bbb Validate model time fields as being in the past. 2017-11-03 21:30:40 -04:00
Christopher Charbonneau Wells 2da699c042 Add filtering to existing list pages. 2017-11-03 07:02:35 -04:00
Christopher Charbonneau Wells 7b6c9fb3f3 Change generic ListViews to django-filter FilterViews.
This enables URL parameter-based filters, though there is no UI for filtering yet.
2017-11-02 06:39:32 -04:00
Christopher Charbonneau Wells d3333d68b4 Replace custom API filters implementation with django-filter. 2017-11-02 06:05:12 -04:00
Christopher Charbonneau Wells 237796a644 Move form clean methods to models. 2017-11-01 16:14:42 -04:00
Christopher Charbonneau Wells 7d7148e869 Fix linting warning. 2017-11-01 16:13:58 -04:00
Christopher Charbonneau Wells d6c6c8a271
Merge pull request #10 from youngbob/duration-sanity-check
Add validation for model durations
2017-11-01 13:08:47 -04:00
Bob Thomas 1eeba2398d Add validation for model durations
It was previously possible to accidentally enter obviously wrong values
for start/end dates. Add some basic validation to catch input errors
when creating or editing various models (when not using a timer).
2017-11-01 12:44:07 -04:00
Bob Thomas 862066003e Fix style for datetime picker
Workaround for tempusdominus/bootstrap-4#18
Resolves #6
2017-11-01 12:42:41 -04:00
Christopher Charbonneau Wells 40f8a511ba Adjust existing tests for form validation updates. 2017-10-31 21:01:21 -04:00