Commit Graph

15151 Commits

Author SHA1 Message Date
Lucas Bickel 03c73065bf Add new fields to tests 2017-03-10 18:33:21 +01:00
Lucas Bickel 288473e4fc Run database upgrades when setting up tests 2017-03-10 18:27:11 +01:00
Lucas Bickel 2a53241ba3 Whitespace and deadcode nitpick 2017-03-10 16:27:46 +01:00
Lucas Bickel 6e50af344a Fix update.py script 2017-03-10 15:53:22 +01:00
Lucas Bickel a7d25e1960 Register and reversion update, add downgrade 2017-03-10 15:49:36 +01:00
Robb Ebright 32a1a66378 Added AutoPlaylist Functionality to Show Scheduler enabling shows to have tracks added automatically. 2017-03-10 15:33:32 +01:00
Lucas Bickel baa0f9ba77 Make CORS great again
This fixes CORS to work properly with most 2.5 api endpoints while keeping the JSONP format available.

* [x] return JSONP or JSON with proper CORS headers from API
* [x] Field in Genereal Preferences Form to configure CORS enabled URLs

See #17 for what triggered this refactor. I beleive this should make integrating the APIs on the client side trivial without mandating the use of JSONP.
2017-03-10 15:10:56 +01:00
Lucas Bickel 8ddc5867ac Add missing file
This was missing from d852db439e.
2017-03-10 12:32:45 +01:00
Lucas Bickel d852db439e Add more vagrant docs
Complete with links to the usual tooling needed, some info on vagrant ssh and a small troubleshooting section.
2017-03-10 12:31:19 +01:00
Lucas Bickel f80afc83c1 Fix default port 80 Listen case 2017-03-10 12:17:16 +01:00
Lucas Bickel 7b3275b449 Merge branch 'master' into feature/vagrant-install 2017-03-10 09:38:36 +01:00
Lucas Bickel e3785e25f9 Merge pull request #52 from Robbt/fix-rabbitmq-ini-install
adding the default rabbitmq-analyzer.ini file to fix install script
2017-03-10 09:37:35 +01:00
Robb be00c68ed0 Merge pull request #45 from radiorabe/feature/remove-pref-cache-in-mvc
completely remove deactivated cache
2017-03-09 20:37:42 -05:00
Robb Ebright d46e961a5f adding the default rabbitmq-analyzer.ini file to fix install script 2017-03-09 15:57:11 -05:00
Robb 4e8e965dd1 Merge pull request #51 from radiorabe/feature/make-git-optional-during-install
Make git optional during build
2017-03-09 14:56:23 -05:00
Lucas Bickel 285ed854f6 Make git optional during build
Currently the installer fails when using a github tarball that comes without a .git folder (https://github.com/LibreTime/libretime/issues/47#issuecomment-285365745).

With this change build.sh only executes git if a .git folder is detected. It uses the name of the downloaded folder as part of the version string if a tarball is used.

I plan on releasing travis-ci built tarballs that contain the tagged version (once we have one) and also have a pre-downloaded composer vendor folder. Those will already contain a VERSION file as well and this change already contains the setup needed for that.
2017-03-09 16:12:44 +01:00
Robb 945998f836 Merge pull request #49 from radiorabe/feature/refactor-help-menu
Update naming and links in constants
2017-03-08 20:30:12 -05:00
Robb 0f909a9ec8 Merge pull request #48 from radiorabe/feature/systemstatus
re-implement /systemstatus
2017-03-08 20:29:12 -05:00
Robb f0d43f541f Merge pull request #50 from radiorabe/feature/logo-debranding
quick and dirty logo debranding
2017-03-08 20:28:12 -05:00
Lucas Bickel 779081f4e0 Debrand big gray from old error page 2017-03-08 16:47:07 +01:00
Lucas Bickel 8f27f6c8e3 Debrand favicon.ico as well 2017-03-08 16:45:40 +01:00
Lucas Bickel c8c3f89a4b quick and dirty logo debranding
I'm replacing them all with empty images under the assumption that we will want to re-add a new logo. This is just to ensure that we can release LibreTime without infringing upon the sourcefabric trademark for now.
2017-03-08 16:37:26 +01:00
Lucas Bickel 272c295974 Update naming and links in constants
This is to get the help section to look better and point to somewhere users can find us. It also takes care of /dashboard/about and maybe more.

Some of the links I'm adding are 404 as we have yet to write them, I'd rather link something we have under our control rather than legacy transifex or others.
2017-03-08 16:26:18 +01:00
Lucas Bickel 70e6135e93 Restore full disk usage not based on quota
This is mostly a restore of how this used to be implemented.
2017-03-08 15:56:43 +01:00
Lucas Bickel b15abbd82f Settings menu rename in docs
[ci skip]
2017-03-08 15:17:50 +01:00
Lucas Bickel b8a56825ad Update docs to match new systemstatus 2017-03-08 14:59:23 +01:00
Lucas Bickel 7315af0304 restore /systemstatus page
All it needed was a new controller, and some small ui tweaks + re-adding to the menu. I put it in Settings » Status where I believe it belongs.
2017-03-08 14:46:33 +01:00
Lucas Bickel 30dcf5917d Ignore .vagrant dir 2017-03-07 16:28:00 +01:00
Lucas Bickel e2fd3b00f3 Allow apache user alsa access 2017-03-07 16:16:03 +01:00
Lucas Bickel 2350650e26 Enable icecast autoinstall
And fix docs :)
2017-03-07 15:36:18 +01:00
Lucas Bickel 216a5f98eb Expose liquidsoap instreaming harbor port 2017-03-07 15:15:16 +01:00
Lucas Bickel 13c676a886 Set up alsa on vagrant
Should work on linux and macos, I only tested osx and was able to hear sound coming out of it using mpg123 on the command line.

