Commit graph

76 commits

Author SHA1 Message Date
brantje
d509bbd160
Fix cors headers 2017-01-19 13:39:01 +01:00
brantje
331eda72ff
Clean up when a credential is deleted 2017-01-11 21:25:18 +01:00
brantje
734496ebcc
Implement encryption class 2017-01-11 18:09:49 +01:00
brantje
a224ce4af9
Implement middleware for sharing
Check if sharing is enabled, if not return an empty array.
Signed-off-by: brantje <brantje@gmail.com>
2016-12-30 15:47:38 +01:00
brantje
7bb1839184
Refactor settings, create SettingsService
Fix settings not working in ownCloud
Signed-off-by: brantje <brantje@gmail.com>
2016-12-30 13:37:40 +01:00
brantje
9ab74be344
Check if shared_key exists
Remove value set by php

Replace DoesNotExistException with Exeption
2016-12-29 12:29:48 +01:00
brantje
858195834d
Add settings page, non functional
Implement disable context menu

Implemement disable http warning

Implement vault key strength setting

Implement share settings

Implement version check setting
2016-12-28 21:34:59 +01:00
brantje
d589bbda61
Make api endpoints available to extensions 2016-12-23 13:46:43 +01:00
brantje
0d7cf6e055
Download files from link shared credential
Add missing ;
2016-10-12 19:07:46 +02:00
brantje
82314fadc3
getFile should be public accessible.
This because public shared credentials can contain files.
2016-10-12 18:56:31 +02:00
brantje
d0fa4bd27c
Removed required instance of IUser
This because when using link sharing $UserId is not an instance
of IUser.
2016-10-12 18:24:25 +02:00
brantje
bbcee22431
Fix travis errors in share controller 2016-10-07 23:57:42 +02:00
brantje
9586a23c21
Small error 500 fix 2016-10-07 15:52:09 +02:00
brantje
e7bf4f8533
Delete users from share list 2016-10-07 13:41:08 +02:00
brantje
5ff5414f2c
Fix merge conflict 2016-10-05 18:27:56 +02:00
brantje
a77ae301f5
Stared to work on revisions 2016-10-05 18:24:36 +02:00
Marcos Zuriaga
d0fbc485d0
Improved pending request permissions update
PHP doc improvements and additions
Changes on the utility class
2016-10-05 18:24:22 +02:00
brantje
e6aef00193
Downloading shared files works 2016-10-05 16:58:19 +02:00
brantje
35d6d3777c
Add activity support for sharing 2016-10-05 13:46:25 +02:00
brantje
13197c583c
Format file 2016-10-05 12:49:43 +02:00
brantje
995348e36b
Format file 2016-10-05 12:49:32 +02:00
brantje
4bc90d904e
Setting permission on share requests works 2016-10-05 12:48:59 +02:00
brantje
eb915e065e
Dont create new requests for a credential, when target user has pending requests for that credential 2016-10-05 12:11:43 +02:00
Marcos Zuriaga
2259f002be
Added pending requests to the acl api 2016-10-04 19:59:55 +02:00
brantje
713013caa7
Catch some errors 2016-10-04 18:15:40 +02:00
brantje
d058028c54
Fix updating shared credential 2016-10-04 16:20:55 +02:00
Marcos Zuriaga
9ce540f057
Fix user code completion on sharecontroller 2016-10-04 15:00:24 +02:00
brantje
99c7f4d4c2
Fix get acl 2016-10-04 14:55:50 +02:00
Marcos Zuriaga
f26416233d
Return 404 on most sharing api calls if the data is not found instead of errors 2016-10-04 14:51:13 +02:00
Marcos Zuriaga
bca3cefd0c
Api endpoint logic to gather the ACL of a credential 2016-10-04 14:40:48 +02:00
brantje
5c9aac9495
Expire shared items after a certain date 2016-10-04 14:15:34 +02:00
brantje
dbbe383bf9
Expire link shared credential after x views 2016-10-04 13:11:37 +02:00
brantje
04a89a3ea3
Add todo 2016-10-04 00:36:40 +02:00
brantje
294b9f7201
Link sharing works 2016-10-04 00:19:46 +02:00
Marcos Zuriaga
58f40da69b
Fix missing method 2016-10-03 23:53:46 +02:00
Marcos Zuriaga
d944901cca
Added right line 2016-10-03 23:43:38 +02:00
Marcos Zuriaga
c31a790bb3
Removed wrong line 2016-10-03 23:42:46 +02:00
brantje
dafa79bf8c
Add missing param 2016-10-03 23:33:32 +02:00
Marcos Zuriaga
fe856414fa
Changes on api 2016-10-03 23:05:18 +02:00
Marcos Zuriaga
eada39c2bd
Sharing public link creation API endpoint 2016-10-03 22:55:33 +02:00
Marcos Zuriaga
eadcdcabb0
Api endpoint to get the public link credentials 2016-10-03 22:43:36 +02:00
Marcos Zuriaga
b4ed5e9c76
Added api endpoint to get revisions of shared items 2016-10-03 17:20:57 +02:00
brantje
28aa97bc57
Add backend for deleting share requests 2016-10-03 15:50:10 +02:00
brantje
ab7b2f7a4d
Revert "Unshare item. Reading shared credential broke?"
This reverts commit 86d9910f74.
2016-10-03 15:47:00 +02:00
brantje
86d9910f74
Unshare item. Reading shared credential broke? 2016-10-03 15:40:46 +02:00
brantje
042bf4b26d
Fix same user check in search users 2016-10-02 22:11:26 +02:00
brantje
2baae50691
Get shared items working 2016-10-02 19:29:06 +02:00
brantje
a4c1185fe8
Fix select statements 2016-10-02 19:18:40 +02:00
Marcos Zuriaga
7252aa7f4a
Api endpoint to get items shared with a vault 2016-10-02 19:04:19 +02:00
brantje
5395566053
Send a notification on accept share request 2016-10-02 18:47:02 +02:00