Commit graph

399 commits

Author SHA1 Message Date
brantje
218d27fcbc
Merge branch 'sharing_no_groups' of github.com:nextcloud/passman into sharing_no_groups 2016-10-06 12:38:18 +02:00
Marcos Zuriaga
58e2ff7aa4
Fix misplaced ')' 2016-10-06 12:34:29 +02:00
brantje
0a17ddf8f4
Merge branch 'sharing_no_groups' of github.com:nextcloud/passman into sharing_no_groups 2016-10-06 12:01:48 +02:00
brantje
1a924e4d2f
Move show spinner 2016-10-06 12:01:44 +02:00
Marcos Zuriaga
ecc85d1297
Added method for asynchronous credential update
(needs testing, it's too late at the time i do this commit to try it)
2016-10-06 03:00:19 +02:00
brantje
2551ba4483
Fix missing acl check 2016-10-05 23:26:31 +02:00
brantje
0069844147
Change the way the credentials are loaded, load credentials every 5 min, Decline share request works 2016-10-05 23:06:29 +02:00
brantje
53c55d5fd6
Fix some bugs 2016-10-05 22:34:34 +02:00
brantje
130e296b1e
Fix unsharing 2016-10-05 20:08:47 +02:00
brantje
1c55e6dfa9
Fix unsharing 2016-10-05 20:07:13 +02:00
brantje
7d3d67c896
Fix for api change 2016-10-05 19:56:46 +02:00
brantje
241872ee79
Fix for downloading non-shared files 2016-10-05 19:42:52 +02:00
brantje
c08243fbdf
Fix for non-shared credentials history 2016-10-05 19:41:47 +02:00
brantje
cc6cc0251d
Fix for revisions 2016-10-05 19:33:07 +02:00
brantje
01d07314ff
Fix for non shared credentials 2016-10-05 19:32:37 +02:00
brantje
4ecbcd9efa
Fix editing shared credentials 2016-10-05 19:27:24 +02:00
brantje
0d08902429
Remove console.log 2016-10-05 19:03:48 +02:00
brantje
836946e164
Restore revisions works 2016-10-05 19:02:27 +02:00
brantje
4ef465b7d0
Use guid 2016-10-05 18:55:12 +02:00
brantje
94c418bd5c
Fix error 500 2016-10-05 18:52:14 +02:00
brantje
8fa83f42f2
Remove console.log 2016-10-05 18:40:08 +02:00
brantje
af827ec0df
Shared revisions at Alice works 2016-10-05 18:39:00 +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
brantje
292fdef6ab
Add todo 2016-10-05 17:04:25 +02:00
brantje
ed04310c42
Remove console.log 2016-10-05 17:03:38 +02:00
brantje
e6aef00193
Downloading shared files works 2016-10-05 16:58:19 +02:00
brantje
e1404ed202
Little fixes in revision controller 2016-10-05 14:46:18 +02:00
brantje
6a38da7698
Add method to service 2016-10-05 14:36:02 +02:00
brantje
c62a0a8d7c
Small start of re encrypting files on share 2016-10-05 14:21:46 +02:00
brantje
35d6d3777c
Add activity support for sharing 2016-10-05 13:46:25 +02:00
brantje
4bc90d904e
Setting permission on share requests works 2016-10-05 12:48:59 +02:00
brantje
1a5a8604a4
Remove some console.log 2016-10-04 19:09:19 +02:00
brantje
d379abab18
acl -> acl_id 2016-10-04 19:04:15 +02:00
brantje
53821e83b8
Fixing stuff 2016-10-04 18:47:20 +02:00
Marcos Zuriaga
7d8a132463
Added upload progress bar on the sharing view 2016-10-04 18:42:21 +02:00
Marcos Zuriaga
0d8ad5b8f7
Tidy up code and make it more maintainable 2016-10-04 18:29:02 +02:00
brantje
86637c51f6
Fix for creating shares 2016-10-04 18:19:58 +02:00
brantje
713013caa7
Catch some errors 2016-10-04 18:15:40 +02:00
Marcos Zuriaga
db819771d8
Fix issue with users on the async shared key rsa encyrption 2016-10-04 17:24:19 +02:00
brantje
d333f76f37
Bug found 2016-10-04 16:42:58 +02:00
brantje
d058028c54
Fix updating shared credential 2016-10-04 16:20:55 +02:00
brantje
9a19e0c141
Frontend loads sharing acl 2016-10-04 15:14:31 +02:00
brantje
8c90599c34
Frontend loads sharing acl 2016-10-04 15:08:24 +02:00
brantje
6b0e208907
Get acl list on load 2016-10-04 14:50:49 +02:00
brantje
f363cb724e
Update route for incoming api change 2016-10-04 14:30:40 +02:00
brantje
bafb4a7f73
Update route for incoming api change 2016-10-04 14:25:28 +02:00
brantje
5c9aac9495
Expire shared items after a certain date 2016-10-04 14:15:34 +02:00
brantje
43d993ebf9
Add todo 2016-10-04 00:31:51 +02:00
brantje
294b9f7201
Link sharing works 2016-10-04 00:19:46 +02:00
brantje
6fe0ea1e97
Link sharing almost works 2016-10-03 23:53:11 +02:00
brantje
35d9432930
Update endpoint 2016-10-03 23:06:37 +02:00
brantje
306bdbda8b
Show message if an credential is expired 2016-10-03 23:00:46 +02:00
brantje
26b5778163
Change api route 2016-10-03 22:28:30 +02:00
brantje
1a1cf3e1bc
Show editor name at revision 2016-10-03 22:06:55 +02:00
brantje
a8297b0aed
Add console.logs 2016-10-03 21:53:45 +02:00
brantje
d47f546650
Add console.logs 2016-10-03 21:52:36 +02:00
brantje
653fd9bace
Delete prop 2016-10-03 21:42:16 +02:00
brantje
a14bcaf2ae
Rename file 2016-10-03 20:41:30 +02:00
brantje
ba6d089a9c
Bob can almost edit alices credential 2016-10-03 20:33:32 +02:00
brantje
7cf807de5f
Fix posting permissions 2016-10-03 19:31:59 +02:00
brantje
d572aca165
Add permission to link sharing 2016-10-03 19:19:28 +02:00
Marcos Zuriaga
f91b78a33b
Created toggle method on permissions 2016-10-03 19:06:25 +02:00
Marcos Zuriaga
5cfd481e63
Fix bitwise not 2016-10-03 18:55:34 +02:00
brantje
0d37b69d3b
Push baby, added setPermission 2016-10-03 18:44:49 +02:00
Marcos Zuriaga
f42d1e3c85
Fixed js permissions check
Improved default permissions checks
2016-10-03 18:31:20 +02:00
brantje
0a9c097910
Add hasPermission 2016-10-03 18:14:18 +02:00
Marcos Zuriaga
23daf3a3ae
Changed definition of acl slighly 2016-10-03 18:02:49 +02:00
brantje
9b826df3e8
Add console.log to test SharingACL 2016-10-03 17:56:28 +02:00
brantje
a10c567b1f
Format file 2016-10-03 17:53:49 +02:00
brantje
3355db8d89
Unshare credentials 2016-10-03 17:23:03 +02:00
brantje
48b621a378
Check if field exists with hasOwnProperty 2016-10-03 16:05:07 +02:00
Marcos Zuriaga
7b16bf8863
Dirty fix for new permission decryption 2016-10-03 16:01:50 +02:00
brantje
68eac74ddb
Decrypting shared credential works 2016-10-03 15:52:11 +02:00
brantje
ab7b2f7a4d
Revert "Unshare item. Reading shared credential broke?"
This reverts commit 86d9910f74.
2016-10-03 15:47:00 +02:00
brantje
167ffd4644
Merge branch 'sharing_no_groups' of github.com:nextcloud/passman into sharing_no_groups 2016-10-03 15:42:36 +02:00
brantje
86d9910f74
Unshare item. Reading shared credential broke? 2016-10-03 15:40:46 +02:00
Marcos Zuriaga
68cf16c10b
Add new permissions 2016-10-03 14:56:05 +02:00
Marcos Zuriaga
bd838e9e46
Added SharingACL factory
Added license reference on some files
2016-10-03 14:45:38 +02:00
Marcos Zuriaga
e38885ed41
Merge branch 'sharing_no_groups' of github.com:nextcloud/passman into sharing_no_groups 2016-10-03 14:00:07 +02:00
Marcos Zuriaga
0516fdbce4
Fix ui permissions 2016-10-03 13:58:53 +02:00
brantje
8795c1b0bf
Update access level 2016-10-03 13:58:48 +02:00
brantje
f44bef765f
Show share link 2016-10-03 12:55:18 +02:00
brantje
8ba647a000
Pimp my public share page 2016-10-03 11:42:19 +02:00
brantje
0d87b9f38f
Remove spammy console.log 2016-10-02 22:10:11 +02:00
brantje
79d0bc76a3
Fix add multiple users to shared credential 2016-10-02 22:09:45 +02:00
brantje
111443cd81
Implement acl at showing item 2016-10-02 21:47:57 +02:00
brantje
a09b0d8250
Fix shared credential tags 2016-10-02 21:43:53 +02:00
brantje
6655c8902e
Display of shared items work! 2016-10-02 21:34:05 +02:00
brantje
7d75266dc5
Load shared credentials after complete vault decryption 2016-10-02 21:21:32 +02:00
brantje
497198371e
Dislay of shared item (if user owns it) works 2016-10-02 21:17:17 +02:00
Marcos Zuriaga
d6c85bffcc
Apply save shared item with the shared key
Bugfixes
2016-10-02 20:18:51 +02:00
brantje
206854a853
Try to decrypt shared credential 2016-10-02 19:43:54 +02:00
brantje
8c496d4804
Get shared items by vault id 2016-10-02 19:14:30 +02:00
brantje
a99e6914b3
Add getSharedVaultItems 2016-10-02 19:09:50 +02:00
brantje
211db43a12
Close dialog when there are no more sharing requests 2016-10-02 18:36:36 +02:00
brantje
93fee014b4
Remove share request when accepted 2016-10-02 18:30:53 +02:00
Marcos Zuriaga
29fc96eb6d
Made shared credential accept work 2016-10-02 18:06:53 +02:00
Marcos Zuriaga
6698e5f29b
Merge branch 'sharing_no_groups' of github.com:nextcloud/passman into sharing_no_groups 2016-10-02 17:37:06 +02:00
Marcos Zuriaga
5fa439ee4d
Sharing API progress 2016-10-02 17:32:22 +02:00
brantje
8e74ab471a
Active vault fixes 2016-10-02 17:26:38 +02:00
Marcos Zuriaga
38e1533b5e
Progress on the share accept 2016-10-02 17:15:50 +02:00
brantje
b56bda459a
Add acceptShareRequest 2016-10-02 16:59:15 +02:00
brantje
ca408ef0a3
Show dialog with incoming share requests 2016-10-02 16:10:04 +02:00
brantje
200a18a0e8
Begin to implement accept shared credential 2016-10-02 15:39:52 +02:00
Marcos Zuriaga
ea997a1ce0
Added angularjs ShareService api methods
Fixed route method
2016-10-02 14:26:22 +02:00
brantje
6c5df04774
Add link sharing settings 2016-10-02 13:35:49 +02:00
brantje
7f1783294f
Encrypt credential with shared key 2016-10-02 13:02:00 +02:00
brantje
aff63a5f77
Fix encrypting shared credentials 2016-10-02 13:00:52 +02:00
brantje
b5d7ed9418
Add encryptSharedCredential and decryptSharedCredential 2016-10-02 12:35:27 +02:00
brantje
3dc278b866
Small fix 2016-10-02 12:11:37 +02:00
brantje
4d2518d47d
Case insensitive search 2016-10-02 11:59:43 +02:00
Marcos Zuriaga
42b73148e6
Sharing action api
Some db changes for sharing
Sharing route added
Other minor changes
2016-10-02 01:56:36 +02:00
Marcos Zuriaga
54e4b9435f Merge branch 'master' into sharing_no_groups 2016-10-01 20:18:14 +02:00
Marcos Zuriaga
973746389d Sharing settings improvements
More sharing logic benchmarking and tests
2016-10-01 19:04:05 +02:00
brantje
c907bb540d
Merge branch 'bookmarklet' 2016-10-01 17:31:16 +02:00
brantje
6411351068
Add bookmarklet 2016-10-01 17:21:24 +02:00
Marcos Zuriaga
38299973d0
Removed group sharing logics
Added user sharing crypto times to the UI
2016-10-01 15:18:22 +02:00
Marcos Zuriaga
739098ce39
More sharing logic 2016-10-01 01:20:41 +02:00
brantje
8b26873159
Add warning for http connections 2016-09-30 22:31:46 +02:00
brantje
089b0e13d7
Replace all scope.apply with digest 2016-09-30 21:51:38 +02:00
brantje
4a074958f5
Implement new updated progressbar to templates 2016-09-30 21:47:46 +02:00
brantje
89c4644ff3
Make sharing page more pretty 2016-09-30 21:43:55 +02:00
Marcos Zuriaga
cbd10de133 Merge branch 'master' of github.com:nextcloud/passman 2016-09-30 21:27:28 +02:00
Marcos Zuriaga
d682df4806 Progressbar on share action for cypher
TODO: add a progressbar of the upload and the actual upload
2016-09-30 21:26:55 +02:00
brantje
4f1dd1da88
Clean up 2016-09-30 21:17:34 +02:00
brantje
ae49c9e149
Implement renaming vault 2016-09-30 21:15:28 +02:00
brantje
9dd4a86ec4
Remove temp var 2016-09-30 20:46:06 +02:00
brantje
0ff6065f4b
Implement a challenge password 2016-09-30 20:43:20 +02:00
Marcos Zuriaga
288e6f19c0 Fixes undefined bug 2016-09-30 20:06:31 +02:00
Marcos Zuriaga
10b1762c72 Debug changes 2016-09-30 19:47:22 +02:00
brantje
484a88b7ac
Fix loading password preferences at password creation 2016-09-30 18:48:25 +02:00
brantje
04b0261cd3
Merge branch 'master' of github.com:nextcloud/passman 2016-09-30 17:44:37 +02:00
brantje
05e20cceb0
Small bugfixes 2016-09-30 17:44:21 +02:00
Marcos Zuriaga
1bcaef4405 Merge branch 'master' of github.com:nextcloud/passman 2016-09-29 01:13:08 +02:00
Marcos Zuriaga
dac5c17360 Some more sharing logic 2016-09-29 01:12:39 +02:00
brantje
101f137db5
Merge branch 'vaultSettings' 2016-09-28 23:40:53 +02:00
brantje
2af885265e
Fix bugs 2016-09-28 23:40:33 +02:00
Sander
b317fe4359 Merge pull request #37 from nextcloud/vaultSettings
Vault implement settings
2016-09-28 23:24:14 +02:00
brantje
fc99d93f86
Finish up vault settings 2016-09-28 23:23:24 +02:00
Marcos Zuriaga
e4032f6a95 Store vault data on the user once we have it
Useful for further sharing process and progress calculation
2016-09-28 22:16:15 +02:00
brantje
3394d78d36
Save work 2016-09-28 22:15:03 +02:00
brantje
8920a36ea7
Save work 2016-09-28 22:05:09 +02:00
Marcos Zuriaga
b45d5b3634 Sharing RSA cypher async 2016-09-28 21:56:54 +02:00
brantje
ab07f2b9bd
Use patch 2016-09-28 21:21:58 +02:00
brantje
9df4e53856
Add tags_raw 2016-09-28 21:05:29 +02:00
brantje
4463fa7d3c
Update files to reflect the api change 2016-09-28 20:28:34 +02:00
brantje
f7ea3b9965
Rename Password tool to Password Audit 2016-09-28 19:51:36 +02:00
brantje
088d32d1f2 Remove credential cache 2016-09-28 18:15:47 +02:00
brantje
2eb46ed9d7 Update use theme to create a font color 2016-09-28 00:46:51 +02:00
brantje
389fd23b66 Add grid view 2016-09-28 00:14:32 +02:00
brantje
5398d2ba74 Generate password with passwordgen if scope.password is empty 2016-09-27 22:48:11 +02:00
brantje
e0cbf27f3d One too much 2016-09-27 22:06:05 +02:00
brantje
67b8dbe511 Force logout if localstorage password is wrong *rework* 2016-09-27 22:05:09 +02:00
brantje
79052e4d70 Force logout if localstorage password is wrong 2016-09-27 22:02:04 +02:00
brantje
65f2768411 Might fix the loop 2016-09-27 21:23:43 +02:00
brantje
f589282db0 Add throw 2016-09-27 21:12:12 +02:00
brantje
f0a9a28984 Revert "Just use the first credential to check if vault pass is ok"
This reverts commit faf54d4e39.
2016-09-27 21:10:04 +02:00
brantje
b322db5351 Merge branch 'master' of github.com:nextcloud/passman 2016-09-26 22:36:45 +02:00
Marcos Zuriaga
2b8964f484 Merge branch 'master' of github.com:nextcloud/passman 2016-09-26 22:36:15 +02:00
Marcos Zuriaga
ad3dcb4b26 Sharing logic beggins 2016-09-26 22:36:05 +02:00
brantje
faf54d4e39 Just use the first credential to check if vault pass is ok 2016-09-26 22:07:43 +02:00
brantje
156f935498 Update tag filter 2016-09-26 21:46:41 +02:00
brantje
5b2c0245a7 Add scope.apply 2016-09-26 20:56:41 +02:00
Marcos Zuriaga
df1b58350e Share beggins 2016-09-26 20:49:30 +02:00
brantje
22b2cc1841 Get user vaults, returns id, guid, public key 2016-09-26 20:36:51 +02:00
brantje
096d97e7a9 Small bug fixes 2016-09-26 20:12:14 +02:00
brantje
e789ad4926 Show spinner during vault decryption 2016-09-26 19:15:39 +02:00
brantje
d3cccd1f1a Set progress when done reading file 2016-09-26 18:31:30 +02:00
brantje
0a39cdc582 Importers now have to return a object 2016-09-26 18:17:42 +02:00
Marcos Zuriaga
8db3f31367 Changes on promises
keepass importer ready and using promises
2016-09-26 17:05:47 +02:00
Marcos Zuriaga
349043c2c3 Rename var so sander likes it 2016-09-26 14:29:36 +02:00
Marcos Zuriaga
3230d1e952 Merge branch 'master' into usePromises 2016-09-26 14:27:46 +02:00
Marcos Zuriaga
966efcf4a5 Added promise class
Refactored crypto services to use promises
Fixed issues with the sharing settings page
2016-09-26 14:23:31 +02:00
brantje
39375acbb8 Add select on click 2016-09-26 10:37:43 +02:00
brantje
07cc22817a Add random data importer, change return to callbacks 2016-09-26 00:27:02 +02:00
brantje
92cabbb243 Remove unneeded string 2016-09-25 22:34:05 +02:00
brantje
0201f049fb Create sharing keys on vault creation 2016-09-25 22:29:27 +02:00
brantje
b1728da8e2 Add function to get sharing keys 2016-09-25 22:02:58 +02:00
brantje
d54fc74321 Encrypt sharing keys 2016-09-25 21:33:04 +02:00
brantje
135090bb8d Fix 2016-09-25 21:25:37 +02:00
Marcos Zuriaga
dd0518a2ff Code cleanup 2016-09-25 21:01:53 +02:00
Marcos Zuriaga
be48cd77b8 Asynchronous key generation and status indication 2016-09-25 21:01:53 +02:00
Marcos Zuriaga
e60ed02621 Merge branch 'master' of github.com:nextcloud/passman 2016-09-25 18:48:31 +02:00
Marcos Zuriaga
910005893d RSA generation in a non-blocking way 2016-09-25 18:42:41 +02:00
brantje
2d19e38e8a Save sharing keys to db 2016-09-25 18:34:33 +02:00
brantje
fd80367808 fix default settings tab 2016-09-25 18:21:28 +02:00
brantje
5823b34dcf Small fixes to menu 2016-09-25 18:19:55 +02:00
Marcos Zuriaga
d4088e8fbe Merge branch 'master' of github.com:nextcloud/passman 2016-09-25 17:47:29 +02:00
Marcos Zuriaga
19bcdd91c0 Sharing RSA key generation and settings page
Included Forge lib
2016-09-25 17:46:55 +02:00
brantje
52072e23ce Added small caching system, encrypted with vault key 2016-09-25 17:36:03 +02:00
brantje
0714bddb3b Fix active vault bug in settings 2016-09-25 17:19:05 +02:00
brantje
c132ab6c6c Fix tag fck up 2016-09-25 17:15:59 +02:00
brantje
903338d672 Search through all Credential properties 2016-09-25 17:13:48 +02:00
brantje
dc29e65883 Initial filter rework 2016-09-25 16:32:19 +02:00
brantje
a991302777 Working passman import 2016-09-25 16:18:18 +02:00
brantje
b916ce4290 Add Dashlane 4 csv importer 2016-09-25 11:21:04 +02:00
brantje
9f5f00c91c Add reading keepass csv 2016-09-25 00:01:23 +02:00
brantje
c1a2e959ef Add passman version to settings 2016-09-24 20:47:47 +02:00
brantje
83cdb0c953 Add empty controllers for import / export 2016-09-24 20:26:04 +02:00