Commit Graph

473 Commits

Author SHA1 Message Date
fgerlits d1aeb8c115 fixed #2090 2006-12-17 13:21:25 +00:00
paul ae1460a3c4 Switched functions from protected to public 2006-12-16 18:32:22 +00:00
paul e57e29675b Accidentally checked in local config value 2006-12-16 18:31:47 +00:00
paul 4733682a62 Refactored Alib to reveal its true nature: a bunch of static functions inside of classes. This makes it much easier to understand what is going on, and removes 4 layers of class heirarchies (now only 4 left). There are now two important global variables: CC_DBC, the database connection, and CC_CONFIG, the config variables. These used to be passed around to all classes, but since they are always the same they should be global. Refactored the StorageServer install scripts to live outside of the classes. They now live in the storageServer install scripts. A lot of functions in the StorageServer have become static as well, but there are definitely more that I didnt get to. Lots of code cleanup as well. This is a big update. 2006-12-16 06:36:22 +00:00
mark 2ae9d1ff2e Always initialize the abort pointer, so that our tests won't fail if the preloader isn't used. 2006-12-15 10:20:05 +00:00
mark b2688b8d3c Make safer. 2006-12-14 12:14:25 +00:00
mark e381e09af8 Forgot this line. 2006-12-14 12:03:12 +00:00
mark 12cfe650b9 Improvement for the preloading system: Now it is possible to abort running Preloader instances. This helps greatly with the Live Mode, when items are reshuffled before playing.
Took a bit longer than expected, since it was more complicated to implement than I had originally thought. On the upside, I've learned more tricks about GStreamer, which is a good thing (tm).

