Commit Graph

1149 Commits

Author SHA1 Message Date
Christopher C. Wells 4920f4341b Use request language code when available (#346)
Enables translation on the login page.
2021-11-28 14:18:00 -05:00
Christopher C. Wells 0250faec6e Ensure "settings saved" is translated (#346) 2021-11-28 14:05:56 -05:00
Christopher C. Wells c28620b3d8 Activate and deactivate user language in middleware
Fixes #346
2021-11-28 14:02:23 -05:00
Marcelino Alberdi Pereira 462459964c Add notes to child timeline 2021-11-20 18:16:10 -05:00
Christopher C. Wells 2fea4c8806 Move CI deploy steps conditional to job level 2021-11-19 11:39:15 -05:00
Christopher C. Wells 828e9ffa3f Update OpenAPI schema doc 2021-11-19 11:17:09 -05:00
Christopher C. Wells 507e0c383d Ensure API `OPTIONS` captures class-based filters 2021-11-19 11:14:49 -05:00
Christopher C. Wells 54a24423c0 Fix `date` filter for models with `time` field
Fixes #342
2021-11-19 11:14:48 -05:00
Christopher C. Wells cc4e36bafd Update dev install procedure steps 2021-11-19 09:38:24 -05:00
Christopher Charbonneau Wells 9fd06eef4f
Fix Heroku deploy URL
Fixed #340.
2021-11-19 08:53:48 -05:00
Alberdi 97671f0d93 Complete Spanish translations plus some fixes
I've used the POEditor project to update them, this commit imports the
changes directly from there.
2021-11-16 12:12:39 -08:00
Amith211 429c85cd5a
fix en_GB display format 2021-11-15 17:30:12 +00:00
Amith211 df51cc05d8
fix en_GB tests 2021-11-15 17:15:57 +00:00
Amith211 0312a4210d
add en-gb format tests 2021-11-14 01:20:20 +00:00
Amith211 36318a05e3
add en-gb datetime overrides
close #333
2021-11-14 01:18:29 +00:00
Christopher C. Wells b8ef378a8e Update Node version used in CI 2021-11-13 06:31:29 -08:00
Christopher C. Wells 10f12f6a13 Create v1.9.1 release 2021-11-13 06:24:50 -08:00
Christopher C. Wells f432f1147f Quote Python versions in CI config 2021-11-13 06:11:42 -08:00
Christopher C. Wells 09714f5810 Update Python dependencies 2021-11-13 06:07:08 -08:00
Christopher C. Wells 2a2662045a Add Python 3.10 to CI tests 2021-11-13 05:54:20 -08:00
Christopher C. Wells f302aad710 Update Heroku runtime to Python 3.9 2021-11-13 05:53:38 -08:00
Christopher C. Wells fd9a0eb656 Replace usages of `darken` and `lighten` 2021-11-13 05:47:11 -08:00
Christopher C. Wells 9371b1a100 Do not extend standard CSS classes 2021-11-13 05:38:25 -08:00
Christopher C. Wells 13a81f6336 Update node dependencies 2021-11-13 05:13:08 -08:00
Christopher Charbonneau Wells d74f35d765
Handle format customization in middelware (#332)
This is done to allow for format difference between `en-US` (`en`) and `en-GB` that are not well supported by Django's format handling.
2021-11-12 10:13:08 -08:00
Christopher C. Wells 4b884fd030 Add a demo deploy step to CI 2021-11-07 13:53:58 -08:00
Christopher C. Wells 4c1eb06145 Add Python 3.9 to CI tests 2021-11-07 13:31:18 -08:00
Christopher C. Wells 748c7f235c Run python setup in CodeQL CI
See https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#analyzing-python-dependencies
2021-11-07 13:18:55 -08:00
Christopher C. Wells f755afb000 Don't install dev dependencies in CodeQL CI 2021-11-07 13:12:03 -08:00
Christopher C. Wells d9aff2e8a5 Update pipenv deploy method on CodeQL CI 2021-11-07 13:08:01 -08:00
Christopher C. Wells b68ac0fdc4 Remove verbose flag from `pipenv install` in CI 2021-11-07 13:02:28 -08:00
Christopher C. Wells d35e20570d Exclude `.venv` when linting 2021-11-07 13:01:57 -08:00
Christopher C. Wells 9c1ba21628 Test `PIPENV_VENV_IN_PROJECT` in CI 2021-11-07 12:53:57 -08:00
Christopher C. Wells 81aa3b25b0 Correct object member access syntax 2021-11-03 20:10:37 -07:00
codisart bb8466b51b refacto(sleep-reports): #283 Replace times and labels lists by a single days list. 2021-11-03 20:10:37 -07:00
Christopher C. Wells 04d191fe7c Review and revise documentation language 2021-10-31 15:16:47 -07:00
Christopher C. Wells 650d864c64 Add information about projects using Baby Buddy 2021-10-31 15:16:47 -07:00
Christopher C. Wells 9a584481f9 Break huge README in to multiple files 2021-10-31 15:16:47 -07:00
Christopher C. Wells fab18e6e3a Update API schema file 2021-10-31 13:29:43 -07:00
Christopher C. Wells 25471b2dc6 Add date filters to all relevant models 2021-10-31 13:29:43 -07:00
Christopher C. Wells 23f5f76db4 Add date filter to models with `time` field
Fixes #328
2021-10-31 13:29:43 -07:00
Christopher C. Wells c215ad9d0f Ensure overridden Sleep.save() is run on migration 2021-10-30 10:47:44 -07:00
Christopher C. Wells 124355ebb5 Update Bootstrap to 4.6.1
No more sass division warnings!!
2021-10-30 10:19:02 -07:00
codisart c76f7d7d2d refacto(sleep-reports): #283 Rename some variables and add constants for magic strings 2021-10-30 07:23:15 -07:00
codisart c33ace2bf9 feat(sleep): #323 Add napping field to the sleep model 2021-10-30 07:16:37 -07:00
Christopher C. Wells fae764afbf Add UK English to list of supported languages 2021-10-26 19:55:16 -07:00
Christopher C. Wells 774504bce2 Prevent potential sleep entry intersection errors in tests 2021-10-26 19:55:16 -07:00
Christopher C. Wells 0c0d4baf41 Combine `en` and `en_GB` date input formats 2021-10-26 19:55:16 -07:00
Christopher C. Wells b5d9875e9a Fix linting issues 2021-10-26 19:55:16 -07:00
Christopher C. Wells 0efe0e4f0b Remove deprecated use of session-based language handling
Session-based language handling is deprecated in Django 3.x and will be
removed in 4.x.

https://docs.djangoproject.com/en/3.2/topics/i18n/translation/#explicitly-setting-the-active-language
2021-10-26 19:55:16 -07:00