Commit Graph

572 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells 96658a8c29 Add version info to main app. 2017-12-25 18:52:01 -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 19a4e54755 Update npm dependencies. 2017-12-15 21:01:19 -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 183a30b0a3 Only allow staff members to manage users. 2017-12-13 13:49:10 -05:00
Christopher Charbonneau Wells a4b07c054c Create all new users as superuser, for now. 2017-12-13 13:25:36 -05:00
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 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
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 2c09749217 Finalize API documentation. 2017-12-05 19:43:57 -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 26a3c1c721 Add API documentation (WIP). 2017-12-05 16:46:15 -05:00
Christopher Charbonneau Wells c37dabdbd1 Disable unused API methods and require model add permissions for OPTIONS. 2017-12-05 16:40:10 -05:00
Christopher Charbonneau Wells ed84f950bc Add a custom serializer for core models.
This serializer associates the core models with their related child fields and runs model clean() methods during POST requests.
2017-12-05 16:31:37 -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 d86c91aeab Update HTML id targets for namespace views. 2017-12-03 17:11:13 -05:00
Christopher Charbonneau Wells 3b0002a211 Fix link with incorrect namespace. 2017-12-03 17:03:13 -05:00
Christopher Charbonneau Wells eb7a5c0e77 Linting fix. 2017-12-03 17:00:51 -05:00
Christopher Charbonneau Wells 238d0d40a1 Remove Python 2.7 support. 2017-12-03 16:58:53 -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
Christopher Charbonneau Wells 44d8cd6db3 Update Pipfile for Django 2.0 2017-12-03 15:42:35 -05:00
Christopher Charbonneau Wells acbefabc4d Lock Pandas below 0.21.0.
For some reason Pandas 0.21.0 fails to install with Python 3.4.
2017-12-03 15:23:56 -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 cd91f66d6a Add documentation for all Gulp commands. 2017-12-02 14:37:12 -05:00
Christopher Charbonneau Wells bc5528533b Clarify steps for development installation. 2017-12-02 14:05:46 -05:00
Christopher Charbonneau Wells 78c77fa4e5 Lock Django version below 2.0. 2017-12-02 13:57:37 -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 95d00f2d99 Indicate minimum Docker version. 2017-11-30 22:33:51 -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 0646640ba3 Change feeding durations to a scatter/line plot with number of feedings included. 2017-11-30 11:16:50 -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