summaryrefslogtreecommitdiffstats
path: root/Bugzilla
AgeCommit message (Collapse)AuthorFilesLines
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.
2018-09-07Bug 1488292 - Remove MozReview extension from BMO code tree as MozReview is ↵dklawren1-6/+0
being decommissioned
2018-08-26remove error pages for nowDylan William Hardison1-31/+0
2018-08-26Merge remote-tracking branch 'bmo/mojo'Dylan William Hardison1-1/+2
2018-08-26do not call finish if there was an errorDylan William Hardison1-1/+2
2018-08-26Revert "make the default workflow the same as bmo"Dylan William Hardison3-9/+9
This reverts commit e4bd13639d5c5f436628e2aa766dca75328627c0.
2018-08-26remove unneeded difference to bmoDylan William Hardison1-1/+1
2018-08-26sync more to bmo/mojoDylan William Hardison1-39/+0
2018-08-26Merge remote-tracking branch 'bmo/mojo'Dylan William Hardison1-0/+2
2018-08-26Merge remote-tracking branch 'bmo/mojo'Dylan William Hardison15-92/+339
2018-08-26add bzapi APIDylan William Hardison1-0/+2
2018-08-24Bug 1399721 - change canonical from bugzil.la to bugzilla.mozilla.orgKohei Yoshino1-6/+11
2018-08-22add graphs to the pathDylan William Hardison1-1/+1
2018-08-20remove more apache bitsDylan William Hardison1-8/+0
2018-08-20more type checkingDylan William Hardison1-8/+5
2018-08-20once moreDylan William Hardison1-0/+1
2018-08-20one more slurpy typeDylan William Hardison1-3/+7
2018-08-20diagnostic code is a stringDylan William Hardison1-1/+1
2018-08-20better FATAL errorDylan William Hardison1-1/+1
2018-08-20add more testingDylan William Hardison2-4/+57
2018-08-20fix glaring errorDylan William Hardison1-5/+2
2018-08-20no bug - Fixed routing issues with /bug/<bug_id> and /<bug_id>David Lawrence1-2/+2
2018-08-20fix routeDylan William Hardison1-1/+1
2018-08-20handle bare bugsDylan William Hardison1-1/+3
2018-08-20Fix a module loading problemDylan William Hardison2-7/+12
2018-08-20add more debugging but also probably fix redirect problemDylan William Hardison4-2/+12
2018-08-20add versionDylan William Hardison2-1/+15
2018-08-20hypnotoad should always expect a proxyDylan William Hardison1-0/+1
2018-08-20review nitsDylan William Hardison1-6/+0
2018-08-20more tidyDylan William Hardison3-12/+12
2018-08-20more tidyDylan William Hardison4-29/+32
2018-08-20more tidyDylan William Hardison5-72/+24
2018-08-20some cleanupsDylan William Hardison2-182/+58
2018-08-20fix errors from group reviewDylan William Hardison2-3/+2
2018-08-20fix lint errorsDylan William Hardison1-2/+2
2018-08-20Bug 1455495 - Replace apache with MojoliciousDylan William Hardison22-488/+985
2018-08-20Bug 1482145 - Some changes required for unit tests to be writtenDylan William Hardison1-1/+72
2018-08-17Bug 1482145 - add more type checking to phabbugz codeDylan William Hardison1-0/+27
2018-08-16Bug 1480878 - Monitor the health of Push connector job processingMars1-1/+9
2018-08-14Revert "Bug 1456878 - Support markdown comments"Dylan William Hardison5-69/+39
This reverts commit fd850e00db835d2b84c59014c3b1021fea2294fc.
2018-08-10Bug 1482475 - Add extensive testing frameworkDylan William Hardison6-20/+159