Commit graph

15383 commits

Author SHA1 Message Date
Xabi Spacebiker
216294428a Update pypofile.py 2017-10-03 01:28:01 +02:00
Xabi Spacebiker
cfb99fa926 Update pypofile.py
1st- Changes the file permissions of cache files from 444 to 644
2nd- Put the host variables into a single array, this way we can pass the full variable to the report_file_size_and_md5_to_airtime function.
2017-10-02 23:42:11 +02:00
Xabi Spacebiker
715df8418f Update HTTPHelper.php 2017-09-29 12:21:13 +02:00
Xabi Spacebiker
418e46c5d8 Update HTTPHelper.php
We want getStationUrl to return a slash at the end, so we add it if missing
2017-09-28 11:23:32 +02:00
Xabi Spacebiker
90e91b1a55 Update Schedule.php
Removing double slash from $uri, not the solution of permission issue but it won't hurt. 
getStationUrl will always return a slash at the end, so we do not need to add it again in line 1033
2017-09-28 11:21:35 +02:00
Xabi Spacebiker
2104b53761 Update pypofile.py
Adding user write permission in cached file
2017-09-28 11:12:57 +02:00
Lucas Bickel
29e7cc38a7 Merge pull request #263 from Robbt/docs/added_database_documentation
Docs/added database documentation
2017-09-21 06:27:41 +02:00
Robb
d9bf01e3f9 Merge pull request #293 from radiorabe/feature/better-error-when-parsing-wav
Better error message when parsing WAVE file
2017-09-20 18:34:23 -04:00
Lucas Bickel
586314052f Better error message when parsing WAVE file 2017-09-20 19:13:15 +02:00
Robb
a5e3afe7ee Merge pull request #298 from radiorabe/fix/python-magic-on-travis
Fix python tests on travis
2017-09-19 16:17:36 -04:00
Lucas Bickel
02ccfea0b4 Use local 2.7 python 2017-09-17 11:43:13 +02:00
Lucas Bickel
1ba907c5a1 Install deps for test 2017-09-17 11:35:36 +02:00
Lucas Bickel
bd15ba6e6f Add python-magic package in travis build 2017-09-17 11:29:26 +02:00
Lucas Bickel
9739d64063 Merge pull request #294 from miles75/master
Hunagrian language. New translations and error corrections.
2017-09-17 11:17:18 +02:00
miles75
a58bdc3159 Hunagrian language. New translations and error corrections. 2017-09-14 20:28:46 +02:00
Robb
a3a00d77aa Merge pull request #290 from radiorabe/fix/legacy_constructors
Update legacy constructors
2017-09-11 11:16:38 -04:00
Lucas Bickel
440e8ce8c9 Fix legacy constructors
These go way back to php 4 and don't need to be like this for any
reason. Currently error handling is acting up when these throw an
error.
2017-09-08 19:53:29 +02:00
Lucas Bickel
58875a2187 Merge pull request #286 from miles75/master
Hungarian translation. New translations and error corrections.
2017-09-03 16:01:07 +02:00
miles75
ef7742f9d0 Hungarian translation. New translations and error corrections. 2017-09-01 22:41:35 +02:00
miles75
3ba84a5e58 Merge remote-tracking branch 'upstream/master' 2017-09-01 19:19:10 +02:00
miles
a3130c6390 Hungarian translation 2017-09-01 18:25:26 +02:00
Lucas Bickel
21ce2d2646 Merge pull request #285 from miles75/master
Hungarian translations
2017-09-01 15:18:25 +02:00
miles
07258a68c0 Hungarian translations 2017-08-31 16:06:29 +02:00
Lucas Bickel
a0999a244f Merge pull request #278 from Robbt/feature/podcast-improvements
Enable Automatic Creation of Smartblocks and Playlists for new Podcasts
2017-08-30 19:15:29 +02:00
Robb Ebright
9dae48702f Added some basic javascript based checking to require album override to be enabled for auto smartblock to be enabled 2017-08-23 12:43:48 -04:00
Robb Ebright
3515a898a7 Added option for Auto Smartblock and Playlist creation to preferences 2017-08-23 12:16:42 -04:00
Lucas Bickel
bf643d45a0 Merge pull request #275 from Robbt/feature/duplicate-smartblock
Duplicate Smartblock functionality added to menu context
2017-08-18 13:27:48 +02:00
Robb Ebright
aec0e348c4 Working code to auto generated Smartblock and Playlist for new Podcasts 2017-08-18 00:46:59 -04:00
Robb Ebright
6a11253ce3 added code to duplicate criteria and type for duplicate smartblock 2017-08-17 01:21:26 -04:00
Robb Ebright
c6cfd97b1a started on duplicate smartblock functionality 2017-08-16 23:32:54 -04:00
Robb Ebright
1ad7c743c2 Revert "WIP adding log rotation"
This reverts commit 0eff2acb14.
2017-08-07 17:09:34 -04:00
Robb
f1e467c3e6 Merge pull request #264 from radiorabe/fix/disable-media-monitor-on-update
Disable media-monitor on update
2017-08-06 20:17:19 -04:00
Lucas Bickel
2b64fe0d96 Disable media-monitor on update
The installer originally contained code to stop media-monitor on
updates. This code was removed together with media-monitor. In
the update case we want to make sure that media-monitor is never
running after updating to LibreTime.

