Commit Graph

232 Commits

Author SHA1 Message Date
Martin Konecny 6b00b29e75 CC-2313: update INI value function needs fixing in upgrade scripts
-upgrade scripts were still broken...
2011-05-24 17:49:31 -04:00
martin f19f2153dc CC-2284: Create script that verifies all required processes are running.
-check if icecast is running
-added system symlink to run script
-run airtime-check-system at end of install
-display summary message with link to FAQ if failed
2011-05-20 17:37:06 -04:00
Naomi 62a54da1e3 CC-2281 Install script should check for pre-installed versions and prompt user to upgrade/full installation
more checks for a new install, reinstalling.
2011-05-20 12:38:21 -04:00
Naomi db89a89af9 CC-2281 Install script should check for pre-installed versions and prompt user to upgrade/full installation
sorting out options
2011-05-20 11:30:42 -04:00
martin d2e3129613 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-05-19 16:58:51 -04:00
martin e0226507e1 CC-2309: fix update_ini function
-fixed
2011-05-19 16:58:41 -04:00
Naomi 3e2e62afe9 CC-2281 Install script should check for pre-installed versions and prompt user to upgrade/full installation
Bypass choice to keep database if it's a fresh install.
2011-05-19 15:33:48 -04:00
Naomi 5e02a46a24 CC-2281 Install script should check for pre-installed versions and prompt user to upgrade/full installation
if a user has an older version installed and they choose to do a fresh install the option to preserve their config files is not allowed.
2011-05-19 15:05:33 -04:00
Naomi 697d5e0b77 CC-2281 Install script should check for pre-installed versions and prompt user to upgrade/full installation 2011-05-19 14:42:28 -04:00
Naomi a2ec9b4d10 CC-2281 Install script should check for pre-installed versions and prompt user to upgrade/full installation
moving constants in conf.php to constants.php
2011-05-19 14:27:30 -04:00
Naomi e7589f6007 CC-2281 Install script should check for pre-installed versions and prompt user to upgrade/full installation
adding upgrade/install command option.
2011-05-19 14:06:27 -04:00
Naomi b48220f0ea CC-2271 1.8.2 code cleanup tasks
include the pear db class.
2011-05-19 09:59:13 -04:00
Naomi 7315c42985 CC-2271 1.8.2 code cleanup tasks
removing any functions with source code.
2011-05-19 09:59:13 -04:00
Naomi 911beb59d2 CC-2271 1.8.2 code cleanup tasks
1.8.1 upgrade code is pretty much the same as 1.8.2, can reuse.
2011-05-19 09:59:13 -04:00
Naomi c1c567bb91 CC-2271 1.8.2 code cleanup tasks
missing global, removing configs that don't exist yet.
2011-05-19 09:59:13 -04:00
Naomi 11e54bf960 CC-2271 1.8.2 code cleanup tasks
can't seem to define globals in 1 line.
2011-05-19 09:59:13 -04:00
Naomi bb1fb5e74e CC-2271 1.8.2 code cleanup tasks
need to set globals.
2011-05-19 09:59:13 -04:00
Naomi 2044e4bda8 CC-2271 1.8.2 code cleanup tasks 2011-05-19 09:59:13 -04:00
Naomi a7176c4133 CC-2271 1.8.2 code cleanup tasks 2011-05-19 09:59:13 -04:00
Naomi 2081d8af2a CC-2271 1.8.2 code cleanup tasks 2011-05-19 09:59:13 -04:00
Naomi b84854c13c CC-2271 1.8.2 code cleanup tasks
changing 1.8.1 upgrade script to using raw source first.
2011-05-19 09:59:13 -04:00
Martin Konecny 37bfb53b3a cc-2280: install script overwrites existing db
-readded redirect stderr to /dev/null
2011-05-18 15:42:31 -04:00
martin 81ba336b4b cc-2280: install script overwrites existing db 2011-05-18 15:35:27 -04:00
martin 3416ba20d9 cc-2263: unable to cancel recording show
-made cancelled recorded shows still upload.
2011-05-18 14:33:42 -04:00
martin 6d1258f2c3 cc-2214: create standard apache config file
-done
2011-05-17 13:48:22 -04:00
Naomi 70355cc364 CC-2256 Airtime-upgrade.php does not upgrade the web app
trying to fix daemontools upgrade problems
2011-05-17 11:33:22 -04:00
Naomi 5e2e3dbf05 CC-2256 Airtime-upgrade.php does not upgrade the web app 2011-05-17 11:33:22 -04:00
Naomi 3af0b1a947 CC-2256 Airtime-upgrade.php does not upgrade the web app
to avoid warnings about old config file values.
2011-05-17 11:33:22 -04:00
Naomi e8a21b3d32 CC-2256 Airtime-upgrade.php does not upgrade the web app
reload config method has changed.
2011-05-17 11:33:22 -04:00
Naomi d169dd96e2 CC-2256 Airtime-upgrade.php does not upgrade the web app
commenting out media monitor in Airtime 1.8.2
2011-05-17 11:33:22 -04:00
Naomi 7df206a320 CC-2256 Airtime-upgrade.php does not upgrade the web app 2011-05-17 11:33:22 -04:00
Naomi 23b1e1b0d9 CC-2256 Airtime-upgrade.php does not upgrade the web app 2011-05-17 11:33:22 -04:00
Naomi 54d39ce688 CC-2256 : Airtime-upgrade.php does not upgrade the web app
recovered missing function
2011-05-17 11:33:22 -04:00
Naomi 073f539f09 CC-2256 Airtime-upgrade.php does not upgrade the web app
put back in code as it got deleted during a merge a while ago.
2011-05-17 11:33:22 -04:00
martin df3b24d3ad CC-2209: Put database install stuff into a separate script
-removed sudo
2011-05-16 20:59:44 -04:00
martin 84bf12627c -Hide error messages from CREATE USER and CREATE DATABASE
-Move airtime version string into "constant"
2011-05-13 16:47:58 -04:00
Martin Konecny 32acd59fcb Merge branch 'cc-2209-put-database-install-stuff-into-separate-script' into devel
Conflicts:
	install/airtime-install.php
	install/airtime-uninstall.php
