->to( 'CGI#enter_bug_cgi' => { 'product' => 'Infrastructure & Operations', 'format' => 'itrequest' } );
$r->any( '/:REWRITE_mozlist' => [ REWRITE_mozlist => qr{form[\.:]mozlist} ] )
->to( 'CGI#enter_bug_cgi' => { 'product' => 'mozilla.org', 'format' => 'mozlist' } );
- $r->any( '/:REWRITE_poweredby' => [ REWRITE_poweredby => qr{form[\.:]poweredby} ] )
- ->to( 'CGI#enter_bug_cgi' => { 'product' => 'mozilla.org', 'format' => 'poweredby' } );
$r->any( '/:REWRITE_presentation' => [ REWRITE_presentation => qr{form[\.:]presentation} ] )
->to( 'cgi#enter_bug_cgi' => { 'product' => 'mozilla.org', 'format' => 'presentation' } );
$r->any( '/:REWRITE_trademark' => [ REWRITE_trademark => qr{form[\.:]trademark} ] )
+++ /dev/null
-[%# 1.0@bugzilla.org %]
-[%# The contents of this file are subject to the Mozilla Public
- # License Version 1.1 (the "License"); you may not use this file
- # except in compliance with the License. You may obtain a copy of
- # the License at http://www.mozilla.org/MPL/
- #
- # Software distributed under the License is distributed on an "AS
- # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- # implied. See the License for the specific language governing
- # rights and limitations under the License.
- #
- # The Original Code is the Bugzilla Bug Tracking System.
- #
- # The Initial Developer of the Original Code is Netscape Communications
- # Corporation. Portions created by Netscape are
- # Copyright (C) 1998 Netscape Communications Corporation. All
- # Rights Reserved.
- #
- # Contributor(s): Gervase Markham <gerv@gerv.net>
- # Ville Skytta <ville.skytta@iki.fi>
- # John Hoogstrate <hoogstrate@zeelandnet.nl>
- #%]
-
-[% PROCESS global/variables.none.tmpl %]
-
-[% PROCESS global/header.html.tmpl
- title = "Powered by Mozilla Logo Requests"
-%]
-
-[% USE Bugzilla %]
-
-<p>If you are interested in using the <a href="https://www.mozilla.org/about/powered-by/">Powered by Mozilla logo</a>,
-please provide some information about your application or product.</p>
-
-<p><strong>Please use this form for Powered by Mozilla logo requests only.</strong></p>
-
-<form method="post" action="post_bug.cgi" id="tmRequestForm">
-
- <input type="hidden" name="product" value="Marketing">
- <input type="hidden" name="component" value="Trademark Permissions">
- <input type="hidden" name="bug_severity" value="enhancement">
- <input type="hidden" name="rep_platform" value="All">
- <input type="hidden" name="priority" value="--">
- <input type="hidden" name="op_sys" value="Other">
- <input type="hidden" name="version" value="unspecified">
- <input type="hidden" name="assigned_to" value="nobody@mozilla.org">
- <input type="hidden" name="cc" value="liz@mozilla.com">
- <input type="hidden" name="groups" value="marketing-private">
- <input type="hidden" name="token" value="[% token FILTER html %]">
-
- <table>
- <tr>
- <td align="right"><strong>Application or Product Name:</strong></td>
- <td colspan="3">
- <input name="short_desc" size="60" value="Powered by Mozilla request for: [% short_desc FILTER html %]">
- </td>
- </tr>
-
- <tr>
- <td align="right"><strong>URL (optional):</strong></td>
- <td colspan="3">
- <input name="bug_file_loc" size="60"
- value="[% bug_file_loc FILTER html %]">
- </td>
- </tr>
-
- <tr><td align="right" valign="top"><strong>Comments (optional):</strong></td>
- <td colspan="3">
- <textarea name="comment" rows="10" cols="80">
- [% comment FILTER html %]</textarea>
- <br>
- </td>
- </tr>
-
- </table>
-
- <br>
-
- <input type="submit" id="commit" value="Submit Request">
-</form>
-
-<p>Thanks for contacting us.
- You will be notified by email of any progress made in resolving your
- request.
-</p>
-
-[% PROCESS global/footer.html.tmpl %]
title => "Mozilla Gear Request",
group => "mozilla-employee-confidential",
},
- {
- link => "form.poweredby",
- title => "Powered by Mozilla Logo Requests",
- },
{
link => "form.mozlist",
title => "Mozilla Discussion Forum Requests",
title => "Brand Engagement Initiation Form",
group => "mozilla-employee-confidential",
},
- {
- link => "form.poweredby",
- title => "Powered by Mozilla Logo Requests",
- },
{
link => "form.comm.newsletter",
title => "Mozilla Communities Newsletter",
$sel->is_text_present_ok('has been added to the database', 'Bug created');
my $legal_bug_id = $sel->get_value('//input[@name="id" and @type="hidden"]');
-# poweredby
-
-_check_product('Websites', 'other');
-_check_component('Websites', 'www.mozilla.org');
-_check_user('liz@mozilla.com');
-
-$sel->open_ok("/$config->{bugzilla_installation}/enter_bug.cgi?product=Websites&format=poweredby");
-$sel->wait_for_page_to_load_ok(WAIT_TIME);
-$sel->title_is("Powered by Mozilla Logo Requests", "Open custom bug entry form - poweredby");
-$sel->type_ok("short_desc", "Bug created by Selenium", "Enter bug summary");
-$sel->type_ok("comment", "--- Bug created by Selenium ---", "Enter bug description");
-$sel->click_ok("commit", undef, "Submit bug data to post_bug.cgi");
-$sel->wait_for_page_to_load_ok(WAIT_TIME);
-$sel->is_text_present_ok('has been added to the database', 'Bug created');
-my $poweredby_bug_id = $sel->get_value('//input[@name="id" and @type="hidden"]');
-
set_parameters($sel, { "Bug Fields" => {"useclassification-on" => undef} });
logout($sel);
$sel->title_is("Suspicious Action");
$sel->is_text_present_ok("you have no valid token for the create_bug action");
$sel->click_ok('//input[@value="Confirm Changes"]');
-check_page_load($sel, WAIT_TIME, q{http://HOSTNAME:8000/bmo/show_bug.cgi?id=15});
+check_page_load($sel, WAIT_TIME, q{http://HOSTNAME:8000/bmo/show_bug.cgi?id=14});
$sel->is_text_present_ok('has been added to the database', 'Bug created');
$sel->type_ok("comment", "New comment not allowed");
$sel->click_ok("commit");