53 Commits

Author SHA1 Message Date
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
mkanat%bugzilla.org
8e47ba629a Bug 787529: Use |use 5.10.1| everywhere
r=wicked a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264195 18797224-902f-48f8-a5cc-f745e15eee43
2012-09-01 21:45:59 +00:00
mkanat%bugzilla.org
8c326467f5 Bug 731219: Fix XMLRPC breakage when content-type contains a charset
r=dkl, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263500 18797224-902f-48f8-a5cc-f745e15eee43
2012-02-29 05:03:15 +00:00
mkanat%bugzilla.org
78b3b061b5 Bug 725663 - (CVE-2012-0453) [SECURITY] CSRF vulnerability in the XML-RPC API when using mod_perl
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263468 18797224-902f-48f8-a5cc-f745e15eee43
2012-02-22 16:01:37 +00:00
mkanat%bugzilla.org
63f07dcad5 Bug 724464 - JSON-RPC support shouldn't require SOAP::Lite
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263410 18797224-902f-48f8-a5cc-f745e15eee43
2012-02-15 16:16:29 +00:00
mkanat%bugzilla.org
025f080f74 Bug 718319: (CVE-2012-0440) [SECURITY] JSON-RPC permits to bypass token checks and can lead to CSRF (no victim's action required)
r=mkanat a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263339 18797224-902f-48f8-a5cc-f745e15eee43
2012-01-31 16:04:43 +00:00
mkanat%bugzilla.org
3b5e8524aa Bug 680131: Replace the MPL 1.1 license by the MPL 2.0 one in all files, and add it to files which miss one
r=kiko r=mkanat r=mrbball a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263258 18797224-902f-48f8-a5cc-f745e15eee43
2012-01-11 22:48:45 +00:00
mkanat%bugzilla.org
81f5522d44 Bug 706753: Bugzilla will not work with newest version of JSON::RPC 1.01 due to non-backward compatibility
r=dkl r=mkanat a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263225 18797224-902f-48f8-a5cc-f745e15eee43
2012-01-05 00:46:43 +00:00
mkanat%bugzilla.org
3623d5761f Bug 600810: Use XMLRPC::Transport::HTTP:Apache as base class under mod_perl
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@262510 18797224-902f-48f8-a5cc-f745e15eee43
2011-07-20 16:46:22 +00:00
mkanat%bugzilla.org
e616e9735e Bug 609538: Make the JSON-RPC interface support UTF-8 when a recent version
of LWP is installed
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261937 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-14 20:22:19 +00:00
mkanat%bugzilla.org
15df754b92 Bug 617030 - Add an error code for json_rpc_invalid_callback, and fix the
regex used by _bz_callback in Bugzilla::WebService::Server::JSONRPC to
accept numbers other than 0 or 1.
r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261631 18797224-902f-48f8-a5cc-f745e15eee43
2010-12-06 19:18:34 +00:00
mkanat%bugzilla.org
fd32004814 Bug 579514: Make Bug.attachments also return attachment data
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260827 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-20 22:03:21 +00:00
mkanat%bugzilla.org
3f376a9401 Bug 577765: Allow XML-RPC to accept multiple positional parameters
r=ghendricks, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260758 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-13 23:27:05 +00:00
mkanat%bugzilla.org
4d8362abd8 Bug 412074: Ability to add attachments to a bug via the WebService
(Bug.add_attachment)
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260748 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-13 22:48:31 +00:00
mkanat%bugzilla.org
07ae0611ea Bug 577415: Allow positional parameters for XML-RPC, because Testopia
uses them.
r=ghendricks, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260682 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-08 20:35:21 +00:00
mkanat%bugzilla.org
351e8b3d1f Bug 550727: Add JSONP Support to the JSON-RPC WebService Interface
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260234 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-27 19:17:46 +00:00
mkanat%bugzilla.org
594bcd76eb Bug 550732: Allow read-only JSON-RPC methods to be called with GET
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260221 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-22 19:01:59 +00:00
mkanat%bugzilla.org
966db34582 Bug 553774: Make User.login correctly return cookies under JSON-RPC
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260025 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-23 23:22:35 +00:00
mkanat%bugzilla.org
ea8fb15230 Bug 551199: The Bug.search WebService function was throwing an error about
datetime_format_inbound not being found
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259937 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-10 21:01:04 +00:00
mkanat%bugzilla.org
f3b0ed2a5a Bug 545299, XML-RPC WebService should take and return dates and times in UTC. POD
2010-03-04  Justin Wood  <Callek@gmail.com>

Bug 545299, XML-RPC WebService should take and return dates and times in UTC. Code part, r+=mkanat


git-svn-id: svn://10.0.0.236/trunk@259875 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-04 19:47:26 +00:00
mkanat%bugzilla.org
de37fdc929 Bug 547852: Make the JSON-RPC interface return the correct error format to
JSON-RPC 1.0 clients.
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259825 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-27 08:05:27 +00:00
mkanat%bugzilla.org
bf7e9e6811 Bug 547601: Make the JSON-RPC interface return UTF-8 data correctly.
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259823 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-27 08:01:42 +00:00
mkanat%bugzilla.org
ad604a290d Bug 547126: Make the JSON-RPC return error codes that are numerically
identical to the XML-RPC error codes.
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259793 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-23 00:22:26 +00:00
mkanat%bugzilla.org
02505505e5 There was some POD at the end of Bugzilla::WebService::Server::JSONRPC
that was supposed to be at the end of Bugzilla::WebService instead. Also
added links to Bugzilla::WebService in both of the Bugzilla::WebService::Server
types' POD.


git-svn-id: svn://10.0.0.236/trunk@259789 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-22 20:46:32 +00:00
mkanat%bugzilla.org
10645eea8b The JSON-RPC WebService is EXPERIMENTAL, now, not UNSTABLE.
git-svn-id: svn://10.0.0.236/trunk@259785 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-22 20:31:28 +00:00
mkanat%bugzilla.org
2f7b888391 Bug 533330: JSON-RPC webservice returns and expects a bad date format
r+a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259666 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-10 03:46:19 +00:00
mkanat%bugzilla.org
ece03cc4e2 Bug 544506: Bugzilla->input_params is undefined when calling Bugzilla.version and other methods taking no argument
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259625 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-05 22:17:24 +00:00
mkanat%bugzilla.org
b00e9a2ce5 Bug 529223: The JSON-RPC interface was not working at all with JSON-RPC 1.0, because it was mis-handling input parameters.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259012 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-18 07:09:49 +00:00
mkanat%bugzilla.org
24cf7a5563 Bug 527505: Make 001compile.t use Bugzilla->feature to determine which modules to compile
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@258958 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-10 21:19:48 +00:00
mkanat%bugzilla.org
0dfd6e55e2 Bug 525734: Allow WebService clients to authenticate using Bugzilla_login and Bugzilla_password
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@258941 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-09 19:15:30 +00:00
mkanat%bugzilla.org
de04031a72 Bug 513593: Make the WebService taint incoming parameters
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@258936 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-09 18:27:53 +00:00
mkanat%bugzilla.org
e587df4eeb Bug 486306: Truncated XML-RPC response (incorrect content-length header)
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@258323 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-04 21:29:58 +00:00
mkanat%bugzilla.org
9266ce97d8 Bug 494427: Instead of sending <nil> for undef elements in the WebService, just strip the items from the return value.
Patch by Rosie Clarkson <rosie.clarkson@planningportal.gov.uk> r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@257627 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-04 12:06:59 +00:00
mkanat%bugzilla.org
c719f31db0 Bug 477593: Make the WebService send <nil/> for undef values
Patch by Rosie Clarkson <rosie.clarkson@planningportal.gov.uk> r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@257214 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-18 21:25:15 +00:00