Thomas Müller
596177727a
OCS API calls will always return English messages
пре 10 година
Thomas Müller
88f6dd7db1
fixing method names
пре 10 година
Thomas Müller
743addd1e3
set content-type on ocs exceptions
пре 10 година
Robin Appelman
26793e1f94
switch OC::getRouter usages to OC::$server->getRouter
пре 10 година
Thomas Müller
8f5c641cd8
load all apps in ocs/v1.php
пре 10 година
Lukas Reschke
8a2cd0355d
Use the proper content-type
We should use the proper content-type `application/xml` instead of the default `text/html` here.
Backport requested.
пре 10 година
Thomas Müller
66a2f3b0b9
New OCS route:
/ocs/cloud/user
Response:
<?xml version="1.0"?>
<ocs>
<meta>
<status>ok</status>
<statuscode>100</statuscode>
<message/>
</meta>
<data>
<id>thomas</id>
<display-name>DeepDiver</display-name>
<email>no-response@domain.tld</email>
</data>
</ocs>
пре 10 година
Frank Karlitschek
f1836a997f
remove the activity call here. it is not implemented anyways. This will be provided by Activity app in the future.
пре 11 година
Tom Needham
f14ce1efdc
Add quota to core api
пре 11 година
kondou
9e8a6b704d
Add _many_ newlines at the end of files
пре 11 година
Bart Visscher
22d759964f
Use raw PathInfo for matching urls
пре 11 година
Florin Peter
3c100af132
revert changes to fbbc76f281f50afa3072d99e4e0d413df835b3d3 because master is very unstable right now
пре 11 година
Tom Needham
1e1a8b2f3c
Fix typo
пре 11 година
Tom Needham
66053693f8
Code style for ocs/routes.php
пре 11 година
Tom Needham
59db762dfa
Change app identifier for core api routes
пре 11 година
Tom Needham
5ad1b63f76
Fix api result merging.
пре 11 година
Stefan Herbrechtsmeier
ab2b79cda6
add multiple domains reverse proxy support
Add support for a reverse proxy that handles multiple domains via different
web roots (http[s]://proxy.tld/domain.tld/owncloud).
As the reverse proxy web root is transparent for the web server the
REQUEST_URI and SCRIPT_NAME need manual adjustments. This patch replace
the direct use of this _SERVER variables with function calls and extend
this functions to overwrite the web root. Additionally it adds a Sabre
request backend that extends the Sabre_HTTP_Request to use the same
functions.
пре 11 година
Tom Needham
0956cae39e
Add new /cloud/capabilities route and remove unused methods
пре 11 година
Thomas Mueller
42678096bb
remove php closing tag
пре 11 година
Tom Needham
c7a665a1e4
API: Tidy up routes.php, remove redundant call registration
пре 11 година
Tom Needham
3cc3405536
API: Remove old code. Move remaining methods to OC_OCS_Result.
пре 11 година
Frank Karlitschek
6cb3774706
make it possible to manually override the hostname and protocol if the automatic detection from ownCloud fails. This can happen in reverse proxy situations or with loadbalancers setups.
пре 11 година
Felix Moeller
02ec677e3c
Style: The last two spaces
пре 11 година
Felix Moeller
a4b2ea586d
Style: Remove all the dangling white spaces
пре 11 година
Tom Needham
b2a1b54e9c
Detect http protocol in providers.php
пре 11 година
Sam Tuke
8b01286a5d
Merged branch 'master'
пре 11 година
Tom Needham
0c55ca1d0a
API: Add required auth level to OCS routes, move some routes to provisioning_api app
пре 11 година
Thomas Müller
a3cda32392
Respect coding style
пре 12 година
Thomas Müller
3d74c5b3ec
Respect coding style
пре 12 година
Bart Visscher
4b9200f6f7
Routing: combine all routes into one set
пре 12 година
Bart Visscher
6ba2623485
Move loading of routes to OC::getRouter function
пре 12 година
Bart Visscher
7952c6a31c
Change access to router object to getter function
пре 12 година
Tom Needham
75dbed2208
Fix the api routes
пре 12 година
Bart Visscher
7426217e76
Fix /privatedata/getattribute route
пре 12 година
Bart Visscher
006b127da4
Routing: Handle MethodNotAllowedException
пре 12 година
Bart Visscher
28537037ae
Fixup OCS modules
пре 12 година
Bart Visscher
7a24f0cd8d
Make calling ocs/v1.php/config work
пре 12 година
Bart Visscher
372fdf8077
Add 'ocs' as app name to API registration
пре 12 година
Tom Needham
9ffaea480f
Add the format parameter inside OC_API
пре 12 година
Tom Needham
f09ecee63a
Move routes to ocs folder
пре 12 година
Frank Karlitschek
e7e1f234dd
first part of the new new OCS CLOUD module. So far only quota is implemented.
The specification is developed here:
http://www.freedesktop.org/wiki/Specifications/open-collaboration-services-1.7#CLOUD
will be moved to
http://www.freedesktop.org/wiki/Specifications/open-collaboration-services
as soon as everything is done.
пре 12 година
Jörn Friedrich Dreyer
e59a1806cf
remove superfluous ?> at the end of .php files (left out apps/*/templates)
пре 12 година
Frank Karlitschek
d4ea853fcf
use our own serverHost call so that ownCloud works with reverse proxy servers
пре 12 година
Frank Karlitschek
5d425a9f79
use our own serverHost call so that ownCloud works with reverse proxy servers
пре 12 година
Frank Karlitschek
a945fa10a6
update copyright
пре 12 година
Georg Ehrke
3fb91a7411
restore require once command for non app files
пре 12 година
Georg Ehrke
b44bc9f4b2
remove require once lib base in some more files
пре 12 година
Robin Appelman
595b13f1e0
prevent the remaining ob_clean related errors
пре 12 година
Klaas Freitag
d3f6f618e6
fixed include for ocs
пре 13 година
Frank Karlitschek
9ac084d0b8
remove for now. main repository is at projects.kde.org/owncloud
пре 13 година