Commit Graph

527 Commits

Author SHA1 Message Date
martin ff2fcde7c0 CC-2567: Install api_client separately from pypo 2011-07-19 12:07:31 -04:00
martin bd183125da CC-2279: Upgrade script for converting stor directory to new format
-move media-monitor python upgrade script to upgrade dir
2011-07-18 17:21:14 -04:00
James e19bf33f51 temp comit 2011-07-18 17:04:46 -04:00
martin 232470c66b CC-2279: Upgrade script for converting stor directory to new format
-make every function a static function and put into a class
2011-07-18 16:50:42 -04:00
martin aa1039413a CC-2279: Upgrade script for converting stor directory to new format
-set mm api_key after upgrading
2011-07-18 16:38:12 -04:00
martin ef0e0dcfa9 CC-2548: Update from 1.9-beta2 to beta4, doesn't update the version tag in About
-fixed
2011-07-18 12:15:54 -04:00
martin 542547ecf0 CC-2559: Remove files from cc_schedule that are no longer watched
-added foreign key relationship
2011-07-18 11:53:15 -04:00
martin 8ba8944964 CC-2279: Upgrade script for converting stor directory to new format
-added conf.php file
2011-07-18 11:52:33 -04:00
martin c74af05f18 CC-2279: Upgrade script for converting stor directory to new format
-major cleanup
2011-07-18 00:25:28 -04:00
martin 36953e58cc CC-2279: Upgrade script for converting stor directory to new format
-almost there...
2011-07-15 17:00:54 -04:00
martin 62b6d020bb CC-2279: Upgrade script for converting stor directory to new format
-testing fixes
2011-07-15 16:38:46 -04:00
martin a2b7bd2a0b CC-2279: Upgrade script for converting stor directory to new format
-further tweaks
2011-07-15 14:37:43 -04:00
martin 241eb54e0d CC-2279: Upgrade script for converting stor directory to new format
-further tweaks
2011-07-15 14:20:32 -04:00
martin b40460d8f8 CC-2279: Upgrade script for converting stor directory to new format
-don't exit upon db sql error.
2011-07-14 21:32:45 -04:00
martin ec75af194b CC-2279: Upgrade script for converting stor directory to new format
-escape strings before inserting into database
2011-07-14 21:31:02 -04:00
martin 07b1686643 CC-2279: Upgrade script for converting stor directory to new format
-even more fixes..
2011-07-14 21:06:35 -04:00
martin d52857ea8b CC-2279: Upgrade script for converting stor directory to new format
-further fixes..
2011-07-14 17:13:11 -04:00
martin 1aa1500d0c Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-07-14 16:39:27 -04:00
martin 9f3218b8d9 CC-2279: Upgrade script for converting stor directory to new format
-further fixes
2011-07-14 16:39:18 -04:00
James 4601852eed CC-2538:Upgrade script for Phone home metrics-DB changes
- implemented drop() for both music_dirs and country tables
2011-07-14 15:58:15 -04:00
martin e529a16bdb CC-2279: Upgrade script for converting stor directory to new format
-undefined var
2011-07-14 15:47:39 -04:00
martin 146c554c57 CC-2279: Upgrade script for converting stor directory to new format
-fix undefined variable
2011-07-14 15:40:48 -04:00
martin 621c85b1df CC-2279: Upgrade script for converting stor directory to new format
-in progress...
2011-07-14 15:31:19 -04:00
martin 29869c175a CC-2279: Upgrade script for converting stor directory to new format
-refactor media-monitor
2011-07-14 12:06:46 -04:00
james c03e7332fc - final fix. 2011-07-13 17:31:25 -04:00
james c900a4aa9a - fix 2011-07-13 17:22:20 -04:00
james 4be0844b28 - fix on doctrine mitgration file for cc_country 2011-07-13 17:12:35 -04:00
james d99ee7a147 - minor fix on upgrade script 2011-07-13 17:08:13 -04:00
james d92e4475bf CC-2538: Upgrade script for Phone home metrics - DB changes
- Doctrin migration file is created
- Data is being inserted in upgrade script
- extra fix: adding default storage dir data into music_dir table
2011-07-13 16:54:21 -04:00
martin ffe0f1f571 CC-2541: Change upgrade directory names: 1.8 ==> 1.8.0 and 1.9 ==> 1.9.0 2011-07-13 13:58:35 -04:00
martin ce639785dd Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
Conflicts:
	install/upgrades/airtime-1.9/airtime-upgrade.php
