Christoph Wurst
d36a1fed3e
load authentication apps first (#25126)
* load authentication apps first
* load session apps before all other apps
před 8 roky
Lukas Reschke
aba539703c
Update license headers
před 8 roky
Björn Schießle
2dc26aada7
update share permissions
před 8 roky
Björn Schießle
d23df4cba7
create re-share by owner and propagate unshare and unshare-from self request
correctly accross share owner and share initiator
před 8 roky
Björn Schießle
8f87e1104d
use query builder for getShare and add tests
před 8 roky
Björn Schießle
5a1641bed2
move request handler for federated shares to the federated sharing app
před 8 roky
Björn Schießle
e10105474f
move federated sharing settings to the federatedfilesharing app
před 8 roky
Lukas Reschke
933f60e314
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
před 8 roky
Joas Schilling
043625ee52
Move findLanguage() and setLanguageFromRequest() to factory
před 8 roky
Thomas Müller
682821c71e
Happy new year!
před 8 roky
Lukas Reschke
574f9b1e3f
Use XMLWriter to generate response
Gets rid of manual XML generation.
před 8 roky
Roeland Jago Douma
002e9c76cd
Combine OCS API getUser method code into provisioning_api app
Fixes #13002
Move the cloud/users/{userid} code in total to the provisioning API.
před 8 roky
Morris Jobke
8366ce2767
deduplicate @xenopathic
před 8 roky
Morris Jobke
b945d71384
update licence headers via script
před 8 roky
Robin McCorkell
29dd7d83c4
Check if files_sharing is actually enabled before using it
před 8 roky
Thomas Müller
3358db320b
Reduce duplicate code
před 9 roky
Thomas Müller
bacf1603ff
Adding ocs/v2.php with status code mapper
před 9 roky
Morris Jobke
f63915d0c8
update license headers and authors
před 9 roky
Joas Schilling
3f3f8c2f99
Fix usage of deprecated private constants
před 9 roky
Robin Appelman
a7aba07dc1
block ocs in single user mode
před 9 roky
Joas Schilling
f7dd16f1ac
Disable OCS api when in maintenance mode
před 9 roky
Jenkins for ownCloud
b585d87d9d
Update license headers
před 9 roky
Thomas Müller
2367797c17
Respect http header 'Accept-Language' on ocs and remote.php calls
před 9 roky
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
před 9 roky
Jenkins for ownCloud
6a1a4880f0
Updating license headers
před 9 roky
Lukas Reschke
886bda5f81
Refactor OC_Request into TrustedDomainHelper and IRequest
This changeset removes the static class `OC_Request` and moves the functions either into `IRequest` which is accessible via `\OC::$server::->getRequest()` or into a separated `TrustedDomainHelper` class for some helper methods which should not be publicly exposed.
This changes only internal methods and nothing on the public API. Some public functions in `util.php` have been deprecated though in favour of the new non-static functions.
Unfortunately some part of this code uses things like `__DIR__` and thus is not completely unit-testable. Where tests where possible they ahve been added though.
Fixes https://github.com/owncloud/core/issues/13976 which was requested in https://github.com/owncloud/core/pull/13973#issuecomment-73492969
před 9 roky
Bjoern Schiessle
698ecbf308
OCS API for server-to-server sharing
před 9 roky
Vincent Petry
972fffbe02
Return 503 OCS response with requested format
před 10 roky
Vincent Petry
2e45eb8ad6
Return 503 in public.php and OCS API when upgrade is due
To prevent unexpected behavior, public.php and the OCS API calls will
return 503 Service Unavailable when an upgrade is due.
před 10 roky
Thomas Müller
596177727a
OCS API calls will always return English messages
před 10 roky
Thomas Müller
88f6dd7db1
fixing method names
před 10 roky
Thomas Müller
743addd1e3
set content-type on ocs exceptions
před 10 roky
Robin Appelman
26793e1f94
switch OC::getRouter usages to OC::$server->getRouter
před 10 roky
Thomas Müller
8f5c641cd8
load all apps in ocs/v1.php
před 10 roky
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.
před 10 roky
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>
před 10 roky
Frank Karlitschek
f1836a997f
remove the activity call here. it is not implemented anyways. This will be provided by Activity app in the future.
před 11 roky
Tom Needham
f14ce1efdc
Add quota to core api
před 11 roky
kondou
9e8a6b704d
Add _many_ newlines at the end of files
před 11 roky
Bart Visscher
22d759964f
Use raw PathInfo for matching urls
před 11 roky
Florin Peter
3c100af132
revert changes to fbbc76f281f50afa3072d99e4e0d413df835b3d3 because master is very unstable right now
před 11 roky
Tom Needham
1e1a8b2f3c
Fix typo
před 11 roky
Tom Needham
66053693f8
Code style for ocs/routes.php
před 11 roky
Tom Needham
59db762dfa
Change app identifier for core api routes
před 11 roky
Tom Needham
5ad1b63f76
Fix api result merging.
před 11 roky
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.
před 12 roky
Tom Needham
0956cae39e
Add new /cloud/capabilities route and remove unused methods
před 11 roky
Thomas Mueller
42678096bb
remove php closing tag
před 11 roky
Tom Needham
c7a665a1e4
API: Tidy up routes.php, remove redundant call registration
před 11 roky
Tom Needham
3cc3405536
API: Remove old code. Move remaining methods to OC_OCS_Result.
před 11 roky