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
6e936df1bc
Use a from_db class method instead of a separate method to always provider a timer's current duration.
2017-10-27 21:33:26 -04:00
Christopher Charbonneau Wells
c305d8038b
Display a message when there is not enough data to generate a report.
2017-10-27 20:46:48 -04:00
Christopher Charbonneau Wells
6ce6599b39
Clean up card content when no data is in the database.
2017-10-27 20:18:55 -04:00
Christopher Charbonneau Wells
28c2238423
Add migrate and fake commands to gulp.
2017-10-26 12:26:09 -04:00
Christopher Charbonneau Wells
1221367f2a
Adjust duration test assertions to use exact timedeltas.
...
This prevents failures when timedeltas include microseconds.
2017-10-25 12:01:43 -04:00
Christopher Charbonneau Wells
905c7a8690
Add dashboard tests.
2017-10-25 11:05:45 -04:00
Christopher Charbonneau Wells
72a75feea9
Add reports tests.
2017-10-25 10:48:33 -04:00
Christopher Charbonneau Wells
789054cfb6
Remove unused "rangeslider" utility function.
2017-10-25 10:44:57 -04:00
Christopher Charbonneau Wells
3c2df12314
Add core model tests.
2017-10-25 10:20:13 -04:00
Christopher Charbonneau Wells
05e9927d74
Remove unnecessary "duration_td" Tummy Time method.
2017-10-25 09:45:53 -04:00
Christopher Charbonneau Wells
e3b0fc2468
Remove unused "since" model methods.
...
This "to string" functionality is and should be handled in templates.
2017-10-25 09:19:14 -04:00
Christopher Charbonneau Wells
b393de90dc
Simplify model string names.
2017-10-25 08:58:15 -04:00
Christopher Charbonneau Wells
e09580e978
Fix graph JS link for new whitenoise setup.
2017-10-24 12:18:08 -04:00
Christopher Charbonneau Wells
84e96c046f
Add pluralize check to naps count card.
2017-10-24 10:08:49 -04:00
Christopher Charbonneau Wells
d293fd7740
Update README.
2017-10-23 20:33:28 -04:00
Christopher Charbonneau Wells
8daf82ffa0
Shorten app.json description to meet below 140 characters requirement.
2017-10-23 20:24:53 -04:00
Christopher Charbonneau Wells
19ad5b98a3
Adjust card styles.
...
Removes footers with mostly useless information and uses muted text for all content.
2017-10-23 20:07:45 -04:00
Christopher Charbonneau Wells
66a91fe534
Add a "naps" card.
2017-10-23 19:52:20 -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
f0e0ec38e3
Add a screenshot and Heroku info to README.
2017-10-23 10:38:52 -04:00
Christopher Charbonneau Wells
93066e32a1
Moved ALLOWED_HOSTS setting to base.
2017-10-23 09:49:09 -04:00
Christopher Charbonneau Wells
d12405096b
Add psycopg2 requirement for Postgres functionality.
2017-10-23 09:06:17 -04:00
Christopher Charbonneau Wells
588fe99c45
Fix heroku settings file name.
2017-10-23 08:59:19 -04:00
Christopher Charbonneau Wells
04237e3bc6
Add a link to the Herko demo instance.
2017-10-23 05:25:56 -04:00
Christopher Charbonneau Wells
b28bb0cd56
Use development settings for wsgi for now.
2017-10-23 05:19:32 -04:00
Christopher Charbonneau Wells
89ebf1845b
Add Heroku post build step to create static files.
2017-10-23 05:13:26 -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
ae959205d9
Add Heroku Procfile.
2017-10-23 04:37:23 -04:00
Christopher Charbonneau Wells
a2b9ae511d
Correct license badge.
2017-10-23 04:25:31 -04:00
Christopher Charbonneau Wells
709ea1a120
Pretty badges!
2017-10-22 18:24:52 -04:00
Christopher Charbonneau Wells
292d5b75c0
Add ipaddress to Pipfile for 2.7 support.
2017-10-22 18:14:18 -04:00
Christopher Charbonneau Wells
e931bd0b74
Update Pipfile.lock.
2017-10-22 17:58:58 -04:00
Christopher Charbonneau Wells
e5fb929c60
Override travis script key to run coverage.
2017-10-22 17:53:03 -04:00
Christopher Charbonneau Wells
f62fe09f25
Add travis config file.
2017-10-22 17:32:43 -04:00
Christopher Charbonneau Wells
62e7e02687
Add Gulp CLI install command step.
2017-10-22 17:23:48 -04:00
Christopher Charbonneau Wells
a4ff07c9bd
Add data to package.json.
2017-10-22 17:08:16 -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
de36cec1e9
Update Pipfile.
2017-10-22 14:43:09 -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
Christopher Charbonneau Wells
2ca120b83f
Add core forms tests.
2017-10-21 23:00:28 -04:00
Christopher Charbonneau Wells
646ffbf093
Add tests utilities and core views tests.
2017-10-21 22:14:44 -04:00
Christopher Charbonneau Wells
f9c286cb77
Add some notes to the fake data.
2017-10-21 21:59:09 -04:00