2011-07-13 09:32:18 -04:00
james 4e28ee629a CC-2535:Need to add creating cron file part in upgrade script
- factor the part into the function
(AirtimeInstall:CreateCronFile())

- fixed 1.9 upgrade script
2011-07-13 08:27:35 -04:00
martin 65250bd2c9 CC-2279: Upgrade script for converting stor directory to new format
-upgrade script needs access to db
2011-07-12 19:32:13 -04:00
martin ce81f0c8fb -reenable upgrades 2011-07-12 19:15:25 -04:00
martin 186d572a2b CC-2279: Upgrade script for converting stor directory to new format 2011-07-12 19:10:32 -04:00
martin 1411987b01 CC-2534: When copy files into storage folder it says wrong path name
filter all functions via realpath which will make directories consistent
2011-07-12 17:05:40 -04:00
martin ed8d247b17 CC-2514: new airtime-import
-airtime-import for install and upgrade scripts
2011-07-12 12:18:29 -04:00
martin 063afda7ff CC-2519: Remove stor folder config option from /etc/airtime/airtime.conf
-done
2011-07-11 16:44:37 -04:00
martin 2c4e2afb8b -removed airtime-clean-storage.php + airtime-import.php
-default created stor dir now has www-data:www-data permission
-created airtime-install.ini file for specifying install defaults
-removed all references to storDir in /etc/airtime/airtime.conf,
 and get value from database instead.
2011-07-11 16:14:34 -04:00
Paul Baranowski ecd96d95f5 Removed unneeded files. Moved airtime-user.php to the utils directory. 2011-07-06 16:09:50 -04:00
martin 3424dcc12d CC-1799 : Live Studio Playout from media library (pytagsfs)
-code cleanup
2011-07-05 17:45:56 -04:00
Naomi Aro 8d8e2a02b6 cc-2279 : Upgrade script
start of doctrine upgrade script for 1.9 music dirs change.
2011-06-29 18:53:19 +02:00
Naomi Aro c300b8f36d CC-2279 : Upgrade script for converting stor directory to new format
correcting paths for doctrine migrations, generating my db file.
2011-06-29 14:32:17 +02:00
Paul Baranowski 82d53231d2 CC-2472: Reinstall option is ignored when new version number is greater than old version number. Fixed. 2011-06-28 15:30:35 -04:00
james 3306292f93 CC-2463:Install doesn't overwrite cron file
-fixed
2011-06-28 12:26:34 -04:00
Paul Baranowski eea89301e0 CC-2434: Install script recreates unique ID on every install. Moved ID creation into the database install script. 2011-06-23 14:45:56 -04:00
Naomi Aro e725e4fbe4 cc-1799 Human Filesystem
storage dir should be created first so then it's realpath can be inserted into the database.
2011-06-23 17:51:38 +02:00
Paul Baranowski 29c6006fc1 CC-2420: Reinstall fails. Fixed bug where reinstalling the database tables would crash the installer. Fixed the usage message that prints out for airtime-install so that it shows the correct command. Added code documentation for why things work the way that they do. 2011-06-22 17:29:00 -04:00
Paul Baranowski 92f839b368 Removed install/uninstall scripts for twitter plugin 2011-06-21 11:49:47 -04:00
martin 2efe2e67a8 CC-2410: Clean up install process
-fixed missing DB::connect
2011-06-21 11:40:07 -04:00
Naomi Aro 253eb811c7 Merge branch 'cc-1799-put-airtime-storage-into-a-human-readable-file-naming-convention' into devel
Conflicts:
	airtime_mvc/application/controllers/PreferenceController.php
	airtime_mvc/application/models/Preference.php
	airtime_mvc/application/views/scripts/form/preferences.phtml
	airtime_mvc/public/js/airtime/preferences/preferences.js
