Commit Graph

225 Commits

Author SHA1 Message Date
James 8664acaaec - re-install fix 2013-01-15 13:27:40 -05:00
Martin Konecny 93505353e7 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
Conflicts:
	install_minimal/include/airtime-upgrade.php
2013-01-15 12:32:49 -05:00
Martin Konecny c266bf189f upgrade version number to 2.3.0 2013-01-15 12:31:41 -05:00
James 8c19384d32 - CRLF fix 2013-01-14 16:21:02 -05:00
James 5a97fb69f2 CC-4384: Remove annoying usage of $CC_CONFIG
- done
2013-01-14 16:16:14 -05:00
denise 690a6d2654 Removed user id from cc_pref keystr value 2013-01-10 12:04:27 -05:00
denise db62b538dd CC-4816: Timezones should be a user preference
-done
2013-01-09 13:38:38 -05:00
denise 05fbb9fb20 CC-4797: Generate localization locales on install
-done
2013-01-07 15:58:50 -05:00
denise b2699fa914 merge from devel 2012-12-03 11:06:56 -05:00
Martin Konecny 75620be761 remove all mosty carriage return characters 2012-09-17 16:46:51 -04:00
Martin Konecny d367c0f55c remove all newline characters from AirtimeInstall.php 2012-09-17 16:41:40 -04:00
Martin Konecny f3250ac616 CC-4447: Install minimal -> reinstall uring -r reports ERROR on existing database
-fixed
2012-09-17 16:06:16 -04:00
Martin Konecny 1483fb92e5 better detection of timezone during install
(suppress PHP warnings if timezone is not set in php.ini)
2012-09-17 15:55:46 -04:00
Martin Konecny 1787be1541 CC-4369: Remove upgrade scripts from versions we no longer support
-ensure versions of Airtime less than 2.0 cause upgrade script to exit
2012-09-07 00:18:02 -04:00
Martin Konecny ec4343deb0 CC-4313Make sure any service can re-create its log file if the file is removed
-fixed
2012-08-29 11:04:56 -04:00
Rudi Grinberg 73e52adee1 Upgraded version number to 2.2.0 2012-08-22 10:39:26 -04:00
Martin Konecny 4f7c8bf0db Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-20 16:54:10 -04:00
Martin Konecny a874e9fff7 CC-4114: use liquidsoap shutdown() command to restart liquidsoap
-tying up loose ends
2012-08-20 16:54:01 -04:00
Rudi Grinberg a993691c6a Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-20 16:23:15 -04:00
Rudi Grinberg e46f0d2b4d cc-4227
Added clause for airtime 2.2.0 in the general upgrade script.
2012-08-20 16:06:11 -04:00
Rudi Grinberg b2158d48f5 Upgrade Script:
Fixed possible bug where values with "=" characters will not be read correctly by
the inhouse ini reader.
2012-08-20 16:05:26 -04:00
Martin Konecny f3f9ef80ff CC-4119: zendphp.log is not rotated
-fixed
2012-08-20 16:05:25 -04:00
Martin Konecny f6a4732e87 CC-4119: zendphp.log is not rotated
-fixed
2012-08-20 15:54:10 -04:00
Martin Konecny cf2f96ecf1 remove commented code 2012-07-26 14:49:31 -04:00
Martin Konecny 6a4fd4973e CC-4104: airtime-uninstall should not purge airtime database be default
-done
2012-07-16 14:18:40 -04:00
Martin Konecny 0286aa364e 2.1.3 preparation 2012-07-03 16:43:10 -04:00
James ffe3bdab0c Merge branch '2.1.x' of dev.sourcefabric.org:airtime into 2.1.x 2012-06-28 12:25:38 -04:00
James 63020cf288 CC-3955: System -> Preferences: Timezone setting is the first one in the list,
not the current (local) timezone

- adding some code to validate the timezone that is parsed
2012-06-28 12:25:15 -04:00
Martin Konecny b6483cd952 CC-4023: Make clearer install error when Airtime fails due to incorrect postgresql encoding
-done
2012-06-26 22:39:17 -04:00
James b081a9eb5f CC-3955: System -> Preferences: Timezone setting is the first one in the list,
not the current (local) timezone.

