338 Commits

Author SHA1 Message Date
bzrmirror%bugzilla.org
aee0e760be Bug 1139755: Fix 'Use of uninitialized value' warning
git-svn-id: svn://10.0.0.236/trunk@265848 18797224-902f-48f8-a5cc-f745e15eee43
2015-03-09 08:30:48 +00:00
bzrmirror%bugzilla.org
dc6ca3b210 Bug 1139755: Allow API authentication with X-Headers
r=dkl,a=glob


git-svn-id: svn://10.0.0.236/trunk@265847 18797224-902f-48f8-a5cc-f745e15eee43
2015-03-09 06:45:50 +00:00
bzrmirror%bugzilla.org
4377a59832 Bug 1139257: allow cookie+api-token GET REST requests
r=dkl,a=glob


git-svn-id: svn://10.0.0.236/trunk@265846 18797224-902f-48f8-a5cc-f745e15eee43
2015-03-09 06:30:50 +00:00
bzrmirror%bugzilla.org
802b71e493 Bug.update_attachment returns 'attachments', not 'attachment'
git-svn-id: svn://10.0.0.236/trunk@265845 18797224-902f-48f8-a5cc-f745e15eee43
2015-03-07 02:15:50 +00:00
bzrmirror%bugzilla.org
2afe7e73ae Fix POD: is_markdown exists since Bugzilla 6.0, not 5.0
git-svn-id: svn://10.0.0.236/trunk@265844 18797224-902f-48f8-a5cc-f745e15eee43
2015-03-07 01:45:54 +00:00
bzrmirror%bugzilla.org
d6e38c6740 Bug 1128245 - upgrading from v4.4.6 to v5.0rc2 fails on connection problem with MySQL
git-svn-id: svn://10.0.0.236/trunk@265802 18797224-902f-48f8-a5cc-f745e15eee43
2015-02-02 13:16:17 +00:00
bzrmirror%bugzilla.org
cf0b4db68b Merge branch 'master' of ssh://git.mozilla.org/bugzilla/bugzilla into docs-relicensing, including new REST API docs from dkl.
Conflicts:
docs/en/rst/extensions.rst
docs/en/rst/index.rst
docs/en/rst/installation.rst


git-svn-id: svn://10.0.0.236/trunk@265759 18797224-902f-48f8-a5cc-f745e15eee43
2014-12-03 23:09:33 +00:00
bzrmirror%bugzilla.org
81d0ccc2e1 Merge branch 'master' of ssh://git.mozilla.org/bugzilla/bugzilla into docs-relicensing
(except some changes not merged; will do them later)

Conflicts:
docs/en/rst/administration.rst
docs/en/rst/installation.rst
docs/en/rst/using.rst


git-svn-id: svn://10.0.0.236/trunk@265740 18797224-902f-48f8-a5cc-f745e15eee43
2014-12-03 22:39:24 +00:00
bzrmirror%bugzilla.org
200d60ec4d Remove docs changes by jwilmoth@starbucks.com.
git-svn-id: svn://10.0.0.236/trunk@265700 18797224-902f-48f8-a5cc-f745e15eee43
2014-12-03 22:02:31 +00:00
bzrmirror%bugzilla.org
1cd1e87f99 Bug 1001462: Bug.search causes error when using simple token auth and specifying 'token' instead of 'Bugzilla_token'
r=glob,a=glob


git-svn-id: svn://10.0.0.236/trunk@265670 18797224-902f-48f8-a5cc-f745e15eee43
2014-11-12 16:45:48 +00:00
bzrmirror%bugzilla.org
5c8aa307d8 Bug 1094858: Create hook in Bugzilla::WebService::Constants to allow overrriding of standard status codes by extensions
(fix broken POD)


git-svn-id: svn://10.0.0.236/trunk@265669 18797224-902f-48f8-a5cc-f745e15eee43
2014-11-11 15:45:47 +00:00
bzrmirror%bugzilla.org
f39ca8fa32 Bug 1093600: REST shouldn't support multiple instances of parameters for resources which only support a single params (eg. POST bug/comment)
r=glob,a=glob


