Commit Graph

65 Commits

Author SHA1 Message Date
Albert Santoni 560d1a9b14 Merge branch '2.5.x' into cc-5709-airtime-analyzer
Conflicts:
	airtime_mvc/locale/hu_HU/LC_MESSAGES/airtime.po
2014-06-09 11:36:51 -04:00
Albert Santoni 314553487b CC-5797: Install should give www-data permissions on stor
* chmod command was bugged due to extra 0 (read the docs)
2014-06-05 15:10:25 -04:00
Albert Santoni 5dab498041 Removed this silly airtime-update-db-settings script
* No longer needed, was a horrible hack in the first place.
2014-05-02 17:16:03 -04:00
Naomi 578f758274 CC-5810 : Installation can have race conditions with the cache
Preferences.php is used to set values since it will save the value to cache there as well.

defaultdata.sql is used where possible.
2014-04-23 15:41:15 -04:00
Albert Santoni 162a873f9d CC-5651: Unit Test the Scheduler
* Continued refactoring of the database creation.
* Database now persists after running tests but most of the tables are
  cleared.
* The unit tests run WAY faster now. :-)
2014-01-23 17:04:29 -05:00
Albert Santoni 25be2fc3ff Fixed hardcoded database name in AirtimeInstall.php 2014-01-23 13:10:13 -05:00
Albert Santoni 04140c38d1 Rollback to requiring PHP 5.3 to fix Ubuntu 12.04 support 2013-12-17 12:56:56 -05:00
drigato 3b539b7c04 Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x
Conflicts:
	install_minimal/include/airtime-install.php
2013-12-03 11:25:09 -05:00
Albert Santoni ffb31aa9f7 CC-5583: Force database to be UTF8 regardless of terminal locale 2013-11-28 15:37:05 -05:00
Albert Santoni d4dae440f0 Enforce a minimum PHP version of 5.4.0 on install and upgrade. 2013-10-25 10:39:00 -04:00
Martin Konecny 582ddf7f40 CC-5089:
Uninstall with purge won't clear all tables and indexes

-fixed
2013-05-06 17:12:48 -04: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
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
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
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 cfb4c201ff CC-3805: After upgrade, incorrect values in airtime.conf
-fixed
2012-05-10 16:57:13 -04:00
Martin Konecny 6305e4f846 -ensure correct permissions on created /srv/airtime/stor dir 2012-05-08 18:14:04 -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 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
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 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 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 f6d52d271e CC-3557: Airtime database install should specify UTF8 as the database encoding 2012-03-29 17:10:04 -04: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 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
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 3a39aacd85 SAAS-83: Add ability to install Airtime components separately
-moving along...
2011-11-26 00:57:14 -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
martin f2ef006385 CC-2758: Make airtime-install script Debian/Ubuntu compatible
-cosmetic changes
2011-11-01 15:21:09 -04:00
James efe366ad60 CC-2918: Storage dir: Default perms should not allow world-readable
/writable/executable access at install time

- done
2011-10-06 15:49:45 -04:00
James ec42876266 CC-2901: Uninstall script should remove 'distribute' tarball if it was
installed previously

- fixed
2011-10-03 17:11:16 -04:00
martin b5684bb5b1 Merge branch '1.9.1' into devel
Conflicts:
	install_full/ubuntu/airtime-full-install
	utils/airtime-update-db-settings.py
2011-09-15 17:44:07 -04:00
martin 23b2802c64 CC-2831: airtime-update-db-setting permission error
-fixed
2011-09-15 15:51:11 -04:00
James 5537bd0d89 Merge branch '1.9.1' into devel
Conflicts:
	install_full/ubuntu/airtime-full-install
	install_minimal/airtime-install
	install_minimal/include/AirtimeInstall.php
2011-09-14 16:15:00 -04:00
James 0678882e92 CC-2821: airtime-uninstall script does not remove airtime-clean-storage
- the script would be deleted during upgrade
- it would aslo be deleted on uninstall if it exists
2011-09-14 11:58:12 -04:00
martin 9c7bab616d Merge branch '1.9.1' into devel
Conflicts:
	VERSION
	airtime_mvc/application/configs/constants.php
	airtime_mvc/application/controllers/ScheduleController.php
	install_minimal/airtime-install
	install_minimal/include/AirtimeInstall.php
	install_minimal/include/airtime-upgrade.php
	python_apps/api_clients/api_client.py
	python_apps/pypo/pypofetch.py
	python_apps/pypo/pypopush.py
2011-09-09 15:07:43 -04:00
martin 77068086b0 -fix install issue 2011-09-09 10:34:30 -04:00
martin f9a7ebcab5 CC-2694: Create command line program for viewing/dumping log files
-install + upgrade script
-add liquidsoap to log files
2011-08-31 15:12:53 -04:00
James 9eb21cb327 Merge branch '1.9.1' into devel
Conflicts:
	VERSION
	airtime_mvc/application/configs/constants.php
	airtime_mvc/application/models/Preference.php
	install_minimal/include/airtime-db-install.php
	install_minimal/include/airtime-upgrade.php
	python_apps/api_clients/api_client.py
2011-08-24 10:30:59 -04:00