Jonas L
3245216869
feat(legacy): add db config defaults and allow custom port ( #1559 )
...
* feat(legacy): allow custom port for database connection
- fix heredoc for php72
* update test config db section
* update sample config db section
* update api db config
* use defaults for database config section
* update documentation
* more documentation for migration
2022-02-04 16:03:01 +02:00
jo
32cb67806a
chore: add pyupgrade pre-commit hook
...
- add --py3-plus flag to pyupgrade hook
- add --py36-plus flag to pyupgrade hook
2022-01-27 10:37:48 +02:00
jo
bf59f20ffd
feat(api): allow to run without log file for dev
...
BREAKING CHANGE: moved production api log file
from '/var/log/airtime/api.log' to '/var/log/libretime/api.log'
2022-01-17 09:49:22 +02:00
jo
401808d7d1
fix(api): duplicate exception raising and close file
2022-01-17 09:49:22 +02:00
jo
ad7686e8a7
feat(api): update env var settings loading
...
BREAKING CHANGE: environment variables names changed
'LIBRETIME_CONF_DIR' was removed
'LIBRETIME_CONF_FILE' was renamed to 'LIBRETIME_CONFIG_FILEPATH'
2022-01-17 09:49:22 +02:00
jo
e84137a8ee
chore: fixes after libretime_api rename
2022-01-04 09:18:58 +02:00
jo
6de242db65
chore: rename libretimeapi dir to libretime_api
2022-01-04 09:18:58 +02:00