- fixed
2012-06-20 18:24:28 -04:00
Martin Konecny c8559cc88c 2.1.2 preparation 2012-06-17 23:44:36 -04:00
Martin Konecny f188eeada2 preparation for 2.1.1 release 2012-06-13 11:35:14 -04:00
Martin Konecny 747ae539f3 convert some propel code into native sql 2012-05-30 16:37:12 -04:00
Martin Konecny d8ae8002d2 -make sure to autogenerate liquidsoap.cfg before liquidsoap starts 2012-05-28 18:48:40 -04:00
Martin Konecny 9cff3cf3fe CC-3835: Backup database before performing database upgrade to 2.1
-done
2012-05-16 13:30:00 -04:00
Martin Konecny f052c121e1 CC-3836: On install, If Airtime is not previously installed, overwrite files in /etc/airtime
-done
2012-05-16 12:57:11 -04:00
Martin Konecny cfb4c201ff CC-3805: After upgrade, incorrect values in airtime.conf
-fixed
2012-05-10 16:57:13 -04:00
Martin Konecny ca4cbb0ce1 CC-3798: Upgrade from 1.9.0 to 2.1.0 in lucid: warning message
-fixed
2012-05-10 15:46:01 -04:00
Martin Konecny 6305e4f846 -ensure correct permissions on created /srv/airtime/stor dir 2012-05-08 18:14:04 -04:00
Martin Konecny 0434ffc7bf CC-3786: "airtime-install -r" doesnt prompt if you want to overwrite config files or overwrite database
-fixed
2012-05-08 18:11:24 -04:00
Martin Konecny 8ad5b14de7 CC-3778: install warning
-fixed
2012-05-07 22:32:09 -04:00
Martin Konecny bb5deda09d Various fixes for installer
-create zendphp.log before web files are available
-run airtime.php script earlier so DB is created before web files are available
-zendphp.log should have 644 permissions, not 755
2012-05-05 21:34:09 -04:00
Martin Konecny 4a7f52e22a CC-3760: Remove Airtime 1.8.x support from upgrade scripts
-fixed
2012-05-03 16:34:54 -04:00
Martin Konecny 89883fc6a3 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-05-01 17:41:19 -04:00
James 576836ac18 CC-3751: Remove db.php requirement in the upgrade script
- fixed
2012-05-01 17:24:22 -04:00
Martin Konecny 0aa1ef6e46 Don't overwrite airtime.conf if it already exists 2012-04-30 23:12:23 -04:00
Martin Konecny c633779352 -better comment in airtime-installed-check.php 2012-04-30 12:25:05 -04:00
Martin Konecny 42fbab9ff7 CC-3738: Installation: Errors on installation
-also commented out code
2012-04-30 12:17:25 -04:00
Martin Konecny c90be06f20 -fix error in fresh install 2012-04-27 18:36:04 -04:00
Martin Konecny dae8682e51 CC-3691: Pypo needs to write stderr + stdout to the log file
-fixed
2012-04-20 19:12:36 -04:00
Martin Konecny 79d8eda53a CC-1927: remove-pear-db
-fixed install/uninstall messages
2012-04-20 16:20:10 -04:00
Martin Konecny 1654de64b1 CC-1927: remove-pear-db
-fixed install/uninstall messages
2012-04-20 16:11:25 -04:00
Martin Konecny 2a9ea435f2 CC-3694: Upgrade fails with Propel database conversion.
-fixed
2012-04-20 15:37:51 -04:00
paul.baranowski 235997c616 CC-1927 Remove PEAR DB
* Removed the DEB package "php-db" from the full install script as it is
  no longer needed.
* Missed one call to PEAR::isError()
2012-04-19 16:35:19 -04:00
paul.baranowski 96b010e7f0 CC-1927 Remove PEAR DB
* Removed all traces of PEAR functions.
* Fixed AirtimeInstall::GetVersionInstalled() to return the correct answer
  even when it cant connect to the database.  Also fixed return value to
  be consistent on failure.
