Skip to content

Commit

Permalink
Merge remote-tracking branch 'bmo/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanwh committed Jul 8, 2018
2 parents 9bbd8d3 + 446a08b commit be1f924
Show file tree
Hide file tree
Showing 157 changed files with 2,904 additions and 3,313 deletions.
7 changes: 7 additions & 0 deletions .circleci/config.yml
Expand Up @@ -111,6 +111,13 @@ jobs:
mv /opt/bmo/local /app/local
mkdir artifacts
- run: |
<<<<<<< HEAD
=======
[[ -f build_info/only_version_changed.txt ]] && exit 0
perl -I/app -I/app/local/lib/perl5 -c -E 'use Bugzilla; BEGIN { Bugzilla->extensions }'
- run: |
[[ -f build_info/only_version_changed.txt ]] && exit 0
>>>>>>> bmo/master
perl Makefile.PL
- run:
name: run sanity tests
Expand Down
5 changes: 1 addition & 4 deletions .htaccess
Expand Up @@ -27,8 +27,6 @@ RewriteRule ^__version__$ version.json [L]
# heartbeat.cgi returns 200 if the DB and memcached are both working, and 500 otherwise.
RewriteRule ^__heartbeat__$ heartbeat.cgi [L]

RewriteRule ^(\d+|quicksearch\.html|bugwritinghelp\.html)$ /helper/$1 [L]

RewriteRule ^static/v\d{4}\d{2}\d{2}\.\d+/(.+\.(?:js|css|woff2?|png|jpe?g|gif|ico|svg))$ $1 [NC,E=IMMUTABLE:1,L]
Header set Cache-Control "public, max-age=31536000" env=REDIRECT_IMMUTABLE

Expand All @@ -42,6 +40,7 @@ RewriteRule ^template_cache.deleteme/ - [F,L,NC]
RewriteRule ^review$ page.cgi?id=splinter.html$1 [QSA]
RewriteRule ^user_?profile$ page.cgi?id=user_profile.html$1 [QSA]
RewriteRule ^request_defer$ page.cgi?id=request_defer.html$1 [QSA]
RewriteRule ^([0-9]+)$ show_bug.cgi?id=$1 [QSA]
RewriteRule ^favicon\.ico$ extensions/BMO/web/images/favicon.ico
RewriteRule ^form[\.:]itrequest$ enter_bug.cgi?product=Infrastructure+\%26+Operations&format=itrequest [QSA]
RewriteRule ^form[\.:](mozlist|poweredby|presentation|trademark|recoverykey)$ enter_bug.cgi?product=mozilla.org&format=$1 [QSA]
Expand Down Expand Up @@ -70,11 +69,9 @@ RewriteRule ^form[\.:]dev[\.\-:]engagement[\.\-\:]event$ enter_bug.cgi?product=D
RewriteRule ^form[\.:]mobile[\.\-:]compat$ enter_bug.cgi?product=Tech+Evangelism&format=mobile-compat [QSA]
RewriteRule ^form[\.:]web[\.:]bounty$ enter_bug.cgi?product=mozilla.org&format=web-bounty [QSA]
RewriteRule ^form[\.:]automative$ enter_bug.cgi?product=Testing&format=automative [QSA]
RewriteRule ^form[\.:]fxos[\.\-:]preload[\.\-:]app$ enter_bug.cgi?product=Marketplace&format=fxos-preload-app [QSA]
RewriteRule ^form[\.:]comm[\.:]newsletter$ enter_bug.cgi?product=Marketing&format=comm-newsletter [QSA]
RewriteRule ^form[\.:]screen[\.:]share[\.:]whitelist$ enter_bug.cgi?product=Firefox&format=screen-share-whitelist [QSA]
RewriteRule ^form[\.:]data[\.\-:]compliance$ enter_bug.cgi?product=Data+Compliance&format=data-compliance [QSA]
RewriteRule ^form[\.:]third[\.\-:]party$ enter_bug.cgi?product=Marketing&format=third-party-apps [QSA]
RewriteRule ^form[\.:]fsa[\.:]budget$ enter_bug.cgi?product=FSA&format=fsa-budget [QSA]
RewriteRule ^form[\.:]triage[\.\-]request$ page.cgi?id=triage_request.html [QSA]
RewriteRule ^form[\.:](crm|CRM)$ enter_bug.cgi?product=Marketing&format=crm [QSA]
Expand Down
1 change: 1 addition & 0 deletions .perlcriticrc
Expand Up @@ -46,6 +46,7 @@ severity = 2
[-ValuesAndExpressions::ProhibitNoisyQuotes]
[-ValuesAndExpressions::ProhibitNoisyQuotes]
[-ValuesAndExpressions::ProhibitVersionStrings]
[-ValuesAndExpressions::ProhibitImplicitNewlines]
[-Variables::ProhibitLocalVars]
[-Variables::ProhibitPackageVars]

Expand Down
45 changes: 45 additions & 0 deletions .vscode/tasks.json
@@ -0,0 +1,45 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Vagrant: Start Local Server",
"type": "shell",
"command": "vagrant up",
"group": "none",
"problemMatcher": []
},
{
"label": "Vagrant: Suspend Local Server",
"type": "shell",
"command": "vagrant suspend",
"group": "none",
"problemMatcher": []
},
{
"label": "Vagrant: Update Local Server",
"type": "shell",
"command": "bash -c 'vagrant rsync && vagrant provision --provision-with update'",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
"label": "Vagrant: Force Update Local Server",
"type": "shell",
"command": "bash -c 'vagrant rsync && vagrant provision'",
"group": "build",
"problemMatcher": []
},
{
"label": "Vagrant: Update Perl Dependencies",
"type": "shell",
"command": "vagrant ssh web -c bmo-refresh-bundle",
"group": "none",
"problemMatcher": []
}
]
}

0 comments on commit be1f924

Please sign in to comment.