2011-06-21 11:20:35 +02:00
Naomi Aro b6888489e0 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
adding music dirs concept to Airtime. New cc_music_dirs table/class.
2011-06-21 10:24:02 +02:00
james 2fb721167c Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-06-20 18:11:25 -04:00
james 05dc48fa71 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
Conflicts:
	airtime_mvc/application/controllers/PreferenceController.php
	airtime_mvc/application/models/Preference.php
2011-06-20 18:09:37 -04:00
martin d9c5e2b6d6 -add newline chars to Airtime-upgrade-disabled message 2011-06-20 18:03:07 -04:00
martin f03c0e5f10 -Disable upgrades for the 1.9.0 beta. 2011-06-20 18:00:26 -04:00
james e762633405 CC-1724:Phone home statistics
- Final commit for client side.
2011-06-20 17:58:38 -04:00
martin 5569a24aef CC-2410: Clean up install process
-Fix includes in airtime-upgrade.php
2011-06-20 17:43:06 -04:00
martin aa56344a29 CC-2410: Clean up install process
-hiding a few more warnings.
2011-06-20 17:38:18 -04:00
martin de436486fb Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-06-20 17:24:24 -04:00
martin fe14113b58 CC-2410: Clean up install process
-reduced number of messages
-got rid of some warnings.
-moved airtime-install.php, airtime-upgrade.php, airtime-uninstall.php
2011-06-20 17:24:12 -04:00
Paul Baranowski 5e733a4276 CC-2406: Reinstall + recreating the database tables doesnt work
This was caused because updating the build.properties file did not happen
unless you chose to overwrite your existing configuration files.

Changed it so that it always updates the build.properties file.
2011-06-20 16:53:23 -04:00
martin 6bea1ab654 CC-2400: make sure we are using quotes when using rm -rf
-done
2011-06-17 15:00:39 -04:00
martin 948a0e584d -added quotes to all paths in rm -rf statements 2011-06-17 11:16:27 -04:00
martin 2f5a1c4df6 cc-2055: switch to init.d
-monit is now temporarily disabled when intentionally stopped a service
2011-06-16 20:01:37 -04:00
martin 662d0ebf85 -create-pypo-user scripts missing an "import sys"
-airtime-uninstall will now quit upon the first error
2011-06-16 17:30:16 -04:00
james cf654f1a45 CC-1724:phone-home-statistics
Rebase from devel into this branch
2011-06-15 12:06:50 -04:00
Naomi Aro d5a3aaf3d0 Merge branch 'cc-1799-put-airtime-storage-into-a-human-readable-file-naming-convention' into devel
Conflicts:
	python_apps/media-monitor/MediaMonitor.py
2011-06-15 11:02:23 +02:00
Naomi Aro c06b15b964 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
about to merge, need to test more with blank metadata/change paths according to spec. Should test case about moving to trash from UI.
2011-06-15 09:19:41 +02:00
martin 9cfec2c8ef -reorganized/cleaned up python_apps/pypo directory. 2011-06-14 14:37:09 -04:00
martin 2f2924abcd CC-2352: Deprecation warnings during install 2011-06-08 14:37:48 -04:00
martin a95d08c9be cc-2055: switch to init.d
-media monitor is now started on upgrade scripts
-make sure /var/log dirs are properly cleaned up
2011-06-08 13:28:19 -04:00
Naomi Aro f27b58dda2 CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
enabling uninstall of media monitor.
2011-06-06 11:26:16 +02:00
Naomi Aro c7198819aa CC-1799 Put Airtime Storage into a Human Readable File Naming Convention
enabling media monitor changes.
2011-06-06 11:26:16 +02:00
martin 1540e593e4 Merge branch '1.8.2' into devel
Conflicts:
	airtime_mvc/application/models/Dashboard.php
	python_apps/media-monitor/airtime-media-monitor-start
	python_apps/pypo/airtime-pypo-start
	python_apps/show-recorder/airtime-show-recorder-start
