Commit graph

32213 commits

Author SHA1 Message Date
Vincent Petry
10fae3994a
Fix system tag update code 2016-05-20 17:56:02 +02:00
Vincent Petry
d7727cdc74
Add admin-only system tag groups property
For setting/getting system tag groups
2016-05-20 17:56:02 +02:00
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.
2016-05-20 17:56:02 +02:00
Vincent Petry
03d32bc39b
Fix system tags DAV unit tests 2016-05-20 17:56:02 +02:00
Vincent Petry
bede872dbc
Bring back admin permissions to change system tag permissions 2016-05-20 17:56:02 +02:00
Vincent Petry
b5eb3d9e5a
Add system tag assignability check with groups
Whenever a user is not an admin, a tag is visible but not
user-assignable, check whether the user is a member of the allowed
groups.
2016-05-20 17:56:02 +02:00
Vincent Petry
3cd65fe25d
Add systemtag_group table and get/set methods
Added systemtag to group mapping table.
Added methods in ISystemTagManager to get/set the group mappings.
2016-05-20 17:56:02 +02:00
Vincent Petry
09b3883d9c
Updated canUser* functions in SystemTagManager to accept objects 2016-05-20 17:56:02 +02:00
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.
2016-05-20 17:56:02 +02:00
Vincent Petry
59a85a4c76 Merge pull request #22576 from owncloud/folder_scroll_fix
Add scrolling when dragging files. Fixes #12329
2016-05-20 16:19:01 +02:00
Joas Schilling
94ad54ec9b Move tests/ to PSR-4 (#24731)
* Move a-b to PSR-4

* Move c-d to PSR-4

* Move e+g to PSR-4

* Move h-l to PSR-4

* Move m-r to PSR-4

* Move s-u to PSR-4

* Move files/ to PSR-4

* Move remaining tests to PSR-4

* Remove Test\ from old autoloader
2016-05-20 15:38:20 +02:00
Vincent Petry
2ef751b1ec Merge pull request #24702 from owncloud/background-scan-occ
add --unscanned option to files:scan to triger a background scan
2016-05-20 09:29:37 +02:00
Vincent Petry
b495895017 Merge pull request #24728 from owncloud/no-more-test_-files
Fix autoloader for Test* files
2016-05-20 09:29:01 +02:00
Jenkins for ownCloud
67162e636e [tx-robot] updated from transifex 2016-05-20 01:54:52 -04:00
Vincent Petry
4728308a9e Merge pull request #24585 from owncloud/files_external_lazy
Load external storage backends/auth mechanisms lazily
2016-05-19 18:08:17 +02:00
Vincent Petry
65eae43ab1 Merge pull request #24721 from owncloud/public_psr4
Move \OCP to PSR-4
2016-05-19 15:53:03 +02:00
Joas Schilling
54250ed065
Add PSR-4 loading for Test\ and Tests\ 2016-05-19 15:49:27 +02:00
Joas Schilling
f8180391fd
Create a Fallback in the old autoloader for PSR-4 Test\TestCase 2016-05-19 15:45:34 +02:00
Joas Schilling
ffa4633822
No more Test_* files exist, remove autoloading 2016-05-19 15:38:16 +02:00
Vincent Petry
f42cdec4c4 Merge pull request #24725 from owncloud/ocs-provider-psr4
Move OCS Provider to PSR-4 namespace
2016-05-19 15:36:19 +02:00
Vincent Petry
0bbf825f6e Merge pull request #24722 from owncloud/notification_psr4
Move \OCP\Notification to PSR-4
2016-05-19 15:35:45 +02:00
Vincent Petry
7d2bc47f81 Merge pull request #24724 from owncloud/mail_psr4
Move \OCP\Mail to PSR-4
2016-05-19 15:35:09 +02:00
Vincent Petry
5ba0554974 Merge pull request #24723 from owncloud/migration_psr4
Move \OCP\Migration to PSR-4
2016-05-19 15:34:22 +02:00
Vincent Petry
a4ce528bca Merge pull request #24720 from owncloud/systemtag_psr4
Move \OCP\SystemTag to PSR-4
2016-05-19 15:33:59 +02:00
Vincent Petry
8425133c7d Merge pull request #24719 from owncloud/security_psr4
Move \OCP\Security to PSR-4
2016-05-19 15:33:05 +02:00
Vincent Petry
3b3940df6b Merge pull request #24660 from owncloud/no-token-login-for-disabled-users
don't allow token login for disabled users
2016-05-19 15:32:09 +02:00
Vincent Petry
61b3260ebd Merge pull request #24716 from owncloud/fix-test-namespaces-2
Fix test namespaces [files-]
2016-05-19 15:31:43 +02:00
Robin Appelman
f313105dbd add "unscanned" option to files:scan to triger a background scan 2016-05-19 14:19:09 +02:00
Joas Schilling
20f229eed9
Move OCS Provider to PSR-4 namespace 2016-05-19 11:10:32 +02:00
Joas Schilling
bae4118b4f
Fix renamed class 2016-05-19 10:33:12 +02:00
Vincent Petry
6ace14b6ad Merge pull request #24718 from owncloud/route_psr4
Move \OCP\Route to PSR-4
2016-05-19 10:30:32 +02:00
Vincent Petry
78732aaf0c Merge pull request #24717 from owncloud/preview_psr4
Move \OCP\Preview to PSR-4
2016-05-19 10:30:21 +02:00
Vincent Petry
e36a27d21c Merge pull request #24712 from owncloud/fix-test-namespaces
Fix test namespaces [a-e]
2016-05-19 10:30:07 +02:00
Vincent Petry
ae7e14b223 Merge pull request #24710 from owncloud/lock_psr4
Move \OCP\Lock to PSR-4
2016-05-19 10:28:49 +02:00
Vincent Petry
e1a9a26bf5 Merge pull request #24686 from owncloud/query-user-authtokens
add method to query all user auth tokens
2016-05-19 10:28:00 +02:00
Joas Schilling
320b1c3abf
Fix more failures 2016-05-19 10:11:42 +02:00
Roeland Jago Douma
893204ef4a
Fix broken exception naming 2016-05-19 10:05:53 +02:00
Roeland Jago Douma
11cd6e3c1b
Fix mention bot 2016-05-19 09:51:20 +02:00
Joas Schilling
f24179a327
Fix deprecated private method 2016-05-19 09:44:53 +02:00
Roeland Jago Douma
d666725fa7
Move \OCP to PSR-4 2016-05-19 09:43:33 +02:00
Joas Schilling
e88a9b2fed
Fix missing backtick before OC 2016-05-19 09:41:45 +02:00
Joas Schilling
e823d50044
Fix "Class 'Test\Security\DateTime' not found" 2016-05-19 09:40:34 +02:00
Joas Schilling
9a4253ef7c
Fix lib/ 2016-05-19 09:38:52 +02:00
Joas Schilling
55fc6536d3
FIx lib/ a-d 2016-05-19 09:27:21 +02:00
Joas Schilling
7f3f16d155
Fix namespace in user/ 2016-05-19 09:19:03 +02:00
Joas Schilling
a107e7de7b
Fix namespace in share/ 2016-05-19 09:15:10 +02:00
Joas Schilling
68481c10e6
Fix namespaces in security/ 2016-05-19 09:02:58 +02:00
Joas Schilling
a9f24a74a2
Fix namespace in repair/ 2016-05-19 08:59:37 +02:00
Joas Schilling
d19d6533dd
Fix public/ namespace in tests 2016-05-19 08:56:47 +02:00
Joas Schilling
859d2bc0ff
Fix namespace of memcache/ and ocs/ 2016-05-19 08:53:06 +02:00