Commit Graph

420 Commits

Author SHA1 Message Date
paul 02b5c32098 Fix for #2107 - In CCWeb->Browse, selecting a value from the third column does not refine the search. In fact the code for browse was seriously broken. It has all been fixed, and is easier to understand. I also optimized the code, there is now (number_of_results)*2 fewer database calls for this screen - instead there are only 2 database calls for the entire list of results. Therefore the Browse screen should be visibly faster. The result ordering now takes into account the track number, the complete order is now: creator, album, track number, title. The album name and track number have been added to the search results. In DataEngine.php, I broke up the function _localGenSearch() into two functions: one for searching and one for fetching the column values (new function: _browseCategory()). These two things are completely separate tasks and doing this separation makes the code much easier to understand. Added lots of code documentation to htmlUI/var/ui_browse.class.php. 2007-02-07 13:31:21 +00:00
fgerlits b5540ad4f0 minor edit 2007-02-07 11:15:39 +00:00
localizer 5c7f4f5b33 automated localization update 2007-02-07 00:23:07 +00:00
fgerlits 37694dc331 fixed #2171 2007-02-06 17:19:54 +00:00
paul 74b3c0a967 Fix for #2169 - simple search is broken 2007-02-06 12:17:23 +00:00
paul b4bfcd756d Fix for ticket #2170 - advanced search should default to AND instead of OR. 2007-02-06 11:54:17 +00:00
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 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 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
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 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 585066183f fix for #2138, first attempt 2007-01-28 16:28:28 +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 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 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 9cc129a89d "fixed" #2102 2007-01-16 16:04:32 +00:00
fgerlits bf76d0f770 fixed #2112 2007-01-16 12:53:55 +00:00