summaryrefslogtreecommitdiffstats
path: root/Bugzilla
AgeCommit message (Collapse)AuthorFilesLines
2018-12-06Flyspray: Add CC list to bugsFlorian Pritz1-0/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-06Flyspray: Fix timestamps of attachmentsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-06Flyspray: Only migrate users that are necessaryFlorian Pritz1-0/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-06Migrate: Allow to change read values in after_read()Florian Pritz1-8/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-06Adapt flyspray migration to work without username and only emailFlorian Pritz1-11/+11
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-06WIP: disable broken requirements check in migration classFlorian Pritz1-2/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-06Fix duplicate detection triggering on reopened bugsFlorian Pritz1-1/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-06WIP: miscFlorian Pritz1-15/+23
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-06WIP: misc fixesFlorian Pritz2-12/+24
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-06WIP: misc fixesFlorian Pritz1-4/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-06WIP: Migrate duplicate IDFlorian Pritz2-0/+12
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-06WIP: rename bug variableFlorian Pritz1-16/+16
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-06WIP: Add flyspray migration classFlorian Pritz1-0/+528
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-06Misc fixesFlorian Pritz1-1/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-12-05no bug - reformat all the code using the new perltidy rulesPerl Tidy211-42468/+44011
2018-10-14Revert "fix stack for error messages"Dylan William Hardison1-3/+1
This reverts commit 480e3572661cc856591e0aa11b5eb023338558ed.
2018-10-14fix stack for error messagesDylan William Hardison1-1/+3
2018-10-14fix bug bluewind reportedDylan William Hardison1-25/+15
2018-10-14Merge remote-tracking branch 'bmo/master'Dylan William Hardison37-416/+1244
2018-10-14Merge remote-tracking branch 'bmo/master'Dylan William Hardison1-11/+11
2018-10-13Bug 1495741 - memory issues: use local flag cacheDylan William Hardison1-5/+7
2018-10-13Bug 1495741 - memory issues: disable etag generation for /rest/productDylan William Hardison2-1/+7
2018-10-13Bug 1495741 - memory issues: Avoid copying stuff in the webservice layer so muchDylan William Hardison4-2/+120
2018-10-12Bug 1497487 - Backport bug 767623 to BMO: Use HMAC to generate tokens and ↵Dylan William Hardison1-8/+7
sensitive graph filenames
2018-10-11Bug 1498206 - Replace LWP::UserAgent with Mojo::UserAgent in phabbugz extensionDylan William Hardison1-1/+20
2018-10-09Bug 1497343 - Add some rudimentary type checking to ↵Dylan William Hardison2-7/+20
Bugzilla::WebServe::Util::validate()
2018-10-09Bug 623384 - Use Module::Runtime instead of eval { require } or eval "use"Dylan William Hardison5-11/+26
2018-10-05Bug 1496570 - Bugzilla doesn't attempt to decode form-urlencoded data ↵Dylan William Hardison1-0/+2
without a content-type header
2018-10-04Bug 1495901 - SES type checking errorDylan William Hardison1-42/+59
2018-10-04Bug 1489120 - Add a rest API to get triage owners for each product/component ↵Kohei Yoshino1-0/+7
pair (#797)
2018-10-03no bug - make libcmark-gfm optional (#792)Dylan William Hardison1-1/+0
2018-10-03no bug - reformat all new quantum files using new standardDylan William Hardison10-679/+687
2018-10-03Bug 1495906 - After mojo update /latest/configuration API call no longer ↵dklawren1-0/+1
works and gives page not found
2018-10-02Bug 1495869 - Crash graph not found after mojo migrationDylan William Hardison1-1/+1
2018-10-02Bug 1263502 - Add duplicates to /rest/bug/idKohei Yoshino1-0/+9
2018-10-02add helpers for handling logins and error handlingDylan William Hardison9-18/+188
2018-10-01Bug 1495071 - Mojolicious CleanupDylan William Hardison5-42/+60
There are some things that should've been in the first patch but were missed: 1. Calling $c->finish in the finally block should not happen if an exception has been raised. 2. Bugzilla->cleanup() should be called at the same time the mojolicious stash is cleared. 3. Code referencing the shutdownhtml should be removed 4. The conditionals that ran code in Bugzilla.pm when it was not run under mod_perl should instead check where the Bugzilla.pm module was loaded from. 5. Revert the default template from #770 6. Also removed some stuff that manipulates the PATH and signals, which we shouldn't do
2018-10-01fix error and bump version (#772)Dylan William Hardison1-1/+1
2018-09-28no bug - use more generous timeouts Dylan William Hardison2-22/+28
this makes all the mojo timeouts larger -- except for 'clients' which should be smaller because we're so synchronous. It also puts them into environmental variables so ops can tweak them. Note some of the code has moved to the main application class to make future people less likely to not notice these values.
2018-09-28no bug - use bugzilla as the default template engineDylan William Hardison1-0/+1
2018-09-26Bug 1493500 - Remove all trailing whitespaces from all filesKohei Yoshino4-9/+9
2018-09-25Bug 1494065 - Add a basic test using Test::MojoDylan William Hardison2-2/+20
2018-09-24Bug 1490595 - Bugzilla update check should use httpsKohei Yoshino1-1/+1
2018-09-24Bug 1492926 - Handle DBIx::Connectors more appropriatelyDylan William Hardison1-13/+28
This is a bigger change than I anticipated, because the way we cached DBIx::Connector objects was bad. Now we cache the Bugzilla::DB instances in connect_main() and connect_shadow(). This is for maintaining a 1:1 mapping of Bugzilla::DB objects and DBIx::Connector objects. This is important because we want be able to inspect Bugzilla::DB->bz_in_transactions() from the 'connected' event. Note that we weaken the lexical variable $self in _build_connector() because it is referenced by the callback passed to DBI. Without this there would be a memory cycle and stuff would never be freed. (tested my understanding in this gist: https://gist.github.com/dylanwh/646574a027f7b7d92cb7586676da7468)
2018-09-20Bug 1492850 - Remove places where headers are printedDylan William Hardison1-0/+4
There's one place where some (unused?) debug code prints out headers without using Bugzilla->cgi, and testagent.cgi which does the same. The first thing is removed and testagent.cgi is also removed, with its route handled by a simple route.
2018-09-19no bug - bump Alien::libcmark_gfmDylan William Hardison1-2/+2
2018-09-19Bug 1455495 - Replace apache with MojoliciousDylan William Hardison25-553/+951
2018-09-14no bug - cleanup a few nits in the SecurityRiskReport (#746)Dylan William Hardison1-14/+10
- sorted imports, with Moo and MooX::StrictConstructor at the top because they change the behavior of the code. - removed 'scalar' when comparing an array to an integer as it isn't required. - adjusted multi-line first { } to single line since it still fits and perltidy makes it look ugly. - store each 'result' hash in a $result variable, again to make perltidy format better. - change use of 'unshift ARRAY' to 'push ARRAY' and reverse(). The later performs fewer mallocs (push is much more effficient than unshift). Please check if this logic is right.
2018-09-13Bug 1490708 - Ensure we always call DBIx::Connector->dbh before any DBI ↵Dylan William Hardison1-15/+28
method (#744) The code didn't allow a way of doing this without a lot of work. So I had to take the following approach: The 'dbh' attribute is now a method that delegates to DBIx::Connector's dbh method. Per the docs, ->dbh() "Returns the connection's database handle. It will use a an existing handle if there is one, if the process has not been forked or a new thread spawned, and if the database is pingable. Otherwise, it will instantiate, cache, and return a new handle." Then there is the matter of the 'handles' on dbh. I've used Package::Stash to insert proxy methods into the class when it is loaded.
2018-09-10Bug 1479466 - Add Security Bugs ReportIsrael Madueme2-0/+355
Adds the security bugs report with open count and median age open of sec-critical and sec-high bugs.