Robin Appelman
e7e614d801
log ocs exceptions
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 роки тому
Vincent Petry
00f135d320
Die in OCS v1.php on exception
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 роки тому
Joas Schilling
f3319f6294
Allow to call the files even when you are in another instance atm
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 роки тому
Roeland Jago Douma
8ae49183c1
Catch LoginException
8 роки тому
Joas Schilling
0215b004da
Update with robin
8 роки тому
Joas Schilling
ba87db3fcc
Fix others
8 роки тому
Lukas Reschke
c90a71a83b
Only login if user is not logged-in
8 роки тому
Roeland Jago Douma
1caceea6c0
Make the OCS endpoint handle the new OCS AppFramework routes
8 роки тому
Christoph Wurst
d36a1fed3e
load authentication apps first (#25126)
* load authentication apps first
* load session apps before all other apps
8 роки тому
Lukas Reschke
aba539703c
Update license headers
8 роки тому
Lukas Reschke
933f60e314
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
8 роки тому
Joas Schilling
043625ee52
Move findLanguage() and setLanguageFromRequest() to factory
8 роки тому
Thomas Müller
682821c71e
Happy new year!
8 роки тому
Morris Jobke
b945d71384
update licence headers via script
8 роки тому
Thomas Müller
3358db320b
Reduce duplicate code
9 роки тому
Morris Jobke
f63915d0c8
update license headers and authors
9 роки тому
Robin Appelman
a7aba07dc1
block ocs in single user mode
9 роки тому
Joas Schilling
f7dd16f1ac
Disable OCS api when in maintenance mode
9 роки тому
Jenkins for ownCloud
b585d87d9d
Update license headers
9 роки тому
Thomas Müller
2367797c17
Respect http header 'Accept-Language' on ocs and remote.php calls
9 роки тому
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9 роки тому
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9 роки тому
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
9 роки тому
Vincent Petry
972fffbe02
Return 503 OCS response with requested format
10 роки тому
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.
10 роки тому
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 роки тому
Bart Visscher
22d759964f
Use raw PathInfo for matching urls
11 роки тому
Felix Moeller
02ec677e3c
Style: The last two spaces
11 роки тому
Felix Moeller
a4b2ea586d
Style: Remove all the dangling white spaces
11 роки тому
Sam Tuke
8b01286a5d
Merged branch 'master'
11 роки тому
Thomas Müller
a3cda32392
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 роки тому
Bart Visscher
006b127da4
Routing: Handle MethodNotAllowedException
12 роки тому
Bart Visscher
7a24f0cd8d
Make calling ocs/v1.php/config work
12 роки тому
Jörn Friedrich Dreyer
e59a1806cf
remove superfluous ?> at the end of .php files (left out apps/*/templates)
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 роки тому
Jonathan Riddell
d294c2f6bd
Fix licencing, make headers refer to intended AGPL, include copy of AGPL
13 роки тому
Martin T. H. Sandsmark
64d4d57615
fix permissions, start to implement private data api
14 роки тому
Robin
78e54e1909
fixes in log and ocs
14 роки тому