summaryrefslogtreecommitdiffstats
path: root/Bugzilla
AgeCommit message (Collapse)AuthorFilesLines
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.
2018-09-07Bug 1488292 - Remove MozReview extension from BMO code tree as MozReview is ↵dklawren1-6/+0
being decommissioned
2018-08-24Bug 1399721 - change canonical from bugzil.la to bugzilla.mozilla.orgKohei Yoshino1-6/+11
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
2018-08-10Bug 1456878 - Support markdown commentsIsrael Madueme5-39/+69
2018-08-10Bug 602313 - Allow creation of attachments by pasting an image from ↵Kohei Yoshino1-1/+1
clipboard, as well as by drag-and-dropping a file from desktop
2018-08-06Bug 1481207 - POST /rest/bug_user_last_visit returns random number instead ↵Kohei Yoshino1-1/+1
of bug ID
2018-07-31Bug 1466737 - "use my platform" should default to x86_64 on Mac OS XKohei Yoshino1-0/+1
2018-07-31Bug 1320977 - performance tweaksDylan William Hardison2-7/+9
2018-07-27Bug 1320977 - Add review/feedback/needinfo request counts and block statuses ↵Kohei Yoshino1-1/+5
to /rest/user and /rest/user/suggest responses
2018-07-27Bug 1419636 - Make Google Analytics use beacon/XHR instead of img tagKohei Yoshino1-2/+6
2018-07-23Bug 1476841 - Various code cleanups ahead of the Mojolicious patchDylan William Hardison4-25/+16
2018-07-19Bug 1476288 - Replace moz_nick with (new, revised) nick and also attempt to ↵Dylan William Hardison1-3/+7
disallow duplicate nicks
2018-07-17Bug 1260096 - BugUserLastVisit api not working and throwing error code : 32614Kohei Yoshino1-0/+9
2018-07-17Bug 1476052 - Bugzilla mishandles diff attachments that are UTF-8 and ↵Dylan William Hardison3-0/+4
contain U+FFFF
2018-07-13Bug 1328659 - Add support for utf8=utf8mb4 (switches to dynamic/compressed ↵Dylan William Hardison4-46/+116
row format, and changes charset to utf8mb4)
2018-07-10Bug 1469911 - Make user autocompletion fasterDylan William Hardison5-11/+111
2018-07-06no bug - use more obvious looping constructDylan William Hardison1-2/+2
2018-07-02Bug 1472755 - False positives on IP blocking logicDylan William Hardison1-2/+4
2018-06-29Revert cereal code as risk mitigation for friday pushDylan William Hardison1-9/+7
2018-06-29Bug 1472048 - Remove Metrics CodeDylan William Hardison12-798/+1
2018-06-28Revert "Bug 1471701 - Remove is_markdown (to be replaced by a new comment type)"Dylan William Hardison2-3/+7
2018-06-27Bug 1471701 - Remove is_markdown (to be replaced by a new comment type)Dylan William Hardison2-7/+3
2018-06-27Bug 1275545 - Use Sereal for Cache::Memcached::FastHorie Issei1-7/+9
2018-06-27Bug 1471417 - Remove XUL from attachment Content Type options; add SVG to ↵Kohei Yoshino1-4/+2
standard options; mark PDF viewable
2018-06-26Revert "Bug 1468848 - Change presentation of show_bug.cgi urls to be /bug/ID ↵Dylan William Hardison1-10/+3
or /bug/ALIAS." This reverts commit 404dc5496967203c5f99755340f43d712420446a.
2018-06-26Bug 1471304 - Block sending mail to hosts that end with .tld or .bugsDylan William Hardison2-3/+8
2018-06-25Bug 1471044 - Allow some model classes to have dynamic column names with ↵Dylan William Hardison2-7/+21
class method DYNAMIC_COLUMNS When working on bug 1253535 I kept encountering the fragility of our model system. This fragility involves two things: 1) Extensions adding new columns to model objects 2) The use of those model objects in checksetup. In particular, the SecureMail extension causes this problem because (at checksetup-time) we need to lookup certain Group objects. Thus I propose to 1) allow model classes to take their list of columns from the informations schema (exposed via `bz_table_columns_real`) 2) Have Bugzilla::Group do this when being used in a commandline (e.g. checksetup) context.
2018-06-21Bug 1461379 - use DBIx::Connector to manage database connectionsDylan William Hardison2-14/+7
2018-06-21Bug 1461379 - refactor Bugzilla::DB to not subclass DBIDylan William Hardison6-95/+75
2018-06-20Bug 1469920 - Update schema: add fulltext index to profiles.realnameDylan William Hardison2-1/+13
2018-06-20Bug 1468818 - Re-introduce is_markdown to the longdescs table (schema-only)Dylan William Hardison1-8/+0
2018-06-15Bug 1456877 - Add a wrapper around libcmark_gfm to BugzillaIsrael Madueme5-0/+288
2018-06-15Bug 1468848 - Change presentation of show_bug.cgi urls to be /bug/ID or ↵Dylan William Hardison1-3/+10
/bug/ALIAS.
2018-06-15Bug 1468818 - Re-introduce is_markdown to the Bugzilla::Comment modelDylan William Hardison3-1/+15