renovate[bot]
9af3050432
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.26.1 (main) ( #2677 )
...
* fix(deps): update dependency friendsofphp/php-cs-fixer to <3.26.1
* style: format code
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2023-09-08 15:45:24 +02:00
jo
494157750c
fix(legacy): move forked deps to the libretime namespace
2023-01-12 23:15:12 +02:00
jo
63d9e430e1
chore(legacy): format code
2022-09-12 14:15:50 +02:00
jo
85f7c6d89b
test(legacy): enable stdout logs
2022-08-25 10:52:38 +02:00
jo
f483852ccd
refactor(legacy): clean config
...
- sort imports
- improve indentation
- rename internal_values to legacy_values
- reorder functions
remove unused isYesValue
2022-08-11 13:17:39 +02:00
Jonas L
4d393fa14e
style(legacy): format files ( #1946 )
2022-07-07 20:01:15 +02:00
Jonas L
703a8e5856
chore: remove cloud storage remainings ( #1934 )
2022-07-04 22:09:14 +02:00
jo
f7bb6e7592
feat: move storage path setting to configuration file
...
- change default storage path to /srv/libretime
- remove music dirs table
- use /tmp for testing storage
- storage dir should always have a trailing slash
2022-06-08 23:23:08 +02:00
jo
0e4bc4cacd
feat: replace php migration with django migration
...
- keep latest legacy version in initial migration file
- move propel schema to api legacy app
- remove legacy upgrade tool
2022-06-08 23:23:08 +02:00
jo
aed6d2f294
feat: change config dir path to /etc/libretime
...
BREAKING: The configuration directory changed from `/etc/airtime` to
`/etc/libretime`. Please rename your configuration directory accordingly.
2022-06-08 23:23:08 +02:00
jo
604ff20239
feat: change config filename to config.yml
...
BREAKING: The configuration file name changed from `airtime.conf` to
`config.yml`. Please rename your configuration file accordingly.
2022-06-08 23:23:08 +02:00
jo
e4439390fe
feat: change config file format to yaml
...
- docs: add link to yaml.org
BREAKING: The `ini` configuration file format changed to `yml`. Please
rewrite your configuration file using the yaml format.
2022-06-08 23:23:08 +02:00
Jonas L
11ebfd2137
test(legacy): use default rabbitmq settings ( #1855 )
2022-05-23 17:27:57 +02:00
jo
751d430bcc
feat: replace exploded base_* with public_url
...
Fixes #1574
BREAKING CHANGE: The `general` section in the config schema has changed: the `general.base_*`, `general.protocol` and `general.force_ssl` configuration fields have been replaced with a single `general.public_url` field. Be sure to use a valid url with the new configuration field.
2022-04-25 16:45:01 +02:00
Jonas L
69d8eae845
style(legacy): fix code format with php-cs-fixer ( #1674 )
2022-03-14 12:15:04 +02:00
jo
4d868fac00
feat: remove unused web_server_user config entry
...
- remove InstallStorageDirectory function
BREAKING CHANGE: The configuration schema has changed:
- The `general.web_server_user` configuration field is
not used anymore.
2022-02-23 13:18:05 +02:00
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
Jonas L
729a7b99e0
feat(legacy): consolidate constants ( #1558 )
...
* remove unused file
* fix paths leading slash
* remove useless imports
* refactor(legacy): use constants everywhere
* fix path leading slash
* remove useless import
* consolidate legacy contants
* format code
* reuse LIBRETIME_CONFIG_DIR
* fix test config path
* remove ci legacy log dir creation
* some logs improvements
2022-02-04 12:00:41 +02:00
Jonas L
0ce1634c9d
feat(legacy): rename log filepath ( #1551 )
...
BREAKING CHANGE: moved legacy log file from '/var/log/airtime/zendphp.log' to '/var/log/libretime/legacy.log'
2022-01-31 11:27:53 +02:00
Jonas L
8569af9328
style(legacy): force semicolon on same line ( #1534 )
2022-01-23 20:15:55 +02:00
Jonas L
5e8d8db6e9
Feature: Support php7.4 ( #1354 )
...
* Run CI tests against php 7.4
* Sort composer dependencies
* Remove unused Aws S3 php library
* Pin simplepie dependency to ^1.5
* Pin getid3 dependency to ^1.9
* Pin composer semver to ^3.2
* Pin php-amqplib to ^2.12
* Drop sentry logging support
* Update composer dependencies
* Move propel regenerate to Makefile
* Regenerate propel files with v1.7.0
* Pin propel orm to ^1.7
* Regenerate propel files with v1.7.2
* fix: generator_version in airtime-conf-production.php
* Replace propel/propel1 with jooola/propel1
* Regenerate propel files with v1.7.3-dev
* Fix php7.4 compatibility
Using php-cs-fixer:
'@PhpCsFixer' => true,
'concat_space' => ['spacing' => 'one'],
'ordered_class_elements' => false,
'yoda_style' => false,
'@PHP74Migration' => true,
'assign_null_coalescing_to_coalesce_equal' => false,
'ternary_to_null_coalescing' => false,
'heredoc_indentation' => false,
'@PHP74Migration:risky' => true,
'declare_strict_types' => false,
'void_return' => false,
'use_arrow_functions' => false,
* Fix pre-commit
2021-10-17 17:19:53 +02:00
jo
efba0a7d09
Format xml files
2021-10-12 11:29:31 +02:00
jo
83b7e4162e
Run pre-commit on legacy code
2021-10-12 11:17:57 +02:00
jo
fea11ac752
Fix seed_files.yml
2021-10-12 11:16:43 +02:00
jo
d52c6184b9
Format code using php-cs-fixer
2021-10-12 11:07:56 +02:00
jo
c4c89eae19
Fix paths after legacy rename
2021-10-11 13:43:39 +02:00
jo
3e18d42c8b
Rename airtime_mvc/ to legacy/
2021-10-11 13:43:25 +02:00