]> git.ipfire.org Git - thirdparty/bugzilla.git/log
thirdparty/bugzilla.git
9 months agoBug 1920621: Build the offline formats (pdf/epub/htmlzip) on ReadTheDocs (#144) harmonytest
Dave Miller [Tue, 24 Sep 2024 03:23:37 +0000 (23:23 -0400)] 
Bug 1920621: Build the offline formats (pdf/epub/htmlzip) on ReadTheDocs (#144)

9 months agoBug 1920623: Use newer versions of actions for dependency caching (#145)
Dave Miller [Tue, 24 Sep 2024 03:10:48 +0000 (23:10 -0400)] 
Bug 1920623: Use newer versions of actions for dependency caching (#145)

10 months agobump version to 5.9.1+ post-release
Dave Miller [Fri, 6 Sep 2024 07:22:15 +0000 (03:22 -0400)] 
bump version to 5.9.1+ post-release

10 months agobump version to 5.9.1 for release
Dave Miller [Tue, 3 Sep 2024 16:08:36 +0000 (12:08 -0400)] 
bump version to 5.9.1 for release

10 months agoBug 1880288: Noncharacters in comments cause bugmail sending to fail
Dave Miller [Thu, 29 Aug 2024 10:56:57 +0000 (06:56 -0400)] 
Bug 1880288: Noncharacters in comments cause bugmail sending to fail

10 months agoBug 1439260: XSS in chart.cgi and report.cgi
Dave Miller [Tue, 29 Aug 2023 04:47:11 +0000 (00:47 -0400)] 
Bug 1439260: XSS in chart.cgi and report.cgi

10 months agoBug 1811297 - Full Account Takeover on BMO using Github authentication
David Lawrence [Fri, 20 Jan 2023 15:58:25 +0000 (10:58 -0500)] 
Bug 1811297 - Full Account Takeover on BMO using Github authentication

10 months agoBug 1892558: back out PR #74 because it broke show_bug (#143)
Dave Miller [Thu, 29 Aug 2024 08:55:23 +0000 (04:55 -0400)] 
Bug 1892558: back out PR #74 because it broke show_bug (#143)

10 months agoBug 1902375: fix foreignkey error upgrading from <3.0 to >=5.0.6 (#142)
Dave Miller [Mon, 26 Aug 2024 07:07:12 +0000 (03:07 -0400)] 
Bug 1902375: fix foreignkey error upgrading from <3.0 to >=5.0.6 (#142)

10 months agoBug 1914832: run the full test suite on main (#141)
Dave Miller [Mon, 26 Aug 2024 05:16:00 +0000 (01:16 -0400)] 
Bug 1914832: run the full test suite on main (#141)

10 months agoBug 1849943: get doc build working on RTD site (#140)
Dave Miller [Mon, 26 Aug 2024 03:17:21 +0000 (23:17 -0400)] 
Bug 1849943: get doc build working on RTD site (#140)

10 months agoBug 1898882: Detect UTF8 naming in DB (#139)
Dave Miller [Mon, 26 Aug 2024 01:49:40 +0000 (21:49 -0400)] 
Bug 1898882: Detect UTF8 naming in DB (#139)

* Detect at installation/upgrade time how the database refers to the utf8 variant Bugzilla wants to use so that we don't accidentally reconvert the database to the same encoding it's already using on every run on checksetup.pl
a=dylan

10 months agoBug 1905521: Temporary fix for deprecated Postgres Docker image (#137)
Dave Miller [Mon, 26 Aug 2024 01:38:11 +0000 (21:38 -0400)] 
Bug 1905521: Temporary fix for deprecated Postgres Docker image (#137)

Docker in Ubuntu 22.04 and 24.04 no longer supports version 1 docker images, which the Postgres 9 image we use to run tests is.  Long term fix is to up our minimum Postgres requirement to Postgres 12. Short term fix here is to run the Pg test on ubuntu-20.04 instead of ubuntu-latest.
a=dylan

10 months agoBug 1852154: Warn admin if end-of-support date is approaching (#135)
Dave Miller [Mon, 26 Aug 2024 01:25:10 +0000 (21:25 -0400)] 
Bug 1852154: Warn admin if end-of-support date is approaching (#135)

* Also restores the update-check output on the home page, apparently BMO had removed it.
a=dylan

12 months agoBug 1896600: MariaDB <10.6 wants ON instead of 1 in config (#134)
Dave Miller [Sun, 30 Jun 2024 02:28:54 +0000 (22:28 -0400)] 
Bug 1896600: MariaDB <10.6 wants ON instead of 1 in config (#134)

12 months agoBug 1898161: fix utf8-conversion on MySQL 8 (#136)
Dave Miller [Sat, 8 Jun 2024 18:18:30 +0000 (14:18 -0400)] 
Bug 1898161: fix utf8-conversion on MySQL 8 (#136)

13 months agoBug 1896576: tell the user to re-run checksetup.pl after changing db_driver (#133)
Dave Miller [Fri, 17 May 2024 19:47:11 +0000 (15:47 -0400)] 
Bug 1896576: tell the user to re-run checksetup.pl after changing db_driver (#133)

13 months agoBug 1849943: (WIP) Update Ubuntu LTS Quick Start (#125)
Emma Humphries [Tue, 14 May 2024 07:12:50 +0000 (00:12 -0700)] 
Bug 1849943: (WIP) Update Ubuntu LTS Quick Start (#125)

13 months agoBug 1874564: QuickSearch inputs need labels (#131)
Dave Miller [Tue, 14 May 2024 06:38:11 +0000 (02:38 -0400)] 
Bug 1874564: QuickSearch inputs need labels (#131)

13 months ago[harmony] Bug 1634711: Backport Bug 1526703 from 5.0.6 - Increase the size of the...
Dave Miller [Tue, 14 May 2024 06:29:09 +0000 (02:29 -0400)] 
[harmony] Bug 1634711: Backport Bug 1526703 from 5.0.6 - Increase the size of the flagtype id column (#130)

13 months agoBug 1896338: properly detect if the DB already exists during setup (#132)
Dave Miller [Tue, 14 May 2024 06:23:24 +0000 (02:23 -0400)] 
Bug 1896338: properly detect if the DB already exists during setup (#132)

13 months agoBug 1896055: Don't talk to MariaDB with the MySQL driver (#129)
Dave Miller [Tue, 14 May 2024 06:18:35 +0000 (02:18 -0400)] 
Bug 1896055: Don't talk to MariaDB with the MySQL driver (#129)

13 months agoBug 1893853: make request for bug number explicit on pull request template (#127)
Dave Miller [Tue, 14 May 2024 06:14:08 +0000 (02:14 -0400)] 
Bug 1893853: make request for bug number explicit on pull request template (#127)

14 months agoBug 1433029: .DS_Store should be ignored everywhere not just in root (#122)
Dave Miller [Sun, 28 Apr 2024 06:50:23 +0000 (02:50 -0400)] 
Bug 1433029: .DS_Store should be ignored everywhere not just in root (#122)

14 months agoBug 1893844: configurable logging with a sensible default (#126)
Dave Miller [Sun, 28 Apr 2024 05:54:14 +0000 (01:54 -0400)] 
Bug 1893844: configurable logging with a sensible default (#126)

* Adds a localconfig var called "logging_method" which points at a config file in the conf directory (which config file to use, there are several that preconfigure log4perl to log various different ways).
* Set the default to syslog.

14 months agoBug 1467006: Explicitly support MariaDB (#100)
Dave Miller [Sun, 28 Apr 2024 04:25:47 +0000 (00:25 -0400)] 
Bug 1467006: Explicitly support MariaDB (#100)

Also fixes the following:
* Bug 868869: Require MariaDB 10.0.5
* Bug 868867: Require DBD::mysql 4.032

14 months ago(no bug) remove database drivers from "slim" Docker image (#124)
Dave Miller [Sun, 28 Apr 2024 04:13:15 +0000 (00:13 -0400)] 
(no bug) remove database drivers from "slim" Docker image (#124)

Adds other images that include them, per DB vendor.

14 months agoBug 1849943: copy existing bugzilla installation docs as is (#123)
Emma Humphries [Tue, 9 Apr 2024 21:22:15 +0000 (14:22 -0700)] 
Bug 1849943: copy existing bugzilla installation docs as is (#123)

* copy existing bugzilla installation docs as is

* Add warning, add docker page, add refs to docker page

15 months ago(no bug) update link to point at Bugzilla docs instead of BMO (#120)
Emma Humphries [Mon, 1 Apr 2024 07:53:31 +0000 (00:53 -0700)] 
(no bug) update link to point at Bugzilla docs instead of BMO (#120)

15 months ago(no bug) fix RST syntax in docs (#119)
Emma Humphries [Mon, 1 Apr 2024 07:47:20 +0000 (00:47 -0700)] 
(no bug) fix RST syntax in docs (#119)

15 months agoBug 1886359: fix PostgreSQL support on Harmony (#115)
Dave Miller [Sat, 30 Mar 2024 06:54:24 +0000 (02:54 -0400)] 
Bug 1886359: fix PostgreSQL support on Harmony (#115)

15 months agoBug 1888068: out-of-the-box Docker to demo Bugzilla (#118)
Dave Miller [Sat, 30 Mar 2024 06:18:10 +0000 (02:18 -0400)] 
Bug 1888068: out-of-the-box Docker to demo Bugzilla (#118)

15 months ago(no bug) Make the commit log links be specific in RELEASE_BLOCKERS
Dave Miller [Sun, 24 Mar 2024 03:39:26 +0000 (23:39 -0400)] 
(no bug) Make the commit log links be specific in RELEASE_BLOCKERS

Links to the harmony and 5.2 commit logs now start specifically at the diverging commit.

15 months agoBug 1853138/Bug 1886954 - Switch to Email::Sender and Email::Address::XS (#103)
Martin Renvoize [Fri, 22 Mar 2024 08:28:27 +0000 (08:28 +0000)] 
Bug 1853138/Bug 1886954 - Switch to Email::Sender and Email::Address::XS (#103)

* Bug 1853138 - Switch to Email::Address::XS
* Bug 1886954 - Port bug 502625 to Harmony - Replace Email::Send with Email::Sender

Co-authored-by: Frédéric Buclin <LpSolit@gmail.com>
Co-authored-by: Dylan William Hardison <dylan@hardison.net>
Co-authored-by: Dave Miller <justdave@bugzilla.org>
15 months ago(no bug) Update contribute links, and gitignore (#108)
Emma Humphries [Fri, 22 Mar 2024 07:04:05 +0000 (00:04 -0700)] 
(no bug) Update contribute links, and gitignore (#108)

15 months ago(no bug) add a doc comment explaining the REWRITE_ stuff (#98)
Dylan Hardison [Fri, 22 Mar 2024 02:13:32 +0000 (19:13 -0700)] 
(no bug) add a doc comment explaining the REWRITE_ stuff (#98)

15 months agoBug 1886352: docker config for testing PostgreSQL (#114)
Dave Miller [Fri, 22 Mar 2024 02:00:47 +0000 (22:00 -0400)] 
Bug 1886352: docker config for testing PostgreSQL (#114)

15 months ago(no bug) Mark MySQL 8 as completed in blockers (#116)
Dave Miller [Fri, 22 Mar 2024 01:55:51 +0000 (21:55 -0400)] 
(no bug) Mark MySQL 8 as completed in blockers (#116)

15 months agoBug 1886342: Move docker-based tests from CircleCI into GitHub Actions (#113)
Dave Miller [Fri, 22 Mar 2024 01:48:22 +0000 (21:48 -0400)] 
Bug 1886342: Move docker-based tests from CircleCI into GitHub Actions (#113)

* Bug 1886342: Move docker-based tests from CircleCI into GitHub Actions

15 months agoBug 1885709: Support for MySQL 8 (#106)
Dave Miller [Sun, 17 Mar 2024 18:08:48 +0000 (14:08 -0400)] 
Bug 1885709: Support for MySQL 8 (#106)

* Cherry-pick BMO MySQL 8 fix into Harmony

* update docker image to use mysql8 libraries

---------

Co-authored-by: dklawren <dklawren@users.noreply.github.com>
15 months agoBug 1885764: Don't try to build changelogs for BMO in CircleCI (#112)
Dave Miller [Sun, 17 Mar 2024 04:33:33 +0000 (00:33 -0400)] 
Bug 1885764: Don't try to build changelogs for BMO in CircleCI (#112)

15 months agoBug 1885763: build via docker compose instead of directly (#111)
Dave Miller [Sun, 17 Mar 2024 04:20:12 +0000 (00:20 -0400)] 
Bug 1885763: build via docker compose instead of directly (#111)

15 months agoBug 1885710: utility scripts for building Docker images (#110)
Dave Miller [Sun, 17 Mar 2024 04:15:39 +0000 (00:15 -0400)] 
Bug 1885710: utility scripts for building Docker images (#110)

15 months agoBug 1885709: Allow connecting to MySQL via SSL (#109)
Dave Miller [Sun, 17 Mar 2024 04:10:20 +0000 (00:10 -0400)] 
Bug 1885709: Allow connecting to MySQL via SSL (#109)

* Bug 1885709: Allow connecting to MySQL via SSL

15 months agooops test_bmo actually passes right now, so keep it
Dave Miller [Wed, 13 Mar 2024 21:17:53 +0000 (17:17 -0400)] 
oops test_bmo actually passes right now, so keep it

15 months agodon't push to DockerHub on successful tests
Dave Miller [Wed, 13 Mar 2024 21:14:38 +0000 (17:14 -0400)] 
don't push to DockerHub on successful tests

15 months agocomment out references to broken tests, too
Dave Miller [Wed, 13 Mar 2024 21:02:08 +0000 (17:02 -0400)] 
comment out references to broken tests, too

15 months agodisable failing circleci tests for now
Dave Miller [Wed, 13 Mar 2024 20:53:49 +0000 (16:53 -0400)] 
disable failing circleci tests for now

16 months ago1879461: Runtime errors when building documentation (#105)
Emma Humphries [Thu, 29 Feb 2024 16:25:16 +0000 (08:25 -0800)] 
1879461: Runtime errors when building documentation (#105)

1879461: Python runtime error when building documentation
This commit updates the Sphinx config file, fixing runtime errors, and adds proper configuration for ReadTheDocs.

16 months agoBug 1878588: undeprecate CircleCI Docker config (#104)
Dave Miller [Mon, 19 Feb 2024 19:44:39 +0000 (14:44 -0500)] 
Bug 1878588: undeprecate CircleCI Docker config (#104)

* use a supported docker image
* new cci docker images already contain docker-compose, no need to install it
* compose is a subcommand of docker now
* cci cimg doesn't like us using /app, docs suggest putting our code in /tmp
* remove install_deps because we aren't installing any anymore

17 months agoBug 1446236: extensions/BugModal: Enable bugzilla-readable-status unconditionally...
Vladimir Panteleev [Thu, 1 Feb 2024 14:54:51 +0000 (14:54 +0000)] 
Bug 1446236: extensions/BugModal: Enable bugzilla-readable-status unconditionally (#74)

Part of de-BMO-ifying Bugzilla Harmony.

18 months agoBug 1851398: Allow testserver.pl to work with self-signed certs (#101)
Dave Miller [Thu, 4 Jan 2024 21:04:00 +0000 (16:04 -0500)] 
Bug 1851398: Allow testserver.pl to work with self-signed certs (#101)

* Bug 1851398: Allow testserver.pl to work with self-signed certs, and properly test dependencies for https.
* Backports the existing fix from bug 662161 on trunk to the Harmony branch.

18 months agoBug 1560873: require Template-Toolkit 3.008 (#97)
Dave Miller [Tue, 19 Dec 2023 09:55:20 +0000 (04:55 -0500)] 
Bug 1560873: require Template-Toolkit 3.008 (#97)

require version 3.008, r,a=dylan

21 months agoBug 1852497: Use actions/checkout@v4 in GitHub Actions (#102)
Dave Miller [Thu, 14 Sep 2023 11:31:32 +0000 (06:31 -0500)] 
Bug 1852497: Use actions/checkout@v4 in GitHub Actions (#102)

21 months agoUpdate release blockers (#99)
Dave Miller [Mon, 11 Sep 2023 10:06:19 +0000 (06:06 -0400)] 
Update release blockers (#99)

22 months agoUpdate test instance url, librachat is better known as liberachat, added webchat...
Juest Zungo [Mon, 4 Sep 2023 08:20:34 +0000 (05:20 -0300)] 
Update test instance url, librachat is better known as liberachat, added webchat link (#96)

22 months agoAdd a sponsor button to the repo page
Dave Miller [Sun, 27 Aug 2023 00:28:27 +0000 (20:28 -0400)] 
Add a sponsor button to the repo page

2 years agoBug 1217882: ensure SQL querys from FlagTypeComment are valid
Alexander Merkle [Tue, 20 Jun 2023 10:07:45 +0000 (12:07 +0200)] 
Bug 1217882: ensure SQL querys from FlagTypeComment are valid

when $types is empty the SQL query is invalid

2 years agothis changes makes api_field_* variables lazy
Dylan Hardison [Sun, 18 Dec 2022 21:22:52 +0000 (13:22 -0800)] 
this changes makes api_field_* variables lazy

api_field_types and api_field_names rely on values from the
Bugzilla->fields definition. This in turn requires checking the schema
of the bugs table at run time. That means trying to access these when a
database is not configured, or before schema migrations have happened is
an error.

This changes those variables to hold functions (sub refs) that are
comptued when called. The help performance not degrade, we make use of
the Bugzilla::request_cache to only re-compute this once per request.

2 years agoreformat
Dylan Hardison [Sun, 18 Dec 2022 21:19:15 +0000 (13:19 -0800)] 
reformat

2 years agobump version to 5.9+ to reflect reality
Dave Miller [Fri, 16 Dec 2022 09:17:50 +0000 (04:17 -0500)] 
bump version to 5.9+ to reflect reality

2 years agoAdd new 5.2 branch to migration needs
Dave Miller [Fri, 16 Dec 2022 07:31:06 +0000 (02:31 -0500)] 
Add new 5.2 branch to migration needs

Also abandoned 5.1 dev branch needs to be migrated from.

2 years agoBug 1785938: Get tests working again in GitHub Actions
Dave Miller [Tue, 23 Aug 2022 23:09:01 +0000 (19:09 -0400)] 
Bug 1785938: Get tests working again in GitHub Actions

2 years agoremove unused BMO modules
Dylan Hardison [Thu, 18 Aug 2022 22:44:11 +0000 (18:44 -0400)] 
remove unused BMO modules

3 years agoBug 1657496: correctly handle MIME type on single-part email. r=cybershadow, a=justdave
Dave Miller [Thu, 16 Dec 2021 23:51:46 +0000 (18:51 -0500)] 
Bug 1657496: correctly handle MIME type on single-part email. r=cybershadow, a=justdave

3 years agodo not force a specific version of DBIx::Class::Helpers (#82)
Emmanuel Seyman [Sat, 11 Dec 2021 23:05:44 +0000 (00:05 +0100)] 
do not force a specific version of DBIx::Class::Helpers (#82)

* do not force a specific version of DBIx::Class::Helpers

* also remove specific version of DBIx::Class::Helpers from cpanfile

Co-authored-by: Emmanuel Seyman <emmanuel@seyman.fr>
Co-authored-by: Dylan Hardison <dylan@hardison.net>
Co-authored-by: Dave Miller <justdave@bugzilla.org>
Co-authored-by: Vladimir Panteleev <CyberShadow@users.noreply.github.com>
3 years ago.github/workflows/release: Remove libgd3 version constraint (#83)
Vladimir Panteleev [Fri, 10 Dec 2021 18:26:08 +0000 (18:26 +0000)] 
.github/workflows/release: Remove libgd3 version constraint (#83)

3 years agoremove another reference to freenode
Dylan Hardison [Sat, 17 Jul 2021 01:23:12 +0000 (21:23 -0400)] 
remove another reference to freenode

3 years agospelling correction to RELEASE_BLOCKERS.md
Dave Miller [Sat, 17 Jul 2021 01:10:24 +0000 (21:10 -0400)] 
spelling correction to RELEASE_BLOCKERS.md

3 years agoadd a file documenting release blockers.
Dylan Hardison [Fri, 16 Jul 2021 23:44:42 +0000 (19:44 -0400)] 
add a file documenting release blockers.

4 years agoremove other OpenPGP test
Dylan Hardison [Sun, 9 May 2021 23:45:32 +0000 (19:45 -0400)] 
remove other OpenPGP test

4 years agoRemove and optionalize many bugzilla dependencies (#80)
Dylan Hardison [Sun, 9 May 2021 23:34:43 +0000 (19:34 -0400)] 
Remove and optionalize many bugzilla dependencies (#80)

This removes the following dependencies:

- Data::Password::passwdqc
- Elasticsearch
- Crypt::OpenPGP

It also makes over 100 additional dependencies properly optional, and makes it correctly parse MariaDB's version number.

4 years agoBug 1446236 - fix typo in comment (#58)
Vladimir Panteleev [Mon, 15 Mar 2021 14:53:48 +0000 (14:53 +0000)] 
Bug 1446236 - fix typo in comment (#58)

4 years agotable.html.tmpl: Use order_columns only when present (#63)
Vladimir Panteleev [Mon, 15 Mar 2021 14:50:43 +0000 (14:50 +0000)] 
table.html.tmpl: Use order_columns only when present (#63)

Fix a hard dependency on the BMO extension.

order_columns is set in Bugzilla::Extension::BMO, which might not be
present / loaded.

Co-authored-by: Dylan William Hardison <dylan@hardison.net>
4 years agoResurrect createaccount.cgi (#68)
Vladimir Panteleev [Mon, 15 Mar 2021 14:46:23 +0000 (14:46 +0000)] 
Resurrect createaccount.cgi (#68)

* Move the new sign-up mini-form to a template

* Resurrect createaccount.cgi

Many places in Bugzilla still link to createaccount.cgi. It is
probably worthwhile to still have a stand-alone sign-up page.

Simply reuse the mini-form to enable doing so using the new sign-up
flow.

* Make "Sign Up" link to createaccount.cgi

This fixes:

1. middle-clicking to open the form in a new tab
2. signing up without having to enable JavaScript
3. consistency with the "Log In" link, which already does something similar.

4 years agotemplate/en/default/pages/quicksearch.html.tmpl: Replace w.m.o link (#72)
Vladimir Panteleev [Mon, 15 Mar 2021 14:41:20 +0000 (14:41 +0000)] 
template/en/default/pages/quicksearch.html.tmpl: Replace w.m.o link (#72)

4 years agotemplate/en/default/reports/keywords.html.tmpl: Remove BMO-specific w.m.o link (#73)
Vladimir Panteleev [Mon, 15 Mar 2021 14:38:13 +0000 (14:38 +0000)] 
template/en/default/reports/keywords.html.tmpl: Remove BMO-specific w.m.o link (#73)

The link contains instructions specific to Mozilla's BMO processes.

4 years agobug/create/create-guided: Delete hard-coded Mozilla products (#75)
Vladimir Panteleev [Mon, 15 Mar 2021 14:33:58 +0000 (14:33 +0000)] 
bug/create/create-guided: Delete hard-coded Mozilla products (#75)

4 years agodefault security group name is undef when it does not exist (#81)
Dylan Hardison [Mon, 15 Mar 2021 14:30:01 +0000 (10:30 -0400)] 
default security group name is undef when it does not exist (#81)

The BMO extension provides a default security group to products. I think
this is a good feature that should be core'd. In the meantime, there is
no default security group for the initial data set, so this makes it so
that when there isn't one, when the name is looked up it isn't an error.

4 years agoNo bug: Allow tests to be manually triggered so we can test the PRs that got missed...
Dave Miller [Mon, 15 Mar 2021 03:24:13 +0000 (23:24 -0400)] 
No bug: Allow tests to be manually triggered so we can test the PRs that got missed. CI breakfix

4 years agoNo bug: Run tests on main instead of master. CI breakfix
Dave Miller [Mon, 15 Mar 2021 03:13:13 +0000 (23:13 -0400)] 
No bug: Run tests on main instead of master. CI breakfix

4 years agoBug 1450405: Remove cf_crash_signature references (#77)
Vladimir Panteleev [Sat, 13 Feb 2021 17:31:03 +0000 (17:31 +0000)] 
Bug 1450405: Remove cf_crash_signature references (#77)

This is a Mozilla-specific field which has not been properly
encapsulated into the BMO extension, where most of its implementation
lies.

Remove the hard-coded references occurring outside the BMO extension.
This fixes an internal error ("Can't use cf_crash_signature as a field
name.").

Co-authored-by: Dylan Hardison <dylan@hardison.net>
4 years agoFix and use use_login_page for the BlockIP pre-rendered page (#79)
Vladimir Panteleev [Sat, 13 Feb 2021 17:25:21 +0000 (17:25 +0000)] 
Fix and use use_login_page for the BlockIP pre-rendered page (#79)

* template/en/default: Fix use_login_page

The implementation fell off in
2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99.

* template/en/default/global/ip-blocked.html.tmpl: Use use_login_page

This fixes the warning "Use of uninitialized value $args[1] in join or
string at .../Bugzilla/Token.pm line 270", and removes the
likely-broken mini login form on the "IP blocked" page.

* index.cgi: Disable use_login_page for the front page

This seems to be only useful for very high-traffic
installations (BMO).

Co-authored-by: Dylan Hardison <dylan@hardison.net>
4 years agoDe-hardcode OpenGraph social image (og:image URL) (#78)
Vladimir Panteleev [Sat, 13 Feb 2021 17:15:44 +0000 (17:15 +0000)] 
De-hardcode OpenGraph social image (og:image URL) (#78)

Add a configuration panel for the OpenGraph extension where users can
configure a desired image instead. If none is configured (default),
don't emit an og:image tag.

4 years agoFix header covering up announcements (#69)
Vladimir Panteleev [Sun, 18 Oct 2020 16:31:03 +0000 (16:31 +0000)] 
Fix header covering up announcements (#69)

The "position:fixed" rule caused the header to cover up:

- The noscript message
- The "Please enable two-factor authentication" message
- The announcehtml param (if configured)

4 years agoBug 1446236 - Allow customizing the name of the "nobody" user (nobody@mozilla.org...
Vladimir Panteleev [Sun, 18 Oct 2020 16:29:04 +0000 (16:29 +0000)] 
Bug 1446236 - Allow customizing the name of the "nobody" user (nobody@mozilla.org) (#64)

* t/sqlite-memory.t: Fix test

* Ensure params are initialized with defaults when mocked

* Bug 1446236 - Allow customizing the name of the "nobody" user (nobody@mozilla.org)

* Move nobody_user from params to localconfig

4 years agomode fixes
Dylan Hardison [Mon, 7 Sep 2020 01:53:43 +0000 (21:53 -0400)] 
mode fixes

4 years agopoint to correct CI and demo site
Dylan Hardison [Sun, 6 Sep 2020 16:59:52 +0000 (12:59 -0400)] 
point to correct CI and demo site

4 years agoIntegrate documentation overhaul (#51)
Dylan William Hardison [Sun, 6 Sep 2020 16:18:38 +0000 (12:18 -0400)] 
Integrate documentation overhaul (#51)

* Update contributors documentation

* Update README.md

Co-authored-by: Stasiek Michalski <hellcp@opensuse.org>
4 years agoAdd examples of systemd services (#50)
Michael [Sat, 5 Sep 2020 18:34:27 +0000 (20:34 +0200)] 
Add examples of systemd services (#50)

4 years agobmo sync - 2020-08-23 (#49)
Dylan William Hardison [Mon, 24 Aug 2020 00:42:33 +0000 (20:42 -0400)] 
bmo sync - 2020-08-23 (#49)

* Bug 1646559 - Phabricator to BMO OAuth2 authentication fails to work properly due to CSP protections

* Bumped version to 20200624.1

* no bug - fix broken build script when no new commits to master since last prod deploy

* no bug - remove warning "Odd number of elements"

The callback jwt_claims is called in list context.
Without an explicit return, when the if (!...) does not match it will
return a single false item. This causes the "Odd number of elements..."
perl warning.

Adding a `return` will prevent the warning and is also probably the
intent of the code.

* Bug 1645768 - Please add 'See Also' support for GitLab

* no bug - Updated tasks.json to include some admin tasks

* no bug - Fix build data script to help find the Mozilla CA cert

* Bug 1651591 - remove preloading of fonts and ga; r=dkl

Font preloading has been broken for more than a year, and doesn't appear
to work correctly even when provided URLs which exist; removed.

google-analytics likely does little to improve page load time
performance against all the other assets, is loaded async, and exists
outside of the GoogleAnalytics making it easy to miss when updating that
extension (eg. the preloading doesn't honour DNT); also removed.

* Bug 1535000 - Allow anyone with edit-comments to edit any bug's comment 0

* Bug 1652863 - setting the needinfo flag when filing a new bug in Core or Toolkit does not cause the textbox for user information to pop up

* Bumped version 20200722.1

* Bug 1647642 - when commenting on patch or reviewing one, bugzilla clears other (review, ui-review) flags

* Bumped version to 20200723.1

* Bug 1643526 - Attachment comments don't render markdown, but their preview does

* Bug 1654456 - needinfo? request email enhancements (#1594)

* Start WIP PR

* Modify default need info text

* Fix breaking bugwords.t

* You have to fix all the instances of the word.

* Adding conditional for needinfo to reporter

* fix failing bugwords.t again

* Don't divert people with questions to bmo team

* don't repeat bug url

* fix terms.bug

* Remove 'to see question,' question is in email

* Keep the link to the bug

* move text into a conditional branch

* link to needinfo docs

* Bug 1654370 - Remove remaining code that references Firefox OS from BMO code base

* Bug 1655808: send users in guided bug flow to GitHub for Android and iOS bug reports (#1600)

* Move all the products to the product template

* Link mobile products to GitHub

* Better boilerplate text

* Fix failing terms test

* no bug - Use standard docker mysql for docker-compose instead of bmo-mysql

* no bug - Updated docker-compose.test.yml for mysql settings in CircleCI environment.

* Bumped version to 20200805.1

* Bug 1657542 - During recent bmo deployment, emails were delivered to a file instead of SES which caused interruption of email service

* Bug 1658622 - "product responsibilities" on editusers should include Triage Owner

* Bug 1588661 - Design for Webhooks

* Bug 1659177 - Replace mozillians.org with people.mozilla.org in Reps Mentorship Form

* Bug 1649841 - Include data-review? requests in notification count

* Bug 1658317 - Make scopes more descriptive and user friendly when authenticating to BMO using OAuth2

* Bug 1656609: Make <html> the scrolling element

* Bug 1657778 - Offer link to Bugzilla for filing security issues in Fenix and iOS

* no bug - Show Bounty Attachments to the Bug Reporter

This will allow most bug bounty recipients to view the amount of their bounty. It will not show it to reporters if we filed the bug for them, however those are less liekly to be repeat filers.

* Bug 1658846 - Allow users to enable and disable their webhooks

Co-authored-by: dklawren <dklawren@users.noreply.github.com>
Co-authored-by: byron jones <byron@glob.com.au>
Co-authored-by: Emma Humphries <emceeaich@users.noreply.github.com>
Co-authored-by: David Lawrence <dkl@mozilla.com>
Co-authored-by: Lisset Cuevas <lisset.cuevasj@gmail.com>
Co-authored-by: Michael Kohler <me@michaelkohler.info>
Co-authored-by: Tom Ritter <tom@ritter.vg>
4 years agoonly run tests against the primary branch
Dylan Hardison [Sun, 23 Aug 2020 19:47:39 +0000 (15:47 -0400)] 
only run tests against the primary branch

4 years agoAdd release tests on ubuntu (#47)
Dylan William Hardison [Sun, 23 Aug 2020 19:17:35 +0000 (15:17 -0400)] 
Add release tests on ubuntu (#47)

This adds a github workflow action that runs the basic tests under
ubuntu. It also saves the local/ (local::lib) directory as an artifact
as a benefit to building ubuntu-based installations (such as docker
containers).

4 years agoMove lbheartbeat out of BMO (#46)
Ryan Gonzalez [Sat, 11 Jul 2020 17:32:33 +0000 (12:32 -0500)] 
Move lbheartbeat out of BMO (#46)

This would cause startup to fail when the BMO extension was disabled,
as assert_httpd would fail to test the __lbheartbeat__ endpoint.

5 years agoremove unused taskcluster config
Dylan Hardison [Sun, 28 Jun 2020 20:45:08 +0000 (16:45 -0400)] 
remove unused taskcluster config

5 years agot/001compile.t should not attempt to compile .cgi
Dylan Hardison [Sun, 28 Jun 2020 20:39:40 +0000 (16:39 -0400)] 
t/001compile.t should not attempt to compile .cgi

5 years agomake t/901-secure-mail-loop.t fail faster
Dylan Hardison [Sun, 28 Jun 2020 03:29:06 +0000 (23:29 -0400)] 
make t/901-secure-mail-loop.t fail faster

5 years agoNew Signup Flow
Dylan William Hardison [Sun, 28 Jun 2020 03:00:22 +0000 (23:00 -0400)] 
New Signup Flow

This introduces a much simplified signup flow, over email.

This code is live on https://harmony.bugzilla.ninja

## Before

1. Visit createaccount.cgi
2. Type email
3. Get email, click link
4. Create account
5. Re-enter login and password.

## After

1. Type email into any page
2. Get email, click link
3. Create account + login at the same time

5 years agoignore logs/ dir
Dylan Hardison [Sun, 21 Jun 2020 15:33:50 +0000 (11:33 -0400)] 
ignore logs/ dir

5 years agoensure Bugzilla::Util::remote_ip always works
Dylan Hardison [Sun, 21 Jun 2020 15:20:13 +0000 (11:20 -0400)] 
ensure Bugzilla::Util::remote_ip always works