Commit Graph

1555 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells 452ce190ae Add specific, fixtures-based tests for Dashboard cards. 2017-11-19 11:13:35 -05:00
Christopher Charbonneau Wells 5a57ac7a48 Update naps card to pass timedelta directly. 2017-11-19 11:01:38 -05:00
Christopher Charbonneau Wells 31f747e908 Add an optional date parameter for Diaper Change types and remove some unused code. 2017-11-19 10:51:59 -05:00
Christopher Charbonneau Wells 58c1cc4cbc
Merge pull request #20 from overshard/master
Make ALLOW_UPLOADS a setting dependent on user preference and platform
2017-11-19 08:40:27 -05:00
Isaac Bythewood f8d028563a Fix linting issue in admin with no space after comma. 2017-11-18 21:06:37 -05:00
Isaac Bythewood a503d346ae Make ALLOW_UPLOADS a setting dependent on user preference and platform 2017-11-18 20:59:51 -05:00
Christopher Charbonneau Wells 092d724906 Add child picture to multi-child dashboard view. 2017-11-18 07:47:50 -05:00
Christopher Charbonneau Wells 9311fe2cee Replace deprecating pandas methods. 2017-11-18 07:42:48 -05:00
Christopher Charbonneau Wells b5d2a0b7f4 SASS linting fix. 2017-11-18 07:34:57 -05:00
Christopher Charbonneau Wells 87e13661ee Maintain existing query string in paginator links. 2017-11-18 07:33:32 -05:00
Christopher Charbonneau Wells 4aa51e44da Re-add random color for solid Diaper Changes in `fake` command. 2017-11-18 06:55:39 -05:00
Christopher Charbonneau Wells eff1320a5e Tweak Child list table styles. 2017-11-18 06:48:59 -05:00
Christopher Charbonneau Wells ebf42acf87
Merge pull request #19 from overshard/master
Add ability to upload picture of child with thumbnailing capabilities.
2017-11-18 06:27:10 -05:00
Christopher Charbonneau Wells 5117575256 Update Pipfile.lock. 2017-11-18 06:11:51 -05:00
Isaac Bythewood b2edd13c9f Change form to multipart to allow for image upload without admin 2017-11-18 04:34:49 -05:00
Isaac Bythewood 7479cc932f Placeholder child list picture 2017-11-18 04:32:24 -05:00
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