Commit Graph

345 Commits

Author SHA1 Message Date
Duncan Sommerville 791466b023 Fixes for code review https://github.com/sourcefabric/Airtime/pull/84 2015-01-15 16:33:33 -05:00
Duncan Sommerville 36c5d22e25 Made the process of switching from an old (pre-2.5.2) install to the new version smoother 2015-01-15 13:48:40 -05:00
Duncan Sommerville 19a1817159 Fix a bad reversion in the airtime-playout binary 2015-01-15 10:12:52 -05:00
Duncan Sommerville b338c5cf0d Fixed code for setting up user's web root 2015-01-14 20:15:47 -05:00
Duncan Sommerville 3452e13f5e Added locale generation to the installer 2015-01-14 19:37:22 -05:00
Duncan Sommerville f40d88b192 Updated installer to better accommodate running over existing installs 2015-01-14 16:53:19 -05:00
Duncan Sommerville f7c1b6f755 Updated override process for existing airtime installs 2015-01-14 16:27:45 -05:00
Duncan Sommerville df2576e5a0 Updated installer to better accommodate running over existing installs 2015-01-14 16:11:49 -05:00
Duncan Sommerville 8535c82b7f Move changing ownership for cases when installing overtop of existing Airtime install 2015-01-13 17:40:31 -05:00
Duncan Sommerville 3908e82667 Add apt.sourcefabric.org to apt sources.list, remove incorrect packages from debian requirements.apt 2015-01-13 15:14:56 -05:00
Duncan Sommerville e7490d6b2d Fixed lxc-bootstrap to make a shallow clone, updated uninstall script, added initial debian wheezy requirements file 2015-01-13 12:28:36 -05:00
Duncan Sommerville 674b8c69e4 Add very basic uninstall script, move install script to root directory 2015-01-12 16:13:39 -05:00
James 19a549df12 - merge with martin's change in install/upgrade/airtime-1.9.0 2011-07-19 17:41:06 -04:00
James 931fb4db62 CC-2518: Auto install script for manual install
- install dir is renamed to install_minimal
- virtualenv command is moved to install script.
- need more work on install_full part
2011-07-19 17:30:23 -04:00
martin 10ee6aaa1d Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-07-19 16:35:29 -04:00
martin 855df95361 CC-2568: Upgrade script fails
-fixed
2011-07-19 16:35:19 -04:00
James 107c100cc4 Merge branch 'devel' of dev.sourcefabric.org:airtime into cc-2528-use-virtualenv-for-installing
Conflicts:
	python_apps/media-monitor/airtime-media-monitor
2011-07-19 15:09:55 -04:00
James b4e887eb2d temp comit 2011-07-19 15:06:35 -04:00
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