Commit graph

88 commits

Author SHA1 Message Date
brantje 0cf6deeb65
Add missing phpdoc 2016-10-23 12:14:43 +02:00
brantje f1bab7dd68
Add license header to files 2016-10-19 17:45:50 +02:00
Marcos 75f541e2c9 Merge branch 'master' into phpunit 2016-10-16 19:07:20 +02:00
brantje bb554a8407
Remove deprecated cron 2016-10-16 13:21:27 +02:00
brantje 306c267b1b
Fix test and typo 2016-10-15 22:18:44 +02:00
Marcos Zuriaga 52c072631d
Added unit tests agains sharerequest mapper
Added some helper functions on the database helper test
Renamed method so it's less confusing
2016-10-14 22:39:06 +02:00
brantje 1a74def8dc
Remove unused code 2016-10-12 20:16:37 +02:00
brantje 6dc3ddf63f
Revert "Scrutinizer Auto-Fixes"
This reverts commit 33ef75ac2f.
2016-10-08 13:45:34 +02:00
Scrutinizer Auto-Fixer 33ef75ac2f Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-10-07 23:01:16 +00:00
brantje 724a3b33ff
Fix travis errors in ShareService 2016-10-08 00:05:43 +02:00
brantje 80289b1a71
Fix travis errors in CronService 2016-10-08 00:05:08 +02:00
brantje ea8ee93efd
Fix travis errors in CredentialService 2016-10-08 00:04:36 +02:00
brantje c94df47a9f
Vault use guids 2016-10-07 12:58:41 +02:00
brantje 8e80bb529a
Credentials use guids 2016-10-07 12:45:11 +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 f80263dff0
Add route to update revisions 2016-10-05 14:30:28 +02:00
brantje b01afb4f3d
Add route for updating file 2016-10-05 14:09:15 +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 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
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 23a02c84d9
Add todo 2016-10-04 00:35:30 +02:00
brantje 42c3e1dee0
Add todo 2016-10-04 00:34:16 +02:00
Marcos Zuriaga 62b54aee8e
Behave as if no item was found if public user has no read permission 2016-10-04 00:21:27 +02:00
Marcos Zuriaga 1ba859269f
Add missing data to the public api response 2016-10-04 00:14:20 +02:00
Marcos Zuriaga 4ded0d8e0b
Don't return an array on public api 2016-10-04 00:13:38 +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
brantje de27612a58
Updating almost works 2016-10-03 21:36:39 +02:00
Marcos Zuriaga 8a218344c5
Permissions check on credential update api 2016-10-03 21:18:28 +02:00
Marcos Zuriaga 0b2dff77eb
Started woking on some credential changes 2016-10-03 20:38:40 +02:00
Marcos Zuriaga fca2d01de0
Added documentation 2016-10-03 17:38:57 +02:00
Marcos Zuriaga b4ed5e9c76
Added api endpoint to get revisions of shared items 2016-10-03 17:20:57 +02:00
brantje b8028dd640
Fix merge conflict 2016-10-03 15:54:15 +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
Marcos Zuriaga 4844aa1ce0
Remove files field from sharing response if user does not have permission to see files 2016-10-03 15:01:30 +02:00
Marcos Zuriaga 0516fdbce4
Fix ui permissions 2016-10-03 13:58:53 +02:00
Marcos Zuriaga 762b5e6af2
Added permission check just in case 2016-10-02 22:03:34 +02:00
Marcos Zuriaga dcebd9f849
Remove owner's shared key from the answer,
not needed and a possible data leak
2016-10-02 19:42:50 +02:00
brantje 2baae50691
Get shared items working 2016-10-02 19:29:06 +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
brantje a7eb15d2d8
On accept share mark notification as read 2016-10-02 18:42:43 +02:00