86 Commits

Author SHA1 Message Date
bzrmirror%bugzilla.org
8327b6b7bc Bug 1031035: xmlrpc can be DoS'd with billion laughs attack
r=LpSolit,a=glob


git-svn-id: svn://10.0.0.236/trunk@265924 18797224-902f-48f8-a5cc-f745e15eee43
2015-04-13 06:30:54 +00:00
bzrmirror%bugzilla.org
f8138e2440 Bug 1051056: The REST API needs to be versioned so that new changes can be made that do not break compatibility
r=dylan,a=glob


git-svn-id: svn://10.0.0.236/trunk@265911 18797224-902f-48f8-a5cc-f745e15eee43
2015-04-08 18:01:07 +00:00
bzrmirror%bugzilla.org
d258207ff6 Bug 1142399: invalid xmlrpc requests warns: Use of uninitialized value $file in substitution (s///) (Bugzilla/WebService/Server/XMLRPC.pm:114)
r=dkl,a=glob


git-svn-id: svn://10.0.0.236/trunk@265884 18797224-902f-48f8-a5cc-f745e15eee43
2015-03-17 04:15:49 +00:00
bzrmirror%bugzilla.org
5d10359685 Bug 902395: Enforce utf8 = true for all installations and remove the utf8 parameter
r=dkl a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265871 18797224-902f-48f8-a5cc-f745e15eee43
2015-03-15 13:00:56 +00:00
bzrmirror%bugzilla.org
0bb19b0db2 Bug 1141440: OPTION response for CORS requests to REST doesn't allow X-Bugzilla headers
- Fixed a new hash constant error that did not fail locally due to Perl version difference


git-svn-id: svn://10.0.0.236/trunk@265859 18797224-902f-48f8-a5cc-f745e15eee43
2015-03-11 18:15:55 +00:00
bzrmirror%bugzilla.org
99264cf532 Bug 1141440: OPTION response for CORS requests to REST doesn't allow X-Bugzilla headers
- Fixed t/001compile.t error due to tr///r only for 5.14+


git-svn-id: svn://10.0.0.236/trunk@265857 18797224-902f-48f8-a5cc-f745e15eee43
2015-03-11 16:31:39 +00:00
bzrmirror%bugzilla.org
07f9e6cbe0 Bug 1141440: OPTION response for CORS requests to REST doesn't allow X-Bugzilla headers
r=glob,a=glob


git-svn-id: svn://10.0.0.236/trunk@265855 18797224-902f-48f8-a5cc-f745e15eee43
2015-03-11 14:45:50 +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
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
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
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
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
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
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
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
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
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
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
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
362497fb99 Bug 972881 - Add hooks to Bugzilla/WebService/Server/REST.pm to allow for extensions to extend and alter REST data
r=glob,a=justdave


git-svn-id: svn://10.0.0.236/trunk@265255 18797224-902f-48f8-a5cc-f745e15eee43
2014-02-25 21:46:33 +00:00
bzrmirror%bugzilla.org
0d5b963f0a Bug 966277 - Bugzilla native REST API should default to application/json if no Accept header was set
r=dkl,a=justdave


git-svn-id: svn://10.0.0.236/trunk@265226 18797224-902f-48f8-a5cc-f745e15eee43
2014-02-05 22:45:46 +00:00
bzrmirror%bugzilla.org
479ccdf3ee Bug 958057 - REST API - No example of non-rewrite endpoint in POD docs, no config directions for how to create rewrite
r/a=justdave


git-svn-id: svn://10.0.0.236/trunk@265175 18797224-902f-48f8-a5cc-f745e15eee43
2014-01-09 17:45:42 +00:00
bzrmirror%bugzilla.org
531e7154f1 Bug 756048 - Add and update bug and attachment flags using the WebService API
r=sgreen,a=justdave


git-svn-id: svn://10.0.0.236/trunk@265158 18797224-902f-48f8-a5cc-f745e15eee43
2013-12-31 14:00:44 +00:00
bzrmirror%bugzilla.org
2d52187f34 Bug 793963: add the ability to tag comments with arbitrary tags
r=dkl, a=glob


git-svn-id: svn://10.0.0.236/trunk@265120 18797224-902f-48f8-a5cc-f745e15eee43
2013-11-25 08:30:58 +00:00
bzrmirror%bugzilla.org
718aa82eda Bug 916935 - Add Access-Control-Allow-Headers to REST API to indicate which HTTP headers can be used when making the request
r/a=glob


git-svn-id: svn://10.0.0.236/trunk@265014 18797224-902f-48f8-a5cc-f745e15eee43
2013-09-17 15:03:36 +00:00
bzrmirror%bugzilla.org
5cea11b84f Bug 914986 - Create Bug.update_attachment to update attachments via RPC/REST
r=dkl, a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265008 18797224-902f-48f8-a5cc-f745e15eee43
2013-09-12 23:45:55 +00:00
bzrmirror%bugzilla.org
c83ee562ea Bug 893195 - Allow token based authentication for webservices
r=glob,a=sgreen


git-svn-id: svn://10.0.0.236/trunk@264987 18797224-902f-48f8-a5cc-f745e15eee43
2013-08-27 04:06:36 +00:00
bzrmirror%bugzilla.org
cceb62130f Bug 908338 - Create a new webservice called User.valid_login that will verify if a cookie or login token is valid for the current user
r=glob,a=sgreen


git-svn-id: svn://10.0.0.236/trunk@264986 18797224-902f-48f8-a5cc-f745e15eee43
2013-08-27 03:37:52 +00:00
bzrmirror%bugzilla.org
954e34e258 Bug 907245 - Allow for URL params to also be passed with POST/PUT REST API requests
r/a=glob


git-svn-id: svn://10.0.0.236/trunk@264975 18797224-902f-48f8-a5cc-f745e15eee43
2013-08-21 20:03:10 +00:00
bzrmirror%bugzilla.org
e1ba79275b Bug 569177 - Add support for eTag for WebServices
r/a=glob


git-svn-id: svn://10.0.0.236/trunk@264967 18797224-902f-48f8-a5cc-f745e15eee43
2013-08-13 18:58:07 +00:00
bzrmirror%bugzilla.org
c9f2d293ab Bug 868330 - Password creation directions incomplete
r=sgreen, a=sgreen


git-svn-id: svn://10.0.0.236/trunk@264957 18797224-902f-48f8-a5cc-f745e15eee43
2013-08-13 18:47:50 +00:00
bzrmirror%bugzilla.org
3a5d0be0fe Bug 569177 - Add support for eTag for WebServices
r/a=glob


git-svn-id: svn://10.0.0.236/trunk@264956 18797224-902f-48f8-a5cc-f745e15eee43
2013-08-13 18:46:35 +00:00
bzrmirror%bugzilla.org
18bebe478f Fix wrong links in REST POD
git-svn-id: svn://10.0.0.236/trunk@264939 18797224-902f-48f8-a5cc-f745e15eee43
2013-08-13 18:24:24 +00:00
bzrmirror%bugzilla.org
405ee04790 Bug 897003: Improve _strip_undefs() performance
r/a=sgreen


git-svn-id: svn://10.0.0.236/trunk@264930 18797224-902f-48f8-a5cc-f745e15eee43
2013-08-13 18:13:04 +00:00
mkanat%bugzilla.org
2d2dcc1cda Bug 896066 - Allow REST WebService API to for GET /product to allow retrieval of multiple product objects
r/a=glob


git-svn-id: svn://10.0.0.236/trunk@264900 18797224-902f-48f8-a5cc-f745e15eee43
2013-07-23 20:30:51 +00:00
mkanat%bugzilla.org
d9355618bf Bug 787328 - xmlrpc.cgi doesn't send any security-related headers
r=glob,a=justdave


git-svn-id: svn://10.0.0.236/trunk@264890 18797224-902f-48f8-a5cc-f745e15eee43
2013-07-15 04:01:28 +00:00
mkanat%bugzilla.org
59d81c3300 Bug 866927 - Enhance Bugzilla WebServices to allow data access using REST
r=glob,a=justdave


git-svn-id: svn://10.0.0.236/trunk@264889 18797224-902f-48f8-a5cc-f745e15eee43
2013-07-12 21:00:57 +00:00
mkanat%bugzilla.org
1764f0df90 Bug 787668: Use |use parent| instead of |use base|
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264508 18797224-902f-48f8-a5cc-f745e15eee43
2012-12-01 01:31:00 +00:00
mkanat%bugzilla.org
f6af30d002 Bug 816747 - Add dummy POD for unPODded methods.
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264502 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-30 14:45:59 +00:00
mkanat%bugzilla.org
0fd3ecb628 Bug 577329 - WebServices should filter email addresses same as the web UI as users are not always required to login
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264347 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-16 21:00:45 +00:00