]> git.ipfire.org Git - thirdparty/bugzilla.git/commit
Bug 1367604 - BMO extension to apply security policies to Phabricator revisions as...
authordklawren <dklawren@users.noreply.github.com>
Fri, 30 Jun 2017 17:34:14 +0000 (10:34 -0700)
committerDylan William Hardison <dylan@hardison.net>
Thu, 6 Jul 2017 22:19:20 +0000 (18:19 -0400)
commit7176e6d8dabbdd577e99c18fccb99fc9a09e1760
treed02ade16e1d19eefe9cb879856a9c996b3affa0e
parent4c9f9a8c49e9f25096ee3b6982b197e9efa6dd60
Bug 1367604 - BMO extension to apply security policies to Phabricator revisions as needed

* - Updated based on dylans review
- Fixed custom policy to instead allow projects and subscribers and then
  add BMO roles to the subscriber list
- Some other bug fixes

* fix lifetime of phabricator_url_re()

Instead of passing the value (which depends on runtime configuration)
pass in a reference.
Also edit extensions/BMO/Extension.pm to allow %autodetect_attach_urls
regex option to be a callback instead of just a plain regexp ref.

* - Fixed regex in BMO extension to detect phabricator attachments
- Use request_cache for useragent handle in Util.pm
extensions/BMO/Extension.pm
extensions/BMO/lib/Data.pm
extensions/PhabBugz/Extension.pm
extensions/PhabBugz/bin/update_project_members.pl
extensions/PhabBugz/lib/Util.pm [new file with mode: 0644]
extensions/PhabBugz/lib/WebService.pm [new file with mode: 0644]
extensions/PhabBugz/template/en/default/hook/attachment/edit-view.html.tmpl [new file with mode: 0644]
extensions/PhabBugz/template/en/default/hook/global/user-error-errors.html.tmpl
extensions/UserProfile/lib/Util.pm