Commit Graph

17059 Commits

Author SHA1 Message Date
jo dc999f9006 Fix shellcheck errors 2021-08-17 12:23:32 +02:00
jo b5f302ac61 Enhance bash shebangs 2021-08-17 12:22:47 +02:00
jo 8b3e09d41c Format shell scripts
Fix flags order
2021-08-17 12:22:46 +02:00
jo 6c2e547808 Allow custom shellcheck severity
Normal severity is normal.

CI severity is set to warning, but this should be
changed to style (default) once most
of the scripts are iether gone or modernized.
2021-08-17 12:20:52 +02:00
jo 38513c3bed Add shell-check job
We don't want to fail on shellcheck yet.
2021-08-17 12:20:52 +02:00
jo 5cf8aaf7a1 Add global Makefile for project management 2021-08-17 12:20:52 +02:00
Kyle Robbertze 00aaa0fe0c
Merge pull request #1295 from jooola/feat/remove_install_apt_version_check
Remove install apt-get dangerous options
2021-08-17 09:53:47 +02:00
jo 8ce437828e Remove install apt-get dangerous options
Apt should fail fast (and report) instead of
forcing a broken installation.

The version check is also not required anymore as
most distribution now provide an apt version > 1.1.
2021-08-17 00:07:39 +02:00
Kyle Robbertze d55e03a220
Merge pull request #1293 from jooola/fix/is_alive_method_name
Rename isAlive method to is_alive
2021-08-15 20:32:36 +02:00
jo 81e9e9f17c Rename isAlive method to is_alive
Python 3.9 compatibility fix
2021-08-15 18:47:24 +02:00
Kyle Robbertze a0b6f2e8c3
Merge pull request #1290 from jooola/feat/use_test_matrix
ci: use test matrix for php and python tests
2021-08-15 17:18:07 +02:00
Kyle Robbertze 1b3368f207
Merge pull request #1291 from jooola/fix/rename_apt_requirements_dir
Rename apt requirements directory to apt
2021-08-15 17:16:23 +02:00
jo 4033b20ee8 Rename apt requirements directory to apt
Previously ignored by the top level .gitignore, because
lib/ is a reserved directory name for python builds.
2021-08-15 14:16:55 +02:00
jo 5b64b29bdc ci: use test matrix for php and python tests 2021-08-15 13:53:30 +02:00
Robb da4b27965d
Merge pull request #1287 from paddatrapper/fix/v2-schedule
Fix v2 schedule API endpoint
2021-08-12 15:09:36 -04:00
Kyle Robbertze 4f765ebb2d remove debug statement 2021-08-12 10:08:38 +02:00
Kyle Robbertze 7e1be7b028 Truncate schedule items that run over the time of the containing show
Fixes: #1272
2021-08-12 10:08:38 +02:00
Kyle Robbertze 74e271ec7b
Merge pull request #1289 from jooola/fix/fail_on_install_fap
Fix installation failure on install -fap
2021-08-11 18:07:46 +02:00
jo f00e912618 Fix installation failure on install -fap
When installing Icecast manually, we don't want the installer to interfere
with the icecast.xml config file by changing the passwords.

The script was failing trying to copy the Icecast password file it didn't create.
2021-08-11 17:21:02 +02:00
Kyle Robbertze 0f4466b9ab
Merge pull request #1282 from jooola/enhance/change_install_passwords
Add postgres and rabbitmq password update scripts
2021-08-06 10:51:44 +02:00
jo d0d21f1bc5 Add postgres and rabbitmq password update scripts 2021-08-05 22:21:26 +02:00
Kyle Robbertze 579dfe5b9e
Merge pull request #1280 from jooola/enhance/api_client
Better error handling in api_client and airtime_mvc
2021-08-05 15:20:54 +02:00
jo 719f6b5c6a Handle bad payload in some airtime_mvc api calls
Added a basic JSON decode error safe guard for the following actions:
- pushStreamStatsAction
- updateStreamSettingTableAction
2021-08-05 15:06:01 +02:00
jo f5d1ffe27c Better failed request logging in api_client v1 2021-08-05 14:59:00 +02:00
jo d44317a28a Prevent falsy values obscur behavior in api call 2021-08-05 14:59:00 +02:00
Kyle Robbertze 8e54cd1f12
Merge pull request #1281 from jooola/fix/installer_composer_interact
Prevent user interaction with composer install
2021-08-03 14:08:30 +02:00
jo c6ce42e6a6 Prevent user interaction with composer install 2021-08-03 14:03:27 +02:00
Kyle Robbertze a6699acafd
Merge pull request #1276 from jooola/fix/api_client_status
Handle bad http requests in api clients
2021-08-01 21:22:55 +02:00
jo a6e9f3109c Handle bad http requests in api clients
Previously unhandled, the http requests should either fail hard, or
errors should be logged with details of the failed request.
2021-08-01 14:14:36 +02:00
Kyle Robbertze d58fe19ae3
Merge pull request #1254 from paddatrapper/chore/remove-bionic
Drop Ubuntu Xenial support
2021-07-16 15:02:55 +02:00
Kyle Robbertze f902c42095
Merge pull request #1270 from paddatrapper/fix/pycairo
Install pycairo before PyGObject
2021-07-16 15:02:05 +02:00
Kyle Robbertze f5ca20ed3e install pycairo before PyGObject
Fixes: #1267
2021-07-15 10:27:23 +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 cf75b14e23
Merge pull request #1259 from paddatrapper/fix/replay-gain
Set default replay gain
2021-07-09 12:28:54 +02:00
Kyle Robbertze 8d259aaf98 add missing fields to v2 get schedule api call
Fixes: #1258
2021-07-09 12:15:15 +02:00
Kyle Robbertze 5badca488d
Merge pull request #1262 from paddatrapper/fix/pygobject-version
Limit pygobject version to 3.36.1 for pycairo
2021-07-07 22:10:53 +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 eac3a61460 limit pygobject version to 3.36.1 for pycairo 2021-07-06 10:12:28 +02:00
Kyle Robbertze 18ce6824e3
Merge pull request #1253 from paddatrapper/chore/remove-stretch
Drop Debian Stretch support
2021-07-06 10:06:10 +02:00
Kyle Robbertze a1cbcf8c10
Merge pull request #1261 from paddatrapper/doc/pr-template
Add pull request template
2021-07-06 10:05:10 +02:00
Kyle Robbertze 817919b5be Add pull request template
Fixes: #794
2021-07-03 18:43:26 +02:00
Kyle Robbertze 3c63eb7c6c update documentation to remove stretch 2021-07-03 18:40:53 +02:00
Kyle Robbertze 0292ed819c
Merge pull request #1255 from paddatrapper/fix/dateutil-version
Require python-dateutil version 2.7 or higher
2021-06-29 13:08:38 +02:00
Kyle Robbertze 27fb1e5076 require python-dateutil version 2.7 or higher 2021-06-22 17:14:24 +02:00
Kyle Robbertze c26abba7a9 drop Debian Stretch support
Fixes #1194
2021-06-18 22:26:56 +02:00
Kyle Robbertze d5781d198c
Merge pull request #1231 from paddatrapper/fix/python-valueerror
Allow schedule times without microseconds in api_client
2021-06-17 21:03:37 +02:00
Kyle Robbertze 16a9168d4f
Merge pull request #1227 from jooola/update_contibuting
Improve CONTRIBUTING and community links
2021-06-13 18:37:08 +02:00
Kyle Robbertze fec0aec26d rearange sections between CONTRIBUTING and the website 2021-06-13 13:26:27 +02:00