git-svn-id: svn://10.0.0.236/trunk@265668 18797224-902f-48f8-a5cc-f745e15eee43
2014-11-10 17:00:49 +00:00
bzrmirror%bugzilla.org
fe358a8183 Bug 1094858: Create hook in Bugzilla::WebService::Constants to allow overrriding of standard status codes by extensions
r=gerv,a=glob


git-svn-id: svn://10.0.0.236/trunk@265667 18797224-902f-48f8-a5cc-f745e15eee43
2014-11-10 16:15:51 +00:00
bzrmirror%bugzilla.org
da6f5ad3cb Bug 1089820: Make use of User.use_markdown() defined in Bug 1059684
r=dkl,a=glob


git-svn-id: svn://10.0.0.236/trunk@265662 18797224-902f-48f8-a5cc-f745e15eee43
2014-11-05 16:15:52 +00:00
bzrmirror%bugzilla.org
15553be9c7 Bug 1088253: GET REST calls should allow arbitrary URL parameters to be passed in addition the values in the path
r=glob,a=glob


git-svn-id: svn://10.0.0.236/trunk@265651 18797224-902f-48f8-a5cc-f745e15eee43
2014-10-29 19:00:54 +00:00
bzrmirror%bugzilla.org
5948d6f3af Bug 1084490 - Fix Bugzilla::WebService::BugUserLastVisit->get & correct POD
r=dkl a=glob


git-svn-id: svn://10.0.0.236/trunk@265629 18797224-902f-48f8-a5cc-f745e15eee43
2014-10-21 18:30:49 +00:00
bzrmirror%bugzilla.org
6397d8cafa Bug 1080840: Update WebServices to include Markdown feature
r=dkl,a=glob


git-svn-id: svn://10.0.0.236/trunk@265625 18797224-902f-48f8-a5cc-f745e15eee43
2014-10-16 17:30:51 +00:00
bzrmirror%bugzilla.org
5e131bbe68 Bug 1039940: serialisation of objects for webservice responses is extremely slow
r=dylan,a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265573 18797224-902f-48f8-a5cc-f745e15eee43
2014-09-16 05:00:46 +00:00
bzrmirror%bugzilla.org
d53c6de213 Bug 1009013 - Require a user to change their password if they log in and their current password does not meet the password complexity rules
r=glob, a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265566 18797224-902f-48f8-a5cc-f745e15eee43
2014-09-11 00:00:53 +00:00
bzrmirror%bugzilla.org
daef60d81c Bug 330707: Add optional support for MarkDown
r=dkl,a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265524 18797224-902f-48f8-a5cc-f745e15eee43
2014-08-28 17:30:55 +00:00
bzrmirror%bugzilla.org
22c026bb3a Bug 1014337 - Update Bug.fields documentation
r=glob, a=glob


git-svn-id: svn://10.0.0.236/trunk@265500 18797224-902f-48f8-a5cc-f745e15eee43
2014-08-18 23:45:47 +00:00
bzrmirror%bugzilla.org
ab62c6ca6e Bug 1048712: comment tagging suggestions always returns a single result
r=sgreen,a=glob


git-svn-id: svn://10.0.0.236/trunk@265496 18797224-902f-48f8-a5cc-f745e15eee43
2014-08-14 06:30:45 +00:00
bzrmirror%bugzilla.org
562c045d02 Bug 1012506 - Allow a bug to have multiple aliases
r=dkl, a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265493 18797224-902f-48f8-a5cc-f745e15eee43
2014-08-14 00:00:52 +00:00
bzrmirror%bugzilla.org
84c5be6eb5 Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
r=dkl a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265490 18797224-902f-48f8-a5cc-f745e15eee43
2014-08-13 11:01:07 +00:00
bzrmirror%bugzilla.org
d323726805 Bug 419568 - Web Service module to create a component
r=dkl, a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265488 18797224-902f-48f8-a5cc-f745e15eee43
2014-08-12 00:30:48 +00:00
bzrmirror%bugzilla.org
5a9c131bd0 Bug 726696 - All authenticated WebServices methods should require username/pass, token or a valid API key for authentication
r=dkl, a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265478 18797224-902f-48f8-a5cc-f745e15eee43
2014-07-27 09:00:54 +00:00
bzrmirror%bugzilla.org
9951ab2d2a Bug 1036213 - (CVE-2014-1546) add '/**/' before jsonrpc.cgi callback to avoid swf content type sniff vulnerability
r=glob,a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265475 18797224-902f-48f8-a5cc-f745e15eee43
2014-07-24 17:45:51 +00:00
bzrmirror%bugzilla.org
d485e5c714 Bug 1014345: Add Group.get RPC call
- Fixed typo in editusers group name and used $user->can_bless.


