Commit Graph

509 Commits

Author SHA1 Message Date
Christopher C. Wells 682ebb34ca Implement pull-to-refresh (#107) 2020-02-04 10:58:26 -08:00
Christopher C. Wells a0a6c88a19 Fix linting issue 2020-01-31 12:05:40 -08:00
Christopher C. Wells 17ed16bc8b Hide Child from Timer detail in one child use cases 2020-01-31 12:01:17 -08:00
Christopher C. Wells b5dc34e388 Bump version 2020-01-31 09:10:40 -08:00
Christopher C. Wells 6662d1036d Clear cache during `reset` operation 2020-01-31 09:09:01 -08:00
Christopher C. Wells f4f7b8f5af Don't run `createcachetables` during `reset`
The `reset` command can only be run after initial app setup, which will include cache tables creation so running it again won't ever do anything since the table will already exist.
2020-01-31 09:09:01 -08:00
Christopher C. Wells c720f0b581 Add cache table support (WIP) 2020-01-31 09:09:01 -08:00
Christopher C. Wells e168babd86 Style datetime picker inputs 2020-01-31 08:47:03 -08:00
Christopher C. Wells e587ddeccd Use large inputs for datetime picker 2020-01-31 08:47:03 -08:00
Christopher C. Wells 475b7abf78 Apply custom style to `.datetimepicker-input` 2020-01-31 08:47:03 -08:00
Christopher C. Wells f725dd12f6 Prevent double import of global styles 2020-01-31 08:47:03 -08:00
Christopher C. Wells 87a38f4e87 Add close button to datetime picker widget 2020-01-27 14:59:40 -08:00
Christopher C. Wells 26b54b114e Add wrapper for datetime picker widget 2020-01-27 14:56:37 -08:00
Christopher C. Wells c51e755c0f Add Diaper Change "amount" field data to API 2020-01-26 14:30:00 -08:00
Christopher C. Wells 7f258f972d Add Diaper Change amounts to fake data generation 2020-01-26 13:32:02 -08:00
Christopher C. Wells 4194d833d2 Remove `vendor.css` reference (see 7030258) 2020-01-26 13:31:29 -08:00
Christopher C. Wells 4c9a4fe420 Improve contrast in datetime picker widget (#96) 2020-01-26 09:26:54 -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 e1d17759de Do not use imports in custom formats file
Using imports here apparently does not work as all the formats have to get
loaded before the new ones can be added, which means that the newly added
formats do not get recognized until the application restarts.

Fixes #90, again.
2020-01-21 07:22:30 -08:00
Christopher C. Wells cc0eef33a8 Add support for additional datetime input formats
The frontend library uses an datetime strong format for it's base language (US English)
that is not supported by Python's datetime. This commit adds custom formats to
support the frontend strings.
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 609784dc10 Add missed language update migrations
This migration should have been included in `2627b1c`.
2020-01-20 15:50:35 -08:00
Christopher C. Wells 094908f8bc Update documentation throughout 2020-01-19 08:49:45 -08:00
Christopher C. Wells 2627b1cbfd Add Turkish translations 2020-01-16 19:42:49 -08:00
Christopher C. Wells f6b5126dfd Add Spanish translations 2020-01-16 19:33:03 -08:00
Christopher C. Wells fb4d1c9de0 Bump version 2020-01-04 08:11:29 -08:00
Christopher C. Wells d68410cdae Use cookie for language setting
Django 4.0 will deprecate the use of session for language setting.
2020-01-04 08:09:28 -08:00
Christopher C. Wells a11524a47d Update Python dependencies (Django 3.x) 2020-01-04 06:37:42 -08:00
Christopher C. Wells d5d8a20922 Add note to dev settings re: testing production assets. 2019-07-10 19:26:10 -07:00
Christopher C. Wells badfcc4015 Bump version. 2019-06-07 07:26:54 -07:00
Christopher C. Wells 1d1b994e1a Add German to list of language options. 2019-06-07 07:22:55 -07:00
Christopher C. Wells 243b9ef1c1 Add Temperature data to API. 2019-05-16 22:13:14 -07:00
Christopher C. Wells 4397d4a406 Add temperature tracking. 2019-05-16 21:33:26 -07:00
Christopher C. Wells a7637afb27 Version bump. 2019-05-04 05:45:49 -07:00
Peter Wickenberg 2d4cf3cfa3 Add Swedish translations. 2019-05-02 11:48:36 -07:00
Christopher C. Wells 7bf95f97be Update example French translations. 2019-05-02 10:25:21 -07:00
Christopher C. Wells 185f52b01f Fix linting issues. 2019-04-18 19:55:55 -07:00
Christopher C. Wells 13a0424fc2 Add basic translation feature tests. 2019-04-18 19:52:17 -07:00
Christopher C. Wells 83b4edf95d Store and retrieve language in user Setting. 2019-04-16 21:41:55 -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 c36451fc8e Add translateable strings support in babybuddy app. 2019-04-13 21:55:16 -07:00
Christopher C. Wells d52694e93e Set languages list manually. 2019-04-13 20:09:55 -07:00
Christopher C. Wells 0e4d80dab0 Add cookie-based language selection to user settings.
This will likely be refactored to use a database column instead of dropping a cookie.
2019-04-13 20:07:46 -07:00
Christopher C. Wells 8f0c2f3159 Add locale middleware. 2019-04-13 20:04:51 -07:00
Christopher C. Wells b6d8a74d92 Version bump. 2019-04-10 05:47:30 -07:00
Christopher C. Wells 3824ea7ca0 Set table text colors explicitly. 2019-02-24 08:18:12 -08:00
Christopher C. Wells efc613c637 Fix minor linting issues. 2019-02-02 19:17:25 -08:00
Christopher Charbonneau Wells 88999233e8 Bump version. 2018-11-05 18:55:06 -08:00
Christopher Charbonneau Wells 77bf37df33 Correct whitenoise root definition in base settings. 2018-10-11 19:28:51 -07:00
Xitij Ritesh Patel 131bec7698
Modify app manifest to fix iOS link issue. Fixes #57. 2018-09-05 19:27:05 -04: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 b159433375 Add missing migration from 096092b. 2018-07-15 07:20:44 -07:00
Christopher Charbonneau Wells 5baf5bca6b Version bump. 2018-05-20 16:46:55 -07:00
Christopher Charbonneau Wells 2bc9d4703d Use logo in app. 2018-05-20 15:59:45 -07:00
Christopher Charbonneau Wells f59bbc03df Use logo for favicon. 2018-05-20 15:44:23 -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 ab2717ed56 Do not deal with child count during root redirect. 2018-05-20 14:39:28 -07:00
Christopher Charbonneau Wells 0a5ffed012 Include messages template on registration pages. 2018-05-20 07:11:54 -07:00
reallinfo d5637de5ad
Add files via upload 2018-04-16 15:44:03 +03:00
Christopher Charbonneau Wells 382d106c28 Version bump. 2018-03-27 19:41:41 -07:00
Christopher Charbonneau Wells 096092b91d Add clarifying help text to refresh rate field. 2018-03-27 19:41:23 -07:00
Christopher Charbonneau Wells 81e4a1ea51 Make list filters toggleable. 2018-03-13 20:16:16 -07:00
Christopher Charbonneau Wells 742c21d003 Use Bootstrap custom select for entry list filters. 2018-03-13 19:55:54 -07:00
Christopher Charbonneau Wells 47d1e1af98 Bump minor version. 2018-03-04 15:46:21 -08:00
Isaac Bythewood 1b991a3798 Add support for AWS S3 storage for ephemeral storage platforms 2018-02-25 01:13:39 -05:00
Christopher Charbonneau Wells 49742e6ced Linting fixes. 2018-02-18 05:01:55 -05:00
Christopher Charbonneau Wells 7d3d13338e Lessen hover effect on checkbox buttons. 2018-02-17 17:24:41 -05:00
Christopher Charbonneau Wells 5dc372281b Remove all unicode_literals imports. 2018-02-17 17:09:40 -05:00
Christopher Charbonneau Wells d69667bbab Change checkboxes to checkbox buttons. 2018-02-04 20:39:47 -05:00
Christopher Charbonneau Wells 18583d8cb6 Use .custom-select for select fields. 2018-02-04 19:56:04 -05:00
Christopher Charbonneau Wells a01b02b832 Remove extra space around datetime input fields. 2018-02-03 18:39:35 -05:00
Christopher Charbonneau Wells 119f4182e5 Use custom control for checkboxes. 2018-02-03 18:39:17 -05:00
Christopher Charbonneau Wells 01868fe249 Bump minor version. 2018-01-25 06:32:54 -05:00
Christopher Charbonneau Wells e04d5ece00 Remove workaround for issue fixed in npm tempusdominus-bootstrap-4 5.0.0-alpha14. 2018-01-13 09:10:09 -05:00
Christopher Charbonneau Wells 99c55fa392 Update checkbox structure (BS4 beta 3). 2018-01-13 08:28:54 -05:00
Christopher Charbonneau Wells a9dfe686db Replace .input-group-addon with .input-group-prepend (BS4 beta 3). 2018-01-13 08:24:24 -05:00
Christopher Charbonneau Wells 83b68d74f9 Bump version to 1.0.0. 2017-12-30 11:35:57 -05:00
Christopher Charbonneau Wells a5c94455ca Prep meta files for v1.0.0 release. 2017-12-27 09:20:32 -05:00
Christopher Charbonneau Wells 2de04a5f22 Add version string template tag. 2017-12-26 08:53:38 -05:00
Christopher Charbonneau Wells 96658a8c29 Add version info to main app. 2017-12-25 18:52:01 -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 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
Christopher Charbonneau Wells 067be4bf07 Add weight tracking. 2017-11-09 21:15:09 -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 08d6efa98b Fix display of Filter and Reset buttons for small screens. 2017-11-04 18:28:09 -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 ecfa974e20 Add Note to the quick add menu for mobile. 2017-11-03 21:33:34 -04:00
Christopher Charbonneau Wells 2da699c042 Add filtering to existing list pages. 2017-11-03 07:02:35 -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 7d7148e869 Fix linting warning. 2017-11-01 16:13:58 -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 9c0989d22b Adjust form layout for better BS4 integration. 2017-10-31 15:15:02 -04:00
Christopher Charbonneau Wells 97dbf87e5b Refactor card templates and styling. 2017-10-28 23:01:39 -04:00
Christopher Charbonneau Wells 029f554dfc Add root files config and temporary favicon. 2017-10-23 15:13:11 -04:00
Christopher Charbonneau Wells 89b47b1f99 Refactor gulp commands and travis config for whitenoise integration. 2017-10-23 13:50:20 -04:00
Christopher Charbonneau Wells 93066e32a1 Moved ALLOWED_HOSTS setting to base. 2017-10-23 09:49:09 -04:00
Christopher Charbonneau Wells 588fe99c45 Fix heroku settings file name. 2017-10-23 08:59:19 -04:00
Christopher Charbonneau Wells b28bb0cd56 Use development settings for wsgi for now. 2017-10-23 05:19:32 -04:00
Christopher Charbonneau Wells ac5387428e Add whitenoise for gunicorn static file serving. 2017-10-23 05:07:35 -04:00
Christopher Charbonneau Wells 909c391451 Add Heroku config files. 2017-10-23 04:49:10 -04:00
Christopher Charbonneau Wells 5fbf77e014 Override migrate command to create admin/admin user. 2017-10-22 16:50:47 -04:00
Christopher Charbonneau Wells 68d2e7f37c Add static files dirs including gulp's destination folder. 2017-10-22 16:46:45 -04:00
Christopher Charbonneau Wells 3545265d02 Set default settings file in manage.py and wsgi.py. 2017-10-22 16:19:59 -04:00
Christopher Charbonneau Wells 22779086a4 Add LICENSE and README. 2017-10-22 16:00:29 -04:00
Christopher Charbonneau Wells f23ea78cef Linting fixes. 2017-10-22 15:05:58 -04:00
Christopher Charbonneau Wells 9dd6691693 Update main JS file for new project name. 2017-10-22 14:21:52 -04:00
Christopher Charbonneau Wells e45101b75c Rename project Baby Buddy. 2017-10-22 14:00:42 -04:00