From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dirk Bergstrom" To: Subject: gnatsweb news Date: Fri, 07 Sep 2001 17:43:00 -0000 Message-id: <5B1CAAC2F0818444BF07B7AD8845E53C4B1ED5@ELECTRON.jnpr.net> X-SW-Source: 2001-q3/msg00107.html changelog for gnatsweb in the savannah.gnu.org CVS repository: 2001-09-07 Dirk Bergstrom * gnatsweb.pl (get_mailto_link): rewritten to properly html-escape the followup mailto: link contents. * gnatsweb.pl (help_page): Changed bare calls to p() & a() to $q->p() style calls. Missed these yesterday. 2001-09-06 Dirk Bergstrom * gnatsweb.pl: Use CGI qw/-nosticky/; This prevents CGI.pm from appending a bunch of .cgifields to every self_url(). AFAIK, we're not using CGI.pm's sticky field features, so we can do w/o the overhead and the unreasonably long URLs it produces. * gnatsweb.pl: Changed bare calls to CGI.pm routines to qualified calls (ie. submit(foo... becomes $q->submit(foo... ). This allows us to stop importing the :standard and :netscape extensions to CGI.pm. Doing so should improve the startup time and decrease memory footprint. * gnatsweb.pl: Refresh headers choke on semicolon-separated query-strings, so we change semicolons to ampersands in the URL everywhere we use refresh. * gnatsweb.pl (view, edit, submitedit, download_attachment): Added code to strip non-digit characters from $pr. Gnatsd sometimes accepts category/number, and sometimes does the Wrong Thing, and I thought it best to remove the possibility of problems. * gnatsweb.pl (camouflage, set_pref): Removed camouflage()ing of 'user', since the first time I used this version of gnatsweb, it became convinced that my username was 'ag`tavqw'. This migration problem far outweighs the meager benefits of masking the username in the cookie. camouflage()ing the password will still cause migration problems for sites that have used a previous incarnation of gnatsweb, but it might be worth it... * gnatsweb.pl (page_start_html): Don't show logout button if $site_gnatsweb_server_auth is set. Don't show button bar on main page. Changed all the html tags to lowercase, for standards-compliance. * gnatsweb.pl (datemenu, edit): Removed datemenu(), and the one (unreachable) reference to it. It was unused, and probably justifiably so, given the robust date parsing abilities in gnatsd. * gnatsweb.pl (display_query_results): Strip empty params out of $url for the "View for bookmarking" link. * gnatsweb.pl (store_query): Strip empty params out of $query_string before building cookie, to help keep it under the 4K limit. Check (approx) length of cookie, error if it looks like it's going to be over 4K. * gnatsweb.pl (get_mailto_link): Added a new config parameter, %site_pr_submission_address. If set for the current database, get_mailto_link() adds a mailto: link ("submit followup via email") that goes to the local PR submission address and the PR's Reply-To address. The subject is set so that the message gets tacked on to the PR's audit trail. -- Dirk Bergstrom dirk@juniper.net _____________________________________________ Juniper Networks Inc., Computer Geek Tel: 707.433.0564 Fax: 707.433.0769