git-svn-id: svn://10.0.0.236/trunk@265469 18797224-902f-48f8-a5cc-f745e15eee43
2014-07-24 16:00:48 +00:00
bzrmirror%bugzilla.org
7acf45d41f Bug 1036225: Return a link to the REST documentation in "method not found" errors
r=glob,a=glob


git-svn-id: svn://10.0.0.236/trunk@265458 18797224-902f-48f8-a5cc-f745e15eee43
2014-07-10 16:30:58 +00:00
bzrmirror%bugzilla.org
3c813db9ab Bug 1036268: REST webservice should return http/404 for invalid methods
r=glob,a=glob


git-svn-id: svn://10.0.0.236/trunk@265456 18797224-902f-48f8-a5cc-f745e15eee43
2014-07-10 12:00:45 +00:00
bzrmirror%bugzilla.org
830239d552 Bug 1033445 - Certain webservice methods such as Bug.get and Bug.attachments should not use shadow db if user is logged in
r=sgreen,a=glob


git-svn-id: svn://10.0.0.236/trunk@265449 18797224-902f-48f8-a5cc-f745e15eee43
2014-07-03 13:00:48 +00:00
bzrmirror%bugzilla.org
89c4160dd7 Bug 1014345 - Add Group.get RPC call
r=glob, a=glob


git-svn-id: svn://10.0.0.236/trunk@265444 18797224-902f-48f8-a5cc-f745e15eee43
2014-07-02 01:45:48 +00:00
bzrmirror%bugzilla.org
5cfddba7ce Bug 469196 - WebService function to update a user's group membership
r=glob, a=glob


git-svn-id: svn://10.0.0.236/trunk@265443 18797224-902f-48f8-a5cc-f745e15eee43
2014-07-02 01:30:49 +00:00
bzrmirror%bugzilla.org
883150cdab Bug 1023725 - Rename Bug.flag_types webservice call to FlagType.get
r=glob, a=glob


git-svn-id: svn://10.0.0.236/trunk@265440 18797224-902f-48f8-a5cc-f745e15eee43
2014-06-18 23:00:49 +00:00
bzrmirror%bugzilla.org
42fc029c23 Bug 1026726: filter_wants should be updated to allow exclude_fields higher precedence over include_fields=_all
r=glob,a=glob


git-svn-id: svn://10.0.0.236/trunk@265439 18797224-902f-48f8-a5cc-f745e15eee43
2014-06-18 15:45:47 +00:00
bzrmirror%bugzilla.org
d8f00bac98 Bug 1023633 - Add a webservice_before_call Hook
r=dkl, a=glob


git-svn-id: svn://10.0.0.236/trunk@265429 18797224-902f-48f8-a5cc-f745e15eee43
2014-06-13 01:00:46 +00:00
bzrmirror%bugzilla.org
9a2a51ded9 Bug 1004370: Add personal tags to Bug.get
r=glob,a=justdave


git-svn-id: svn://10.0.0.236/trunk@265422 18797224-902f-48f8-a5cc-f745e15eee43
2014-06-06 06:00:49 +00:00
bzrmirror%bugzilla.org
7d52bf34b5 Bug 1008764: Add a web service to create and update Flag types
r=glob, a=justdave