LibreTime probably still needs some fixes to make this work as intended.
2017-03-07 15:13:26 +01:00
Lucas Bickel bd2f96acf2 Switch LibreTime port to 9080 in vagrant
Also expose icecast and make the airtime port generally configurable from the installer.

To aid in debugging and support the -v (verbose) argument was added to the call.
2017-03-07 13:26:52 +01:00
Lucas Bickel 354f449b82 Update docs to reflect we need more RAM in 2017 2017-03-07 12:20:09 +01:00
Lucas Bickel 4185a8674d Merge branch 'master' into feature/vagrant-install 2017-03-07 12:19:09 +01:00
Lucas Bickel e394df83a5 Grab 1GB of memory on vagrant 2017-03-07 12:18:34 +01:00
Lucas Bickel 21356d1894 completely remove deactivated cache
Cache handling has been disabled on saas-dev and 2.5.x at least for a while. This gets completely rid of it.

You should do caching on the byte-code level in PHP using the tool best fitting your needs and depending on the exact PHP version you are running this on.

Proper cache hygiene ist a routine part of maintenance and may need seperate addressing depending on the needs of your station.
2017-03-07 05:43:05 +01:00
Robb 0f8c3b7c92 Merge pull request #38 from radiorabe/fix/travis-deploy-redness-on-master
Fix deploy condition on travis
2017-03-06 18:53:58 -05:00
Robb 7a32d5534d Merge pull request #43 from radiorabe/feature/record-line-in
Re-enable record line in feature
2017-03-06 18:45:54 -05:00
Robb 1279ce62d8 Merge pull request #37 from radiorabe/feature/no-sad-tape-for-facebook
Add empty default Facebook config
2017-03-06 18:34:03 -05:00
Robb 830ce4beaa Merge pull request #36 from radiorabe/feature/merge-manual
Merge Airtime manuals from Booktime.pro
2017-03-06 18:33:16 -05:00
Robb d86e223c45 Merge pull request #28 from radiorabe/feature/robbt/podcast-naming
Podcast naming feature as per #26
2017-03-06 18:12:57 -05:00
Lucas Bickel f8bf67792c Re-enable record line in feature
I did a quick check and added a show, ecasound is also still being installed, I see no further reason why this should not work but we will need to get some real tests done to be sure.

Fixes #42
2017-03-06 17:51:19 +01:00
Lucas Bickel e69bc9dc00 Merge pull request #41 from radiorabe/comiconomenclaturist/hw-output
Re-enable hw output
2017-03-06 13:14:15 +01:00
Lucas Bickel 8ed1dce4b1 Install airtime in vagrant env
Uses the old installer to get LibreTime installed quick and dirty on vagrant.

It uses the `install -fIap` command that does a local install and points the apache config
directly to the local working copy mounted in /vagrant.

While we don't have fancy autoloading for libretime like the docs do, this way
it's already easy to work against a local branch.

I'm not sure if the `-I` arg to the installer also covers the python parts of libretime.
2017-03-06 12:05:22 +01:00
Lucas Bickel bdcd21208d Merge pull request #20 from ergonlogic/vagrant
Add Vagrant support
2017-03-06 11:46:52 +01:00
Lucas Bickel 71febf1222 Fix deploy condition on travis
https://docs.travis-ci.com/user/deployment/#Conditional-Releases-with-on%3A

Travis can't do env: conditionals :(
2017-03-05 14:54:32 +01:00
Lucas Bickel d1edac4ff1 Add "or terrestrial" in 1. sentence 2017-03-05 14:18:41 +01:00
Lucas Bickel 9e05e91dde Add empty default Facebook config
This will get rid of the sad tape error on the facebook widgets page `/embeddablewidgets/facebook`. We will probably end up having to document how to set up facebook properly, but I'd like to take care of that while I'm testing against real facebook.
2017-03-05 14:13:01 +01:00
Lucas Bickel c8e9356b2e Replace original docs README.txt
We need something that points back to the code now.
2017-03-05 13:46:47 +01:00