* Fixed phone_home_stat.php and soundcloud-uploader.php
2012-04-19 16:35:19 -04:00
paul.baranowski c0da27b445 CC-1927: Remove Pear DB
Final touches on install/upgrade scripts, now they are working.
Still need to remove last traces of PEAR throughout the code.
2012-04-19 16:34:14 -04:00
paul.baranowski 95d69a3bbe CC-1927: Remove PEAR DB
Fixed all install/upgrade scripts.
2012-04-19 16:34:14 -04:00
Martin Konecny f96b990275 Merge branch '2.0.x' into devel
Conflicts:
	VERSION
	airtime_mvc/application/models/Systemstatus.php
	install_minimal/include/airtime-constants.php
	install_minimal/include/airtime-upgrade.php
	python_apps/api_clients/api_client.py
	python_apps/media-monitor/install/media-monitor-copy-files.py
	python_apps/media-monitor/install/media-monitor-initialize.py
	python_apps/pypo/install/pypo-initialize.py
	python_apps/pypo/liquidsoap_bin
	python_apps/pypo/pypopush.py
	utils/airtime-log.php
2012-04-12 19:10:17 -04:00
Martin Konecny 60d521a88a CC-3575: Use invoke-rc.d to start and stop services, rather than calling init scripts directly
-done
2012-04-05 20:42:15 -04:00
Martin Konecny 3611f1071d CC-3575: Use invoke-rc.d to start and stop services, rather than calling init scripts directly
-fixed
2012-04-05 15:09:20 -04:00
Martin Konecny b00e74e831 -remove "disable_auto_start_services" install option 2012-04-05 14:56:11 -04:00
Martin Konecny c66f0c783f CC-3573: Use posix_geteuid instead of "whoami" to detect who is running PHP script
-done
2012-04-02 19:25:27 -04:00
Martin Konecny 162c35419d CC-3572: pypo user should have shell set to /bin/false
-done
2012-04-02 19:04:16 -04:00
James 632b1c40ec CC-3421: Upgrade Script: add/enhance upgrade script for network drive files handler feature
- bug fix
2012-04-02 18:10:31 -04:00
Martin Konecny f6d52d271e CC-3557: Airtime database install should specify UTF8 as the database encoding 2012-03-29 17:10:04 -04:00
james 793c72b09c CC-3357: Upgrade script to 2.0.2 doesn't work
- It was deleting /user/lib/airtime after it installs virtualenv. rm comand is
ran before anything.
2012-02-24 21:02:54 -05:00
james 73a91e6982 CC-3357: Upgrade script to 2.0.2 doesn't work
- It was deleting /user/lib/airtime after it installs virtualenv. rm comand is
ran before anything.
2012-02-24 21:00:59 -05:00
James a253635f7e CC-3346: Recorder: Merge recorder with pypo
- Upgrade for 2.0.2

Conflicts:

	VERSION
	install_minimal/include/airtime-constants.php
	python_apps/api_clients/api_client.py
