Commit Graph

76 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells 29e2a4af20 Add staff and active settings for users. 2017-12-11 17:44:02 -05:00
Christopher Charbonneau Wells b34cc6aee8 Add ordering to users list to prevent a warning from Django. 2017-12-11 17:27:29 -05:00
Christopher Charbonneau Wells 53a35f3f89 Changes users URLs to plural form to match the rest of the app. 2017-12-11 17:25:25 -05:00
Christopher Charbonneau Wells 9796452da7 Add tests for user management tasks. 2017-12-11 17:18:22 -05:00
Christopher Charbonneau Wells e234c1cfd2 Add basic user management forms and views. 2017-12-10 21:36:25 -05:00
Christopher Charbonneau Wells 2659063e40 Add API tests. 2017-12-07 16:34:48 -05:00
Christopher Charbonneau Wells 23185f413f Move test data fixtures file to babybuddy app. 2017-12-07 13:45:48 -05:00
Christopher Charbonneau Wells ce9d89f6a5 Update password change test. 2017-12-06 14:39:41 -05:00
Christopher Charbonneau Wells a8e6fbcd79 Add "error" and "debug" theme colors to match Django message classes. 2017-12-06 14:20:46 -05:00
Christopher Charbonneau Wells 705d008679 Add status messages for babybuddy app views. 2017-12-06 13:03:26 -05:00
Christopher Charbonneau Wells 553d9fbc3b Consolidate messages and errors in to main page template. 2017-12-06 13:02:41 -05:00
Christopher Charbonneau Wells 1fa3c49f69 Fix and re-enable the reset management command test.
Not 100% sure of why this fixes the issue - it appears that changes to django.test.TestCase in Django 2.0 led to the test failing.
2017-12-06 12:01:45 -05:00
Christopher Charbonneau Wells 9e220d29f4 Add a custom API metadata class to include filters on OPTIONS responses. 2017-12-05 19:27:28 -05:00
Christopher Charbonneau Wells 2f21e3d7f4 Add API key reset test. 2017-12-05 10:53:28 -05:00
Christopher Charbonneau Wells a9c0757b4d Add per-user token-based API authentication. 2017-12-05 10:46:59 -05:00
Christopher Charbonneau Wells e9a80504e2 Add a .btn-xs class for buttons smaller than .btn-sm. 2017-12-05 10:29:14 -05:00
Christopher Charbonneau Wells dbe87fe853 Remove no longer required collectstatic steps before tests. 2017-12-03 17:16:07 -05:00
Christopher Charbonneau Wells eb7a5c0e77 Linting fix. 2017-12-03 17:00:51 -05:00
Christopher Charbonneau Wells 8b98a60ad1 Disable reset command tests temporarily.
The command works correctly when run, but for some reason is having issues through the test (which uses call_command). The issue does not appear to be related to Django 2.0's changes to the call_command method.
2017-12-03 16:54:19 -05:00
Christopher Charbonneau Wells e92d3f361e Misc. Django 2.0 update changes. 2017-12-03 16:52:27 -05:00
Isaac Bythewood e397db78e4 Fix requiring a manifest creation for basic testing/development 2017-12-03 04:39:43 -05:00
Isaac Bythewood 969958df09 Move ALLOW_UPLOADS to BABY_BUDDY dict 2017-12-03 04:39:43 -05:00
Christopher Charbonneau Wells 0c57e21c02 Add a user password change form. 2017-12-02 16:20:15 -05:00
Christopher Charbonneau Wells 2cd3aacfbf Add Travis settings file. 2017-11-30 23:10:08 -05:00
Christopher Charbonneau Wells 3c5aba9ae7 Check for and load environment variables from a `.env` file. 2017-11-30 22:54:50 -05:00
Christopher Charbonneau Wells 9d3724138e Remove unecessary imports and coverage exclusions from settings files. 2017-11-30 22:39:21 -05:00
Christopher Charbonneau Wells c0f17dd273 Reformat user menu and add external links to source and chat. 2017-11-30 11:34:07 -05:00
Christopher Charbonneau Wells 4272c9b075 Add a basic bar chart showing average feeding durations over time. 2017-11-29 21:28:54 -05:00
Christopher Charbonneau Wells dd4455178a Add environment variable-based settings and configuration documentation. 2017-11-29 15:02:14 -05:00
Christopher Charbonneau Wells 12254b0861 Update docker-compose config using an environment file. 2017-11-24 11:36:02 -05:00
Christopher Charbonneau Wells c4527cbced Add docker-compose.yml (WIP). 2017-11-24 09:09:43 -05:00
Christopher Charbonneau Wells 353e226773 Add manual deployment documentation. 2017-11-20 15:38:55 -05:00
Christopher Charbonneau Wells 9f7d84013e Add Python 2.7 workaround for Dashboard tests and add missing `__init__.py` file. 2017-11-19 12:39: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 a503d346ae Make ALLOW_UPLOADS a setting dependent on user preference and platform 2017-11-18 20:59:51 -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
Isaac Bythewood b2edd13c9f Change form to multipart to allow for image upload without admin 2017-11-18 04:34:49 -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 65c46351cb Add Amazon EB config files. 2017-11-16 14:21:43 -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 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 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