Commit Graph

61 Commits

Author SHA1 Message Date
Christopher C. Wells d35e20570d Exclude `.venv` when linting 2021-11-07 13:01:57 -08:00
Christopher C. Wells 5bcf10923c Add `updateglyphs` gulp command
Closes #296
2021-09-03 20:33:25 -07:00
Christopher C. Wells a9f469efcb Update node dependencies 2021-07-19 20:55:30 -07:00
Christopher C. Wells cca1e409e3 Use test settings in coverage task 2021-06-21 20:52:47 -07:00
Christopher C. Wells 97b17447df Disable axes during tests 2021-06-21 20:47:57 -07:00
Christopher C. Wells 95670c7b31 Also handle exit codes on coverage run 2021-05-04 06:22:45 -07:00
Christopher C. Wells c0d20e3a94 Bubble up exit code when tests fail 2021-05-04 06:02:44 -07:00
Christopher C. Wells 0fd8f1a3a7 Support parallel tests in coverage 2020-08-16 14:03:50 -07:00
Christopher C. Wells 993437938d Run coverage tests in parallel 2020-08-12 20:12:20 -07:00
Christopher C. Wells 8a9dd9c04d Run non-isolated tests in parallel 2020-08-12 20:00:03 -07:00
Christopher C. Wells 3005fe3976 Add support for "isolated" tests (#148) 2020-07-26 20:02:51 -07:00
Christopher C. Wells 7abe7b2a5f Add test for USE_24_HOUR_TIME_FORMAT (#148)
Note: this new test has been tagged "isolate" and excluded from regular tests
because the locale behavior being tested involves Django internals that must
be handled at initialization and cannot be changed during runtime (i.e. this
new test with PASS when run alone, but FAIL when run with other tests).

A future commit or set of commits should come up with a way to execute all
tests tagged "isolate" in isolated test environments as part of the full test
suite. For now, this test simply does not run until it is run manually.
2020-07-22 21:56:29 -07:00
Christopher C. Wells c720f0b581 Add cache table support (WIP) 2020-01-31 09:09:01 -08:00
Christopher C. Wells 073bb37d3d Reorganize and add some basic documentation to `Gulpfile.js` 2020-01-27 19:58:50 -08:00
Christopher C. Wells c9b9ad543d Add `updatestatic` gulp command (#102) 2020-01-27 19:48:28 -08:00
Christopher C. Wells 4a81e2c5a9 Add the ability to set the development server IP address from gulp 2020-01-27 08:52:42 -08:00
Christopher C. Wells 7030258f94 Remove vendor CSS file separation 2020-01-26 09:30:43 -08:00
Christopher C. Wells 5fb2627c19 Move Plotly locales in to `graph.js` 2020-01-20 15:50:35 -08:00
Christopher C. Wells 9da0f2a1d5 Add locale support to Plotly graphs 2019-11-09 16:42:51 -08:00
Christopher C. Wells a0e70b61f0 Replace abandoned sass-lint with styelint 2019-11-09 06:37:31 -08:00
Christopher C. Wells ad1cc1ee94 Add gulp commands for make/compilemessages. 2019-04-13 20:50:36 -07:00
Christopher Charbonneau Wells 81cf6491a4 Remove `pre-commit` gulp command and add example git pre-commit hook. 2018-10-13 17:14:26 -07:00
Christopher Charbonneau Wells 8dea1f5b5b Make sure flake8 exits with an error status if linting does not pass. 2018-10-13 17:00:42 -07:00
Christopher Charbonneau Wells 2b6fdf327f Add gulp "pre-commit" command. 2018-10-11 19:30:11 -07:00
Christopher Charbonneau Wells 3fffe6c027 Add Gulp "clean" command to remove static folders. 2018-10-08 06:32:06 -07:00
Christopher Charbonneau Wells 3413d7110c Update to Gulp 4.x. 2018-07-15 10:12:55 -07:00
Christopher Charbonneau Wells 2bc9d4703d Use logo in app. 2018-05-20 15:59:45 -07: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 2221382b4b Ignore `etc` folder when linting Python. 2017-11-15 13:12:04 -05:00
Christopher Charbonneau Wells 151f48a695 Add separate coverage config file. 2017-11-11 17:02:47 -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 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 c339062fba Use visibilityjs and momentjs to update a running timer when it's detail page becomes visible.
This commit is intended to improve the mobile experience by updating the timer detail page with the correct, current duration when, for example, a phone is unlocked after having been locked for a while with the timer detail page open.
2017-10-27 22:28:38 -04:00
Christopher Charbonneau Wells 28c2238423 Add migrate and fake commands to gulp. 2017-10-26 12:26:09 -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 f23ea78cef Linting fixes. 2017-10-22 15:05:58 -04:00
Christopher Charbonneau Wells e45101b75c Rename project Baby Buddy. 2017-10-22 14:00:42 -04:00
Christopher Charbonneau Wells 646ffbf093 Add tests utilities and core views tests. 2017-10-21 22:14:44 -04:00
Christopher Charbonneau Wells bc7b9a97fa Remove FA from vendor CSS. 2017-09-15 12:45:12 -04:00
Christopher Charbonneau Wells a114ce7421 Fix gulp styles:app task for static_src folder name change. 2017-08-24 13:18:00 -04:00
Christopher Charbonneau Wells bc13ab09e8 Add a gulp "build" task for building and compressing all assets. 2017-08-24 09:50:39 -04:00
Christopher Charbonneau Wells aafc44a70d Add plotly and create a separate "graph" JS handler for gulp. 2017-08-24 09:48:38 -04:00
Christopher Charbonneau Wells 78ebc87265 Use static_src directories to prevent collisions with Django's collectstatic. 2017-08-24 07:54:47 -04:00
Christopher Charbonneau Wells 23acc006d4 Linting fixes. 2017-08-22 13:36:49 -04:00
Christopher Charbonneau Wells 410e6c9e48 Add flake8 Python linting. 2017-08-22 13:29:16 -04:00
Christopher Charbonneau Wells 0c5c3b7a2c Add "lint" gulp command with sass linting. 2017-08-22 13:13:23 -04:00
Christopher Charbonneau Wells 0f079c14fa Add watchConfig for gulp watch. 2017-08-22 12:56:30 -04:00
Christopher Charbonneau Wells c0b38f3790 Add the watch task to gulp's default task. 2017-08-21 16:35:11 -04:00
Christopher Charbonneau Wells e33b3b24b7 Remove compress as a default action and use uncompressed assets for now. 2017-08-21 16:23:45 -04:00