2012-02-24 16:30:12 -05:00
James 4e72c1150d CC-3346: Recorder: Merge recorder with pypo
- Upgrade for 2.0.2
2012-02-24 16:24:12 -05:00
James 446233fbd4 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-02-24 14:15:06 -05:00
James 2f689ed583 CC-3346: Recorder: Merge recorder with pypo
- Pypo fech works as msg listner for recroder now.
- recorder is part of pypo and all it does is waiting for msg from pypo
fetch and spwan a show recorder thread.
- added new parameter logger to api client. This way apiclient will log
into specific log file instead of grabbing current log file.
- show recoder is removed from all check system/status page
2012-02-24 14:11:35 -05:00
James 695535ae64 CC-3346: Recorder: Merge recorder with pypo
- Pypo fech works as msg listner for recroder now.
- recorder is part of pypo and all it does is waiting for msg from pypo
fetch and spwan a show recorder thread.
- added new parameter logger to api client. This way apiclient will log
into specific log file instead of grabbing current log file.
- show recoder is removed from all check system/status page
2012-02-24 13:12:50 -05:00
Martin Konecny 09af403cf5 CC-3075: Create airtime-test-soundcard and airtime-test-icecast utils
-Done
2012-02-21 21:38:25 -05:00
Martin Konecny 443b55302c -update version strings from 2.0.1 -> 2.1.0 2012-02-14 15:52:52 -05:00
Martin Konecny 5862324da9 CC-3326: Make /etc/monit/conf.d is empty of any old Airtime files before upgrading!
-fixed
2012-02-14 09:37:20 -05:00
Martin Konecny fbd6df1986 CC-3320: Upgrade from 2.0->2.0.1: Airtime instance is not avaiable for 1~2mins right after upgrade. 2012-02-12 15:31:17 -05:00
Martin Konecny 8493180243 CC-3320: Upgrade from 2.0->2.0.1: Airtime instance is not avaiable for 1~2mins right after upgrade.
-use clearstatcache function
2012-02-12 11:43:34 -05:00
Martin Konecny 61f57bb88a -we should always be using our custom php.ini script on upgrades 2012-02-12 00:42:02 -05:00
james 4106de4e1a CC-3319: Show recorder process FAILED when upgrading 2.0.0 to 2.0.1
- 2.0.1 upgrade folder is created
2012-02-11 11:56:19 -05:00
James 860a5e4f7e - version string change for 2.0.1 2012-02-08 16:23:01 -05:00
Martin Konecny 6c0f035b0b CC-3307: airtime-full-install fails on Ubuntu 11.10 2012-02-08 11:42:21 -05:00
Martin Konecny 58b4576ae1 CC-3297: Depend on zendframework and php-pear as external packages
-DB dependency should now be externalized
2012-02-06 14:18:03 -05:00
Martin Konecny cb3cb5b48c CC-3237: Remove phing dependency of end user database installation
-Done
2012-01-12 13:34:27 -05:00
Martin Konecny 00a05e146b CC-3222: Add option to disable auto starting Airtime services (after install and after system restart)
-Done
2011-12-23 15:53:30 -05:00
james fe9eaeb9fc CC-3205: Repeated message during install
- Changing "* Creating /etc/airtime" to
"* Creating /etc/monit/conf.d/monit-airtime-generic.cfg"
2011-12-18 19:15:38 -05:00
james 2a8592584d CC-3175: Delete database tables on uninstall
- fixed
2011-12-18 19:08:35 -05:00
Martin Konecny 0077c8329f CC-3175: Delete database tables on uninstall
-fixed
2011-12-09 12:13:40 -05:00
Martin Konecny 695073c116 -SAAS release 2011-12-07 12:06:31 -05:00
Martin Konecny 257824c411 -preparation for beta2 release 2011-12-07 11:51:28 -05:00
Martin Konecny 2f1033ecb8 CC-3163: Duplicate message during install
-fixed
2011-12-05 15:25:59 -05:00
Martin Konecny c48154ef2f SAAS-83: Add ability to install Airtime components separately
-fixed
2011-11-30 17:59:00 -05:00
Martin Konecny 3047ca8238 -fixes to upgrade script 2011-11-28 05:08:01 -05:00
Martin Konecny 0668ee743c -remove /usr/lib/airtime if it exists. 2011-11-28 04:50:55 -05:00
Martin Konecny 3a39aacd85 SAAS-83: Add ability to install Airtime components separately
-moving along...
2011-11-26 00:57:14 -05:00
Martin Konecny 15a27526f9 SAAS-83: Add ability to install Airtime components separately
-fixed
2011-11-24 18:10:06 -05:00
Martin Konecny e145be81de -fix some minor issue when specifying airtime-install -h 2011-11-24 17:04:24 -05:00
Martin Konecny e93b02ef34 CC-3098: Upgrade scripts don't work
-minor tweaks
2011-11-23 17:39:03 -05:00
Martin Konecny 49051b7fc2 CC-3098: Upgrade scripts don't work
-fixed
2011-11-23 16:31:14 -05:00
Martin Konecny d71c2289ac CC-3072: Test upgrade to 2.0.0 from 1.8.0 and up (including minor versions, except 1.9.1) 2011-11-23 15:09:28 -05:00
Yuchen Wang db82e51c30 CC-3048: Install_minimal should check much sooner if Airtime is already installed
- fixed by creating new php file airtime-installed-check, which checks whether current version
of airtime exists; this file gets called right after root user check and whether debian
package exists check
- moved some code from airtime-install.php to AirtimeInstall.php as static functions
so that we reduce duplicated code
- both the new file airtime-installed-check.php and airtime-install.php use the new
static functions created above
2011-11-18 14:06:42 -05:00