Commit Graph

127 Commits

Author SHA1 Message Date
Christopher C. Wells 94619b6b5b Merge remote-tracking branch 'origin/master' into v2 2023-05-02 19:56:06 -07:00
Christopher C. Wells 5ec926ac2b Update translations from POEditor 2023-05-02 18:54:19 -07:00
Christopher C. Wells 0a0582217b Override site settings form 2023-05-02 17:33:31 -07:00
Christopher C. Wells 694bb3f811 Use django-dbsettings package for site settings 2023-04-15 13:59:44 -07:00
Christopher C. Wells 5875ef9658 Remove support for 24H time format override 2023-03-25 14:29:35 -07:00
Christopher C. Wells f155caa268 Remove deprecated `TIME_ZONE` environment variable configuration
Closes #301
2023-03-25 12:59:32 -07:00
Christopher C. Wells 1d9577a192 Sync moment and Django formats for PT and TR
Fixes #498 and #532
2023-02-11 17:41:17 -08:00
Christopher C. Wells c95b2f07a3 Update latest translations from POEditor 2023-02-11 11:21:26 -08:00
Christopher C. Wells 10a58e61b5 Refactor read only group creation as post migrate operation 2023-02-11 10:31:14 -08:00
Christopher Charbonneau Wells 996d81966c
Indicate user locked state and allow unlocking from users admin (#600)
* Use custom template for account lock

* Rename Baby Buddy base template tags

* Add user unlock view

* Add user unlock test
2023-02-11 09:02:23 -08:00
Brian O'Connor ac19f30173 Add DRF's OrderingFilter to list of default filter backends to implement ordering in the API 2023-02-10 19:06:55 -08:00
Tom Pansino 8716a3108a Fix formatting 2022-12-07 16:35:02 -08:00
Tom Pansino 6acadcb11b Allow setting CSRF_COOKIE_SECURE and SESSION_COOKIE_SECURE via env vars 2022-12-07 16:35:02 -08:00
Christopher C. Wells 65a7e8776c Remove Heroku-specific config and documentation 2022-10-29 18:51:59 -07:00
Paul Konstantin Gerke 5e2b847ed8 Merge remote-tracking branch 'origin/master' into app-integration 2022-10-17 07:11:58 +02:00
EnsuingRequiem 46159850c4
Add forward auth by way of remote user
* Add forward auth related settings

* Document forward auth settings

* Rearrange code to match preference

* Adjust forward auth configuration

* Add tests for reverse proxy auth

Closes #517 

Co-authored-by: Christopher C. Wells <git-2022@chris-wells.net>
2022-09-18 14:00:41 -07:00
Paul Konstantin Gerke be4f987d35 Remove qrcode library and replace with django-qre-code
Required some rework to make qr-codes work via a template machanism. I think
that the new solution is working neatly as well.
2022-08-30 21:26:45 +02:00
Christopher Charbonneau Wells 0d26efe05a
Add a way to set the SMTP configuration (#506)
* Update configuration of password reset URLs

* Add support for email configuration via environment variables

* Remove unused settings files

* Add email configuration documentation

* Reorganize configuration documentation by topic

* Fix linting issue

* Add password reset flow test

* Correct icon name

* Isolate password reset test case

* Update locales for new strings
2022-07-30 14:22:34 -07:00
Jean-Louis Jouannic b0f469497e 🚨 fixes lint errors 2022-07-10 07:16:15 -07:00
Jean-Louis Jouannic e8de147657 🔧 adds config file for Clever Cloud deployment 2022-07-10 07:16:15 -07:00
Jean-Louis Jouannic f6960dc2e9
Add support for other S3-like providers (#476) 2022-06-06 13:34:22 -07:00
Christopher C. Wells aba239e6da Update Render.com config
Default database instance is _not_ free... rude.
2022-06-02 07:05:50 -07:00
Christopher C. Wells d8e03dbf92 Add settings for Railway 2022-05-30 20:09:38 -07:00
Christopher C. Wells 4d8466be99 Format code 2022-05-23 15:59:57 -07:00
Christopher C. Wells 5d16e0ea19 CSRF_TRUSTED_ORIGINS is a list derp 2022-05-23 15:59:57 -07:00
Christopher C. Wells e577441c85 Use join for CSRF origin config? 2022-05-23 15:59:57 -07:00
Christopher C. Wells b46ee34b12 Correct CSRF trusted origin config 2022-05-23 15:59:57 -07:00
Christopher C. Wells 369c4d9bc6 Create basic render.com configuration 2022-05-23 15:59:57 -07:00
Rubens e7702262df Add Catalan translations 2022-04-10 16:01:02 -07:00
Christopher C. Wells c19d6cc6b9 Complete support for subdirectory hosting
Fixes #186
2022-02-26 15:55:16 -08:00
Christopher C. Wells 94d1f99344 Create base error template 2022-02-25 20:28:12 -08:00
Christopher C. Wells f49a54400e Respect environment variables in development settings 2022-02-25 20:28:12 -08:00
Christopher C. Wells b1ee9fe043 Add template for 403 CSRF Bad Origin failure 2022-02-25 20:28:12 -08:00
Christopher C. Wells dd11afe584 Correct syntax of `CSRF_TRUSTED_ORIGINS` environment check 2022-02-21 15:46:44 -08:00
Christopher C. Wells 21fa57c9c1 Update references to Django documentation pages 2022-02-21 15:39:38 -08:00
Christopher C. Wells 2f9658d7de Add support for a `CSRF_TRUSTED_ORIGINS` configuration environment variable
See #393.
2022-02-21 15:37:51 -08:00
Christopher C. Wells c540d36495 Add Chinese (simplified) translations 2022-02-21 10:31:38 -08:00
Christopher Charbonneau Wells 002f86aebd Fix code formatting issue 2022-02-20 22:32:54 +00:00
Christopher Charbonneau Wells 26fa988fe6 Add Gitpod config for CSRF origin
Supports CSRF with Django 4+ (Baby Buddy v1.10.0+).

See #393.
2022-02-20 22:27:19 +00:00
Christopher C. Wells cd946280cb Format code with black 2022-02-09 16:00:30 -08:00
Christopher C. Wells 81f0fb94e7 Replace easy-thumbnails with imagekit
Closes #373
2022-01-16 15:49:09 -08:00
Christopher C. Wells 6cc9890f5a Use named patterns for settings URLs
This should improve support for subdirectory hosted installations.
2021-12-24 14:28:24 -05:00
Christopher C. Wells db703c07ec Merge remote-tracking branch 'origin/master' 2021-12-21 15:58:42 -05:00
MagiX13 498eddf5b6 Serve login pages using the SCRIPT_NAME if available 2021-12-21 15:51:20 -05:00
Christopher C. Wells 542e0dacb3 Ignore any unknown settings files 2021-12-20 09:41:32 -05:00
MagiX13 34038652b8 Convert envir variables that are supposed to be boolean to boolean
dotenv does not take allow for boolean environment variables and thus they have to be converted before
2021-12-15 06:26:50 -05: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 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
Amith211 52fab47735 add en-GB 'translations' 2021-10-26 19:55:16 -07:00
Christopher C. Wells 821aa34fed Update language option configurations 2021-10-07 05:58:03 -07:00