Commit Graph

1152 Commits

Author SHA1 Message Date
Christopher C. Wells 250e07e739 Set default timezone as UTC
The previous setting of "Etc/UTC" appears to no longer be valid in certain
circumstances. This was causes tests to fail on user settings because the
provided default was invalid. "UTC" should be more uniformly recognized so
hopefully this does not have any downstream effects.

Closes #203
2021-05-05 05:58:32 -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
Benjamin Häublein f5c1248fbd
Fix translation (DE) (#210)
* fix translation format strings

* Fix translation

* compilemessages

* fix format string

* run compilemessages
2021-05-03 08:27:33 -07:00
Beni Cherniavsky-Paskin 29ef9f4f75 child slugs: allow unicode
This results in %-encoded URLs, but modern browsers display the unicode
chars (e.g. https://babybuddy.../children/мааян-паскин-чернявский).
2021-04-30 14:47:08 -07:00
Beni Cherniavsky-Paskin f58571bf17 child slugs: require non-blank
Currently it is easy for a child with non-ascii name to get empty slug:
'Мааян' 'Паскин-Чернявский' => '-'
'Мааян' 'Паскин' => ''

Once any child has an empty slug, many pages break with NoReverseMatch
errors.  This commit at least prevents setting such names;
slug computation to be fixed later.
2021-04-30 14:47:08 -07:00
Benjamin Häublein 14b11db91b fix translation format strings 2021-04-30 14:22:08 -07:00
Christopher C. Wells dadb84ec6a Add migrations 2021-04-15 05:45:25 -07:00
0x4161726f6e f4b9053c00 Add solid food option to feeding types
I would find this helpful as I coordinate with day care
2021-04-15 05:45:25 -07:00
Christopher C. Wells e6838a0c0f Correct sleep graph handling for entries that cross DST 2021-04-11 13:56:40 -07:00
Christopher C. Wells e27f7b76a0 Use Django 3.2 timesince depth parameter for child age 2021-04-11 13:35:07 -07:00
Christopher C. Wells fe92d3ea17 Update Node dependencies and static files 2021-04-11 12:51:12 -07:00
Christopher C. Wells fe454013da Update Python dependencies and runtime 2021-04-11 12:49:15 -07:00
Christopher C. Wells 4df001ce8f Update Node dependencies 2021-03-18 19:38:03 -07:00
Christopher C. Wells cad470fde2 Update Python requirements 2021-03-18 19:35:29 -07:00
Christopher C. Wells 6fb958d6b3 Add Italian translations 2021-03-04 06:03:29 -08:00
Christopher C. Wells 17b244a645 Remove WIP do folder 2021-02-25 06:25:21 -08:00
Christopher C. Wells 5aae21cebe Bump version to 1.5.1 2021-02-25 06:01:28 -08:00
Christopher C. Wells 311c6d2e05 Add Dutch translations 2021-02-25 06:00:23 -08:00
Christopher C. Wells 78842b9ca5 Update node dependencies and static assets 2021-02-24 05:33:50 -08:00
Christopher C. Wells a64b601f33 Use actual user and group in manual install instructions
Closes #194.
2021-02-24 05:17:38 -08:00
Christopher C. Wells 705f9d1ce1 Add locale folder to Dockerfile (#197) 2021-02-20 07:48:54 -08:00
Justin Goette 2c7ef55760 Remove leading space in code blocks
For quicker/easier copy-paste
2021-02-13 05:01:14 -08:00
jcgoette 4739d909e5 add tests 2021-02-09 18:10:36 -08:00
jcgoette 5f2c31c5e3 lint 2021-02-09 18:10:36 -08:00
jcgoette 172167e6a1 add notes to applicable APIs 2021-02-09 18:10:36 -08:00
Nicholas Trecina f5d523ba80 Boolean field labels are no longer clickable so they can't be accidentally toggle the field value 2021-01-19 08:37:07 -08:00
Christopher C. Wells 448234abc3 Bump version to 1.5.0 2021-01-05 21:08:49 -08:00
Sam 1b3f87ad8c
Update docker compose files for Portainer compatibility (#179)
* Update docker-compose.example.sqlite.yml

Add inline comments, tweak version to 2.4 for Portainer compatibility, add friendly container name.

* Update docker-compose.example.sqlite.yml

Add restart: unless-stopped

* Update docker-compose.example.yml

Update with more inline notes, friendly container names, and portainer deployment notes. Add "unless-stopped" restart parameter for auto restarting of containers.

* Update docker-compose.example.yml

Resolve pull comments

* Update docker-compose.example.sqlite.yml

Resolve pull comments

* Update docker-compose.example.yml

Adjust spacing of inline comments

* Update docker-compose.example.yml

Change back to DB_PASSWORD to conform to latest rebase of master

* Update docker-compose.example.sqlite.yml

* Update docker-compose.example.yml
2021-01-05 21:05:16 -08:00
Zutart 4733ec0b83
Improve database setting configuration options (#182)
* Updated docker.py to allow for custom PSQL env input

* Updated README.md with new PSQL env variables

* Updated with new variable names and adjusted inline logic

* Updated README.md to reflect new env variable names

* Updated database password fallback to prevent breaking existing deployments

* Updated with new env variables

* Further edits per PR discussion

* Removed unnecessary variables from example docker-compose file
2021-01-04 18:06:11 -08:00
Christopher C. Wells b009a0bebc Revert timesince chunks after monkey patch (fixes #181) 2021-01-03 19:08:11 -08:00
Christopher C. Wells b5086decd8 Update Heroku runtime Python version 2021-01-02 06:25:31 -08:00
Christopher C. Wells 344bb0f6d4 Lock requirements before deploy (AWS EB) 2020-12-02 20:44:42 -08:00
Christopher C. Wells 389211de22 Pin Docker build to Python 3.8 2020-12-02 20:42:06 -08:00
Christopher Charbonneau Wells 3f1a7d9a9d
Refactor to remove pandas dependency (#177)
* Use regular dicts for sleep pattern (WIP)

* Remove dataframes code from sleep pattern graph

* Reimplement UTC offset change handling

* Move label formatting in to a function

* Remove pandas!

* Fix linting issue

* Add dev requirements to generated requirements.txt

* Stop committing Pipfile.lock

Pipenv is designed to pin to a specific version of Python. Including the lock
file can lead to failed builds or broken package configurations on different
system architectures and/or Python versions.
2020-12-02 20:15:22 -08:00
Justin Goette 6d601abf30 Update README.md 2020-11-05 15:43:12 -08:00
Justin Goette b67ccb2fed Update README.md
Rearranged and added some detail to the Docker instructions to make them more beginner friendly.
2020-11-05 15:43:12 -08:00
= 187d2226e0 Fixed duplicate data/form-submit from double click 2020-10-28 14:35:22 -07:00
Christopher C. Wells 95a2cdf06d Use day precision for child age (#167) 2020-10-25 20:06:21 -07:00
Christopher C. Wells 19c91822e0 Update Piplock 2020-10-25 18:58:15 -07:00
Christopher C. Wells af482c70e6 Migrate timezones data 2020-10-25 18:58:09 -07:00
Christopher C. Wells b014dd29fb Fix tests for Python 3.6 support (#170) 2020-10-25 09:32:39 -07:00
Christopher Charbonneau Wells 9fb49876f4
Use correct Python versions in Travis CI (#169)
* Set python executable explicitly with pipenv command

* Move to travis-ci.com

* Remove Pipfile for older Python versions
2020-10-23 23:22:25 -07:00
Christopher Charbonneau Wells 9d261efc36 Update django.po (POEditor.com) 2020-10-23 20:39:43 -07:00
Christopher Charbonneau Wells 0a0d0dcc19 Update django.mo (POEditor.com) 2020-10-23 20:39:41 -07:00
Christopher Charbonneau Wells 750721bf51 Update django.po (POEditor.com) 2020-10-23 20:39:39 -07:00
Christopher Charbonneau Wells 9ab32c47d7 Update django.mo (POEditor.com) 2020-10-23 20:39:38 -07:00
Christopher Charbonneau Wells bd8ed871b1 Update django.po (POEditor.com) 2020-10-23 20:39:36 -07:00
Christopher Charbonneau Wells 82c50dddb4 Update django.mo (POEditor.com) 2020-10-23 20:39:34 -07:00
Christopher Charbonneau Wells b8dd889e14 Update django.po (POEditor.com) 2020-10-23 20:39:32 -07:00