Commit Graph

192 Commits

Author SHA1 Message Date
martin 5cc7de95ee CC-2833: Use ClassLoaders for PHP Files
-Done for class User
2011-09-23 17:00:55 -04:00
James a88bb90851 CC-2591: Allow upload of any audio clip to Soundcloud
- removing debug code
2011-09-22 15:53:21 -04:00
James 965a649d0e CC-2591: Change function name
- done
- extra fix: fix was needed due to class name change
2011-09-22 14:01:05 -04:00
James b3654c62bc Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-09-22 11:48:07 -04:00
James 73dc4b851d CC-2591: Allow upload of any audio clip to Soundcloud
- done
- need more styling
- note there were changes in style.css
2011-09-22 11:47:24 -04:00
martin 046f98db8f CC-2363: Diagnostic screen in Web UI
-everything working
2011-09-22 10:45:43 -04:00
martin 9861587dec -CC-2750: Ability to query health status for pypo, liquidsoap, media monitor, and recorder 2011-09-16 22:05:52 -04:00
martin e1e34d297c -CC-2750: Ability to query health status for pypo, liquidsoap,
media monitor, and recorder
2011-09-16 21:30:50 -04:00
martin 3485b5a39f Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-09-16 17:53:37 -04:00
martin 659e412eb7 CC-2750: Ability to query health status for pypo, liquidsoap, media monitor, and recorder
-progress being made
2011-09-16 17:51:28 -04:00
James 7c94734277 CC-2810: More chmnod fixes for scripts
- removed shebang from .py files
- removed cron folder and its content as we don't use them
- .js files are from 3rd party(datatable) so we should leave them as they are
2011-09-16 14:01:23 -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 c15d599dba CC-2827: Python shebangs should specify the version python2.6
- done
2011-09-15 12:28:31 -04:00
James 3f13810c0e CC-2813: airtime-import: check for root permission
- done
2011-09-13 14:31:14 -04:00
James e6f7640c90 Merge branch '1.9.1' into devel 2011-09-13 10:50:54 -04:00
James ac7e4566c0 CC-2805: Airtime-import is failing
- catching IOexception.
2011-09-13 10:35:25 -04:00
James ab302b46ad CC-2805: Airtime-import is failing
- fixed
2011-09-12 13:08:02 -04:00
James ac44ae7191 CC-2659: airtime-import: displaying help text on all exception
- when it cannot communicate to Airtime Server, it displays just error msg
2011-09-09 17:08:23 -04:00
martin 1b165f473c CC-2797: Files in /etc/airtime should not be world readable
-fixed
2011-09-09 16:16:48 -04:00
James 5d8f87208b CC-2659: airtime-import: displaying help text on all exception
- it's displaying help text on all exception and unknown errors
2011-09-09 16:12:21 -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
James 522ce0b7fb CC-2659: print help on more cases
- done
2011-09-09 11:04:14 -04:00
martin 805e358d9c CC-2788: Airtime uses both /bin/bash and /bin/sh in different scripts
-fixed
2011-09-08 12:36:51 -04:00
james 4e6cb7e0be CC-2659: removing debug code
- done
2011-09-08 09:20:58 -04:00
james 33df22d2ec CC-2659: Print help for airtime-import when a copy or move switch is
not provided

- fixed
2011-09-08 09:20:16 -04:00
martin b2db168a10 CC-2720: Should utils scripts have a shebang and/or be marked executable
-fixed. scripts should not be have exec bit set.
2011-09-07 18:12:46 -04:00
martin 03efb8f293 CC-2760: Remove shebangs from files that don't need them, fix chmod of files
-done
2011-09-06 19:06:13 -04:00
martin 9b30d53626 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-09-06 14:09:17 -04:00
martin ce993af40a CC-2754: "airtime-log -d" should create the log file in the current directory 2011-09-06 14:08:55 -04:00
James a636257516 CC-2756: airtime-system remove 2011-09-02 10:37:52 -04:00
James c6557e1280 CC-2756: Ability to set plan level
- created setter and getter in Preference.php for plan level
- renamed airtime-stream to airtime-system
- airtime-system is removed from this repository(moved to airtime-saas)
2011-09-02 10:37:15 -04:00
martin 4914cc5d7a added airtime-log script file 2011-09-01 14:49:40 -04:00
James ed5b7bca5f Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-08-31 16:28:40 -04:00
James 0a85d2ecf5 CC-2727: Limit number of streams and max bitrate
- renamed
SetNumOfStream() -> SetNumOfStreams()
GetNumOfStream() -> GetNumOfStreams() \
- default bitrate is 320
- removed debugging code
2011-08-31 16:28:20 -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
martin 03cb154bd1 CC-2737: Show disk space used/space available/ disk quota enforcement
-modify airtime-check-system to return values instead of printing
 them directly
