Hironsan
|
8c7e5263b2
|
Update node version and apply lint
|
3 months ago |
Pavel savchenko
|
4246bbeffd
|
fix: make GOOGLE_APPLICATION_CREDENTIALS optional
The variable can often be omitted in environments that use default
credentials such as GKE (Google cloud's managed Kubernetes) or VM
instances.
Django-storages also acknowledges this, and it provides GS_CREDENTIALS
as a way around systems where the default credentials are not used
or undesired.
However, it's impossible to not set the environment variable setting,
and without passing a path to a valid file that contains a valid JSON
structure of a service account key, this code will raise an error.
Refs:
* https://django-storages.readthedocs.io/en/latest/backends/gcloud.html#authentication-settings
* https://googleapis.dev/python/google-auth/latest/reference/google.auth.html#google.auth.default
* d2ab3afdb5/google/oauth2/service_account.py (L643-L658)
* d2ab3afdb5/google/auth/_service_account_info.py (L78-L80)
|
1 year ago |
iwsh
|
1162e57f04
|
Enable support for S3 compatible storage providers
|
1 year ago |
Hironsan
|
c66eef089b
|
Add SITE_ID to base.py
Fix "Site matching query does not exist." error
|
1 year ago |
Clovin
|
441a8b5230
|
fix lint issue
|
2 years ago |
Clovin
|
1185ce52ee
|
fix lint issue
|
2 years ago |
Clovin
|
969ee82688
|
fix env issue
|
2 years ago |
Hironsan
|
170f0a1aab
|
Enable to set CSRF_TRUSTED_ORIGINS in debug mode
|
2 years ago |
Clovin
|
706edd8158
|
okta login feature
|
2 years ago |
Hironsan
|
3930e89ad4
|
Add user creation api
|
2 years ago |
Hironsan
|
a5f865c4cb
|
Add logging config to production.py
|
2 years ago |
Hironsan
|
c7359510db
|
Add url for favicon
|
2 years ago |
Hironsan
|
8e9b0381c7
|
Set staticfiles=False to django_heroku
|
2 years ago |
Hironsan
|
ed15643209
|
Update default celery setting to production
|
2 years ago |
Hironsan
|
37ba0118bc
|
Remove examples.py from data_import
|
2 years ago |
Hironsan
|
707acf48f9
|
Move CORS option to base.py
|
2 years ago |
Hironsan
|
96c93f85cf
|
Remove unused import
|
2 years ago |
Hironsan
|
68ac0157de
|
Update setting files
|
2 years ago |
Hironsan
|
5012da8cde
|
Enable to check file type about image and audio files
|
2 years ago |
Hironsan
|
507c0792b5
|
Add upload file size limitation
|
2 years ago |
Hironsan
|
db6e607bfb
|
Enable to remove a file from storage on removing it in application
|
2 years ago |
Hironsan
|
e63b796f4c
|
Add GCP setting
|
2 years ago |
Hironsan
|
d2674e92ab
|
Add a setting for AWS
|
2 years ago |
Hironsan
|
8c040b26d3
|
Update default database location in cli
|
2 years ago |
Hironsan
|
dadb96a1d6
|
Use poetry in Dockerfiles
|
2 years ago |
Hironsan
|
8dbb0c72fe
|
Add CSRF_TRUSTED_ORIGINS to development.py
|
2 years ago |
Hironsan
|
cc50c453f3
|
Remove unused urls
|
2 years ago |
Hironsan
|
810b9c325e
|
Split settings.py
|
2 years ago |
Hironsan
|
c5b517300f
|
Sort items in settings.py
|
2 years ago |
Hironsan
|
ca12379e19
|
Remove unused items from settings.py
|
2 years ago |
Hironsan
|
2d741c3635
|
Rename directory name from app to config
|
2 years ago |