Commit Graph

761 Commits

Author SHA1 Message Date
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
Jonas L 331df277b4
docs: fix and update links (#1714) 2022-03-29 13:07:38 +02:00
jo c695b32394 docs: add missing data to release note 2022-03-29 10:42:37 +02:00
Jonas L f0cd040bac
chore: release 3.0.0-alpha.11 (#1620)
* chore: release 3.0.0-alpha.11

* import release note skeleton

* add missing db config schema changes

* wording

* sort release note commit order and add latest commits / changes

* chore: bump website version tag to 3.0.0-alpha.11

* add latest commits

* add note about api static files removal

* improve upgrade procedure after testing

* document #1606 as a known issue

Co-authored-by: Kyle Robbertze <kyle@paddatrapper.com>
2022-03-28 21:08:44 +02:00
Jonas L 20960fcf0a
docs: always run django migration on upgrade (#1687) 2022-03-18 17:10:25 +02:00
Jonas L 0430954ca3
docs: reload systemd service on upgrade (#1685) 2022-03-18 14:34:37 +02:00
Kyle Robbertze 918006772e docs: adjust formatting 2022-03-18 11:08:02 +01:00
Jonas L dca1d54174
docs: unsure we restart service after upgrade (#1677) 2022-03-16 13:45:11 +00:00
Jonas L f51d2460ab
docs: clean cloned repo before upgrading (#1676) 2022-03-16 14:06:24 +02:00
Jonas L b94eb2e92f
docs: prevent user to clone wrong repo (#1657) 2022-03-03 11:38:02 +00:00
jo 228585d434 docs: update configuration schema 2022-02-23 13:18:05 +02:00
jo 3f6438383f docs: update releases notes
- remove duplicate deprecations and upgrade procedures
- add emijeeezz
2022-02-23 10:01:15 +02:00
jo 9ebd2c85ef docs: import releases notes 2022-02-23 10:01:15 +02:00
Jonas L 3ec85d7821
docs: update structure and create links between pages (#1611)
* docs: rework files structure

* rewrite documentation entrypoint

* update category files and use yml

* add manuals entry page

* update admin-manual titles and page order

* create releases sections

* move ssl configuration to reverse proxy

* docs: update website vars and links

* update release note codeblock syntax key

* resurect troubleshooting guide

* Update freeipa custom auth documentation

* add notice about the state of the documentation

* update the backup documentation

* tmp: allow to deploy the website for preview

* Don't use require.resolve for plugins

* Update the main page link dest

* update development environment title

* rewrite the install/upgrade/migrate as guides

* update website docs sections links

* Fix urls

* move release note to documentation

* move home links to vars files

* tmp: update deploy url

* add react to tsconfig to handle jsx linting

* fix: replace absolute url to relative path to files

* tmp: allow CI Website dpeloy on working branch

* Update release note title

* use default syntax highlighting theme

* update the troubleshooting guide

* Wording

* use CodeBlock components

* Better prose

* remove api_client config section

* fix prose errors

* update import prefix for vars file

* reroder docs manuals links

* use sentence capitalization for page titles

* Wording

* missing word

* Update note about syslog log file

* wording
2022-02-21 09:16:54 +02:00
jo 8ce6703b74 docs: update reverse-proxy example variables 2022-02-16 15:01:25 +02:00
jo 8113077fd9 chore: fix broken links 2022-02-16 15:01:25 +02:00
jo 76e7bfbf6c docs: remove mention of self signed certificate 2022-02-14 12:44:17 +02:00
jo 94d3c5e496 docs: fix prose linting errors
- Properly enclose code between triple backticks
- Put paths and url between backticks
- Remove links <> enclosing
- Libretime styled name is LibreTime
- Put urls and paths betwen backticks
- Use sentence like capitalization for headings
- Put tools name between backticks
- Update links
2022-02-11 10:12:07 +01:00
jo 2d644561bf docs: fix broken links 2022-02-10 08:40:38 +01:00
jo 6d9e7a6765 docs: rework docs into the new website
- multipass docs moved to local-dev.md
- add documentation to website
- rework fogotten files
- disable fogotten files

Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
jo 2fa10793ec docs: restructure and backup pictures
Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
jo 9a88617e73 chore: delete jplayer zip file
Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
jo c4cdb94fab docs: rename documentation files
Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
jo 8d8e55f236 docs: replace jekyll with docusaurus
- jsnon5 not handled by pre-commit

Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01: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 71b3e6aa9d
docs: recommend current LTS or stable distro (#1564)
Fixes #1561
2022-02-04 15:58:07 +02:00
Jonas L c2cd1c28b8
chore: rename master branch to main (#1508) 2022-01-13 16:03:31 +00:00
Jonas L 4057c88cf0
feat: debian 11 support (#1292)
* Debian 11 Support

Run api ci test on bullseye as well

* Silan does not work for mp3 on bullseye

* Liquisoap does not fail with wma files on bullseye
2021-11-09 11:21:40 +02:00
Kyle Robbertze 7182390000
feat: add support for Ubuntu Focal 20.04 (#1168)
Co-authored-by: Valerio Bozzolan <gnu@linux.it>
2021-11-04 09:55:50 +02:00
Kyle Robbertze a2312ddfce
Update Website link to point to alpha.10 (#1404) 2021-10-16 23:54:00 +02:00
jo c4c89eae19 Fix paths after legacy rename 2021-10-11 13:43:39 +02:00
Kyle Robbertze 9494a17ad0 move Airtime migration note to the correct place 2021-07-12 10:15:31 +02:00
Kyle Robbertze f94e90a7f6 update documentation to remove bionic 2021-07-12 10:13:07 +02:00
Kyle Robbertze 39a8b66b49 Update upgrade documentation
Fixes: #71 #623
2021-07-06 10:27:22 +02:00
Kyle Robbertze fa5db502ed Drop Ubuntu Xenial support
Fixes: #1226
2021-07-06 10:27:17 +02:00
Kyle Robbertze 3c63eb7c6c update documentation to remove stretch 2021-07-03 18:40:53 +02:00
Kyle Robbertze c26abba7a9 drop Debian Stretch support
Fixes #1194
2021-06-18 22:26:56 +02:00
Kyle Robbertze fec0aec26d rearange sections between CONTRIBUTING and the website 2021-06-13 13:26:27 +02:00
Kyle Robbertze 6cbe769471 add contribution methods to the website 2021-06-08 13:37:35 +02:00
jo 488e8e750d Replace some unicode ' with simple quote 2021-06-05 00:39:35 +02:00
jo 62bd352071 Replace some em dash with en dash 2021-06-05 00:39:35 +02:00
jo 639a1249b1 Replace some unicode ... with 3 dots 2021-06-05 00:39:35 +02:00
jo 1e1cf249f7 Search and replace unicode a0c2 with 0020 2021-06-05 00:39:35 +02:00
jo f2e840989a Fix executable bit 2021-06-04 17:06:05 +02:00
jo 6871956baa Fix end of files 2021-06-04 17:06:05 +02:00
jo d8195f0fd8 Fix trailing whitespaces in files 2021-06-04 17:06:05 +02:00
jo efe4fa027e Format code using prettier 2021-06-04 17:04:53 +02:00
jo 65f7b41487 Fix spelling 2021-06-04 17:04:53 +02:00
Kyle Robbertze 02ccac3afb
Merge pull request #1218 from jooola/gitignore
Enhance .gitignore
2021-05-31 10:15:33 +02:00
jo f32bca7701 Enhance .gitignore 2021-05-29 15:44:36 +02:00
jo 5054bb7629 Add openapi yaml schema
Add yaml schema link to specs
Bump specs to v3.1.x
2021-05-28 02:24:34 +02:00
Kyle Robbertze d74d3db59a
Merge pull request #1189 from brekemeier/patch-3
Path fault
2021-05-01 00:02:16 +02:00
brekemeier 3f7f6debab
Path fault
new: airtime/php/airtime_mvc/....
2021-04-09 14:54:20 +02:00
brekemeier 0be88d2af8
Update vagrant.md 2021-04-08 19:33:32 +02:00
brekemeier 315b2d0751
Update install.md 2021-04-07 05:20:51 +02:00
Kyle Robbertze 90e5005c76
Merge pull request #1158 from hairmare/fix/remove-soundcloud
fix(soundcloud): remove broken integration
2021-01-24 23:09:30 +02:00
Lucas Bickel f029584985
Merge pull request #1165 from paddatrapper/feature/python-force-ssl
Use force_ssl in python apps
2021-01-24 10:28:32 +01:00
Daniel James 56a0482a09
Fix typo in install.md 2021-01-22 10:43:36 +00:00
Kyle Robbertze 0f9b6ffab6 remove known bug note on reverse proxy set up 2021-01-21 09:49:55 +02:00
Lucas Bickel c2bfee60f1 feat(mvc): add preview mode setting 2021-01-06 13:48:33 +00:00
Lucas Bickel 4c72403b9b fix(soundcloud): remove broken integration 2021-01-06 12:40:30 +00:00
Zachary Klosko 04796ee26a
Update docs/_docs/troubleshooting.md
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2021-01-02 16:01:23 -05:00
Zachary Klosko 1924fe4a81 Merge remote-tracking branch 'upstream/master' into js 2021-01-01 15:28:35 -05:00
Zachary Klosko 87b32252f0 Adding description of problem to troubleshooting page 2021-01-01 15:27:10 -05:00
Lucas Bickel 194682d89c fix: update to CentOS 8 2020-12-26 12:59:54 +01:00
Kyle Robbertze fb27442d22 add live-broadcast to interface category 2020-12-21 15:22:24 +02:00
Zachary Klosko fdf1f1e918 One more 2020-12-08 11:09:35 -05:00
Zachary Klosko 7e0be719f7 Fixing typo 2020-12-08 11:07:29 -05:00
Zachary Klosko e908d18cef Fixing typos 2020-12-08 09:36:16 -05:00
Zachary Klosko 7cc14fb635 Adding docs readme 2020-12-07 17:38:55 -05:00
Zachary Klosko 768d74c172 Switching from in-repo hosting plugins to CDNs 2020-12-06 18:43:18 -05:00
Zachary Klosko d2dc7a93c3 Footer was too wordy... 2020-12-03 12:22:41 -05:00
Zachary Klosko 81749bcbdb This is better 2020-12-03 12:21:39 -05:00
Zachary Klosko 4fc86ea6f6 Clarifying codeblocks 2020-12-03 12:19:44 -05:00
Zachary Klosko ecf04f894b Fixing photo credits, gitignoring Gemfile.lock, minor styling tweaks 2020-12-03 12:07:18 -05:00
Zachary Klosko ff336eb8fe Adding back Gemfile 2020-12-03 11:19:48 -05:00
Zachary Klosko 182064ed0b Remove Gemfile, fix photo credit 2020-12-03 11:19:17 -05:00
Zachary Klosko 1833ba7347 Merge remote-tracking branch 'upstream/master' 2020-12-02 15:18:36 -05:00
Zachary Klosko a9a16152e6 Adding note about need for public access for widgets 2020-12-02 15:10:48 -05:00
Zachary Klosko 3367451683 Adding widgets doc 2020-12-02 15:06:10 -05:00