git-svn-id: svn://10.0.0.236/trunk@265408 18797224-902f-48f8-a5cc-f745e15eee43
2014-05-21 23:30:48 +00:00
bzrmirror%bugzilla.org
0908a89c5b Bug 995296 - Remove compatibility fields listed by webservice methods as deprecated in 5.0
git-svn-id: svn://10.0.0.236/trunk@265407 18797224-902f-48f8-a5cc-f745e15eee43
2014-05-21 14:45:46 +00:00
bzrmirror%bugzilla.org
52678c0270 Backout of Bug 1001462 - Bug.search causes error when using simple token auth and specifying 'token' instead of 'Bugzilla_token'
git-svn-id: svn://10.0.0.236/trunk@265399 18797224-902f-48f8-a5cc-f745e15eee43
2014-05-12 19:30:48 +00:00
bzrmirror%bugzilla.org
ea8005b4db Bug 1001462 - Bug.search causes error when using simple token auth and specifying 'token' instead of 'Bugzilla_token'
r/a=glob


git-svn-id: svn://10.0.0.236/trunk@265397 18797224-902f-48f8-a5cc-f745e15eee43
2014-05-12 14:45:44 +00:00
bzrmirror%bugzilla.org
d36b180a2e Don't call Bugzilla.pm from a Perl module itself (see bug 866927)
git-svn-id: svn://10.0.0.236/trunk@265357 18797224-902f-48f8-a5cc-f745e15eee43
2014-04-24 13:15:45 +00:00
bzrmirror%bugzilla.org
1704c53c5a Fix some syntax errors left by bug 489028
git-svn-id: svn://10.0.0.236/trunk@265356 18797224-902f-48f8-a5cc-f745e15eee43
2014-04-24 13:00:48 +00:00
bzrmirror%bugzilla.org
5e37ea7ac6 Bug 489028 - Record last-visited time of bugs when logged in
r=glob a=justdave


git-svn-id: svn://10.0.0.236/trunk@265354 18797224-902f-48f8-a5cc-f745e15eee43
2014-04-22 21:00:52 +00:00
bzrmirror%bugzilla.org
550894d547 Bug 713926: (CVE-2014-1517) [SECURITY] Login form lacks CSRF protection
r=dkl a=justdave


git-svn-id: svn://10.0.0.236/trunk@265332 18797224-902f-48f8-a5cc-f745e15eee43
2014-04-17 16:30:48 +00:00
bzrmirror%bugzilla.org
2a3b0b3e89 Bug 995238 - Incomplete implementation of bug 540818 causes include_fields=_all to not work as expected
r/a=justdave


git-svn-id: svn://10.0.0.236/trunk@265321 18797224-902f-48f8-a5cc-f745e15eee43
2014-04-15 21:15:44 +00:00
bzrmirror%bugzilla.org
c6f3ccbef9 Bug 540818 - Improve include_fields and exclude_fields to accept _default, _all and _custom keywords
r=glob,a=justdave


git-svn-id: svn://10.0.0.236/trunk@265316 18797224-902f-48f8-a5cc-f745e15eee43
2014-04-11 15:15:47 +00:00
bzrmirror%bugzilla.org
a96a844876 Bug 990252 - Using the webservices API, passing in certain keys as parameters containing . and - characters are silently dropped
r=glob,a=justdave


git-svn-id: svn://10.0.0.236/trunk@265310 18797224-902f-48f8-a5cc-f745e15eee43
2014-04-02 19:15:50 +00:00
bzrmirror%bugzilla.org
e7ee7084ce Bug 990328: Document that bug tags can be searched by RPC.
git-svn-id: svn://10.0.0.236/trunk@265308 18797224-902f-48f8-a5cc-f745e15eee43
2014-04-01 08:45:59 +00:00
bzrmirror%bugzilla.org
0ab000118f Bug 989647 - Bug.update_attachment should allow for adding a comment when updating attachment details similar to attachment.cgi
r=glob,a=justdave


git-svn-id: svn://10.0.0.236/trunk@265306 18797224-902f-48f8-a5cc-f745e15eee43
2014-03-31 16:00:49 +00:00