Commit Graph

740 Commits

Author SHA1 Message Date
jo e92be34e2a fix(installer): only setup nginx on first install
Users usually want to setup a ssl certificate for LibreTime. Disabling any nginx config change unless it is the first install should prevent breaking a possible certbot setup.
2023-02-03 14:59:58 +01:00
jo 79febaddf8 docs: add small faq for troubleshooting 2023-02-02 08:23:03 +02:00
jo 8431888b9c docs: check logs before checking services status 2023-02-02 08:23:03 +02:00
Kyle Robbertze 111fdadaaa docs: add DOCKER_BUILDKIT env variable for docker-compose v1 (#2270)
This is required for the --mount cache used to cache pip packages
2023-01-16 08:42:23 +02:00
jo 37ba9d0986 chore: release 3.0.1 2022-12-20 16:27:29 +01:00
jo 8e1658c2e9 docs: no need to update release note path 2022-12-20 16:27:29 +01:00
jo 86ceac76d8 chore: release 3.0.1 2022-12-20 16:16:30 +01:00
jo e258bd2143 docs: no need to update release note path 2022-12-20 16:16:30 +01:00
jo dc0353c1d3 chore: remove website setup 2022-12-20 15:31:19 +01:00
jo 583169e079 chore: remove website setup 2022-12-20 16:09:28 +02:00
Kyle Robbertze 237a99bb57
docs: add DOCKER_BUILDKIT env variable for docker-compose v1 (#2270)
This is required for the --mount cache used to cache pip packages
2022-12-07 13:03:49 +01:00
jo 7d514a9306 chore: list distribution releases by release date
Old releases should be popped from the left/top and new releases should be added to the right/bottom of any distro release list.
2022-10-10 20:11:33 +02:00
jo 5eda6093f4 feat: drop Debian Buster support
Fixes #2036
2022-10-10 20:11:33 +02:00
jo 448cff7600 feat: drop Ubuntu Bionic support
Fixes #2035
2022-10-10 20:11:33 +02:00
Jonas L 96ded62c32
chore: release 3.0.0 (#2216) 2022-10-10 17:51:15 +02:00
Jonas L e991870e2d
chore: clean unmaintained centos files (#2212)
Fix #1475
2022-10-08 08:07:53 +02:00
Jonas L 2f78318abb
chore: add test-stream-input tool (#2202) 2022-10-03 17:53:58 +02:00
jo 04490676f6 chore: release 3.0.0-beta.2 2022-10-03 12:43:38 +02:00
Kyle Robbertze 7781ace118 docs: fix vale linting error
have not > haven't
2022-09-26 09:13:25 +02:00
jo 50809a933c docs: fix vale linting errors
- are not > aren't
- auto-_ > auto _
- avoid backend
- cannot > can't
- do not > don't
- does not > doesn't
- ignore emoji code
- has not > hasn't
- ignore Microsoft.GeneralURL
- is not > isn't
- it is > it's
- no exclamation point
- put code inside code blocks
- put commit sha inside code blocks
- put exception message in code blocks
- remove slang
- should not > shouldn't
- they are > they're
- we are > we're
- will not > won't
2022-09-26 09:13:25 +02:00
Jonas L 840875fbf0
docs: remove breaking change warning (#2180) 2022-09-24 12:50:30 +02:00
jo ddae3202cc chore: release 3.0.0-beta.1 2022-09-23 13:41:14 +02:00
jo 2535e8c483 docs: fix release commands 2022-09-23 13:41:14 +02:00
jo 13314d601b docs: add default user credentials 2022-09-21 01:35:19 +02:00
Jonas L a5ebb245db
docs: remove UI timezone configuration suggestion (#2158) 2022-09-16 17:21:28 +02:00
jo e048560910 chore: add changelog generator 2022-09-16 17:05:47 +02:00
jo bdc2e92454 chore: release 3.0.0-beta.0 2022-09-16 16:32:00 +02:00
jo 520fd3e8c0 docs: add tip to use yq for configuration upgrade 2022-09-15 16:26:55 +02:00
Jonas L afce6604ca
docs: add docker-compose ps command (#2150) 2022-09-15 15:12:59 +02:00
Jonas L 9b3207b8a4
feat: move timezone preference to config file (#2096)
BREAKING CHANGE: The timezone preference moved to the configuration
file.
2022-09-14 12:48:08 +02:00
Kyle Robbertze 1da42b2603 feat: add container setup
- build container with multi-stage Dockerfile
- change api listen port to 9001
2022-09-14 11:09:52 +02:00
Jonas L 5d31e04b28
docs: add warning about icecast sources limit (#2133) 2022-09-13 14:43:24 +02:00
Jonas L 43cddd3a54
chore: clean old docs files (#2132) 2022-09-12 20:46:38 +02:00
jo 97f4472ed1 chore: update version bump procedure 2022-09-12 10:48:43 +02:00
Jonas L a85d303a61
docs: single restart notice for config changes (#2098) 2022-09-08 10:19:53 +02:00
jo be14fb8096 docs: file based stream configuration 2022-09-06 13:21:54 +02:00
jo 37b8b17ed3 feat(playout): allow liquidsoap listen address configuration 2022-09-06 13:21:54 +02:00
jo 2a74649882 feat(api): remove set passwords command 2022-09-06 13:21:54 +02:00
jo 5624fd5cd0 docs: use brackets to refer to another field in the config 2022-09-06 13:21:54 +02:00
jo 3211b7a8e7 docs: add missing storage configuration 2022-08-25 10:51:25 +02:00
jo 82502fb608 docs: improve config comments 2022-08-25 10:51:25 +02:00
Jonas L 853b0552c9
docs: add restore procedure (#2071) 2022-08-25 09:50:31 +02:00
Jonas L 2edbf15bf4
feat(worker): rename service and package to libretime-worker (#2065)
BREAKING CHANGE: The `libretime-celery` python package and service was renamed to `libretime-worker`. Make sure to remove the old python package and service.
2022-08-20 08:13:30 +02:00
jo c3272662fd docs: add debian buster deprecation notice 2022-08-17 13:30:19 +02:00
jo 06109e86f8 docs: add ubuntu bionic deprecation notice 2022-08-17 13:30:19 +02:00
Jonas L 5e7b44e88f
docs: check system time config before installing (#2019) 2022-08-05 14:02:13 +02:00
jo ec829b6016 docs: edit timezone during setup 2022-08-03 15:01:15 +02:00
jo 3f612f336b docs: add out of date warning to custom auth setup 2022-08-03 15:01:15 +02:00
jo a9428ece77 docs: use dedicated backup procedure for airtime 2022-08-03 15:01:15 +02:00
Jonas L 94c64d2251
docs: add release instructions (#1995) 2022-07-26 18:00:43 +02:00
jo b5267068e4 docs: add releases distributions support 2022-07-22 19:56:35 +02:00
jo fd709f74fc docs: create development section 2022-07-22 19:56:35 +02:00
Jonas L c4bccf16f9
feat(installer): remove allow-restart flag (#1970)
Services management should be handled by the admin. You can use the following command `systemctl restart  libretime.target`
2022-07-17 23:58:51 +02:00
jo e71edbfef2 docs: fix missing release date 2022-07-15 14:03:58 +02:00
jo c91659077c docs: remove empty section in release note 2022-07-15 13:26:50 +02:00
jo 28cec5100a chore: release 3.0.0-alpha.13 2022-07-15 13:20:17 +02:00
jo de7703ffa0 docs: add missing allowed_cors_origins config 2022-07-15 13:20:17 +02:00
jo 484e66eb46 docs: reorder upgrade steps 2022-07-15 13:20:17 +02:00
Jonas L 236d5e8621
docs: troubleshoot webserver services (#1961) 2022-07-14 07:36:52 +02:00
jo de21e3175a fix: use track_type_id in smartblock criteria
Missing migration step from db976881f0

Fixes #1957
2022-07-12 11:32:26 +02:00
Jonas L d323657047
fix: prevent data loose on track_types_id migration (#1949) 2022-07-07 23:35:27 +02:00
jo db976881f0 fix: use constrained foreign key for files track_type 2022-07-07 21:07:41 +02:00
jo ec45717ccf feat: replace apache2 with nginx + php-fpm
BREAKING CHANGE: The `apache2` webserver has been replaced with `nginx` and `php-fpm`, be sure to uninstall `apache2` and clean related configuration files from your system before upgrading.
2022-07-07 10:51:07 +02:00
jo 2f205544c2 feat: use dedicated 'libretime' user
BREAKING CHANGE: The default `www-data` user has been replaced by a dedicated  `libretime` user to run the services. Be sure to change the ownership of the libretime files.
2022-07-07 10:51:07 +02:00
jo 0bb792d047 feat(installer): load .env file to persistent install config 2022-07-07 10:51:07 +02:00
jo b66f9e4722 docs: uninstall /usr/lib systemd services 2022-07-07 10:51:07 +02:00
jo 3706da8e8e docs: rewrite reverse proxy guide 2022-07-05 18:43:31 +02:00
jo 4f7798c52f docs: double 'the' 2022-07-05 18:43:31 +02:00
jo 7a311a84d4 docs: rename Libretime to LibreTime 2022-07-05 18:43:31 +02:00
jo 3e38b2f6a1 docs: rename icecast to stream-configuration 2022-07-05 18:43:31 +02:00
Jonas L 528f24e044
docs: provide uninstall guidance (#1938) 2022-07-05 18:36:49 +02:00
jo 70a31338f7 feat(api): create bulk_import command
- filter by allowed_extensions
2022-06-28 19:05:14 +02:00
Jonas L fc98b617cf
chore: clean docs html code (#1920) 2022-06-27 07:46:58 +02:00
jo 71cfab79ef feat: rename default stream mount point to main
This will not change the default mount point if you are upgrading.

BREAKING: The default stream mount point changed from `airtime_128` to `main`. Be sure to updates your clients accordingly.
2022-06-18 12:08:29 +02:00
jo a76446a371 chore: fix radiorabe liquidsoap patch link 2022-06-18 11:08:35 +02:00
Jonas L ed026660ef
docs: remove packages based install (#1883) 2022-06-16 17:08:51 +02:00
jo 679c3dc809 chore: fix radiorabe liquidsoap patch link 2022-06-16 16:25:43 +02:00
jo 6ae0f5d3f1 chore: fix python requests docs link 2022-06-16 16:25:43 +02:00
Jonas L 8ab103ab44
docs: add missing storage config upgrade procedure (#1871) 2022-06-11 18:16:48 +02:00
jo e8fc5cd1c5 feat(installer): rename shared files path to /usr/share/libretime
BREAKING CHANGE: The shared files path changed from `/usr/share/airtime` to `/usr/share/libretime`. The directory must be renamed **before the upgrade procedure**.
2022-06-08 23:23:08 +02:00
jo b3ff2defc4 docs: update install procedure
- update airtime migration guide
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 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
jo 5d902ef962 docs: add pre upgrade procedure warnings 2022-06-08 23:23:08 +02:00
Kyle Robbertze 4e9db2da16
docs: explicitly mention lack of 22.04 support (#1858) 2022-05-25 12:35:13 +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
jo 21ab07eff8 feat(legacy): change logrotate config deploy path
BREAKING: the legacy logrotate config filepath was changed from `/etc/logrotate.d/airtime-php` to `/etc/logrotate.d/libretime-legacy`
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
Jonas L 1b5ccd3f65
docs: update apache log filepath (#1811) 2022-04-25 19:56:19 +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 41df76eed0
feat(api): replace uwsgi with gunicorn (#1785)
Related to #1719

BREAKING: The uwsgi packages and configuration files (`/etc/airtime/libretime-api.ini`) should be removed from the system.
2022-04-25 16:09:19 +02:00
Jonas L 95a7411c0c
feat: improve apache configuration (#1784)
- merge php config in apache config
- remove deprecated php config
- remove old apache config
- use dedicated log files for libretime vhost
- change template variables format

BREAKING: The apache configuration file has been updated and renamed. You must remove the old configuration files `/etc/apache2/sites-available/airtime*` file from the system.

BREAKING: The php configuration file has been merged in the apache configuration. You need to remove the `/etc/php/*/apache2/conf.d/airtime.ini` file from the system.
2022-04-25 12:46:30 +02:00
Jonas L 940a1d05a9
docs: start troubleshooting with syslog over libretime logs (#1783) 2022-04-21 13:18:02 +02:00
Jonas L 751a4a4440
docs: draft architecture design document (#1736)
Fix #1610
2022-04-20 13:27:34 +00:00
Jonas L 713640e8dc
chore: release 3.0.0-alpha.12 (#1718) 2022-03-29 15:49:33 +02:00
Jonas L 7e9c9a2792
chore: rename vagrant devices (#1716) 2022-03-29 14:25:34 +02:00