Fixes #2087
2006-12-14 11:59:00 +00:00
localizer e169e5df5c automated localization update 2006-12-14 00:17:01 +00:00
paul 79fa277dcc Added documentation 2006-12-08 04:37:30 +00:00
paul 4a915f241f Added documentation 2006-12-08 04:36:59 +00:00
paul c526cb1830 Code cleanup, add extra check about scheduler startup script, add documentation. 2006-12-08 04:36:29 +00:00
paul a56a304c19 Get rid of a warning 2006-12-08 04:34:39 +00:00
paul f98af0ace0 Code formatting 2006-12-08 04:33:35 +00:00
paul 55688910d5 Formatting, and making a note about a bug 2006-12-08 04:33:02 +00:00
paul 482d0052b3 Added public/private/protected/static to functions 2006-12-08 04:32:12 +00:00
paul 8dd2119496 Added public/private/protected/static to functions 2006-12-08 04:31:42 +00:00
paul 985eeab08c Added public/private/protected/static to functions 2006-12-08 04:31:20 +00:00
paul 3e5f74e29e A more readable secondsToPlaylistTime() function 2006-12-08 04:30:22 +00:00
paul c1d4c33b31 Added public/private/static definitions to functions 2006-12-08 04:28:50 +00:00
fgerlits af047436e8 Micz's new "your logo here" image 2006-12-07 10:29:40 +00:00
mark eb69bd44c8 Additional comments and code cleanup. 2006-12-07 08:17:18 +00:00
localizer f1c7e18c45 automated localization update 2006-12-07 00:16:00 +00:00
fgerlits 19244065be added the 1.1.1 version number to the changelog 2006-12-06 21:21:21 +00:00
tomash e71663c2e0 Hub setup script improved (can be installed along to studio etc.) 2006-12-06 20:06:54 +00:00
fgerlits cdfd1db671 don't resize the station logo image if we don't have to 2006-12-06 16:42:04 +00:00
paul b3d8e4bf76 Fix for bug #2080 - Transfers window broken in the html interface 2006-12-06 16:07:19 +00:00
fgerlits 62b3ad1d73 stupid, stupid typo 2006-12-06 11:19:39 +00:00
fgerlits 52b2609781 only generate a new password at the first install 2006-12-06 09:53:03 +00:00
mark 6596d67f3b Add API docs for preloader. 2006-12-06 08:35:55 +00:00
tomash 143c573139 #2076 quickfix 2006-12-05 22:07:49 +00:00
fgerlits 94e1f0bc53 fixed #2072, this time possibly for real 2006-12-05 19:25:50 +00:00
paul a5ea42a1b7 Get rid of LS (livesupport) naming 2006-12-05 16:39:49 +00:00
fgerlits 76e9f100f4 fixed the location of the password-change script 2006-12-05 16:26:46 +00:00
fgerlits 01ee4ec06d moving the script so that it will be copied by `make install` 2006-12-05 16:10:57 +00:00
fgerlits 76259642e7 typo 2006-12-05 15:39:47 +00:00
fgerlits b56fd1cec2 fixed #2017 2006-12-05 15:35:29 +00:00
tomash 4ea731e572 #2017 executable for changing scheduler password in the storageServer added. 2006-12-05 13:47:07 +00:00
fgerlits e6f13e1e64 undo of the previous -- this would have assigned the same random password
in every Campcaster installation
2006-12-05 10:43:52 +00:00
fgerlits e0d19e47da fixed #2017 2006-12-05 10:40:33 +00:00
paul a34b4106e2 Updated the version number to 1.1.1 2006-12-04 21:26:29 +00:00
fgerlits dfcbff8175 possible fix for #2072 2006-12-04 18:52:10 +00:00
paul e98e7d8761 Update version number 2006-12-04 17:36:36 +00:00
fgerlits 6990e0e9e8 minor script + documentation improvements 2006-12-04 14:50:30 +00:00
fgerlits 82f2dc63d4 added instructions for updating the repository 2006-12-04 13:42:09 +00:00
fgerlits 5ceb0b2567 playlists-within-playlists can make the playlist label longer 100 characters 2006-12-04 12:03:30 +00:00
fgerlits d45efa6e23 Fixed #2017. 2006-12-04 11:59:01 +00:00
fgerlits 0fb1c29f2c updated the credits 2006-12-04 10:26:52 +00:00
paul 389227ab6f Prevent users from removing the SCHEDULER user or changing the password for it. 2006-12-03 22:23:48 +00:00
fgerlits 5ec66ba60c don't look for more apache init scripts if you have found one already 2006-12-03 21:33:10 +00:00
fgerlits 4056d5473a fixed #2070 2006-12-03 00:26:59 +00:00
paul 0027b24ca2 Updated README 2006-12-02 18:01:07 +00:00
paul 75226814a6 Updated README 2006-12-02 17:05:55 +00:00
paul 460ea764c3 Updated CREDITS 2006-12-02 16:38:15 +00:00
paul 888086a345 Fix for ticket:1397 - replace CAMP logo with YOUR LOGO HERE 2006-12-02 15:43:29 +00:00
fgerlits 515ba0a924 these files need to be there, even if they don't do anything
(because the #DEBHELPER# part might do something useful)
2006-12-02 14:25:48 +00:00
fgerlits 7828de0d34 one more renaming issue 2006-12-02 14:24:38 +00:00
fgerlits 074b08841e fixed the Mutex class to make it thread-safe (I hope) 2006-12-02 08:30:50 +00:00
fgerlits 05beb4d5d0 prettified the mutex code 2006-12-01 20:25:01 +00:00
paul 0dc9d2bab3 Renaming desktop images 2006-12-01 20:04:12 +00:00
paul 89e863c17b New campcaster desktops 2006-12-01 20:00:37 +00:00
paul 38d5c776cd Remove the preload lock if there is an error initializing the playlist. 2006-12-01 19:55:21 +00:00
paul 3b481ec39c Added locking to prevent race conditions 2006-12-01 19:49:33 +00:00
fgerlits 75d7852eb8 this line made no sense 2006-12-01 17:57:29 +00:00
fgerlits 6c48e9d63d minor edit: breaking up some overlong lines 2006-12-01 17:53:38 +00:00
fgerlits 93dbbeaa6d possible fix for the scheduler bug 2006-12-01 17:49:48 +00:00
paul e306a94e54 Better debug messages. 2006-12-01 17:44:56 +00:00
paul b5abe48ea6 Fix for bug #2068 - removing or rescheduling a playlist will still play the playlist because the scheduler is not signalled. 2006-12-01 17:26:32 +00:00
mark 426b40f2ce Add error message. 2006-12-01 17:08:35 +00:00
fgerlits 26c9566bf1 added a workaround for ticket #2059 2006-12-01 16:46:12 +00:00
paul 2a50ad1cc7 Better debug messages 2006-12-01 16:36:55 +00:00
fgerlits aafdd144d2 fixed #2067 2006-12-01 16:27:30 +00:00
fgerlits 097b46c5ae minor clarification in the documentation of the package creation process 2006-12-01 16:05:52 +00:00
fgerlits a38ebdeadd fixed some Debug.h-related bugs which prevented to code from compiling
in non-debug mode
2006-12-01 14:54:14 +00:00
fgerlits e130b16409 packaging config file updates, part of #2016 2006-12-01 12:59:22 +00:00
paul c1c32bceb7 Another fix for bug #1998 - umask was not set correctly so that the web process can check the status of the scheduler (PID is stored in a file). 2006-12-01 03:37:28 +00:00
paul dd8bff3182 Fix for #1998 - the problem occurred when you start the scheduler more than once. 2006-11-30 18:53:04 +00:00
fgerlits 86243e1d55 fixed a typo in [2694] 2006-11-30 18:53:01 +00:00
fgerlits d1e8dbce87 possible fix for [2694] 2006-11-30 18:48:29 +00:00
fgerlits 221a45419e maybe fixed the scheduler bug (#2034?) 2006-11-30 18:27:24 +00:00
paul 9a4c0ca65f Should fix #2061 2006-11-30 18:10:50 +00:00
tomash 2e99dd0509 Hidden locking problem fixed in file uploads (storageServer and hub) + more network error codes marked as resumable. 2006-11-30 17:25:23 +00:00
tomash 9166fc981a minor thing - improved error msg 2006-11-30 17:20:59 +00:00
fgerlits 15bc76462b added some debug messages 2006-11-30 15:31:34 +00:00
fgerlits db22b940e5 fixed #2023 2006-11-30 14:11:09 +00:00
mark 6b4bd54191 Add some debug output. 2006-11-30 13:35:45 +00:00
mark 2eb30be97a Fixed Debug.h so that it can be used in more than one class at a time. Also added include guard.
Fixes most of #1922
2006-11-30 13:31:58 +00:00
fgerlits 3fd1e71d51 fixed #2044 2006-11-30 12:39:32 +00:00
fgerlits fafbf6e87b undo of [2678] 2006-11-30 11:51:41 +00:00
mark 79723bc653 fix typo in comment 2006-11-30 10:38:08 +00:00
mark ec217a1a71 Added an audioplayer preload call in the initialization, which hopefully speeds things up. Also increased init-time to 10 seconds.
Refer to #2043
2006-11-30 10:34:55 +00:00
tomash 69578735e9 Workaround for nonexisting developer's crontab (personalized developer env.) 2006-11-30 04:52:14 +00:00
tomash 8b484a9df3 fixed line commited by mistake 2006-11-30 04:37:16 +00:00
tomash 657d7c2ab5 #2040 - curl errors on upload to hub - fixes and upload parameters changes 2006-11-30 03:38:02 +00:00
tomash 6c751954ee minor fix 2006-11-30 02:21:58 +00:00
fgerlits f7bdf20b6e provisional solution to #2044 2006-11-29 21:38:41 +00:00
fgerlits 96f4e38e38 fixed #2055 2006-11-29 18:59:52 +00:00
paul 50c781da5d Fix for playlists in the scheduler spanning across day boundaries or even multiple days. Part of #2050. 2006-11-29 17:45:02 +00:00
fgerlits e79a684041 some scripts missed in [2674] 2006-11-29 16:31:48 +00:00
fgerlits 1c068165e0 changed all #!/bin/sh lines to #!/bin/bash 2006-11-29 16:19:45 +00:00
mark cc4b25a851 Improve debug output (less spammy, better information). 2006-11-29 16:06:01 +00:00
paul 7fab2a870e Removed scheduler import/export because they dont work yet 2006-11-29 15:11:33 +00:00
fgerlits 850e7c3d2d please don't use C functions for handling time values;
use the tools in the TimeConversion class instead
2006-11-29 11:34:03 +00:00
mark 7037984499 Print timestamp when opening files, as requested by Douglas.
Fixes #2052
2006-11-29 09:10:15 +00:00
paul 6375212ac9 Fix for bug #2050 - a playlist spanning multiple hours is not properly plotted on the DAY VIEW. This was supposed to be part of the previous commit (changeset:2668). 2006-11-29 05:29:39 +00:00
paul 9c3108e75b Fix for bug #2050 - a playlist spanning multiple hours is not properly plotted on the DAY VIEW. Added code documentation. 2006-11-29 05:28:38 +00:00
tomash 22810e102a #2017 special scheduler account in storageServer 2006-11-29 03:36:04 +00:00
tomash 13a06d4ba5 #2040 minor change - verbosity of error msg increased 2006-11-29 02:55:15 +00:00
tomash 89789aa3bf Search with desc order fixed. 2006-11-29 02:45:39 +00:00
paul b1c0f2c582 Fixed bug #1975 - SNAP TO NEXT isnt working. Cleaned up code and added documentation. 2006-11-28 22:10:12 +00:00
tomash 7dbe916d6d #1944 + #1869 hubSearch part 2006-11-28 19:51:03 +00:00
fgerlits 170834839f correction to the previous commit 2006-11-28 19:28:44 +00:00
fgerlits 115bce9de2 fixed #2049 2006-11-28 19:23:12 +00:00
paul 0059d67a54 Fixed warning about uninitialized variable. 2006-11-28 17:43:18 +00:00
paul b07fe34988 Remove the slow metadata from the DAY VIEW. Added more prominent CURRENT DAY label. 2006-11-28 17:42:18 +00:00
paul 5c47d960ae Add in the name of the month in the MONTH VIEW 2006-11-28 17:38:52 +00:00
paul 679248b96f Code formatting. 2006-11-28 16:53:02 +00:00
paul 30a6bf5edc Take out the metadata display which makes things really slow. Got rid of some warnings. 2006-11-28 16:51:12 +00:00
paul 79f4c4266b Took out the sting (i.e. slowness) of creating the HUBBROWSE object on every page load - everytime it was created it did a search on the local database. Added some docs. 2006-11-28 16:37:38 +00:00
paul ded597dba6 Fix for bug #2042 - scheduled items do not show up in the week view. 2006-11-28 16:34:43 +00:00
paul d77fcf6c5e More fixes for #2009 - the XMLRPC calls were made to non-existent functions. The export token was stored in the user preferences even though it was empty. We now display the XMLRPC error for easier debugging. 2006-11-27 23:12:17 +00:00
fgerlits e10129f996 fixed the title - it's the interface for both the scheduler and the storage 2006-11-27 21:01:06 +00:00
paul cfedeece1b Implemented ticket:2044 - hide HUB BROWSE option 2006-11-27 19:37:49 +00:00
paul 655016777f This should be the end of the hash marks problem on the Library search/browse pages - I restored the HUBBROWSE object to load for every page load, it slows things down but should make it stable again. Bug #2037. Also added some code docs to uiBase. 2006-11-27 19:32:15 +00:00
fgerlits 6d1de0a933 fixed #2018 2006-11-27 18:22:44 +00:00
paul e4d0811d86 Partial fix for #2009 - fatal error on scheduler import: the parameters given to the XML-RPC method were in the wrong order. Added documentation. Code formatting tweaks. Warning message for scheduler was fixed. 2006-11-27 18:17:37 +00:00
fgerlits f54fd605c0 fixed #2036 2006-11-27 16:50:55 +00:00
paul 9edd10a58c Fixed bug #2038 - fatal error on edit playlist 2006-11-27 15:15:09 +00:00
fgerlits 11c9e32f28 fixing a typo in the previous commit 2006-11-27 14:12:49 +00:00
fgerlits cede8fc578 clarified the playable ID format in the xml-rpc interface docs 2006-11-27 14:07:15 +00:00
fgerlits ad0dd8d2bc fixed #2007 2006-11-26 10:48:57 +00:00
paul 48b05506d0 Get rid of useless extra directories when installing PEAR libs 2006-11-25 04:10:43 +00:00
paul 8e05b363dc Dont need these files for PEAR 2006-11-25 04:08:02 +00:00
paul d4deec22d0 These PEAR scripts arent used 2006-11-25 04:06:26 +00:00
localizer 17b6bb2c61 automated localization update 2006-11-25 00:14:14 +00:00
paul 7217a801e2 Wow, I am really terrible at getting this Makefile correct. Next time I will create a branch. 2006-11-24 21:33:34 +00:00
paul 1d3d8a6ff1 A more elegant (and actually working) version of PEAR installation 2006-11-24 20:48:06 +00:00
paul eb57bf6256 Put the PEAR files in the right place. It was putting them in .../usr/usr/lib/pear/src, now it puts them in .../usr/lib/pear/src 2006-11-24 18:47:35 +00:00
paul cb36413ecb Fix for #2027 2006-11-24 17:17:29 +00:00
tomash 0fcaf7a168 #1891 hub localt quick test fixed 2006-11-24 16:50:47 +00:00
paul 172f88c5f8 Another tweak for PEAR getting PEAR libs installed 2006-11-24 16:43:08 +00:00
mark d15c639158 No longer needed. 2006-11-24 14:20:26 +00:00
mark 0554aeded0 Many bugfixes and improvements for the preloading system:
* Fixed memory handling. Now using Ptr::Ref.
* Various bugfixes.
* Speedup: Use preloaded data whenever possible.
2006-11-24 14:12:54 +00:00
tomash e316b65ac8 #1869 fixed hub search in web UI 2006-11-24 02:49:14 +00:00
tomash 4259cf0c08 #1894 workaround - ensures the buffer dir exists 2006-11-24 00:53:45 +00:00
localizer 114e75e52b automated localization update 2006-11-24 00:14:12 +00:00
paul ea21523e13 Fix for PEAR installation, for ticket #2020. 2006-11-23 23:16:48 +00:00
paul b645cdf0e6 Removed ability to upload WAV and FLAC files, fix for #2019 2006-11-23 21:36:02 +00:00
paul 577a4bacd5 Fixed accidental checking-in of my local install details, part of #2020 2006-11-23 21:31:19 +00:00
paul 505c9b4f63 Get rid of PEAR updating when installing. Should be final fix for #2020. 2006-11-23 21:25:20 +00:00