Commit Graph

3220 Commits

Author SHA1 Message Date
paul.baranowski 7ade83ae74 Fixes to the liquidsoap scheduler and the API.
Added a test() function to api_client.
Fixed bug with the config file.
Added line numbers to the logging.
2010-11-18 18:00:13 -05:00
paul.baranowski d5b50ffdca Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-18 14:41:20 -05:00
paul.baranowski 8014f94c58 Fixed whitespace to standard coding conventions. 2010-11-18 14:39:03 -05:00
naomiaro 56abfaf28e using fieldnames in propel not phpnames 2010-11-18 10:24:05 -05:00
naomiaro 52fe579ce4 making propel use fieldnames not php names in playlist getcontents 2010-11-17 18:08:46 -05:00
paul.baranowski 31fd85a29f Fixed bug where the metadata was not loading correctly in StoredFile.
Added more descriptive titles to Playlist UnitTests.

Added a test to get that the media file clip length is set/get correctly.
2010-11-15 17:02:18 -05:00
paul.baranowski 228aca224e Got rid of function getAudioClipInfo(). 2010-11-15 16:35:55 -05:00
naomiaro fa186be7a1 id variable change for metadata. 2010-11-15 16:16:15 -05:00
paul.baranowski fc8c964d52 Fixed StoredFile constructor to only load metadata when passing in an ID.
Added a test for StoredFile::loadMetadata().
2010-11-15 15:58:48 -05:00
naomiaro eafd10a669 playlist tests, prob will work when file meta data is working. 2010-11-15 13:22:09 -05:00
naomiaro 65a823561d Merge branch 'master' of dev.sourcefabric.org:campcaster
Conflicts:
	backend/tests/PlaylistTests.php
2010-11-15 11:01:00 -05:00
naomiaro 5352d7d4ef test editing. 2010-11-15 10:52:45 -05:00
naomiaro f1f8badd16 Playlist tests updated 2010-11-15 10:52:14 -05:00
paul.baranowski 351983c3c4 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-12 17:07:12 -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
naomiaro d65cc390a5 DateTime stuff for PHP 5.3
ini_get('date.timezone') seems to not behave properly though... defaults to America/Toronto.
2010-11-12 11:02:27 -05:00
naomiaro 4022afa8b9 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-11 20:49:23 -05:00
naomiaro e1b6ee8d46 propel changes for playlist. 2010-11-11 20:48:53 -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
naomiaro f7dc117417 subsecond getter/setter overrides. 2010-11-10 15:30:05 -05:00
naomiaro d6caebe49a saving database row for fades... 2010-11-09 17:02:13 -05:00
naomiaro fcea57f011 PL ORM changes, templates 2010-11-09 16:52:09 -05:00
naomiaro 2570698ba7 added path to phong and Log php libraries. 2010-11-09 09:43:09 -05:00
naomiaro 06cb25a68b libraries for propel 2010-11-08 23:16:28 -05:00
naomiaro 1e0cba6a63 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-08 17:21:28 -05:00
naomiaro 9f79b1bf89 converting more of playlist.php to propel ORM. 2010-11-08 17:19:01 -05:00
paul.baranowski 4e1ba506aa Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-08 16:55:23 -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
naomiaro d5546c3952 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-05 13:03:39 -04:00
naomiaro 051cc243ca call propel-gen to load sql in database. 2010-11-05 13:03:16 -04:00
ohrstrom d6eb1412b7 initial pypo commit 2010-11-05 15:54:15 +01:00
naomiaro e53804f1ed changed for propel 2010-11-04 18:01:31 -04:00
naomiaro a6766d38d4 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-11-04 17:54:14 -04:00
naomiaro f91af23cd7 default db connection 2010-11-04 17:53:55 -04:00
naomiaro c4391eb287 putting default database connection info 2010-11-04 17:51:30 -04:00
naomiaro 842bda3e98 change made to match time data types. 2010-11-04 17:49:27 -04:00
naomiaro 0c74dc5a43 propel added as ORM for backend 2010-11-04 17:48:29 -04:00
naomiaro 649656779c propel library added to 3rd party php tools 2010-11-04 17:47:31 -04:00
paul.baranowski 1a5edd9a4e Added Zend 1.10.8 library. 2010-11-04 17:40:43 -04:00
paul.baranowski 6041230326 CC-1433 Storage server: Once a file is deleted from the database, it can't be added again
Disable the use of the "trash".  Files will now really be deleted.
Also removed some config stuff that is no longer used.
2010-10-27 18:34:24 -04:00
naomiaro fe5337e9db small fixes to wekk view of scheduler 2010-10-19 05:57:28 -04:00
naomiaro 56f3c705fe Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-10-19 04:59:03 -04:00
naomiaro 5750f38343 fixing gui so playlists can again be scheduled, removed. 2010-10-19 04:58:48 -04:00
paul.baranowski e428535d33 Added "schedule_group_id_seq" to the install process. Was missing, oops! 2010-10-18 19:16:37 +02: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 c8df3578ca Fixed PHP notices. 2010-10-18 15:06:17 +02:00
naomiaro 135b85a9af ajax for drag and drop only. 2010-10-18 07:12:44 -04:00
naomiaro 46c8b0d0a8 Merge branch 'master' of dev.sourcefabric.org:campcaster 2010-10-18 07:05:32 -04:00
naomiaro 4acc4cf715 putting back popups in playlist so context menu will still work. 2010-10-18 07:03:48 -04:00