2011-06-03 17:29:55 -04:00
martin f6ae2aaa91 cc-2055: switch to init.d
-enabled media-monitor in the installs scripts.
2011-06-03 11:30:08 -04:00
Martin Konecny 7e0db3b76c cc-2055: switch to init.d
-fix recorder not starting after upgrade
2011-06-02 18:07:48 -04:00
Martin Konecny fffa9d4ffb cc-2055: switch to init.d
-better way to disable daemontool daemons.
2011-06-02 18:07:48 -04:00
martin bfb5dc4e58 cc-2055: switch to init.d
-need to verify is pid from pid file actually is running
 (for airtime-check-system)
2011-06-02 18:07:48 -04:00
Martin Konecny 7d7dc223ce cc-2055: switch to init.d
-use full path of stop commands
2011-06-02 18:07:48 -04:00
martin e64c8da414 cc-2055: switch to init.d
-enable upgrade script
2011-06-02 18:07:48 -04:00
martin 49589c284d cc-2055: switch to init.d
-fix some upgrade script issues
2011-06-02 18:07:48 -04:00
martin d516b963e4 cc-2055: switch to init.d
-initial upgrade script
2011-06-02 18:07:48 -04:00
martin 4c9c86bf4f cc-2055: switch to init.d
-remove update-rc.d on uninstall
-remove unecessary imports in install/uninstall scripts
-all daemons now wait until apache2 is available before starting (LSB Init Script)
2011-06-02 18:07:48 -04:00
martin 6ab5ac4582 cc-2055: switch to init.d
-allow install script to be created from any location (no hardcoded paths)
-make python install scripts return 1 on error
-daemon now started automatically on boot using rc.local autostart
-change all prints to logs instead
-create airtime-uninstall shell script (and remove pypo user in here)
-create pypo user in shell script
2011-06-02 18:07:48 -04:00
martin 079d9d36b0 cc-2055: switch to init.d
-fix uninstall scripts
-make daemon script for media-monitor and show-recorder
-create pid file for liquidsoap
-fix airtime-check-system
-make sure all startup scripts are using exec
2011-06-02 18:07:47 -04:00
martin 79e24e5af5 cc-2055: switch to init.d
-Change all python apps to log directly to file
-change airtime-pypo to airtime-playback
-fix airtime install started/completed message bumpers
2011-06-02 18:07:47 -04:00
martin c05c2f1e28 cc-2055: switch to init-d
-fix daemon being able to start multiple times
-make airtime-install shell script to call installers seperately
-
2011-06-02 18:07:47 -04:00
james 658570c670 CC-2277:Rename airtime-pypo to airtime-playout
done
2011-05-30 16:04:52 -04:00
james 0492ba79c7 CC-2277:Rename airtime-pypo to airtime-playout 2011-05-30 15:46:13 -04:00
martin 2d6105353e -removed unnecessary line from apache vhost file. 2011-05-30 11:31:17 -04:00
Paul Baranowski 873e8cb7e1 Added dev docs. 2011-05-24 22:26:57 -04:00
Paul Baranowski 435f9a9bd1 Added version number to backup scripts because if multiple backup scripts
are run in sequence it can happen within one second.  This means that
the first backup of a file would be overwritten with the second backup.
2011-05-24 22:01:53 -04:00
Paul Baranowski fa17e63611 Fixed a repeated message during install. 2011-05-24 21:34:06 -04:00
Paul Baranowski e90a3269c2 CC-2281 Install script should check for pre-installed versions and prompt user to upgrade/full installation
Hand-merged Naomi's last 3 changes from the branch.
2011-05-24 21:27:33 -04:00
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
Naomi 2aae93dd04 putting alpha in 2011-03-30 11:03:14 -04:00
Naomi 11973e9f10 Merge branch 'master' of dev.sourcefabric.org:campcaster 2011-03-30 11:01:42 -04:00
Naomi f6d5182c50 adding version at top of install/uninstall script 2011-03-30 11:01:23 -04:00
martin 89d2c317cb CC-2044: remove hardcoded settings from application/configs/conf.php
-moved liquidsoap config to /etc/airtime as well
2011-03-29 20:44:04 -04:00
martin 8e07446e88 CC-2044: remove hardcoded settings from application/configs/conf.php
-baseFilesDir now moved to /etc/airtime/airtime.conf
2011-03-29 19:05:25 -04:00
martin eb74c5718f Merge branch 'master' of dev.sourcefabric.org:airtime
Conflicts:
	python_apps/api_clients/api_client.py
