Vincent Petry
2340660a5b
PasswordLoginForbidden must extend NotAuthenticated
The auth code from Sabre will forward NotAuthenticated exceptions but
in the case of a generic exception, it is packaged as "service not
available".
8 years ago
Christoph Wurst
5a8cfab68f
throw PasswordLoginForbidden on DAV
8 years ago
Christoph Wurst
82b50d126c
add PasswordLoginForbiddenException
8 years ago
Thomas Müller
0b7685d326
Move birthday calendar generation to a live migration job (#25135)
8 years ago
Christoph Wurst
465807490d
create session token only for clients that support cookies
8 years ago
Christoph Wurst
331d88bcab
create session token on all APIs
8 years ago
blizzz
51fd2602a7
Revert "Downstream 2016-06-08"
8 years ago
Vincent Petry
1399e87d57
DAV now returns file name with Content-Disposition header
Fixes issue where Chrome would append ".txt" to XML files when
downloaded in the web UI
8 years ago
Bjoern Schiessle
66d853680c
block webdav access if share is not readable
8 years ago
Robin Appelman
9b5fd515ef
Better handling of forbidden files in dav
8 years ago
Thomas Müller
c4b80b86db
Fix checkMove() implementation for dav v2 - fixes #24776 (#24971)
8 years ago
Robin Appelman
16559e4a8a
add test for deleting ghost files over dav
8 years ago
Thomas Müller
cf06b17df1
Use the correct realm for basic authentication - fixes #23427
8 years ago
Thomas Müller
f20c617154
Allow login by email address via webdav as well - fixes #24791
8 years ago
Thomas Müller
bfcd1dc49c
Filter confidential calendar objects in shared calendars
Filter private calendar objects in shared calendars
8 years ago
Thomas Müller
082f456b8b
Added unit testing for the migration step
8 years ago
Thomas Müller
369c3b5d7e
Implement classification migration as repair step
8 years ago
Thomas Müller
287e41732c
Bump dav app version and fix variable rename
8 years ago
Thomas Müller
f013cfc530
Add migration step
8 years ago
Thomas Müller
fbdec59f22
Extract CLASS property from calendar object and store it in the database
8 years ago
Robin Appelman
f119769c26
Better handling of forbidden files in dav
8 years ago
Thomas Müller
371a07e3ab
Fix checkMove() implementation for dav v2 - fixes #24776 (#24971)
8 years ago
Roeland Jago Douma
1b5368bbaf
Wrap publicwebdav in sharePermission mask
Fixes #24868
The writable mask was a bit misleading. We should wrap with the
sharepermissions (as they are used everywhere else). The
PERMISSIONS_SHARE are added since that is required for the public link
check plugin.
8 years ago
Robin Appelman
3bd5073251
add test for deleting ghost files over dav
8 years ago
Joas Schilling
942e946f06
Catch the ForbiddenException to make sure it gets handled
8 years ago
Christoph Wurst
da03a85c3c
block DAV if 2FA challenge needs to be solved first
8 years ago
Lukas Reschke
aba539703c
Update license headers
8 years ago
Joas Schilling
5882e21b3b
Update DAV unit tests to PSR-4
8 years ago
Joas Schilling
42ba61db04
Fix local execution
8 years ago
Christoph Wurst
28ce7dd262
do not allow client password logins if token auth is enforced or 2FA is enabled
8 years ago
Christoph Wurst
ad10485cec
when generating browser/device token, save the login name for later password checks
8 years ago
Christoph Wurst
dfb4d426c2
Add two factor auth to core
8 years ago
Joas Schilling
54f8822670
Fix unit tests
8 years ago
Joas Schilling
c9fda84841
Make the root collection neutral so it does not only work for files
8 years ago
Joas Schilling
3a8e537946
Remove unused UserFolder
8 years ago
Vincent Petry
5963128342
Adjust DAV SystemTagPlugin unit tests for groups
8 years ago
Vincent Petry
91d4249ed8
Fix system tags DAV plugin tests
8 years ago
Vincent Petry
10fae3994a
Fix system tag update code
8 years ago
Vincent Petry
d7727cdc74
Add admin-only system tag groups property
For setting/getting system tag groups
8 years ago
Vincent Petry
88740f035d
Act on effective system tag canAssign permission
Whenever the server returns true for the can-assign Webdav property of
a system tag, it means the current user is allowed to assign,
regardless of the value of user-assignable.
This commit brings the proper logic to the web UI to make it possible
for users to assign when they have the permission.
8 years ago
Vincent Petry
03d32bc39b
Fix system tags DAV unit tests
8 years ago
Vincent Petry
bede872dbc
Bring back admin permissions to change system tag permissions
8 years ago
Vincent Petry
09b3883d9c
Updated canUser* functions in SystemTagManager to accept objects
8 years ago
Vincent Petry
8343cfb64b
Add interface methods for permission check
Instead of checking for admin perm, use interface method
canUserAssignTag and canUserSeeTag to check for permissions.
Allows for more flexible implementation.
8 years ago
Arthur Schiwon
2b30136ae9
ensure comments-href returns a value also when propfind is done against remote.php/files
8 years ago
Joas Schilling
dd9ee10bc0
Move dav app to PSR-4 (#24527)
* Move Application to correct namespace and PSR-4 it
* Move dav app to PSR-4
8 years ago
Christoph Wurst
0486d750aa
use the UID for creating the session token, not the login name
8 years ago
Christoph Wurst
5e55dfb2d6
create session token for DAV clients (sync clients)
8 years ago
Thomas Müller
cc1d948c2e
Add background job declaration of dav app to info.xml
8 years ago
Roeland Jago Douma
3c2fee8775
Cache shareManager
There is no need to call \OC::$server->getShareManager for each Node.
We have it available so better pass it around.
8 years ago