Adam
8f678d86aa
Rebase to 3.21, update CI envs ( #124 )
...
* Rebase to 3.21, update CI envs
* Don't use single quotes in a single-quoted var
* Try again
* One more time
2024-12-20 13:25:03 +00:00
Jan De Luyck
253322bd89
Enable IPv6 support on uwsgi ( #123 )
2024-09-01 19:18:53 +01:00
TheSpad
71de43f0ff
Don't write config envs to file, check for links not files
2024-01-24 19:05:24 +00:00
TheSpad
239d0ae8d8
Zero or more not one or more
2024-01-24 14:37:50 +00:00
TheSpad
2f14bd55e0
Handle arbitrary number of spaces/tabs in config file
2024-01-24 14:36:51 +00:00
TheSpad
d6c2fc0b92
Anchor SITE_ROOT so we don't pick up other instances
2024-01-24 14:02:19 +00:00
TheSpad
735544d5bc
If SITE_ROOT env not set but in conf, use that value during init
2024-01-24 13:42:42 +00:00
TheSpad
5d225cbda2
Check config file for site_root as well as env
2024-01-23 22:57:20 +00:00
TheSpad
d7555e94bb
Fix CSRF handling
2024-01-22 17:59:37 +00:00
TheSpad
c56c67969b
Run makemigrations as root, move chown.
2023-11-22 10:23:30 +00:00
TheSpad
bd0cb9e603
Set CSRF_TRUSTED_ORIGINS to CSRF_TRUSTED_ORIGINS
2023-06-07 13:48:11 +01:00
TheSpad
545ea38993
Rebase to 3.18, deprecate armhf
2023-05-31 14:14:27 +01:00
TheSpad
b30183c5b5
Add handling for INTEGRATIONS_ALLOW_PRIVATE_IPS
2022-12-23 09:48:30 +00:00
TheSpad
1657e0155e
Handle ping_body_limit as int ( fixes #98 )
2022-12-22 16:53:43 +00:00
TheSpad
1b6aec5d1b
Add email support as per #64
2022-12-22 16:36:40 +00:00
TheSpad
60ab88fb6a
Rebase to 3.17, add extra pycurl deps
2022-12-22 16:22:14 +00:00
TheSpad
5d41a51210
Process statics at build time, fix migrations
2022-10-31 17:27:00 +00:00
TheSpad
e3bdd87810
Migrate to s6v3
2022-10-11 13:59:11 +01:00
Colin Sullender
ffdc86e991
Start sendreports management command
2022-09-27 07:49:51 -04:00
Immánuel!
361df72b15
Fix CSRF setting for Django 4.0 (introduced in v1.25.0) ( #84 )
2022-01-08 17:49:21 +00:00
Alex Phillips
4632d3685c
Merge pull request #75 from neographophobic/master
...
Fix for Issue #74 - Super User can't login in v1.22.0
2021-10-26 14:42:09 -04:00
Alex Phillips
0085ebe119
Merge pull request #73 from kaysond/master
...
Improve env var handling and cont-init.d/30-config
2021-10-26 14:37:34 -04:00
solipsist01
c4900ed498
Update uwsgi.ini
2021-09-14 14:22:54 +02:00
Alex Phillips
c540e23e9b
overlayfs tmp location workaround
2021-09-12 12:58:07 -04:00
Adam Reed
6fcf1411e9
Fix an error where the superuser could not login due to no profile existing. Code now uses the healthchecks _make_user functionality instead of the straight django user functionality to ensure the user is properly created.
2021-09-10 15:20:18 +10:00
kaysond
6b81f49b94
fix indentation
2021-09-05 09:31:09 -07:00
kaysond
e23e72c371
further improvements and bug fixes to 30-config
2021-09-05 08:50:32 -07:00
kaysond
e19d5a8bd8
improve env var handling and cont-init.d/30-config
2021-09-03 15:24:22 -07:00
TheSpad
2b415ce748
Remove img copy, add SITE_LOGO_URL
2021-08-07 18:52:48 +01:00
aptalca
5a6d8a2c9f
update formatting, add lsio wheel index
2021-05-18 10:09:07 -04:00
Michael
c52d26ed92
allow EMAIL_HOST_USER and _PASSWORT to be empty
...
In order to skip authentication for mail alerting, you'll have to provide an empty `EMAIL_HOST_USER` and `EMAIL_HOST_PASSWORD`. With the current implementation the default username and password will be used if the provided value is empty.
With this change you can define `-e EMAIL_HOST_USER=` to disable authentication.
see: https://docs.djangoproject.com/en/3.0/ref/settings/#std:setting-EMAIL_HOST_USER
and: https://wiki.bash-hackers.org/syntax/pe#use_a_default_value
2021-01-24 12:17:11 -08:00
Kevin Hunter
faf34a7e5d
Allowing an opt-in method to regenerate settings file from environment variables.
...
Fixes #54
2021-01-24 12:16:26 -08:00
Alex Phillips
c2290cc735
Merge branch 'master' into bugfix/allowed-hosts
2020-07-20 10:21:45 -04:00
alex-phillips
742a309d2b
bumped alpine to 3.12, fixed allowed_hosts issue, default this to wildcard
2020-07-20 10:20:29 -04:00
Chase Bolt
2703b4f2ce
remove unused CSRF_HOST
...
CSRF_HOST is unused and throws an error on startup of the container.
```
[cont-init.d] 30-config: executing...
/var/run/s6/etc/cont-init.d/30-config: line 30: http://localhost/ : No such file or directory
/var/run/s6/etc/cont-init.d/30-config: line 30: =: command not found
```
2020-07-17 10:22:13 -07:00
alex-phillips
629caa69bd
match quote as in lines above
2020-05-07 11:58:42 -04:00
alex-phillips
5578567406
add config value for specifying ping endpoint
2020-05-07 11:45:13 -04:00
thelamer
70a5fc7ff4
CSRF fix and adding postgres client pip package
2019-10-31 15:22:02 -07:00
Lukas M
faababa2fd
Update 30-config
2019-10-24 16:51:32 +02:00
Lukas M
6fbf4e482f
Update 30-config
2019-10-23 13:19:03 +02:00
Ruben Bonilla
6453f497ff
fix #18
2019-07-19 15:03:29 +02:00
alex-phillips
4ef36b2e7d
use uwsgi instead of python built-in server, disable debug mode by default in config
2018-11-22 10:54:24 -05:00
alex-phillips
ada53d55b7
removed chown of reportlabs dir since this is not baked into the image
2018-10-10 08:49:41 -04:00
alex-phillips
d4634bf372
added double quotes to fix style errors
2018-10-09 12:27:18 -04:00
alex-phillips
b79c694f74
only symlink logo files instead of entire img static directory
2018-10-09 11:10:46 -04:00
alex-phillips
db0bddf226
using array for variables
2018-08-15 07:51:29 -04:00
alex-phillips
f0a22745bd
added persistent image files for custom logo support
2018-07-20 11:03:44 -04:00
alex-phillips
485ffba5a3
upgraded to python3 as healthchecks dropped support for 2, removed unused reportlab module, was causing issues
2018-05-15 11:47:27 -04:00
alex-phillips
e73ad7878a
added second service to send up/down alerts
2018-01-17 19:30:10 -05:00
chbmb
5cc75ccbb4
Revert "set array and add test no sed yet"
2017-12-24 12:14:03 +00:00