2011-03-29 18:35:57 -04:00
martin 2702363a33 -CC-2044: remove hardcoded settings from application/configs/conf.php
-rearranged some stuff...some bugs still to go
2011-03-29 18:32:53 -04:00
Paul Baranowski 45fe719ea6 Merge branch 'master' of dev.sourcefabric.org:airtime 2011-03-29 17:32:20 -04:00
martin d66bcea044 CC-2104: Use PIP to install python packages
-removed pip install/uninstall from install scripts. Added to wiki instead.
2011-03-29 14:09:06 -04:00
martin 0ad7a0afcd CC-2104: Use PIP to install python packages
-Now uninstalls poster package.
2011-03-29 12:59:15 -04:00
martin bd54738c1b CC-2104: Use PIP to install python packages
-Done
2011-03-29 12:53:52 -04:00
Paul Baranowski c17ee178d1 Merge branch 'master' of dev.sourcefabric.org:airtime
Conflicts:
	install/airtime-install.php
2011-03-28 15:41:49 -04:00
Paul Baranowski 96a2861cfa Improved messages during install. 2011-03-28 15:39:27 -04:00
naomiaro 35b2ddfd29 CC-2097 : Show-recorder: Use RabbitMQ, api_client, and the structure of pypofetch
setting up configs
2011-03-24 17:43:37 -04:00
paul.baranowski 7684fedb50 Fixed bug on uninstall where it would complain about removing files that
didnt exist, and also would stop the uninstallation if it couldnt
connect to the database.
2011-03-24 14:55:42 -04:00
paul.baranowski 37f6812194 Merge branch 'master' of dev.sourcefabric.org:airtime 2011-03-24 12:17:18 -04:00
paul.baranowski 6a72037c41 Added migration to drop tables we dont use anymore. 2011-03-24 11:52:44 -04:00
naomiaro c1d1e56914 path change for python_apps folder 2011-03-24 11:50:46 -04:00
martin f108ac846f CC-2058: Utilities are not in the system $PATH
-Added airtime-clean-storage and airtime-import symbolic links
2011-03-24 02:12:08 -04:00
martin 079878e5f0 CC-2016: Rearrange python scripts for reusability
-Added api_client to PYTHONPATH env variable
2011-03-24 00:35:01 -04:00
naomiaro f592254246 CC-1630 : Automatic recording of shows
scripts to install recorder using daemon tools.
haven't tested without pulse audio yet.
2011-03-22 18:20:22 -04:00
naomiaro 60649cba8a CC-1987 : Automatic upload of recorded shows to Soundcloud
created Soundcloud.php in models, added upload track method.
using python-setuptools in install to find poster package to be able to upload recoded file to airtime and then to soundcloud.
2011-03-21 15:48:44 -04:00
martin e64e30d6da CC-2080: Turn pypo-fetch and pypo-push into threads of the same process
First implementation
2011-03-20 19:34:43 -04:00
Paul Baranowski ef0bb8ed78 Moved all install functions into an AirtimeInstall class.
Formatted all the install files according to our code formatting standards.
Output more info if something goes wrong during DB create or DB user create.
2011-03-16 13:21:40 -04:00
martin cbb534dfda CC-2057
-database tables to drop are generated dynamically
2011-03-11 13:59:20 -05:00
martin 00f5c6de41 CC-1938
-improved update message for doctrine
2011-03-09 22:25:55 -05:00
martin bfbca3f724 -airtime upgrade script 2011-03-09 13:23:05 -05:00
martin a881358378 -cleaned up install scripts 2011-03-09 00:44:51 -05:00
martin 740a157627 -cleaned up install scripts / renamed camp* functions to airtime* 2011-03-08 17:54:53 -05:00
martin 2a8e8715d2 -migrations uses object mapping to update database 2011-03-08 17:02:26 -05:00
martin 7c1739247d -doctrine 2.0 alpha upgrade scripts 2011-03-08 16:44:47 -05:00
mkonecny 3253d521d1 -hardcoded paths for doctrine migrations removed. 2011-03-08 00:52:36 -05:00
mkonecny 0f8f522910 -doctrine migration basic file check-in. Hard-coded paths for now... 2011-03-08 00:49:03 -05:00
martin a51c02b281 -removed liquibase stuff. Preparing for doctrine... 2011-03-07 17:20:33 -05:00
martin 75167bb576 -syntax error fix for liquidsoap + other small changes 2011-03-06 15:18:40 -05:00
martin f4a86d96c6 -fix for missing GreenBox.php file 2011-03-05 21:58:36 -05:00
martin 64d15669ac -fading between sources in liquidsoap
-cleaned up pypo-cli
2011-03-02 16:43:46 -05:00
martin 781ceeaa7f -web streaming enabled in liquidsoap script.
-liquisoap scripts updated
2011-02-28 23:51:42 -05:00
martin d47fc41082 Merge branch 'master' of dev.sourcefabric.org:airtime 2011-02-28 13:27:26 -05:00
martin 2818cc95b7 -added liquibase support 2011-02-28 13:27:12 -05:00
mkonecny ba330b94df -cleanup + recursive directors can be specified for $baseFilesDir 2011-02-28 00:54:10 -05:00
martin bc28514175 -min passwd character limit 2011-02-22 19:04:35 -05:00
martin 23e533aa67 -CC-1736: install/airtime-user.php script needs to be updated for the new Zend Framework 2011-02-22 19:01:33 -05:00
martin a20e279840 Merge branch 'master' of dev.sourcefabric.org:airtime
Conflicts:
	application/configs/conf.php
	install/airtime-install.php
