144 Commits

Author SHA1 Message Date
mkanat%bugzilla.org
f891421dc0 Fix the POD of Bug.add_attachment to reflect that it now automatically
picks the content_type of text/plain when you set is_patch to true.


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261913 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-11 01:04:58 +00:00
mkanat%bugzilla.org
e9f214ef14 Bug 633041: Add an error code for zero_length_file and fill in content_type
for patches when content_type is missing in Bug.add_attachment in the
WebService
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261912 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-11 00:33:27 +00:00
mkanat%bugzilla.org
94c2468a8b Bug 622679 - Autocomplete suggests inactive/disabled accounts as matches
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261854 18797224-902f-48f8-a5cc-f745e15eee43
2011-01-27 22:16:52 +00:00
mkanat%bugzilla.org
cb16644b08 Bug 588013: Fix typo
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261692 18797224-902f-48f8-a5cc-f745e15eee43
2010-12-27 22:05:20 +00:00
mkanat%bugzilla.org
277d3ec810 Bug 617477: Fix numerous consistency and behavior issues surrounding Bug.update
and Bugzilla::Bug. See https://bugzilla.mozilla.org/show_bug.cgi?id=617477#c2
for details.
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261654 18797224-902f-48f8-a5cc-f745e15eee43
2010-12-13 21:04:01 +00:00
mkanat%bugzilla.org
9f4af6173f 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/branches/BUGZILLA-4_0-BRANCH@261631 18797224-902f-48f8-a5cc-f745e15eee43
2010-12-06 19:18:34 +00:00
mkanat%bugzilla.org
456003fca2 Bug 605573: List all available WebService methods at the top of the POD
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261525 18797224-902f-48f8-a5cc-f745e15eee43
2010-11-04 17:09:27 +00:00
mkanat%bugzilla.org
32a1634518 Bug 607966: Use of qw(...) as parentheses is deprecated since Perl 5.13.5
r=gerv a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261490 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-28 15:35:02 +00:00
mkanat%bugzilla.org
814dbe1463 Bug 602458: Add is_mandatory to Bug.fields output
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261473 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-27 08:12:13 +00:00
mkanat%bugzilla.org
f28de274c1 Bug 578513: Rename cc_accessible and reporter_accessible to is_cc_accessible
and is_reporter_accessible in the WebService.
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261451 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-23 00:07:14 +00:00
mkanat%bugzilla.org
7f5fe712ec Bug 598014: Document how to mark the initial comment as private when using Bug.create()
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261440 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-21 00:01:45 +00:00
mkanat%bugzilla.org
a3c230bf03 Bug 575947: Users with passwords length less than 6 characters can't login after migration from 3.4.x or older to 3.6 or newer
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261395 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-14 00:53:22 +00:00
mkanat%bugzilla.org
9a85ff4ac1 Bug 573195: Make Bug.get return all of a bug's standard and custom field
information
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261302 18797224-902f-48f8-a5cc-f745e15eee43
2010-09-30 01:03:22 +00:00
mkanat%bugzilla.org
1ee07e55b6 Bug 583622: email_in.pl doesn't let me set timetracking fields
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@260939 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-02 01:49:26 +00:00
mkanat%bugzilla.org
263544534f Bug 579514: Make Bug.attachments also return attachment data
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@260827 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-20 22:03:21 +00:00
mkanat%bugzilla.org
2fc87bb4db The changes to accept positional parameters in XML-RPC meant that sometimes
$params wouldn't just be undef, but actually missing, so validate() was
getting @keys where $params should have been.


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@260766 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-14 04:04:43 +00:00
mkanat%bugzilla.org
dad4debae5 Bug 577765: Allow XML-RPC to accept multiple positional parameters
r=ghendricks, a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@260758 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-13 23:27:05 +00:00
mkanat%bugzilla.org
2c91534083 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/branches/BUGZILLA-4_0-BRANCH@260748 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-13 22:48:31 +00:00
mkanat%bugzilla.org
c07a6591c2 alias_not_allowed should be multiple_alias_not_allowed
git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@260727 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-13 02:23:04 +00:00
mkanat%bugzilla.org
77cf5d275c Bug 415813: Implement Bug.update() as an API for WebServices
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@260726 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-13 01:51:32 +00:00
mkanat%bugzilla.org
e2efc625e8 Bug 577415: Allow positional parameters for XML-RPC, because Testopia
uses them.
r=ghendricks, a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@260682 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-08 20:35:21 +00:00
mkanat%bugzilla.org
7b163c4a83 Bug 574995: Make the WebService return reporter, attachment submitter, and
commenter all as "creator"
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260653 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-06 22:16:34 +00:00
mkanat%bugzilla.org
d275436852 Bug 577049: POD must mention Bugzilla 4.0 instead of 3.8
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260649 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-06 17:31:55 +00:00
mkanat%bugzilla.org
e8ffd81794 Bug 22353: Automatic duplicate bug detection on enter_bug.cgi
r=glob, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260499 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 02:16:36 +00:00
mkanat%bugzilla.org
bbceabc320 Bug 548198: Add a method of limiting the User.get results by group name or id
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260492 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-18 21:18:16 +00:00
mkanat%bugzilla.org
ee678ea1c7 Bug 395451 - "Bugzilla::BugMail needs to use Bug objects internally instead of direct SQL"
[r=mkanat a=mkanat]


git-svn-id: svn://10.0.0.236/trunk@260272 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-07 03:47:31 +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
d59af6de8f Bug 554569: WebService Bug.fields: Make it so that if you request a field
by both id and name, only one field is returned
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260079 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-28 21:49:59 +00:00
mkanat%bugzilla.org
85405f718a Bug 554560: WebService Bug.fields: Send visibility_values for all select-type
fields (including built-in fields that don't support it yet), but don't send
a single null in the array for fields that have no visibility values.
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260078 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-28 21:46:29 +00:00
mkanat%bugzilla.org
7bc9beb49b Bug 554536: [WebService] Make Bug.fields not send the "values" item for
fields that don't have a list of values
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260073 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-28 21:37:11 +00:00
mkanat%bugzilla.org
96702cc3fd Bug 553913: Add explicit error codes to WebService errors that were missing
them
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260071 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-28 21:34:27 +00:00
mkanat%bugzilla.org
508011e452 Bug 553818: Fix the format of the return value for the Bug.attachments
method in the WebService
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260031 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-26 02:47:42 +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
c723e8517c Bug 553770: Make the JSON-RPC WebService throw a proper error when you don't
provide login credentials on a LOGIN_REQUIRED page. (Before this, it was
attempting to display the HTML login page to JSON-RPC clients.)
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260024 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-23 23:21:19 +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
a1931e8210 Bug 550618: Make the XML-RPC WebService return the right date format
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259908 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-08 07:47:34 +00:00
mkanat%bugzilla.org
57eb214b92 Update the stability status of several WebService methods.
git-svn-id: svn://10.0.0.236/trunk@259894 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-06 03:32:28 +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
913bf84f3e Bug 526184: Allow groups to be specified when creating bugs using email_in.pl
or the WebService Bug.create method.
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259796 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-23 00:31:25 +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
a68210b184 Bug 372979: Make voting into an extension
r=mkanat, a=mkanat, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259709 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-15 23:32:10 +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
c6376a2cf8 Bug 515568: handle_login() doesn't check $@ after eval
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259634 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-06 18:02:40 +00:00
mkanat%bugzilla.org
579621b05d Bug 544615: Bug.legal_values triggers an insecure dependency in Bugzilla::Field::get_legal_field_values()
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259633 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-06 17:47:18 +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