Name
Last commit
Last update
..
Server Bug 1098291: OPTION response for CORS requests to REST doesn't allow X-Requested-With
Bug.pm Bug 1111043: Bug.add_comment returns the wrong comment ID
BugUserLastVisit.pm Bug 1084490 - Fix Bugzilla::WebService::BugUserLastVisit->get & correct POD
Bugzilla.pm Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
Classification.pm Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
Component.pm Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
Constants.pm Bug 1094858: Create hook in Bugzilla::WebService::Constants to allow overrriding of standard status codes by extensions
FlagType.pm Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
Group.pm Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
Product.pm Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
README Bug 787668: Use |use parent| instead of |use base|
Server.pm Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
User.pm Bug 1001462: Bug.search causes error when using simple token auth and specifying 'token' instead of 'Bugzilla_token'
Util.pm Bug 1001462: Bug.search causes error when using simple token auth and specifying 'token' instead of 'Bugzilla_token'
The class structure of these files is a little strange, and this README
explains it.

Our goal is to make JSON::RPC and XMLRPC::Lite both work with the same code.
(That is, we want to have one WebService API, and have two frontends for it.)

The problem is that these both pass different things for $self to WebService
methods.

When XMLRPC::Lite calls a method, $self is the name of the *class* the 
method is in. For example, if we call Bugzilla.version(), the first argument
is Bugzilla::WebService::Bugzilla. So in order to have $self
(our first argument) act correctly in XML-RPC, we make all WebService
classes use parent qw(Bugzilla::WebService). 

When JSON::RPC calls a method, $self is the JSON-RPC *server object*. In other
words, it's an instance of Bugzilla::WebService::Server::JSONRPC. So we have
Bugzilla::WebService::Server::JSONRPC inherit from Bugzilla::WebService.