2011-02-22 16:32:04 -05:00
martin 8ad5d23ee6 -api_key autogeneration and usage implemented 2011-02-22 16:16:37 -05:00
paul.baranowski 15153727c1 CC-1971
Remove "?>" from the end of pure-PHP files to prevent "HEADERS ALREADY SENT"
2011-02-22 18:22:31 +01:00
mkonecny ea13b32ccf -clean up install script a little...removed some errors. 2011-02-09 19:45:22 -05:00
martin 844baeeae6 -started adding show list-view 2011-01-28 00:23:39 -05:00
martin ae274b09dc -update install/uninstall scripts 2011-01-26 18:12:51 -05:00
mkonecny a2a8a8eae3 -installation tweaks
http://dev.sourcefabric.org/browse/CC-1802
2011-01-26 08:23:22 -05:00
mkonecny 616b85ddef -fixed uninstall script 2011-01-20 11:37:39 -05:00
mkonecny 95ab0cc148 -fixed uninstall errors related to issue http://dev.sourcefabric.org/browse/CC-1794 2011-01-20 10:56:07 -05:00
mkonecny 490adb854c -small cleanup 2011-01-12 16:20:14 -05:00
mkonecny e2c4c53949 -project.home value in build.properties file now generated automatically. 2011-01-12 16:18:05 -05:00
mkonecny c4f5f2e8af -fixed propel-install continuing installation when project.home was incorrectly configured. 2011-01-12 13:25:47 -05:00
Paul Baranowski 169c4ec214 Minor fixes for the name change Campcaster -> Airtime. 2011-01-07 17:17:23 -05:00
mkonecny 7cf9699e37 -redirected errors from propel-install script to log file 2011-01-06 12:11:38 -05:00
mkonecny fe87d8957b -check if user=root for propel-install script 2011-01-05 17:44:23 -05:00
mkonecny d06956ec5b -changed filenames and documentation from campcaster to airtime 2011-01-05 16:39:32 -05:00
Paul Baranowski fa106b1da1 CC-1722 Install audio samples by default
"audio_samples" directory is now imported by default when you install.