The stop command will fail with a warning on systems that never
had media-monitor installed. This warning can be ignored and the
other services stopped with the same command still get stopped
as intended.

Fix #230
2017-08-06 22:34:22 +02:00
Robb Ebright
e815e043cf Added database documentation 2017-08-06 15:55:43 -04:00
Robb Ebright
0eff2acb14 WIP adding log rotation 2017-08-06 01:05:00 -04:00
Robb
bd845a016d Merge pull request #253 from radiorabe/feature/refactor-config-structure
Simplify configuration file structure
2017-08-05 20:47:28 -04:00
Lucas Bickel
8f8e4f40d0 Merge pull request #260 from Robbt/fix/enable_airtime_playout_logging
Enable logging for analyzer and pypo
2017-08-06 00:59:41 +02:00
Robb Ebright
314654dfe4 Enable logging for analyzer and pypo 2017-08-05 17:56:23 -04:00
Robb
a69b86acc8 Merge pull request #258 from radiorabe/fix/pika-install-on-debian-and-ubuntu
Add python-pika to install script
2017-08-05 10:33:42 -04:00
Lucas Bickel
81f6845fc5 Add python-pika to install script
Currently pip is pulling a new pre-release version of pika. This
version does not seem to be backwards compatible and is the reason
why uploads fail on new installs.

Since there are packages available for pika on all major distros
we can get away with just installing those as pip will not try to
replace/upgrade them the way it is currently configured.
2017-08-05 13:26:37 +02:00
Robb
c3bd93779b Merge pull request #252 from radiorabe/fix/pypo-tls-support
Use proper protocol in URL if port is set to 443
2017-07-23 08:36:21 -04:00
Lucas Bickel
e31d5077ac Fix rebasing typo 2017-07-21 13:28:08 +02:00
Lucas Bickel
fa2018a2c5 Simplify configuration file structure
This removes most of the legacy upstream config madness by not using
weird config files spread all over the place.

This isn't the solution to other config reading fragility issues, but
it does move the whole config back to the central airtime.conf file.
2017-07-21 13:15:28 +02:00
Lucas Bickel
0a556adbfa Use proper protocol in URL if port is set to 443
This adds TLS support to pypo when downloading files from the REST
API. I previously fixed some similar issues in the api_client and
wasn't aware that pypo isn't using it for every URL..
2017-07-21 12:27:34 +02:00
Robb
320b128ad8 Merge pull request #247 from radiorabe/fix/update-warning
Fix update warning
2017-07-18 22:21:33 -04:00
Robb
0c06496203 Merge pull request #248 from radiorabe/fix/no-dev-composer-install
Don't pull dev packages on install
2017-07-18 22:20:28 -04:00
Robb
0837c97263 Merge pull request #250 from radiorabe/fix/cors-response-on-non-stdandard-port
Fix non default local CORS URL case
2017-07-18 22:20:00 -04:00
Lucas Bickel
04e2402276 Fix non default local CORS URL case
I cleaned up the CORSHandler code a bit more and also rewrote the
helper to use the framework to access the request properly and
took care of also grabbing the request schema from the server.
2017-07-18 20:39:53 +02:00
Lucas Bickel
f794a579d6 Don't pull dev packages on install
We don't need them for the end user runtime and this speeds up the
install quite a bit when installing from the full tarball.

Devs will need to run `composer install` to run unit tests locally
but that's about it.
2017-07-17 22:02:46 +02:00
Lucas Bickel
9c5b769cf0 Fix update warning
I fixed the manual installer to ensure that the VERSION file ends up
in the right directory on install.

I also took care of the pre-release parts of the naggingness. It shows
no updates as long there is no stable release for the current version.
As soon as one is available it uses the orange update icon to alert the
user that an update would be in order since a stable version has been
released.
2017-07-17 21:15:51 +02:00