Commit Graph

69 Commits

Author SHA1 Message Date
James 5e7c763fbf CC-2545:Airtime-import doesnt handle spaces in file/dir names
-fixed
2011-07-14 10:49:57 -04:00
James f0cc6614d9 CC-2545:Airtime-import doesn't handle spaces in file/dir names
- fixed
2011-07-14 10:03:04 -04:00
james 1736675464 CC-2549:airtime-import should work with python 2.6
- using optparse instead of argparse.
- need some more work.
2011-07-13 22:17:38 -04:00
james 0ad692c761 - fix in airtime-import.py to work default storage value 2011-07-13 16:05:32 -04:00
James 59e3f8446b CC-2532:Airtime-import:better help
- completly changed how options specified.
- better help
2011-07-12 17:43:24 -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
james e048ee548b CC-2483:Cron task shouldn't output anything
-fixed
2011-06-29 15:32:50 -04:00
james f8a1990ec1 CC-2469:Client is sending data without checkout feedback flag
- fixed
2011-06-28 12:34:47 -04:00
martin d8ff6ae867 CC-2416: airtime-check-system: add status of "pyinotify" and "mutagen"
-done. Also prints out why the check failed (if version number is too old)
2011-06-23 13:41:46 -04:00
martin c4b291b8e8 CC-2414: Add status info for show-recorder and media-monitor in airtime-check-system
-done
2011-06-23 10:17:29 -04:00
martin 8dd0d4132d CC-2395: airtime-check-system reports an error even though everything looks ok 2011-06-23 09:50:57 -04:00
james e762633405 CC-1724:Phone home statistics
- Final commit for client side.
2011-06-20 17:58:38 -04:00
Paul Baranowski 143e68bd56 Rivendell converter from Andrea Giardini 2011-06-08 15:15:37 -04: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 f5b55ce52b -remove sudo requirement for airtime-check-system 2011-06-03 12:51:14 -04:00
martin 23d25ef5d7 cc-2055: switch to init.d
-updated log file locations in airtime-check-system
2011-06-03 11:49:50 -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 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
paul.baranowski 45848e99f1 CC-2337: Include RAM and CPU and whether the OS is 32 or 64 bit in airtime-check-system. Did exactly that. 2011-05-30 09:23:48 -04:00
Naomi 2866bf46cd CC-2282 Import script does not restore storage from backup if database is intact
making spaces after ifs to follow coding standards.
2011-05-24 20:48:01 -04:00
Naomi 71ac8d4b1b CC-2282 Import script does not restore storage from backup if database is intact
not considering a duplicate to exist just because there's a row in the database, checking if its file exists on the system as well.
2011-05-24 20:48:01 -04:00
paul.baranowski ac952ad71e CC-2284: Create script that verifies all required processes are running. Changes: Added check to do the right thing when pypo is turned off. 2011-05-20 23:49:11 -04:00
paul.baranowski a4188d44db CC-2284: Create script that verifies all required processes are running. Changes: made the output more pretty, added output for the status of apache, added ability to add in human readable messages, added detection of restarting processes, show output of logs if a process is restarting, and made the key names more human readable. 2011-05-20 23:36:30 -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
martin 3621e282e1 CC-2284: Create script that verifies all required processes are running.
-updated to check to check for poster and kombu python packages
2011-05-20 16:24:00 -04:00
martin 10f72f8c65 CC-2304: Remove hardcoded paths from scripts in utils/ directory
-remove redundant path
2011-05-20 15:13:20 -04:00
martin acc02ea401 CC-2304: Remove hardcoded paths from scripts in utils/ directory 2011-05-20 15:10:05 -04:00
martin a558955f05 CC-2284: Create script that verifies all required processes are running.
-Output is more machine-readable now.
2011-05-20 12:09:19 -04:00
martin f02795fac3 CC-2284: Create script that verifies all required processes are running.
-initial check-in
2011-05-19 17:19:56 -04:00
Paul Baranowski d14dc6cbe3 Merge commit '08864f79347e912e990f5ce0e86e5a8e739dc29d'
Conflicts:
	VERSION
	airtime_mvc/application/configs/conf.php
	airtime_mvc/application/models/Shows.php
2011-04-25 18:49:51 -04:00
Paul Baranowski 219598ac06 CC-2225 airtime-clean-storage doesnt work
Forced the user to run the script as superuser.
2011-04-25 18:34:03 -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
Paul Baranowski 07633ea249 CC-2225 airtime-clean-storage doesnt work
CC-2224 airtime-import checks if you can write to the stor directory even if you are linking

Had to rewrite the airtime-clean-storage script.
2011-04-25 16:48:34 -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
martin 7d2c2f65f2 -fix invalid path includes 2011-04-14 23:08:55 -04:00
martin fe4f91efb5 CC-2138: update_db_info.py to read from /etc/airtime/airtime.conf
-forgot to commit additional file
2011-04-04 14:04:30 -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
Paul Baranowski e5cbfa6ecd Added Ofir's Calendar load test.
In order to make it work, I made the following changes:

Merged Playlist::Insert() into the create() function, now there
is only one way to create a playlist.

Renamed Show::addShow() to Show::create() to make the API like
the other classes.  It returns the created show ID now.

Renamed Show::populateShowUntilLastGeneratedDate() to Show::populateShowUntil(),
allowed it to accept a second parameter for an end date.

Renamed Show::populateShowsUntil() to Show::populateAllShowsInRange().

Added documentation to a number of functions.
2011-03-30 17:27:14 -04:00
martin 38090af271 CC-2058: Utilities are not in the system $PATH
-cleanup
2011-03-24 02:12:31 -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
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 740a157627 -cleaned up install scripts / renamed camp* functions to airtime* 2011-03-08 17:54:53 -05:00
paul.baranowski 1c2ff6c150 Removed even more old code, getting closer to a clean code base!
Added (temporary file) for SQL upgrade script to remove unused database tables.
2011-03-05 11:51:56 -05:00
paul.baranowski 90b46d8eb3 Removing lots of old code that is no longer used. 2011-03-05 11:06:22 -05:00
Paul Baranowski 7b58f3563f Cleaned up conf.php to make it more obvious what a user should change and what they shouldnt.
Removed old code that isnt used anymore.

Changed the login screen to use config variables for AIRTIME_VERSION.
2011-03-03 18:08:51 -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