Commit Graph

1178 Commits

Author SHA1 Message Date
Christopher C. Wells 858436e840 Convert passed datetime object to localetime
Closes #274
2021-08-06 08:33:41 -07:00
Christopher C. Wells 1aad600f6c Only use `SHORT_MONTH_DAY_FORMAT` with supported locales
Closes #276
2021-08-06 08:24:07 -07:00
Christopher C. Wells 4c9848ec4e Create v1.8.0 release 2021-08-05 07:39:38 -07:00
Christopher C. Wells f29269869c Only add sessions refresh data to existing sessions
Prior to change session were created for _every_ request (including API
requests).
2021-08-05 06:34:08 -07:00
Ohad Lutzky 207a5bc236 Move Actions column to far left
This allows the columns to be ordered in a descending order of
importance from left to right, reducing scrolling.

Also un-center the column, as it is now flush to the left.

Fixes #236
2021-08-04 14:59:28 -07:00
Ohad Lutzky cd9ef8724f Run gulp updatestatic 2021-08-04 14:23:08 -07:00
Ohad Lutzky 36c44484b4 Add links from dashboard
Fixes #234
2021-08-04 14:23:08 -07:00
Ohad Lutzky 4b59475c00 Ignore files in static for repository language
See discussion in https://github.com/babybuddy/babybuddy/pull/268#issuecomment-892967652
2021-08-04 14:15:42 -07:00
Ohad Lutzky e2779c006f Hide child column if only one child is shown
Fixes #233
2021-08-04 08:47:56 -07:00
Ohad Lutzky 9d2e539fc4 Consider last-feeding-method as empty if never-changing
If the feeding method is always the same, the last-feeding-method card
is unhelpful. Consider it "empty" so it can be hidden by user setting.

This is an alternative solution to https://github.com/babybuddy/babybuddy/issues/139.
2021-08-03 19:23:48 -07:00
Ohad Lutzky 20538ce59d Unify "wet" and "solid" columns
Note that change is always at least either wet or solid.

Fixes #235
2021-08-03 19:17:51 -07:00
Christopher C. Wells 51c70c1746 Fix linting issue 2021-08-01 04:42:38 -07:00
Christopher C. Wells 273c365bef Add test for short datetime template tag 2021-08-01 04:42:38 -07:00
Christopher C. Wells 16c34ca7f0 Add test for custom date format 2021-08-01 04:42:38 -07:00
Christopher C. Wells 94cb7d771a Use short datetime string for lists 2021-08-01 04:42:38 -07:00
Christopher C. Wells 58acccfddb Use short datetime string for lists (WIP) 2021-08-01 04:42:38 -07:00
Christopher C. Wells c1dab44596 Use POST for timer quick add functionality 2021-07-31 13:56:48 -07:00
Christopher C. Wells 824d2af0da Correct method names 2021-07-31 13:16:50 -07:00
Christopher C. Wells c873f84a2c Return to timer detail on delete cancel 2021-07-31 13:15:23 -07:00
Christopher C. Wells c2513ff843 Use POST for timer stop and restart operations 2021-07-31 13:11:21 -07:00
Christopher C. Wells 4673c2b8bd Move cookie secure attributes to example production settings 2021-07-31 05:56:29 -07:00
Christopher C. Wells d9f6c44f59 Add secure attribute to cookies 2021-07-31 05:56:29 -07:00
Christopher C. Wells eac0942acd Remove unsupported eb setting config 2021-07-31 05:56:29 -07:00
Christopher C. Wells 371d6f50cd Disable CI Python cache
Troubleshooting issue with Pipenv Python executable discovery.
2021-07-19 20:55:30 -07:00
Christopher C. Wells be3443de35 Update Python dependencies 2021-07-19 20:55:30 -07:00
Christopher C. Wells a9f469efcb Update node dependencies 2021-07-19 20:55:30 -07:00
Christopher C. Wells 605660ff94 Only use full width submit on smaller screens 2021-07-19 20:55:30 -07:00
Christopher C. Wells f4134cd226 Make form submit full width fixed 2021-07-19 20:55:30 -07:00
Ohad Lutzky 798d7663fd Dashboard: Auto-refresh even if focus is supported
* No change if unsupported
* If supported, still auto-refresh at the selected frequency (if any),
  but only if not hidden.

This is useful for always-on displays (e.g. a "baby clock"). Fixes #253
2021-07-19 19:52:19 -07:00
Ohad Lutzky 411641903f
Move Time column to be first in list view (#250)
Fixes #232
2021-07-09 19:32:53 -07:00
Ohad Lutzky beaf366079
Show duration in timeline (#247) 2021-07-09 13:45:07 -07:00
Ohad Lutzky dd3aa3bdb8
Dashboard: Move all "last" cards to top (#248)
Fixes #230
2021-07-09 07:50:02 -07:00
Ohad Lutzky e2e2c8c43a
Brighten blue and cyan colors (#251)
For slightly easier viewing on mobile phones in daylight
2021-07-09 07:36:38 -07:00
Christopher C. Wells db109fcd0a Update Heroku Python runtime 2021-07-07 20:53:52 -07:00
Christopher C. Wells 450eb3137e Remove Docker deployment support files 2021-07-07 20:48:28 -07:00
Christopher C. Wells bfcb33b471 Add CHANGELOG.md file 2021-07-07 20:43:55 -07:00
Christopher C. Wells 67e78fec8c Bump version to v1.7.0 2021-07-07 20:14:17 -07:00
Ohad Lutzky 73a04af9b2
Timeline: Add edit links (#246)
* Timeline: Show diaper change details

* Timeline: Add edit links

Suggested in #229

Co-authored-by: Christopher Charbonneau Wells <10456740+cdubz@users.noreply.github.com>
2021-07-07 20:09:22 -07:00
Ohad Lutzky 8861933738 Timeline: Show diaper change details 2021-07-07 19:54:43 -07:00
Christopher Charbonneau Wells e2e73d236d Remove unsupported AWS EB deployment documentation 2021-07-06 21:20:34 -07:00
Christopher Charbonneau Wells 9fdf2c2f2d Update Docker deployment documentation 2021-07-06 21:20:34 -07:00
Ohad Lutzky 2a7402283c Clarify "no events" on timeline
Suggested in #229
2021-07-06 20:38:31 -07:00
Christopher Charbonneau Wells 8e814f1674
Fix backticks usage in README 2021-07-06 20:32:40 -07:00
Ohad Lutzky c31b2b5519 Add `libpq-dev` to instructions
Fixes #238
2021-07-06 13:42:42 -07:00
Nicholas Trecina c1769c3923 Reverted tempus dominus to the previous version to fix an issue with marking fields as read only 2021-07-05 21:08:05 -07:00
Ohad Lutzky e3b6f79c09 Show feeding amount on timeline 2021-07-05 12:51:05 -07:00
Ohad Lutzky ed1d6b779e Show absolute last times in dashboard 2021-07-05 12:44:21 -07:00
Ohad Lutzky 1e36cb2211 Make docker-compose examples unicorn-appropriate
See https://pythonspeed.com/articles/gunicorn-in-docker/

Fixes https://github.com/babybuddy/babybuddy/issues/227
2021-06-25 12:18:15 -07:00
Christopher C. Wells 1689bc8e20 Refactor API key reset as part of settings form
This adds core CSRF protection to the reset functionality.
2021-06-21 21:27:45 -07:00
Christopher C. Wells cca1e409e3 Use test settings in coverage task 2021-06-21 20:52:47 -07:00