2011-05-12 16:36:01 -04:00
James Moon bd588f7f3e CC-2209:Put database install stuff into separate script
done.
2011-05-12 12:05:48 -07:00
Naomi c5ce86bd40 CC-1799 : Live Studio Playout from media library (pytagsfs)
set up daemontools process for the media monitor script.
2011-05-11 11:44:31 -04:00
James Moon d9813f21a2 CC-2209:Put database install stuff into separate script
Note: Please carefully review the changes as I'm not sure if I
did it correctly. I tested it and it installed fine in both
cases(without an option and with option -n followed by
db-install script.
2011-05-10 14:10:46 -07:00
mkonecny d2dc2ea6a5 cc-2248-uninstall-script-debian
should be fixed, replaced sudo with su. Need to verify working in Debian.
2011-05-04 16:27:17 -04:00
martin 9e01e389ea cc-2182: convert back to restful design
-initial commit
2011-05-02 15:33:32 -04:00
martin 9236f4941d Merge branch 'master' of dev.sourcefabric.org:airtime into 1.8.1
Conflicts:
	VERSION
	airtime_mvc/application/configs/conf.php
2011-04-26 15:34:53 -04:00
Paul Baranowski eb76bbe7f0 Merge branch 'master' of dev.sourcefabric.org:airtime
Conflicts:
	VERSION
	airtime_mvc/application/configs/conf.php
	airtime_mvc/application/models/Playlist.php
	airtime_mvc/application/models/Schedule.php
	airtime_mvc/application/models/Shows.php
	airtime_mvc/application/models/StoredFile.php
	airtime_mvc/application/views/scripts/form/preferences_general.phtml
	airtime_mvc/application/views/scripts/user/remove-user.phtml
	airtime_mvc/public/js/airtime/schedule/add-show.js
	airtime_mvc/public/js/airtime/schedule/schedule.js
	install/airtime-upgrade.php
	install/include/AirtimeInstall.php
	python_apps/api_clients/api_client.py
	utils/airtime-clean-storage
	utils/airtime-clean-storage.php
	utils/airtime-import
	utils/airtime-import.php
2011-04-25 17:24:53 -04:00
martin b030ebaba7 Merge branch '1.8.1' of dev.sourcefabric.org:airtime into 1.8.1
Conflicts:
	install/include/AirtimeInstall.php
2011-04-25 15:23:21 -04:00
martin 2fb289bf0a cc-2193: debian database install fixes
-fixed
2011-04-22 23:02:18 -04:00
martin d57a308111 Merge branch '1.8.1' 2011-04-22 00:59:16 -04:00
martin 6922c4d87c CC-2193: Debian database install fixes 2011-04-22 00:55:31 -04:00
martin 96551e0d91 CC-2186: Integration of a logger tool
-added upgrade support
2011-04-20 16:22:06 -04:00
martin 171828f8ad CC-2186: Integration of a logger tool
-initial check-in. Everything appears to be working...
2011-04-20 00:46:03 -04:00
Naomi 52a84629da airtime ini files weren't being updated on clean install. 2011-04-18 17:50:04 -04:00
Naomi 425e90beb6 INI files never created on fresh install. 2011-04-18 17:15:51 -04:00
Naomi 886d0d7d80 CC-2194 : Error when uninstalling pypo
not removing linked files to early.
2011-04-18 16:20:27 -04:00
Naomi 6b1e6b87a0 better message about backing up. 2011-04-18 15:41:11 -04:00
Naomi 9e96ec9da4 reloading config after ini values are changed 2011-04-18 15:28:48 -04:00
Naomi 2c7bf676a3 creating default storage directory in airtime 2011-04-18 14:42:41 -04:00
Naomi b44be9fd6a upgrading with new file locations 2011-04-18 14:11:31 -04:00
Paul Baranowski 114fe1ad3f CC-2166 Packaging improvements
A fix to prevent updating values in INI files on install.
2011-04-15 18:37:24 -04:00
Paul Baranowski 173d82007f CC-2166 Packaging improvements
Added command line options to the install process to overwrite or
preserve the existing config files.

Added the pypo-start/stop and recorder-start/stop symlinks to /usr/bin.

Renamed pypo-start.py to airtime-pypo-start.
Renamed pypo-stop.py to airtime-pypo-stop.
Renamed recorder-start.py to airtime-show-recorder-start.
Renamed recorder-stop.py to airtime-show-recorder-stop.

Renamed testrecordscript.py to recorder.py
2011-04-15 18:23:51 -04:00
Paul Baranowski 6d39af6fb9 Merge branch 'master' of dev.sourcefabric.org:airtime
Conflicts:
	dev_tools/pr.sh
2011-04-15 14:46:07 -04:00
Paul Baranowski aab1ad16e1 CC-2166 : Packaging improvements
Fixed paths for pypo and the show recorder.

Pypo and the show recorder now read their paths from the INI files.
Note that liquidsoap and shell scripts do not yet read from the
INI files, and so that paths are hard-coded in those places.

On uninstall, no longer deleting INI files and the STOR directory.
Included a note to remove those by hand if they want them gone.

Fixed some bugs where not all directories were removed on uninstall.

Fixed bugs in the Show Recorder install where it was adding directories
that it didnt need.
2011-04-15 14:45:10 -04:00
Naomi dfa508a9ea changing paths with new folder structure 2011-04-15 13:25:52 -04:00
Naomi 428357e5f8 changing include paths for new folder structure. 2011-04-15 12:37:30 -04:00
Paul Baranowski b11cbd8159 CC-2166: Packaging Improvements. Moved the Zend app into airtime_mvc. It is now installed to /var/www/airtime. Storage is now set to /srv/airtime/stor. Utils are now installed to /usr/lib/airtime/utils/. Added install/airtime-dircheck.php as a simple test to see if everything is install/uninstalled correctly. 2011-04-14 18:55:04 -04:00
Paul Baranowski 514777e8d2 Merge branch 'master' of dev.sourcefabric.org:airtime
Conflicts:
	install/airtime-install.php
2011-04-14 15:07:12 -04:00
Paul Baranowski 4af55027ad Added const values for the names of the INI files.
Also verify with the user if they want to overwrite their INI files if they are
re-installing.
2011-04-14 15:04:44 -04:00
Naomi 6899dca0a3 removing confusing redundant imports 2011-04-14 14:01:14 -04:00
Naomi 804f9c66b9 require order screwed up. 2011-04-14 13:47:50 -04:00
martin 7e6ce1514f -fixed airtime install not working. 2011-04-13 18:22:56 -04:00
Paul Baranowski 3aac24b42b Merge branch 'master' of dev.sourcefabric.org:airtime 2011-04-13 14:03:32 -04:00
Paul Baranowski aca157f0ee CC-2170 Add option to airtime-install to install with or without audio samples
Now we dont install audio samples by default.
2011-04-13 14:03:23 -04:00
martin 2148de0e92 CC-2149: Adjustments for DEB packaging
-Done
2011-04-13 12:07:00 -04:00
Naomi dd4270d367 CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly 2011-04-12 14:51:29 -04:00
Naomi 833e3b20fe CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly 2011-04-12 14:41:33 -04:00
Naomi 00e80911c3 CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly 2011-04-12 14:39:09 -04:00
Naomi 5cfeadcbfe CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly 2011-04-12 14:15:20 -04:00
Paul Baranowski 2937fb4ee1 Merge branch 'master' of dev.sourcefabric.org:airtime 2011-04-12 13:59:13 -04:00
Paul Baranowski f23cfb489c Moved function ExitIFNotRoot() to AirtimeInstall.php instead of AirtimeIni.php. 2011-04-12 13:59:08 -04:00
Naomi c4e264b936 CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly 2011-04-12 13:42:28 -04:00
Naomi e56f50e8b2 CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly 2011-04-12 12:43:25 -04:00
Naomi 8f1d9e8d86 CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly 2011-04-08 17:58:33 -04:00
Naomi ae1397f28c CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly 2011-04-08 17:44:05 -04:00
Naomi 4797126073 CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly 2011-04-08 16:54:24 -04:00
Naomi f365802ce7 CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly 2011-04-08 16:25:29 -04:00
Naomi 8ab78e74ea CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly 2011-04-08 16:07:41 -04:00
Naomi cb2787143b CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly
telling doctrine to upgrade to only a specified version
2011-04-08 15:41:31 -04:00
Naomi 2ef109e9f2 Merge branch 'master' of dev.sourcefabric.org:campcaster 2011-04-08 15:37:53 -04:00
Naomi 976dda339a CC-2172 : Create Upgrade structure so that a user can upgrade from any version of Airtime properly 2011-04-08 11:44:53 -04:00
Paul Baranowski b489ccc77e Dont try to uninstall if the config file doesnt exist. Also fixed a bug
where it checking a non-existent variable.
2011-04-07 15:47:31 -04:00
Naomi 908aa890fe testing if the column has wrong type, if so replacing it. 2011-04-07 15:28:29 -04:00
Naomi df70185ae6 CC-2146 : Speed up calendar when there are a large number of shows
new doctrine migrations for adding aggregate column, fixing some things from 1.7 upgrade.
2011-04-07 14:15:19 -04:00
naomiaro b97e79773b CC-2110 : Soundcloud file metadata
added show genre column, this is used instead of soundcloud default genre if set.
2011-04-02 17:09:37 -04:00
martin d3ec3ef1e8 CC-2138: update_db_info.py to read from /etc/airtime/airtime.conf
-done
2011-04-01 15:22:49 -04:00
Naomi 19e75a3756 CC-2141 : Upgrade support for Airtime 1.7 2011-03-31 17:21:06 -04:00
Naomi 953456e709 CC-2135 : Doctrine Migration scripts missing
should have all added tables/columns for airtime 1.7
2011-03-31 16:35:25 -04:00
Naomi b779e96391 CC-2135 : Doctrine Migration scripts missing
creating script for all 1.7 database modifications.
2011-03-31 15:00:20 -04:00
martin b91adfb3aa -Airtime.ini should follow PHP coding guidelines more closely. 2011-03-30 13:53:48 -04:00
martin b0882cabd2 -fixed install issue when airtime/files directory was missing.
-installer now displays correct airtime version string
2011-03-30 12:35:24 -04:00
martin 9c73ca246a Merge branch 'master' of dev.sourcefabric.org:airtime 2011-03-30 12:01:46 -04:00
martin 85cdc00254 CC-2132: Airtime upgrade not working
-fixed up upgrade scriupt from 1.6.x to 1.7.0
-created an AirtimeIni php class
2011-03-30 12:01:26 -04:00