Christopher C. Wells
8e5364d891
Ensure that empty environment values get defaults
...
The `os.environ.get` default is _not_ used if the environment variable is set to an empty value. This can lead to confusion if, for example, the `TIME_ZONE` environment variable is set to empty. The expected behavior is a fallback on "Etc/UTC".
2020-02-04 11:28:16 -08:00
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