From ealmasy at scout.wisc.edu Tue Apr 1 18:26:49 2008 From: ealmasy at scout.wisc.edu (Edward Almasy) Date: Tue, 1 Apr 2008 18:26:49 -0500 Subject: [SPT/CWIS] CWIS 1.5.0 Released Message-ID: <432D3DF7-9459-4892-9289-CB6A3669021A@scout.wisc.edu> CWIS version 1.5.0 has been released, and is now available for download on the Scout web site at http://scout.wisc.edu/Projects/CWIS/downloads.php Highlights of the release include: - new XML-based controlled vocabulary import support - new OAI harvest log display - new "Refine Search" option on search results page - new Search Log display - new Failed Search Log display - support for per-field permissions - completely new AJAX-enhanced resource editor - new Collection Administrator user role - new custom privilege flags - new Advanced Search interface (offers reduced complexity) - new segmented Administration interface - new simple resource suggestion interface - new "Recent Searches" box - new resource record problem reporting - new "File" base metadata field type - completely revamped new user signup - new anti-spam protection - support for synonyms in search - significant speed optimizations for complex searches - hooks for AWStats and Google Analytics - new hooks for custom code (see include/SPT--Local--EXAMPLE.php) (Some of these additions have been previously available in beta.) The release also includes many minor enhancements, bug fixes, and optimizations, and incorporates all security patches to date. Later this week we will also be releasing a beta version of 1.5.0, that is functionally identical but has a new 100% web-based installation process, for those without shell access who want to try CWIS. More information about new features and enhancements in this release can be found at http://scout.wisc.edu/Projects/CWIS/CHANGES or via the Revision History available on the Portal Administration menu in the new software. IMPORTANT: As of version 1.5.0, CWIS now requires PHP version 4.1.0 or later and MySQL version 4.1 or later. This will likely be the last major release of the software that works with PHP 4.x and MySQL 4.x, as the 4.x versions of both are no longer supported by the PHP or MySQL development teams. We strongly suggest moving to a web server environment with PHP 5.x and MySQL 5.x when you have the opportunity. After installing the new version, we would ask that you use the "Register with Scout" feature on the Administration menu to let us know you're using the new version of software. It really helps us determine what kind of operating environments the software is running in, and where next to go with development. We look forward to your feedback on this new version of CWIS. Thanks! Ed --- Edward Almasy ealmasy at scout.wisc.edu Co-Director 1210 W Dayton Street Internet Scout Madison WI 53706 Computer Sciences Department 608-262-6606 (voice) University of Wisconsin - Madison 608-265-9296 (fax) From ealmasy at scout.wisc.edu Fri Apr 11 11:33:35 2008 From: ealmasy at scout.wisc.edu (Edward Almasy) Date: Fri, 11 Apr 2008 11:33:35 -0500 Subject: [SPT/CWIS] CWIS 1.5.0 Beta (Web-Based Install) Released Message-ID: CWIS version 1.5.0 Beta (with 100% web-based installation) has been released, and is now available for download on the Internet Scout web site at: http://scout.wisc.edu/Projects/CWIS/downloads.php This version is functionally identical to the regular 1.5.0 release, but has a new 100% web-based installation process, for those without shell access who want to try CWIS. After installing the new version, we would ask that you use the "Register with Scout" feature on the Administration menu to let us know you're using the new version of software. It really helps us determine what kind of operating environments the software is running in, and where next to go with development. We look forward to your feedback on this new version of CWIS. Thanks! Ed --- Edward Almasy ealmasy at scout.wisc.edu Co-Director 1210 W Dayton Street Internet Scout Madison WI 53706 Computer Sciences Department 608-262-6606 (voice) University of Wisconsin - Madison 608-265-9296 (fax) From carola.dellaporta at unimi.it Mon Apr 14 09:45:42 2008 From: carola.dellaporta at unimi.it (Carola Della Porta) Date: Mon, 14 Apr 2008 16:45:42 +0200 Subject: [SPT/CWIS] Boolean Operators In-Reply-To: References: Message-ID: <0JZB00I05KWKZWD0@ldap-s3.unimi.net> Form what I have learned so far about SPT / CWIS, you can search with Boolean operator AND (default or plus sign: + ) and operator NOT (dash sign: -), but not with operator OR. Is it possible to customize SPT/CWIS to implemented it? In Advanced search the default operator between boxes is AND. Is it possible to customize SPT/CWIS to implemented NOT and OR, too? Thank you, Carola Della Porta Dott.ssa Carola Della Porta Servizi al pubblico Biblioteca Enrica Collotti Pischel Facolta' di Scienze Politiche Universita' degli Studi di Milano via Conservatorio 7 20122 Milano Tel. +39-0250321134 o 0250321126 sito web: http://users.unimi.it/bibliosp/ e-mail: carola.dellaporta at unimi.it From thunter at eicc.edu Thu Apr 17 12:15:22 2008 From: thunter at eicc.edu (Hunter, Tim) Date: Thu, 17 Apr 2008 12:15:22 -0500 Subject: [SPT/CWIS] merging data... Message-ID: <208D21E3AC92D449A31336961A46FB870B6C5539@eiccd-exch1.eiccd.net> We've got an older version of CWIS with 38 tables in the MySQL database and the new 1.5 version has 45 tables. What is the best way to go about merging the data to make everything work with minimal problems? Should we just replace the 38 tables that (probably) exist on the 1.5 version and leave the new 7 other tables alone? thanks for any assistance, -Tim No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.0/1382 - Release Date: 4/16/2008 5:34 PM From ealmasy at scout.wisc.edu Thu Apr 17 14:18:06 2008 From: ealmasy at scout.wisc.edu (Edward Almasy) Date: Thu, 17 Apr 2008 14:18:06 -0500 Subject: [SPT/CWIS] merging data... In-Reply-To: <208D21E3AC92D449A31336961A46FB870B6C5539@eiccd-exch1.eiccd.net> References: <208D21E3AC92D449A31336961A46FB870B6C5539@eiccd-exch1.eiccd.net> Message-ID: <24F918D6-C3C2-483D-B58A-700EF4EC4358@scout.wisc.edu> On Apr 17, 2008, at 12:15 PM, Hunter, Tim wrote: > We've got an older version of CWIS with 38 tables in the MySQL > database and the new 1.5 version has 45 tables. What is the best > way to go about merging the data to make everything work with > minimal problems? Should we just replace the 38 tables that > (probably) exist on the 1.5 version and leave the new 7 other tables > alone? If you're upgrading to 1.5.0 via the command-line installation script, it will create any new tables or columns required in your database as part of the upgrade process. Ed --- Edward Almasy ealmasy at scout.wisc.edu Co-Director 1210 W Dayton Street Internet Scout Madison WI 53706 Computer Sciences Department 608-262-6606 (voice) University of Wisconsin - Madison 608-265-9296 (fax) From thunter at eicc.edu Thu Apr 17 14:30:02 2008 From: thunter at eicc.edu (Hunter, Tim) Date: Thu, 17 Apr 2008 14:30:02 -0500 Subject: [SPT/CWIS] merging data... In-Reply-To: <24F918D6-C3C2-483D-B58A-700EF4EC4358@scout.wisc.edu> Message-ID: <208D21E3AC92D449A31336961A46FB870B6C571B@eiccd-exch1.eiccd.net> Hi Ed, We tried the web based install in a new directory with the sample data provided. The web install is nice, but we want to know the best way to go about merging older data into the new structure. Should we just replace the tables with the same name and leave the new ones alone in MySQL? Or is it better to just upgrade the whole package through the command line. Thanks, -Tim -----Original Message----- From: spt-cwis-users-bounces at scout.wisc.edu [mailto:spt-cwis-users-bounces at scout.wisc.edu] On Behalf Of Edward Almasy Sent: Thursday, April 17, 2008 2:18 PM To: SPT / CWIS Users Discussion List Subject: Re: [SPT/CWIS] merging data... On Apr 17, 2008, at 12:15 PM, Hunter, Tim wrote: > We've got an older version of CWIS with 38 tables in the MySQL > database and the new 1.5 version has 45 tables. What is the best > way to go about merging the data to make everything work with > minimal problems? Should we just replace the 38 tables that > (probably) exist on the 1.5 version and leave the new 7 other tables > alone? If you're upgrading to 1.5.0 via the command-line installation script, it will create any new tables or columns required in your database as part of the upgrade process. Ed --- Edward Almasy ealmasy at scout.wisc.edu Co-Director 1210 W Dayton Street Internet Scout Madison WI 53706 Computer Sciences Department 608-262-6606 (voice) University of Wisconsin - Madison 608-265-9296 (fax) _______________________________________________ SPT-CWIS-Users mailing list SPT-CWIS-Users at scout.wisc.edu http://www.scout.wisc.edu/mailman/listinfo/spt-cwis-users No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.0/1382 - Release Date: 4/16/2008 5:34 PM No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.0/1382 - Release Date: 4/16/2008 5:34 PM From christopher.beck at emory.edu Thu Apr 17 14:49:28 2008 From: christopher.beck at emory.edu (Chris Beck) Date: Thu, 17 Apr 2008 15:49:28 -0400 Subject: [SPT/CWIS] merging data... In-Reply-To: <208D21E3AC92D449A31336961A46FB870B6C571B@eiccd-exch1.eiccd.net> References: <24F918D6-C3C2-483D-B58A-700EF4EC4358@scout.wisc.edu> <208D21E3AC92D449A31336961A46FB870B6C571B@eiccd-exch1.eiccd.net> Message-ID: <00bf01c8a0c4$25e49270$71adb750$@beck@emory.edu> Along those lines, can you upgrade using the web install version? -- Dr. Christopher Beck Department of Biology Emory University 1510 Clifton Rd. Atlanta, GA 30322 Email: christopher.beck at emory.edu Phone: 404-712-9012 FAX: 404-727-2880 > -----Original Message----- > From: spt-cwis-users-bounces at scout.wisc.edu [mailto:spt-cwis-users- > bounces at scout.wisc.edu] On Behalf Of Hunter, Tim > Sent: Thursday, April 17, 2008 3:30 PM > To: SPT / CWIS Users Discussion List > Subject: Re: [SPT/CWIS] merging data... > > Hi Ed, > > We tried the web based install in a new directory with the sample data > provided. The web install is nice, but we want to know the best way to > go about merging older data into the new structure. Should we just > replace the tables with the same name and leave the new ones alone in > MySQL? Or is it better to just upgrade the whole package through the > command line. > > Thanks, > -Tim > > -----Original Message----- > From: spt-cwis-users-bounces at scout.wisc.edu [mailto:spt-cwis-users- > bounces at scout.wisc.edu] On Behalf Of Edward Almasy > Sent: Thursday, April 17, 2008 2:18 PM > To: SPT / CWIS Users Discussion List > Subject: Re: [SPT/CWIS] merging data... > > On Apr 17, 2008, at 12:15 PM, Hunter, Tim wrote: > > We've got an older version of CWIS with 38 tables in the MySQL > > database and the new 1.5 version has 45 tables. What is the best > > way to go about merging the data to make everything work with > > minimal problems? Should we just replace the 38 tables that > > (probably) exist on the 1.5 version and leave the new 7 other tables > > alone? > > If you're upgrading to 1.5.0 via the command-line installation script, > it will create any new tables or columns required in your database as > part of the upgrade process. > > Ed > > > --- > Edward Almasy > ealmasy at scout.wisc.edu > Co-Director 1210 W Dayton > Street > Internet Scout Madison WI > 53706 > Computer Sciences Department 608-262-6606 > (voice) > University of Wisconsin - Madison 608-265-9296 > (fax) > > > > _______________________________________________ > SPT-CWIS-Users mailing list > SPT-CWIS-Users at scout.wisc.edu > http://www.scout.wisc.edu/mailman/listinfo/spt-cwis-users > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 269.23.0/1382 - Release Date: > 4/16/2008 5:34 PM > > > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 269.23.0/1382 - Release Date: > 4/16/2008 5:34 PM > > _______________________________________________ > SPT-CWIS-Users mailing list > SPT-CWIS-Users at scout.wisc.edu > http://www.scout.wisc.edu/mailman/listinfo/spt-cwis-users > From ealmasy at scout.wisc.edu Thu Apr 17 14:51:29 2008 From: ealmasy at scout.wisc.edu (Edward Almasy) Date: Thu, 17 Apr 2008 14:51:29 -0500 Subject: [SPT/CWIS] merging data... In-Reply-To: <208D21E3AC92D449A31336961A46FB870B6C571B@eiccd-exch1.eiccd.net> References: <208D21E3AC92D449A31336961A46FB870B6C571B@eiccd-exch1.eiccd.net> Message-ID: <1217C194-B838-448E-A968-2B9021407D6F@scout.wisc.edu> On Apr 17, 2008, at 2:30 PM, Hunter, Tim wrote: > We tried the web based install in a new directory with the sample > data provided. The web install is nice, but we want to know the > best way to go about merging older data into the new structure. > Should we just replace the tables with the same name and leave the > new ones alone in MySQL? Or is it better to just upgrade the whole > package through the command line. The 100% web-based install beta 1.5.0 version is only intended for new installations, not upgrades. (There's a note about this on the download page; future versions will support upgrading via the web- based install.) For existing sites we recommend using the command- line-based stable 1.5.0 release, which will upgrade both the files and the database when pointed at an existing SPT or CWIS installation. Generally I would not recommend upgrading the database for an existing site by hand -- there are a lot of details to cover, and missing just one or two can result in some significant headaches -- but if you want to look at what database changes are required, most are contained in the "SPT--Upgrade--X.X.X--DBTables.sql" files, where "X.X.X" indicates the version for which the incremental changes are intended. Ed --- Edward Almasy ealmasy at scout.wisc.edu Co-Director 1210 W Dayton Street Internet Scout Madison WI 53706 Computer Sciences Department 608-262-6606 (voice) University of Wisconsin - Madison 608-265-9296 (fax) From thunter at eicc.edu Tue Apr 22 12:02:44 2008 From: thunter at eicc.edu (Hunter, Tim) Date: Tue, 22 Apr 2008 12:02:44 -0500 Subject: [SPT/CWIS] merging data... In-Reply-To: <1217C194-B838-448E-A968-2B9021407D6F@scout.wisc.edu> Message-ID: <208D21E3AC92D449A31336961A46FB870B770B2F@eiccd-exch1.eiccd.net> Where can I get a copy of the older CWIS versions? -----Original Message----- From: spt-cwis-users-bounces at scout.wisc.edu [mailto:spt-cwis-users-bounces at scout.wisc.edu] On Behalf Of Edward Almasy Sent: Thursday, April 17, 2008 2:51 PM To: SPT / CWIS Users Discussion List Subject: Re: [SPT/CWIS] merging data... On Apr 17, 2008, at 2:30 PM, Hunter, Tim wrote: > We tried the web based install in a new directory with the sample > data provided. The web install is nice, but we want to know the > best way to go about merging older data into the new structure. > Should we just replace the tables with the same name and leave the > new ones alone in MySQL? Or is it better to just upgrade the whole > package through the command line. The 100% web-based install beta 1.5.0 version is only intended for new installations, not upgrades. (There's a note about this on the download page; future versions will support upgrading via the web- based install.) For existing sites we recommend using the command- line-based stable 1.5.0 release, which will upgrade both the files and the database when pointed at an existing SPT or CWIS installation. Generally I would not recommend upgrading the database for an existing site by hand -- there are a lot of details to cover, and missing just one or two can result in some significant headaches -- but if you want to look at what database changes are required, most are contained in the "SPT--Upgrade--X.X.X--DBTables.sql" files, where "X.X.X" indicates the version for which the incremental changes are intended. Ed --- Edward Almasy ealmasy at scout.wisc.edu Co-Director 1210 W Dayton Street Internet Scout Madison WI 53706 Computer Sciences Department 608-262-6606 (voice) University of Wisconsin - Madison 608-265-9296 (fax) _______________________________________________ SPT-CWIS-Users mailing list SPT-CWIS-Users at scout.wisc.edu http://www.scout.wisc.edu/mailman/listinfo/spt-cwis-users No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.0/1382 - Release Date: 4/16/2008 5:34 PM No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.3/1390 - Release Date: 4/21/2008 4:23 PM From ealmasy at scout.wisc.edu Tue Apr 22 16:49:27 2008 From: ealmasy at scout.wisc.edu (Edward Almasy) Date: Tue, 22 Apr 2008 16:49:27 -0500 Subject: [SPT/CWIS] merging data... In-Reply-To: <208D21E3AC92D449A31336961A46FB870B770B2F@eiccd-exch1.eiccd.net> References: <208D21E3AC92D449A31336961A46FB870B770B2F@eiccd-exch1.eiccd.net> Message-ID: <271312BA-D5E3-42C0-86B7-F6B3E0C820AA@scout.wisc.edu> On Apr 22, 2008, at 12:02 PM, Hunter, Tim wrote: > Where can I get a copy of the older CWIS versions? Old versions are now available on the CWIS downloads page: http://scout.wisc.edu/Projects/CWIS/downloads.php Ed --- Edward Almasy ealmasy at scout.wisc.edu Co-Director 1210 W Dayton Street Internet Scout Madison WI 53706 Computer Sciences Department 608-262-6606 (voice) University of Wisconsin - Madison 608-265-9296 (fax) From Kucerar at hhmi.org Fri Apr 25 14:14:07 2008 From: Kucerar at hhmi.org (Kucera, Rich) Date: Fri, 25 Apr 2008 15:14:07 -0400 Subject: [SPT/CWIS] CWIS 1.5.0 Released In-Reply-To: <432D3DF7-9459-4892-9289-CB6A3669021A@scout.wisc.edu> Message-ID: <0EDA935F3B86D04E8408C7BC487B8C0E0371F478@hqexch3.hhmi.org> Looking great so far! Have you guys modified jquery? In what ways have you integrated it? Thanks, Rich Kucera Senior Web Apps Developer Howard Hughes Medical Institute 4000 Jones Bridge Rd. Chevy Chase, MD 20815 > -----Original Message----- > From: spt-cwis-users-bounces at scout.wisc.edu [mailto:spt-cwis-users- > bounces at scout.wisc.edu] On Behalf Of Edward Almasy > Sent: Tuesday, April 01, 2008 6:27 PM > To: SPT / CWIS Users Discussion List; cwisannounce at scout.wisc.edu > Subject: [SPT/CWIS] CWIS 1.5.0 Released > > > CWIS version 1.5.0 has been released, and is now available for > download > on the Scout web site at > http://scout.wisc.edu/Projects/CWIS/downloads.php > > Highlights of the release include: > > - new XML-based controlled vocabulary import support > - new OAI harvest log display > - new "Refine Search" option on search results page > - new Search Log display > - new Failed Search Log display > - support for per-field permissions > - completely new AJAX-enhanced resource editor > - new Collection Administrator user role > - new custom privilege flags > - new Advanced Search interface (offers reduced complexity) > - new segmented Administration interface > - new simple resource suggestion interface > - new "Recent Searches" box > - new resource record problem reporting > - new "File" base metadata field type > - completely revamped new user signup > - new anti-spam protection > - support for synonyms in search > - significant speed optimizations for complex searches > - hooks for AWStats and Google Analytics > - new hooks for custom code (see include/SPT--Local--EXAMPLE.php) > > (Some of these additions have been previously available in beta.) > The release also includes many minor enhancements, bug fixes, and > optimizations, and incorporates all security patches to date. > > Later this week we will also be releasing a beta version of 1.5.0, > that > is functionally identical but has a new 100% web-based installation > process, for those without shell access who want to try CWIS. > > More information about new features and enhancements in this > release can > be found at http://scout.wisc.edu/Projects/CWIS/CHANGES or via the > Revision > History available on the Portal Administration menu in the new > software. > > > IMPORTANT: As of version 1.5.0, CWIS now requires PHP version > 4.1.0 or > later and MySQL version 4.1 or later. This will likely be the > last major > release of the software that works with PHP 4.x and MySQL 4.x, as > the 4.x > versions of both are no longer supported by the PHP or MySQL > development > teams. We strongly suggest moving to a web server environment > with PHP 5.x > and MySQL 5.x when you have the opportunity. > > > After installing the new version, we would ask that you use the > "Register > with Scout" feature on the Administration menu to let us know you're > using the new version of software. It really helps us determine > what kind > of operating environments the software is running in, and where > next to go > with development. > > We look forward to your feedback on this new version of CWIS. > > Thanks! > > Ed > > > --- > Edward Almasy ealmasy at scout.wisc.edu > Co-Director 1210 W Dayton Street > Internet Scout Madison WI 53706 > Computer Sciences Department 608-262-6606 (voice) > University of Wisconsin - Madison 608-265-9296 (fax) > > > _______________________________________________ > SPT-CWIS-Users mailing list > SPT-CWIS-Users at scout.wisc.edu > http://www.scout.wisc.edu/mailman/listinfo/spt-cwis-users From Kucerar at hhmi.org Wed Apr 30 09:38:07 2008 From: Kucerar at hhmi.org (Kucera, Rich) Date: Wed, 30 Apr 2008 10:38:07 -0400 Subject: [SPT/CWIS] URL overrides of SysConfig In-Reply-To: <0EDA935F3B86D04E8408C7BC487B8C0E0371F478@hqexch3.hhmi.org> Message-ID: <0EDA935F3B86D04E8408C7BC487B8C0E0371F82D@hqexch3.hhmi.org> Hello, Is there an easy way to override some of the settings in $SysConfig from values given in the URL? Below is a patch to do that. I needed to be able to change the UI/Theme without having to log in and without having to set the entire default UI to the target UI. (Once control is passed to the target UI, all links can add the override, keeping the system returning to that UI without a login). For example: http://server.nonprofit.org/someDB/SPT--Home.php?DefaultActiveUI=SPTUI--SOMED B&CurrentTheme=Theme--Droplets&ForumsEnabled=false Thanks, -Rich p.s. class SystemConfiguration { # ---- PUBLIC INTERFACE -------------------------------------------------- # object constructor function SystemConfiguration($DB = NULL) { # load current system config info from database $this->DB =& new SPTDatabase(); $this->DB->Query("SELECT * FROM SystemConfiguration"); $Record = $this->DB->FetchRow(); $this->DBFields = $Record; //rjk //Override initial config parameter in URL (this was mainly done for UI changes //to be able to control UI/Theme by URL entry points instead of just one default UI). //Once control is in the custom UI, whatever view it is, can add the URL values //to all links generated within that UI customization to keep returning to that UI. //It's a way to get to a custom UI without having to log in as a user and without //having to set the entire default UI to that UI. foreach( $this->DBFields as $config_name => $config_val ) { if ( $_REQUEST [ $config_name ] ) { $new_config_val = $_REQUEST [ $config_name ]; if ( $new_config_val == 'true' ) $new_config_val = 1; if ( $new_config_val == 'false' ) $new_config_val = 0; $Record[ $config_name ] = $new_config_val; } } $this->TopLinkString = stripslashes($Record["TopLinkString"]); $this->TopLinkBeginLetter = stripslashes($Record["TopLinkBeginLetter"]); $this->TopLinkEndLetter = stripslashes($Record["TopLinkEndLetter"]); $this->AdminEmail = stripslashes($Record["AdminEmail"]); $this->PasswordMailSubject = stripslashes($Record["PasswordMailSubject"]); $this->PasswordMailBody = stripslashes($Record["PasswordMailBody"]); $this->PortalName = stripslashes($Record["PortalName"]); $this->DefaultActiveUI = stripslashes($Record["DefaultActiveUI"]); $this->CurrentTheme = stripslashes($Record["CurrentTheme"]); ...