Commit Graph

1775 Commits

Author SHA1 Message Date
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
Christopher C. Wells 9e2048b26c Change default locale to en-US 2021-10-26 19:55:16 -07:00
Christopher C. Wells ab334a39c7 Add UK English locales for dependencies 2021-10-26 19:55:16 -07:00
Christopher C. Wells c2ef32980f Remove redundant translation string 2021-10-26 19:55:16 -07:00
Amith211 52fab47735 add en-GB 'translations' 2021-10-26 19:55:16 -07:00
Alpha Chen 04c1fc0317 Fix typo in README 2021-10-25 10:16:35 -07:00
Christopher Charbonneau Wells a361f96e4d Update all translations files 2021-10-15 16:40:56 +00:00
Christopher C. Wells 86cf78e9fc Move Polish language files to subfolder 2021-10-07 05:58:03 -07:00
Christopher C. Wells 821aa34fed Update language option configurations 2021-10-07 05:58:03 -07:00
27357868 b2a74e6931 Added pl translations 2021-10-07 05:58:03 -07:00
Ohad Lutzky a5ec2d85c8
Add tummy time duration report (#316) 2021-10-04 12:37:11 -07:00
Christopher C. Wells fe7e16800a Create v1.9.0 release 2021-09-25 14:44:55 -07:00
Christopher C. Wells d8a14c37ec Remove old EB deployment config 2021-09-25 14:36:11 -07:00
Christopher C. Wells d78130bbff Update dependencies 2021-09-25 14:33:52 -07:00
Christopher C. Wells 05c5b68d28 Remove link blank targets (let user decide) 2021-09-25 14:19:53 -07:00
Christopher Charbonneau Wells 4cf523dff0
Improve logo/favicon styling (#312)
* Update brand logo color (WIP)

Need more SVG hackery for proper transparency...

* Add SVG favicon (WIP)

👻

* Create transparent logo variant; use for brand icon

* Update primary color for all logo assets

* Add small white stroke to favicon

* Switch to SVG favicon
2021-09-25 14:16:48 -07:00
Christopher Charbonneau Wells 540215e1bd
Add CodeQL workflow config (#314)
* Update codeql-analysis.yml

* Create codeql-config.yml

* Update codeql-analysis.yml
2021-09-25 13:16:11 -07:00
Christopher Charbonneau Wells b51ae77f6f
Create codeql-analysis.yml 2021-09-25 12:14:00 -07:00
Christopher Charbonneau Wells aa982bce98
Create SECURITY.md 2021-09-25 08:30:14 -07:00
Christopher Charbonneau Wells 32aa9971f6
Add Open Collective sponsorship option 2021-09-25 05:29:13 -07:00
Christopher C. Wells 3f57b196b4 Disable secure cookies
This feature breaks login on non-HTTPs connections. Additional work needed.
2021-09-16 20:44:05 -07:00
Nick Trecina a844aa7613
Date picker changes (#304)
Only open datepicker on calendar click

Co-authored-by: Christopher C. Wells <git@chris-wells.net>
2021-09-16 20:29:47 -07:00
Christopher C. Wells c8d48945f2 Set `HttpOnly` flag on cookies 2021-09-16 19:37:04 -07:00
Christopher C. Wells 0e6a5cb08a Prevent caching of pages requiring authentication 2021-09-16 19:34:33 -07:00
Christopher C. Wells 45cb43958d Set default password policies in base settings 2021-09-16 19:14:48 -07:00