Custom Query (420 matches)
Results (1 - 3 of 420)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#963 | fixed | Shorter URL path to usersDB | ||
Description |
Task description: get the Networked Derby Driver to use the shorter URL to the usersDB of the form jdbc:derby://derbyserver:derbyport/usersDB, instead of the full path to usersDB after the protocol. It needed setting derby.system.home JAVA_OPT when starting up the derby server in build.xml, then the tomcat greenstone3.xml file needed to refer to the shorter URL. Then classes that used to pass the full path need to pass the shorter form. And those classes called from the command line with full usersDB path, like ModifyUsersDB, needed to now pass the shorter path. So build.xml needed further updating when calling ModifyUsersDB. The full path still works (for example, you can connect to both the original jdbc:derby URL and the shorter URL now from Squirrel SQL Client now), but the code now uses the shorter path. |
|||
#962 | fixed | Admin should be able to remove user comments | ||
Description |
Ticket to summarise the task and bring together the revisions pertaining to this change (in case they need to be undone for testing). When admin is logged in, there should be check boxes next to user comments on a document page and a Delete button, so the admin can delete it. Implemented remove-metadata-array perl functions (in modmetadataaction.pm) and javascript wrapper for this (in javascript-global-functions.js), called from user_comments.js. Some additional changes in usercomments.xsl such as to check it's the admin user, and changes in runtime Java code GS2Construct.java to also ensure the remove-metadata-array perl commands can't be issued from a URL/terminal by non-admin users. It took a little time as I needed to implement the remove-metadata-array perl subroutines correctly, and not break existing code when refactoring into utility internal methods. And the JavaScript ajax async/sync calls needed to handle with gsdl_cgi->generate_error() calls causing otherwise silent die statements (which don't show up as errors duing an ajax call, without checking for them manually in the ajax success-response). Changesets: https://trac.greenstone.org/changeset/38188 to https://trac.greenstone.org/changeset/38194 https://trac.greenstone.org/changeset/38217 to https://trac.greenstone.org/changeset/38219 https://trac.greenstone.org/changeset/38231 to https://trac.greenstone.org/changeset/38234 https://trac.greenstone.org/changeset/38237, https://trac.greenstone.org/changeset/38238 https://trac.greenstone.org/changeset/38248, https://trac.greenstone.org/changeset/38251 |
|||
#957 | fixed | Getting enriched meta to stick in GLI with special chars and encodings in subfolders and filenames | ||
Description |
Getting enriched meta to stick in GLI with special chars and encodings in subfolders and filenames. Affected were doc.xml and metadata.xml when Gathered subfolder names and filenames contained special characters (&, + and accented chars or unicode chars beyond ascii). Now that I have added a new bugfix related to the issue and noticed there was no ticket that brought together all the commit revisions that comprised the overall fix for this topic, I am going to try to list all the commits here. http://trac.greenstone.org/changeset/33724, http://trac.greenstone.org/changeset/33726 to http://trac.greenstone.org/changeset/33730 http://trac.greenstone.org/changeset/33737 to http://trac.greenstone.org/changeset/33739 http://trac.greenstone.org/changeset/33744 to http://trac.greenstone.org/changeset/33751 http://trac.greenstone.org/changeset/33756 to http://trac.greenstone.org/changeset/33758 http://trac.greenstone.org/changeset/33777 And today's bugfix: http://trac.greenstone.org/changeset/34105 |