Commit Graph

17090 Commits

Author SHA1 Message Date
jo 3e4968244d Sort apt requirements files 2021-08-31 15:22:46 +02:00
Kyle Robbertze 9db31c68ed
Merge pull request #1314 from jooola/feat/rework_fixtures
Generate analyzer fixtures
2021-08-31 14:00:32 +02:00
jo 6238455aaf Generate +/- dB files 2021-08-31 11:02:12 +02:00
jo 9f768bb5c4 Rework tests to work with new fixtures 2021-08-30 21:23:48 +02:00
jo 8ac5c1ba03 Generate analyzer fixtures using ffmpeg 2021-08-30 21:23:38 +02:00
Kyle Robbertze eb3ac44fa5
Merge pull request #1313 from xabispacebiker/arrow-icon-fix
Update styles.css
2021-08-26 11:49:33 +02:00
Kyle Robbertze 3babb458e2
Merge pull request #1312 from jooola/fix/shebangs
Fix python shebangs
2021-08-24 15:43:04 +02:00
jo abc6420c05 Fix python shebangs
Some systems only provide a versionned `python3` executable.
2021-08-24 15:33:56 +02:00
Kyle Robbertze e675647a41
Merge pull request #1311 from malespiaut/patch-1
Fixing a permission bug in the install script.
2021-08-24 12:19:23 +02:00
Marc-Alexandre Espiaut 44e654bc95
Fixing a permission bug in the install script.
On a fresh Ubuntu 18.04 install, the script stops when trying to execute `build.sh`. Calling `bash` to launch the script fixes the issue.
2021-08-24 08:00:16 +00:00
Kyle Robbertze 0c76ed72fb
Merge pull request #1303 from jooola/fix/api_client_v2_get_schedule
Fix api client v2 get schedule
2021-08-18 17:12:48 +02:00
jo 577e581959 Explode datetime import statement 2021-08-18 17:05:29 +02:00
jo efd362eb62 Scheduler should prepare 1 day ahead, not 1 hour
The old API client v1 used to call the following action, and underlying schedule model:
d6093f7356/airtime_mvc/application/controllers/ApiController.php (L720-L730)
d6093f7356/airtime_mvc/application/models/Schedule.php (L1118-L1140)

The new API v2 prepared 1 hour of scheduled track instead
of 1 day in the old  API.
2021-08-18 16:19:58 +02:00
Xabi Spacebiker 32cfff1815
Update styles.css
Fixed arrow-icon position. In the master branch, the icon arrow looks open when it'd be closed and viceversa.
2021-08-18 14:14:07 +02:00
Kyle Robbertze d6093f7356
Merge pull request #1301 from jooola/feat/upgrade_pre-commit
Upgrade pre commit hooks
2021-08-17 23:44:53 +02:00
jo 6d8e6e15cf Add extra builtin dictionnary for codespell 2021-08-17 22:49:55 +02:00
jo 7fbbce0032 Upgrade pre-commit hooks 2021-08-17 22:45:24 +02:00
Kyle Robbertze ff96d554a1
Merge pull request #1299 from LibreTime/revert-1298-fix/web-root
Revert "Fix default web_root"
2021-08-17 21:14:45 +02:00
Kyle Robbertze cd60f4f7a9
Revert "Fix default web_root" 2021-08-17 21:14:15 +02:00
Kyle Robbertze bb941c2f22
Merge pull request #1298 from paddatrapper/fix/web-root
Fix default web_root
2021-08-17 21:11:53 +02:00
Kyle Robbertze c3e60640d4 Fix default web_root 2021-08-17 21:11:07 +02:00
Kyle Robbertze 61aaab52ec
Merge pull request #1297 from jooola/fix/remove_xenial_leftover
Remove xenial file leftover
2021-08-17 15:51:08 +02:00
jo 2db156040c Remove xenial file leftover 2021-08-17 14:15:12 +02:00
Kyle Robbertze a44b666203
Merge pull request #1296 from jooola/fix/installer_after_format
Fix installer bad logic
2021-08-17 13:53:40 +02:00
jo 60bd49fa62 Fix bad logic
Before the formatting, the check was useless.
The fixes from the formatting/linting PR messed the logic.
2021-08-17 13:38:31 +02:00
Kyle Robbertze 44477d0083
Merge pull request #1288 from paddatrapper/fix/analyzer-https
correctly determine protocol from port and configuration in PHP
2021-08-17 13:09:17 +02:00
Kyle Robbertze 745ac37389
Merge pull request #1294 from jooola/feat/format_shell_scripts
Format and check shell scripts
2021-08-17 13:02:54 +02:00
jo 5ec5ef8a40 Fix CI python app installation 2021-08-17 12:24:00 +02:00
jo 9881eebf55 Fix shellcheck warnings 2021-08-17 12:23:36 +02:00
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
jo d0836b4313 Guess yes/no values in php config manager 2021-08-06 12:39:53 +02:00
Kyle Robbertze 5466cd8688 correctly determine protocol from port and configuration in PHP
Fixes: #1283
2021-08-06 11:13:00 +02:00