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
mkonecny
1936e76ec1
-fixed CleanStor.php
2011-01-14 11:29:01 -05:00
Paul Baranowski
169c4ec214
Minor fixes for the name change Campcaster -> Airtime.
2011-01-07 17:17:23 -05:00
mkonecny
ee6235f7f8
-added script that updates various database config files for the frameworks we are using.
2011-01-07 16:32:41 -05:00
mkonecny
7e96572aee
-updated to use new database name, login and passwd (all 3 are "airtime"). You may delete old database by typing "dropdb -U campcaster -h localhost campcaster"
2011-01-05 19:05:57 -05:00
mkonecny
9bda47eff4
-changed file names and comments from campcaster to airtime in utils/ folder
2011-01-05 14:18:03 -05:00
paul.baranowski
38bc0de9a2
Fixed utils to work with new directory structure.
2010-12-09 15:58:44 -05:00
paul.baranowski
5e4ce5bd4f
Added new audio samples. Removed old files that are no longer in use.
2010-12-09 15:42:05 -05:00
Daniel James
3e84ec1132
Fixed more out of date references to Campware and LiveSupport
2010-11-29 16:20:17 +00:00
paul.baranowski
8014f94c58
Fixed whitespace to standard coding conventions.
2010-11-18 14:39:03 -05:00
paul.baranowski
8a58df3093
Moved all file-related functions from BasicStor into StoredFile class.
...
Got rid of all the stuff related to GUNID hex-to-int conversion.
Commented out lots of functions that are either not in use or will
no longer work.
Pypo: made things more generic and pluggable, added documentation.
Added the PHP scripts to serve the right info back to pypo.
2010-11-12 17:07:01 -05:00
paul.baranowski
35dc3fd01f
CC-1713 - New storage directory structure
...
Changed the GUNID to a 32 hex string (MD5 value), there is no more
conversion between hex strings and bigints in the database anymore.
Added added the file extension to the file name.
Stored the complete path to the file in the database. This means that
linking doesnt need to create any files at all. (It used to create a
symlink to the file you were importing)
The structure and file naming should be fine - there are 4096 possibilities
for the first directory level, and even will a million files this is only
244 files per sub-directory. The GUID is fine for the file name
2010-11-11 16:50:30 -05:00
paul.baranowski
3879d1c7d4
Fixed CleanStor.php script so that it works again, it was still set
...
to work in the old directory structure.
2010-11-11 13:22:04 -05:00
paul.baranowski
4a055dde50
Started integration of pypo with Campcaster. Refactored pypo so that
...
it can work with either OBP or Campcaster. Added the liquidsoap
binary. Started to add the PHP API scripts to send the correct data
to pypo (those these are not pretty - all one-off scripts for each
API command). Added Zend to the default path.
2010-11-08 16:54:54 -05:00
paul.baranowski
192bc86115
Fixed a bug in campcaster-import: "require_once" statements were out of
...
order.
Fixed bug in statusbar.tpl - syntax error.
2010-10-18 16:00:31 +02:00
paul.baranowski
0f6b98ce14
There was a bug that install process would error out when trying to
...
install default data twice. Moved the data initialization from BasicStor
into the install.php file since nothing else was using it.
2010-10-18 11:40:03 +02:00
paul.baranowski
8721b6e688
CC-1695 Remove Campcaster Studio and make install easier
...
Got rid of more unneeded files.
2010-09-30 17:31:21 -04:00
paul.baranowski
2ece374513
CC-1695 Remove Campcaster Studio and make install easier
...
Fixed references to files for new directory structure for the backend stuff.
2010-09-30 16:59:38 -04:00
paul.baranowski
b69ae200cf
CC-1695 Remove Campcaster Studio and make install easier
...
Creating new directory structure.
2010-09-30 15:40:11 -04:00
paul.baranowski
d9c6971131
CC-1695 Remove Campcaster Studio and make install easier
...
Removed more stuff and started creating new directory structure.
2010-09-30 15:32:02 -04:00