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
Christopher Charbonneau Wells
f62c8edf52
Add a gulp watch task.
2017-08-21 16:19:45 -04:00
Christopher Charbonneau Wells
7daa691b21
Refactor gulp tasks as a directory.
2017-08-21 16:03:16 -04:00
Christopher Charbonneau Wells
b0f552f3f8
Refactor gulp tasks as a directory (WIP).
2017-08-21 15:42:32 -04:00
Christopher Charbonneau Wells
50bf6b9a15
Add dependencies for gulp compress tasks.
2017-08-21 15:20:13 -04:00
Christopher Charbonneau Wells
b02752f52f
Adjust sass process for import globbing (to limit multiple imports).
2017-08-21 11:43:12 -04:00
Christopher Charbonneau Wells
b05b268c7e
Replace inline CSS for diaper change types card and prepare for other sass styling.
2017-08-21 11:03:18 -04:00
Christopher Charbonneau Wells
3d0af7f9a5
Initiate sass-based app style system.
2017-08-21 10:43:13 -04:00
Christopher Charbonneau Wells
3d8ea65bf9
Add JS and CSS minify.
2017-08-20 16:05:52 -04:00
Christopher Charbonneau Wells
f81f763cfb
Refactor JS to use BabyBlotter as primary JS namespace.
2017-08-20 11:23:32 -04:00
Christopher Charbonneau Wells
78eb20ab91
Update the timer duration in real time on the timer detail page.
2017-08-20 11:09:40 -04:00