paul
2da8161fb7
Fixed database initialization script so that it still works when run multiple times. Previously the StorageRoot would be created again for each installation. Added more verbose output about the database initialization. Added checks for is_null() on the return value for StoredFile::Recall*() functions. Do not create the "public" virtual subfolder when creating a new user. Create the root user in the same way that normal users are created.
2007-02-05 14:06:59 +00:00
paul
5c1a858287
Turns out that the group ownership needs to be set by this user_setup.sh.
2007-02-05 14:04:31 +00:00
paul
cac99f143f
alib/var/install - these files are no longer needed.
2007-02-05 13:09:07 +00:00
fgerlits
68a2bec94a
synchronized the Studio localization files
2007-02-05 12:05:33 +00:00
localizer
85d0e3586d
automated localization update
2007-02-05 00:22:47 +00:00
fgerlits
3bc21101aa
variable initialization inside a switch case does not compile on some versions of gcc; fixed
2007-02-02 16:25:59 +00:00
fgerlits
75c77d8a3a
added a default for the serial device (this should make life easier when you
...
upgrade from an earlier version); and added a gui for configuring it
2007-02-02 12:39:33 +00:00
fgerlits
738ecfd77b
fixed #2101 , maybe
2007-02-01 17:45:57 +00:00
fgerlits
5fe6ffbd15
Ugly (and I hope temporary) fix for #1933 , based on substring matching.
2007-02-01 13:42:04 +00:00
paul
af78a12f6c
Fixed bug #2147 - trying to change password gives an error. Also fixed an additional incorrect API call in Greenbox.
2007-01-31 12:02:23 +00:00
paul
510d3a618a
Fixed bug #2146 - Import script does not accept relative paths
2007-01-31 11:22:15 +00:00
localizer
e2eb5003fd
cleaned up language names and fixed permissions for the pt and gl directories
2007-01-30 17:05:56 +00:00
paul
814744d87e
Part of the fix for #1933 - give back a different error code in the case of a duplicate file.
2007-01-30 16:56:29 +00:00
paul
0b1e16c92e
This should fix #2144
2007-01-30 16:38:31 +00:00
paul
43cf1716e8
Fix for #2141 - the web interface does not start in the packaged version. The problem was that the CC_DBC variable was not initialized. Also fixed the UI_VERSION_FULLNAME.
2007-01-30 16:27:43 +00:00
fgerlits
56c61a21cf
disabled some tests which either crash or hang; see #2143
2007-01-30 10:33:05 +00:00
paul
8719ce2a09
Fix for #2142 - when trying to add a user in the Web, get ACCESS DENIED.
2007-01-29 18:13:12 +00:00
paul
5ff2576e24
Fix for #2127 - Imports fail when filenames have spaces and other special characters
2007-01-29 14:38:32 +00:00
paul
dc9ac0a2c2
Fix for #2140
2007-01-29 13:34:49 +00:00
paul
2ff948f2ed
Fix for #2100 - the scheduler user is not created in the development environment. Added a script called campcaster-user.php which allows you to add users, change user passwords, and delete users. The changeSchedulerPassword.php script is no longer needed because of this.
2007-01-29 13:22:05 +00:00
fgerlits
00762f95c6
minor documentation enhancement
2007-01-29 12:50:15 +00:00
fgerlits
927610187b
added the scheduler var dir, and updated the name of the import script
2007-01-29 12:06:50 +00:00
fgerlits
9a114d1192
'sed -i' is better because it preserves the executable flag
2007-01-29 11:59:04 +00:00
fgerlits
9a8ff9b505
fixed the include path (part of #2138 )
2007-01-29 10:35:37 +00:00
paul
7fe3f07bae
Fix for #2139 - Alib API change broke changeSchedulerPassword.php
2007-01-28 21:02:30 +00:00
fgerlits
e0a692ad08
install the upgrade script
2007-01-28 18:23:37 +00:00
fgerlits
c9774fd0b0
updated the version info (only the changelog will need to be modified
...
when the final release is built)
2007-01-28 16:49:22 +00:00
fgerlits
585066183f
fix for #2138 , first attempt
2007-01-28 16:28:28 +00:00
fgerlits
07b33a4260
updated the list of files containing version info
2007-01-28 13:01:38 +00:00
paul
e6cde00295
Final fix for #2059 . I left in the comments in case something goes wrong with this.
2007-01-27 18:03:00 +00:00
paul
c66be911e6
Final fix for #2074 - make it easier to change the version number. You can now set the version number for PHP code in src/modules/storageServer/var/campcaster_version.php - all components look at this file to get the version number.
2007-01-27 17:11:02 +00:00
fgerlits
314ff9eeb0
"" looks better than "?" (part of #722 )
2007-01-25 16:57:28 +00:00
fgerlits
62e24f984f
made the serial device configurable (part of #722 )
2007-01-25 16:53:28 +00:00
paul
c2b524aaba
Fix newline in upgrade script
2007-01-24 17:54:36 +00:00
paul
f2370f759c
Added upgrade DB call for Tomas fix for killing transfer processes.
2007-01-24 17:49:09 +00:00
paul
c76376e327
print out error message when copy/link operation fails so i can debug whats going wrong with dougs bug
2007-01-24 17:37:43 +00:00
paul
dc88a2792e
Fix for report when things happen in 0 seconds
2007-01-24 17:32:34 +00:00
paul
2d498ecee6
Fixed bug where the install script would die if you already had installed the dev env before
2007-01-24 17:20:59 +00:00
paul
7d4a03d26d
ALIB: Made it easier to debug the SQL statements, removed the install/uninstall code.
2007-01-24 15:55:23 +00:00
fgerlits
6276fbbe22
generate the docs first, so it will be done even if the tests hang
2007-01-24 11:30:43 +00:00
fgerlits
087253a71c
connected the pieces of the RDS thing; next: testing (part of #722 )
2007-01-24 11:10:08 +00:00
tomash
8818ae3537
#2058 cancel transport kill already running transport processes too
2007-01-24 03:04:56 +00:00
paul
1e48e8c7da
Better output when installing/uninstalling storage server. All media files and temp files are now deleted when you uninstall. Bug fix: the media files will still be deleted even if the database is gone. Bug fix: during storage server install, the storage server directories and all files must be created first before the are CHGRP and CHMOD.
2007-01-23 20:51:17 +00:00
fgerlits
3f895d9ae3
added link to the submitted bug
2007-01-23 18:05:25 +00:00
fgerlits
99c182d179
now using the libserial library (part of #722 )
2007-01-23 13:33:06 +00:00
fgerlits
7b79a6835e
part of #722
2007-01-22 11:56:46 +00:00
paul
6700878ccb
Fixed bug with missing include file
2007-01-21 06:09:57 +00:00
paul
16ca32ab29
Commented out my test functionality which replaces any duplicate file uploaded through the web interface
2007-01-21 03:33:56 +00:00
paul
488dad1fd9
Cleaned up BasicStor::bsPutFile()/StoredFile::Insert() by making a better set of more extensible parameters. This allowed me to pass in the MD5 and MIME type values, which means those values do not have to be re-calculated when this function is called. This means adding files will be faster now (each calculation of an MD5 value is .25 of a second on my machine). Added a cache to the Metadata class (this class needs serious cleaning up), so that you only have to do one database call and the rest of the time you just use the cache. The number of calls to getMetadataValue() should speedups due to this. Merged the LsPlaylist class into the Playlist class. Importing through the import script and web interface now reads the COMMENT tag and the COMPOSER tag (bug #2108 ). Moved from using (ls:genre) to (dc:type) for the metadata label for genre and added to the upgrade script to take this into account. Fixed bug in StoredFile::Recall() so that Playlists work again, added an MD5 parameter for this function so that all the Recall functions work in the same way, changed the return value to NULL if the Recall function does not find the record. Made a lot of code more readable and easier to debug. Added StoredFile::getGunid().
2007-01-21 03:31:19 +00:00
fgerlits
a94f77a09c
fixed a typo
2007-01-18 16:26:10 +00:00
fgerlits
3d26f53564
added the libserial library to the development environment (part of #722 )
2007-01-18 16:18:04 +00:00
fgerlits
8ea66df5c9
fixed #2116 ; needs testing
2007-01-18 10:30:51 +00:00
fgerlits
1a35e8d6b8
possible fix for #2101
2007-01-17 16:07:56 +00:00
fgerlits
9cc129a89d
"fixed" #2102
2007-01-16 16:04:32 +00:00
fgerlits
bf76d0f770
fixed #2112
2007-01-16 12:53:55 +00:00
paul
edeaf9cbd7
Tweak Makefile for renaming of the import file to campcaster-import
2007-01-16 01:29:43 +00:00
paul
5b5a0c10be
Renaming the import file to campcaster-import, part 2 of 2
2007-01-16 01:28:08 +00:00
paul
5b0c9c2c36
Renaming the import file to campcaster-import, part 1 of 2
2007-01-16 01:27:29 +00:00
paul
bd72bdd71c
Added LINK mode to the import script and an explanation of the two modes.
2007-01-16 01:25:40 +00:00
paul
a1d90f6bbc
Fix to prevent double-import in the Web interface. Part of #1805
2007-01-15 23:12:54 +00:00
fgerlits
4f49f64e63
minor edit: standardized the include guards (there were 2 different kinds)
2007-01-15 12:29:07 +00:00
fgerlits
89fc941937
made the Cancel button work correctly for RDS entries (part of #722 )
2007-01-15 12:07:41 +00:00
fgerlits
6cab754062
load and save the RDS settings from the config file (part of #722 )
2007-01-15 10:56:14 +00:00
fgerlits
2046cb8b2b
more RDS stuff (part of #722 )
2007-01-12 15:58:08 +00:00
paul
4183f8921f
Added option to copy (--copy) the imported files to disk for the case when you use removable media. Made the output better. Added error check.
2007-01-12 06:15:07 +00:00
paul
7aaabb2165
Minor code formatting tweaks.
2007-01-12 06:13:13 +00:00
paul
a11d39d8f6
Another fix for bug #2114 - after command line import, a file could not be added to the live mode. There were two problems: an incorrect API call, and the new feature which only makes symlinks to files (to fix the double-disk space problem) caused problems because files_exists() didnt work anymore.
2007-01-12 06:11:35 +00:00
paul
36b6fa83e0
Refactored the import script. Now you dont need to specify whether something is a directory or a file, and you can list multiple files/directories on the command line. It also works straight from PHP so you can do: php import.php ...if you want.
2007-01-11 23:28:05 +00:00
paul
623be37d8a
Fix for the bug where you could not upload files (the first part of bug #2114 ). Converted StoredFile into a real class that mapped the database table properly. Renamed some functions to be consistent with each other and with coding standards.
2007-01-11 19:24:45 +00:00
paul
c59a73f506
A web interface to test the XMLRPC for the storage server.
2007-01-11 19:17:44 +00:00
fgerlits
ce0a9be6dc
small bugfix; part of #722
2007-01-11 16:59:09 +00:00
fgerlits
f586f92dbb
added some RDS-related code; see ticket #722
2007-01-11 16:45:43 +00:00
paul
43755b90cc
Import script now prevents double-import.
2007-01-10 17:03:47 +00:00
paul
e910361aa0
Combined the RawMediaData class into the StoredFile class in order to simplify things. Fixed a bug related to the variable NAME (filename - which is now called FNAME) in the StoredFile class. Added code documentation.
2007-01-10 16:55:17 +00:00
paul
be48f1634f
Completed upgrade script for saving MD5 values for each file
2007-01-10 16:38:34 +00:00
paul
997814e78a
Added md5 checksum to FILES table in the database. The XML-RPC function call storeAudioClipOpen now returns error code 888 if the file uploaded is a duplicate of an existing file. Started an upgrade script, but still needs a little bit of work. Removed unused className argument to StoredFile::recall functions. Fixed xr_cli_test.php to use Console_GetOpt PEAR class and fixed code formatting. Fixed code documentation. Fixed some function names to conform to coding standards.
2007-01-09 21:11:45 +00:00
paul
1a8610b37b
ArchiveServer install: Fixed these files to use the new common install code.
2007-01-09 17:32:34 +00:00
paul
2e37fb9c66
StorageServer install: Added more error checking and better code resuse and also fixed a bug where a table was not removed on uninstall because the tables were removed in the wrong order. Install of scheduler was moved to the products/scheduler/bin directory.
2007-01-09 17:30:46 +00:00
paul
219c8cc06f
Centralized the install/uninstall operations for the scheduler into a set of PHP files. This will make it easier to maintain the database because 1) the code is now in a scripting language which means, for instance, that writing upgrade scripts will be easier and also allows these install scripts to use the same infrastructure and code as the storageServer, 2) it allows the developers to see the database creation all in one place 3) simplifies and speeds up the C++ code.
2007-01-09 17:26:53 +00:00
fgerlits
7911089b62
wrote a howto about creating a repository CD
2007-01-09 16:08:11 +00:00
fgerlits
dfeeb2541d
fix for ticket #2074 , part 2 of 3 (documentation)
2007-01-08 13:23:24 +00:00
tomash
1cbc14025c
#1855 copying of media files replaces by making symlink in import script
2007-01-08 00:41:32 +00:00
fgerlits
558d968e5f
fix for ticket #2074 , part 1 of 3
2007-01-05 17:28:05 +00:00
paul
e4d3179227
Beginning of fix for #2106 - Scheduler database tables are created in a different way than all other tables.
2007-01-03 22:47:25 +00:00
paul
b23c11c0b8
Fixed parameters passed to the various recallByGunid() functions- they no longer require the GreenBox parameter. Some functions had been switched, and some had not, which lead to some crashes.
2007-01-03 22:46:26 +00:00
paul
425212bfb8
Possible fix for #2100 - scheduler user is not created. There is now a more verbose output when this step is taken, and also there were previous steps, that if they failed, would prevent this step from happening; so this has been fixed as well. Converted more functions to static functions because thats what they were in the first place...they were just pretending to be member functions.
2006-12-20 02:46:29 +00:00
paul
a3db3c3865
Remove old LS references
2006-12-20 02:33:13 +00:00
paul
f9839006e3
Better error message when you cant connect to database.
2006-12-20 02:29:10 +00:00
paul
3239208c60
Fix for bug #2098 - warnings in Web interface
2006-12-19 20:15:14 +00:00
paul
5b4f673c04
Fix for bug #2099 - Cannot load or save preferences
2006-12-19 20:03:52 +00:00
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