CC-1728 	Remove unused files
2010-12-22 18:16:37 -05:00
Paul Baranowski d90e440c8c CC-1728 Remove unused files
Removed a bunch of unused files in the install folder.
Also removed the top-level index.php.
2010-12-22 16:46:31 -05:00
paul.baranowski fb665950a1 Fixed some install problems due to the new directory structure. 2010-12-07 18:11:44 -05:00
paul.baranowski da400c4b55 Removed duplication of files as a result of merging in the new Zend
structure.  Moved files around to more sane locations.
2010-12-07 17:38:24 -05:00
paul.baranowski 80b066a4e1 More improvements to the pypo installer:
* Added installation of daemontool scripts
 * Put files in more appropriate places
 * Renamed files for consistency
2010-12-06 18:44:47 -05:00
Paul Baranowski a255fc4508 Started adding the scripts to automatically run the scheduler at startup. 2010-12-03 16:03:18 -05:00
Paul Baranowski 3c12256cb8 Started to create pypo install script (install/pypo-install.py).
Cleaned up liquidsoap scripts a bit.

Renamed nondbinstall.php to propel-install.php

Removed unused files.
2010-12-03 15:34:18 -05:00
Daniel James 3e84ec1132 Fixed more out of date references to Campware and LiveSupport 2010-11-29 16:20:17 +00:00
paul.baranowski ef8b8dc54d Removed unneeded file. 2010-11-19 15:55:40 -05:00
paul.baranowski 8014f94c58 Fixed whitespace to standard coding conventions. 2010-11-18 14:39:03 -05:00
naomiaro 051cc243ca call propel-gen to load sql in database. 2010-11-05 13:03:16 -04:00
naomiaro e53804f1ed changed for propel 2010-11-04 18:01:31 -04:00
paul.baranowski e428535d33 Added "schedule_group_id_seq" to the install process. Was missing, oops! 2010-10-18 19:16:37 +02:00
paul.baranowski 2bc21da4b9 More install cleanup - moved twitter installation files from /htmlUI/install
to /install.

On uninstall, if the database doesnt delete (because there are users
connected to it), then just delete every table just like it used to.

Deleted conf_only.php.template - no longer needed.
2010-10-18 12:12:23 +02:00
paul.baranowski 0f6b98ce14 There was a bug that install process would error out when trying to
install default data twice. Moved the data initialization from BasicStor
into the install.php file since nothing else was using it.
2010-10-18 11:40:03 +02:00
paul.baranowski b340ff3bb6 CC-1024 Update installation/build for webapp-only
Installation/uninstallation should work now.

Also removed more files that are no longer needed now that Studio doesnt
exist anymore.
2010-10-11 17:22:04 +02:00
paul.baranowski 739801d180 CC-1024 Update installation/build for webapp-only
Moved more installation stuff into PHP.  For some reason it's having trouble
creating the cc_playlistcontents table.  Removed old installer files that
are no longer used.
2010-10-04 17:00:20 -04:00
paul.baranowski 4e73ed7e5a CC-1024 Update installation/build for webapp-only
CC-1695  	 Remove Campcaster Studio and make install easier

Removed unused files.
Updated version number.
Fixed some path names.
2010-10-01 18:17:16 -04:00
paul.baranowski dcd1bad089 Added config variables for smarty directories.
Added check to make sure the htmlUI/templates_c directory has the right permissions.

Removed creation of the pear directory.
2010-10-01 17:39:23 -04:00
paul.baranowski dab1af1577 CC-1024 Update installation/build for webapp-only
CC-1695  	 Remove Campcaster Studio and make install easier

Moved Desktop images to the wiki
Moved everything in /bin to /install
Included ui_browser.php from index.php instead of redirect.
Added Input.php
2010-10-01 14:41:08 -04:00
paul.baranowski 70bf3d6f1c CC-1695 Remove Campcaster Studio and make install easier
Fixed include paths for install.
2010-09-30 17:09:50 -04:00
paul.baranowski 2ece374513 CC-1695 Remove Campcaster Studio and make install easier
Fixed references to files for new directory structure for the backend stuff.
2010-09-30 16:59:38 -04:00
paul.baranowski 356407f66a CC-1695 Remove Campcaster Studio and make install easier
Moved install directory
2010-09-30 16:03:24 -04:00