Commit Graph

106 Commits

Author SHA1 Message Date
rinka 97900e8b7c chore(legacy): translated using weblate (French)
Currently translated at 100.0% (959 of 959 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/
2022-06-16 12:13:25 +02:00
rinka e8a9b64c4d chore(legacy): translated using weblate (French)
Currently translated at 100.0% (959 of 959 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/
2022-06-15 15:13:28 +02:00
jo 28b9343c77 fix(legacy): remove not null contraint when using default
This fixes the inital schema creation to match as if the old migrations
were always run.

The third_party_track_references.file_id field should not have a not
null constraint while have a default value to 0.
2022-06-08 23:23:08 +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 0d16960887 feat: remove php web installer 2022-06-08 23:23:08 +02:00
jo eb8e7b3415 feat: move allowed cors url to configuration file
- don't set cors origins form field as readonly and add deprecation notice.
2022-06-08 23:23:08 +02:00
jo 980f1acd0c fix: correct cc_file.artwork column size 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 ee98387264 feat(installer): rewrite install script
- remove unused root packages.ini
- write config to yaml file
- allow to set public_url during install
- force icecast start right after package install
- move config file in place at the end of installation

BREAKING CHANGE: The bash installer has been rewritten, the flags and
options changed, please run `./install --help` to get more details.
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
Weblate (bot) 61dd20333b
chore(legacy): translated using weblate (Russian) (#1863)
Currently translated at 96.8% (929 of 959 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/ru/

Co-authored-by: МАН69К <weblate@mah69k.net>
2022-06-05 16:59:20 +02:00
Jonas L 6856dcbd25
feat(legacy): check services using systemctl (#1856) 2022-05-24 10:09:48 +02:00
Jonas L 11ebfd2137
test(legacy): use default rabbitmq settings (#1855) 2022-05-23 17:27:57 +02:00
jo 8278366899 feat(worker): don't run with a dedicated user
BREAKING: The worker service no longer uses a dedicated `celery` user to run. The old `celery` user can be removed from the system.
2022-05-19 09:35:05 +02:00
Jonas L 6d5c58fbcb
fix(legacy): check if libretime-api is running (#1841) 2022-05-10 13:54:16 +02:00
Jonas L 6a65a7f3f1
feat(legacy): improve rabbitmq check (#1839) 2022-05-09 13:21:17 +02:00
Jonas L be5d732006
fix(legacy): station url always has a trailing slash (#1838) 2022-05-05 19:24:51 +02:00
jo bc6b43c43c feat: rotate logs using libretime user 2022-05-05 09:42:34 +02:00
Jonas L 751151a855
chore: replace ogg|mp3 with ogg,mp3 (#1822) 2022-04-29 17:21:33 +02:00
jo 981ba4fe33 fix(legacy): the ini config parser requires a .conf ext
- rename installer config filepath
2022-04-25 16:45:01 +02:00
jo 88e618e802 fix(legacy): bypass config validation during django migration 2022-04-25 16:45:01 +02:00
jo 241105f0a0 fix(legacy): load vendors during config init
Propel does not have the vendors loaded, even if they are loaded during 'preload.php'.
2022-04-25 16:45:01 +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
dependabot[bot] 6a685720fc
chore: bump simplepie/simplepie from 1.5.8 to 1.6.0 in /legacy (#1789)
Bumps [simplepie/simplepie](https://github.com/simplepie/simplepie) from 1.5.8 to 1.6.0.
- [Release notes](https://github.com/simplepie/simplepie/releases)
- [Changelog](https://github.com/simplepie/simplepie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/simplepie/simplepie/compare/1.5.8...1.6.0)

---
updated-dependencies:
- dependency-name: simplepie/simplepie
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-22 11:30:00 +02:00
Jonas L 5cb4b5e9e5
chore(legacy): move logrotate config in legacy/install (#1780) 2022-04-21 07:11:16 +02:00
Weblate (bot) a090397989
chore(legacy): translated using weblate (French) (#1769)
Currently translated at 99.6% (956 of 959 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/

Co-authored-by: Jonas L <ljonas@riseup.net>
2022-04-17 14:09:02 +00:00
Weblate (bot) 452277e8b6
chore(legacy): translations update from Weblate (#1766)
* chore(legacy): translated using weblate (French)

Currently translated at 99.6% (956 of 959 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/

* chore(legacy): translated using weblate (French)

Currently translated at 100.0% (959 of 959 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/

Co-authored-by: Jonas L <ljonas@riseup.net>
2022-04-14 12:55:46 +02:00
dependabot[bot] 7734eea757
chore: bump composer/semver from 3.3.1 to 3.3.2 in /legacy (#1730)
Bumps [composer/semver](https://github.com/composer/semver) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/composer/semver/releases)
- [Changelog](https://github.com/composer/semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/composer/semver/compare/3.3.1...3.3.2)

---
updated-dependencies:
- dependency-name: composer/semver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 08:30:28 +00:00
Kyle Robbertze d698ace89f
chore: update code of conduct URLs (#1724)
* chore: update code of conduct URLs

* lowercase org name

Co-authored-by: Jonas L <jooola@users.noreply.github.com>
2022-04-01 13:02:13 +00:00
Jonas L bc6ec6489c
fix: add gettext for legacy locale generation (#1720) 2022-03-31 16:43:03 +02:00
Jonas L 331df277b4
docs: fix and update links (#1714) 2022-03-29 13:07:38 +02:00
dependabot[bot] e3e27e813f
chore: bump composer/semver from 3.3.0 to 3.3.1 in /legacy (#1678)
Bumps [composer/semver](https://github.com/composer/semver) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/composer/semver/releases)
- [Changelog](https://github.com/composer/semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/composer/semver/compare/3.3.0...3.3.1)

---
updated-dependencies:
- dependency-name: composer/semver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-17 12:10:31 +02:00
dependabot[bot] 71b181bc32 chore: bump composer/semver from 3.2.9 to 3.3.0 in /legacy
Bumps [composer/semver](https://github.com/composer/semver) from 3.2.9 to 3.3.0.
- [Release notes](https://github.com/composer/semver/releases)
- [Changelog](https://github.com/composer/semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/composer/semver/compare/3.2.9...3.3.0)

---
updated-dependencies:
- dependency-name: composer/semver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-15 11:02:44 +01:00
dependabot[bot] 62039fb09c chore: bump php-amqplib/php-amqplib from 3.1.2 to 3.2.0 in /legacy
Bumps [php-amqplib/php-amqplib](https://github.com/php-amqplib/php-amqplib) from 3.1.2 to 3.2.0.
- [Release notes](https://github.com/php-amqplib/php-amqplib/releases)
- [Changelog](https://github.com/php-amqplib/php-amqplib/blob/master/CHANGELOG.md)
- [Commits](https://github.com/php-amqplib/php-amqplib/compare/v3.1.2...v3.2.0)

---
updated-dependencies:
- dependency-name: php-amqplib/php-amqplib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 11:37:27 +01:00
Weblate (bot) 8296d116d5
chore(legacy): translated using weblate (French) (#1671)
Currently translated at 99.3% (953 of 959 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/

Co-authored-by: Maxime Leroy <lisacintosh@gmail.com>
2022-03-14 10:19:40 +00:00
Jonas L 69d8eae845
style(legacy): fix code format with php-cs-fixer (#1674) 2022-03-14 12:15:04 +02:00
jo dc7560e1df feat(legacy): replace massivescale/celery-php with jooola/celery-php 2022-03-04 22:18:29 +02:00
Jonas L f75bf52371
chore(legacy): clean locales without git (#1639) 2022-02-25 20:16:41 +02:00
jo 228585d434 docs: update configuration schema 2022-02-23 13:18:05 +02:00
jo f088cc2873 feat(legacy): clean config parsing and add defaults
BREAKING CHANGE: The configuration schema has changed:
- The `rabbitmq.*` configuration fields now have defaults.
- The `current_backend.storage_backend` configuration field
  now defaults to the only valid value `file`.
- The `general.cache_ahead_hours` configuration field now defaults to 1.
2022-02-23 13:18:05 +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 ae5746d26d
style: fix php-cs-fixer linting (#1575) 2022-02-08 11:14:59 +02:00
dependabot[bot] b43cb62a2e chore: bump composer/semver from 3.2.7 to 3.2.9 in /legacy
Bumps [composer/semver](https://github.com/composer/semver) from 3.2.7 to 3.2.9.
- [Release notes](https://github.com/composer/semver/releases)
- [Changelog](https://github.com/composer/semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/composer/semver/compare/3.2.7...3.2.9)

---
updated-dependencies:
- dependency-name: composer/semver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 10:27:16 +01:00
Jonas L c80f520d76
fix(legacy): update setup with new db config schema (#1567) 2022-02-05 09:48:36 +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 173ec6b334
fix(legacy): revert default storage path (#1563)
The installer hasn't been updated to create the default storage path.
2022-02-04 15:57:09 +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