-add ability to view select airtime-check-system via web interface
2011-08-30 18:00:03 -04:00
martin 9c6b722722 CC-2694: Create command line program for viewing/dumping log files
-check if each subsystem is actually installed on the machine.
2011-08-30 12:38:04 -04:00
martin 58f64b97ae CC-2694: Create command line program for viewing/dumping log files
-Better error messages.
2011-08-30 12:28:37 -04:00
martin 72350184d8 CC-2694: Create command line program for viewing/dumping log files
-initial commit
2011-08-30 12:18:58 -04:00
james b92793e80f CC-2727: Limit number of streams and max bitrate
- create airtime-stream php script to set number of streams and max bitrate
- the stream section itself is not displayed rather than grey out
2011-08-26 15:41:20 -04:00
martin a47044c50c CC-2697: airtime-user script is not working
-added script to system path
2011-08-19 17:05:41 -04:00
martin e53c6d8061 CC-2697: airtime-user script is not working
-added support for new user types
2011-08-19 16:40:53 -04:00
martin 75040e867d CC-2697: airtime-user script is not working
-fixed
2011-08-19 11:53:03 -04:00
James c0e07dbd9e Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
Conflicts:
	install_minimal/upgrades/airtime-1.9.0/airtimefilemonitor/airtimemetadata.py
	python_apps/media-monitor/airtimefilemonitor/airtimemetadata.py
	utils/airtime-import/airtime-import.py
2011-08-08 10:44:06 -04:00
James 3a2d736b1c CC-2633: removing to_unicode()
- removed to_unicode() function calls where it's not neccessary.
2011-08-08 10:41:11 -04:00
Daniel James 0d03f5f022 Fixed incorrect path to liquidsoap log file 2011-08-08 12:15:05 +01:00
James 8995e828ff CC-2633: added new encode_to()
- added encode_to() to api_client
- replaced .encode() with new encode_to()
2011-08-05 15:12:55 -04:00
James 375cfb2c2d CC-2633: moving to_unicode() to api_client.py
- move to_unicode() to api_client.py
- fixed how it decodes path in airtime-import.py
2011-08-05 15:12:55 -04:00
James b5f232ccaf CC-2633: airtime-import of relative path crashes
- fixed
- using copyfile() instead of copy()
2011-08-05 15:09:04 -04:00
James ee943958d6 CC-2633: airtime-import of relative path crashes
- using copy() instead of copy2()
- copy2() causes some time issue with media monitor
2011-08-05 15:09:04 -04:00
James 134d774410 CC-2633: added new encode_to()
- added encode_to() to api_client
- replaced .encode() with new encode_to()
2011-08-05 14:40:03 -04:00
James f33fc75e01 CC-2633: moving to_unicode() to api_client.py
- move to_unicode() to api_client.py
- fixed how it decodes path in airtime-import.py
2011-08-05 12:35:50 -04:00
James 4c51f20c74 CC-2633: airtime-import of relative path crashes
- fixed
- using copyfile() instead of copy()
2011-08-03 15:28:40 -04:00
James 0bee579642 CC-2633: airtime-import of relative path crashes
- using copy() instead of copy2()
- copy2() causes some time issue with media monitor
2011-08-03 14:45:51 -04:00
James 3fcd34de72 CC-2614: airtime-check-system should first check if the log files exist
- fixed
2011-07-28 15:06:43 -04:00
James 5fb9207c7b CC-2611: Airtime-import: support relative path for directories
- fixed
2011-07-28 10:47:57 -04:00
james c580542727 CC-2593: airtime-import crash on copy
- the issue was on files with name containing non ascii characters
- fixed
2011-07-25 20:58:47 -04:00
james ccdb886b9a CC-2584: airtime-import fails
- fixed relative path problem
- handle the case where file name contains '-'
2011-07-22 16:24:31 -04:00
james e10c468aac CC-2586: airtime-check-system checks system pacakge
- fixed
2011-07-22 09:09:40 -04:00
James 69bf93be7d CC-2577: Misleading comment in phone_home_stat..
- fixed
2011-07-21 16:11:27 -04:00
James 6e59d0627d CC-2574: Airtime-import:error on api_client path..
-fixed
2011-07-21 15:33:14 -04:00
martin 6205b30152 CC-2566: Separate URL config out of config files and put them with API_CLIENT
-fixed
2011-07-19 19:42:23 -04:00
martin 65ea711792 -fix min version check for airtime-check-system 2011-07-19 17:20:14 -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
James e19bf33f51 temp comit 2011-07-18 17:04:46 -04:00
James e199c118af Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
Conflicts:
	utils/airtime-import/airtime-import.py
2011-07-18 15:10:57 -04:00
James 7cf8934856 CC-2546: Airtime-import does not confirm
- fix on error. wrong syntax was used
2011-07-18 15:09:27 -04:00
Paul Baranowski f044f6df83 Fixed grammar, typos, and spelling in airtime-import. 2011-07-18 13:30:40 -04:00
James a45cc5f29e CC-2546: Airtime-import does not confirm to change the storage dir
- Confirm default to "N" and it accepts "Y" or "y"
- It spits out error msg when input is any other then
"Y","y","n","N"
2011-07-18 11:56:41 -04:00
James 47645a2049 CC-2549:airtime-import should work with pythone 2.6
- enhanced usage text
2011-07-14 14:03:33 -04:00
James 99153fdb15 CC-2546:Airtime-import does not confirm to change the storage dir
- fixed
2011-07-14 13:32:45 -04:00
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