1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-30 13:03:53 +01:00
Commit Graph

403 Commits

Author SHA1 Message Date
Kyle Spearrin
fc1bcb34a0 null check 2018-09-27 08:32:48 -04:00
Kyle Spearrin
d1847690f2 purge org vault apis 2018-09-25 09:12:11 -04:00
Kyle Spearrin
d81273c44f passpack importer 2018-09-21 13:54:06 -04:00
Kyle Spearrin
d9808250c6 lowercase fields 2018-09-14 09:22:35 -04:00
Kyle Spearrin
2fadcb8d04 is safari check 2018-09-14 08:07:55 -04:00
Kyle Spearrin
7dc14a0d18 strip asterisk from subtitle of cards 2018-09-12 10:27:21 -04:00
Kyle Spearrin
cf795bc39c dont index asterisk on card last4 2018-09-12 10:22:46 -04:00
Kyle Spearrin
04f6b44d54 use regualar fetch for hibp apis 2018-09-11 15:54:18 -04:00
Kyle Spearrin
ffa7b35494 is old safari check on pbkdf2 2018-09-10 16:28:35 -04:00
Kyle Spearrin
e240085351 expose decrypt to bytes 2018-09-10 12:13:30 -04:00
Kyle Spearrin
3bc81ca450 clear org key cache when setting 2018-09-10 09:41:53 -04:00
Kyle Spearrin
2d612b07de no key safety check for orgs 2018-09-10 08:22:10 -04:00
Kyle Spearrin
773c51901f trim email also 2018-09-08 08:13:33 -04:00
Kyle Spearrin
eb48abbcf6 update lunr for leading wildcard searches 2018-09-03 21:51:19 -04:00
Kyle Spearrin
26625a58d0 spread out reconnects between 2 and 5 min 2018-08-31 23:24:43 -04:00
Kyle Spearrin
852b4571b3 check last sync before revision date 2018-08-31 17:22:38 -04:00
Kyle Spearrin
82bf646a77 check enabled too 2018-08-29 13:44:55 -04:00
Kyle Spearrin
81c21418ec user canAccessPremium checks 2018-08-28 23:17:30 -04:00
Kyle Spearrin
a72843af3e ensure that message is for proper logged in user 2018-08-28 08:47:06 -04:00
Kyle Spearrin
45da8aa9eb support for logout notification 2018-08-28 08:38:19 -04:00
Kyle Spearrin
3c43265878 change to 700 perms 2018-08-27 22:59:50 -04:00
Kyle Spearrin
0f68f0507e use string mode 2018-08-27 22:54:51 -04:00
Kyle Spearrin
13e0cf0c47 rename all to PBKDF2_SHA256 2018-08-27 19:58:49 -04:00
Kyle Spearrin
ae54094fcd kdf apis 2018-08-27 19:55:05 -04:00
Kyle Spearrin
00562d083b remakeEncKey 2018-08-27 19:06:36 -04:00
Kyle Spearrin
1454aff46c enable key stretching on makeEncKey 2018-08-27 16:47:19 -04:00
Kyle Spearrin
c0fd5f71f8 always set inactive state first 2018-08-24 15:21:28 -04:00
Kyle Spearrin
bc198c60d1 message pack protocol for signalr 2018-08-23 21:43:40 -04:00
Kyle Spearrin
2dc77b6143 disable notifications server url with https://- 2018-08-23 09:25:39 -04:00
Kyle Spearrin
db1a632c65 sync on reconnect 2018-08-23 08:56:23 -04:00
Kyle Spearrin
a360cd8e61 refresh notification token if needed. authed and unlocked required 2018-08-22 21:46:34 -04:00
Kyle Spearrin
d37fa836da activity connect/disconnect events 2018-08-22 21:09:58 -04:00
Kyle Spearrin
74b31daf14 short arrow functions 2018-08-22 13:48:51 -04:00
Kyle Spearrin
ebf6aee542 try to reconnect when connection closed 2018-08-22 13:46:35 -04:00
Kyle Spearrin
a67ea2422f polyfill sha512 hmac on ie 2018-08-22 08:53:52 -04:00
Kyle Spearrin
46e35a9b84 delete cipher on sync if it 404s 2018-08-21 23:10:12 -04:00
Kyle Spearrin
953970498e update notification sync logic for collectionids 2018-08-21 09:25:16 -04:00
Kyle Spearrin
75d4db81f7 trailing wildcard search on split uris 2018-08-21 09:04:52 -04:00
Kyle Spearrin
9cfd693576 only sync on edit if they already have the item/folder 2018-08-21 08:20:43 -04:00
Kyle Spearrin
50666a761d refresh token and reconnect on org key change 2018-08-20 22:20:04 -04:00
Kyle Spearrin
21e0953589 null check notificationsService 2018-08-20 17:08:19 -04:00
Kyle Spearrin
7cae08a55b reinit notifications after setting urls 2018-08-20 17:00:39 -04:00
Kyle Spearrin
d0c51bacfd sync folders and ciphers. fix dates 2018-08-20 16:01:26 -04:00
Kyle Spearrin
ddee5908f1 notification service 2018-08-20 13:45:32 -04:00
Kyle Spearrin
b64757132f index login.uris_split 2018-08-20 08:41:12 -04:00
Kyle Spearrin
1f9fbe43d7 trim lunr query after > 2018-08-17 11:07:50 -04:00
Kyle Spearrin
bdbba8c493 switch to only trailing wildcard searches 2018-08-17 11:05:06 -04:00
Kyle Spearrin
9ba3c17626 allow ciphers to be passed into search service 2018-08-16 23:32:37 -04:00
Kyle Spearrin
f16fc58d70 allow original cipher to be passed during encrypt 2018-08-15 11:43:52 -04:00
Kyle Spearrin
d56c5ff4f1 just check statusCode 2018-08-15 09:01:00 -04:00
Kyle Spearrin
9f26f9f377 support for prelogin kdf info 2018-08-14 15:12:10 -04:00
Kyle Spearrin
8448b48cd7 dont sort search results 2018-08-13 16:03:24 -04:00
Kyle Spearrin
2efe788d96 joined fields and attachments indexing 2018-08-13 16:00:21 -04:00
Kyle Spearrin
bdb2efd770 searchCiphersBasic 2018-08-13 14:28:10 -04:00
Kyle Spearrin
364192b27a clear search index on lock 2018-08-13 14:09:10 -04:00
Kyle Spearrin
74c870683a sequentualize cipher service getAllDecrypted 2018-08-13 14:09:03 -04:00
Kyle Spearrin
d917651d9f search pending and is searchable 2018-08-13 11:52:55 -04:00
Kyle Spearrin
b724448081 search service implementation with lunr 2018-08-13 09:42:52 -04:00
Kyle Spearrin
3429b57db4 web vault and organizations support 2018-08-06 11:39:55 -04:00
Kyle Spearrin
8b26d90e74 import service adjustments 2018-08-06 10:37:57 -04:00
Brandon Davis
a5476f12aa feature/cli-18-import (#8)
* feature/cli-18-import

* updates to jslib
2018-08-06 09:37:56 -04:00
Kyle Spearrin
76c89f01ef new constant 2018-07-31 23:49:15 -04:00
Kyle Spearrin
a1112988c4 null key checks 2018-07-31 14:37:39 -04:00
Kyle Spearrin
ee13a562f9 check that period is positive value 2018-07-31 11:35:04 -04:00
Kyle Spearrin
41ab22a82f support for otpauth:// urls for totp codes 2018-07-31 11:25:50 -04:00
Kyle Spearrin
2045e7047a add support for md5 hash crypto function 2018-07-30 23:29:30 -04:00
Kyle Spearrin
cfa4664b31 null or empty on password changed checks 2018-07-30 16:40:16 -04:00
Kyle Spearrin
2fcc3c51b8 dont need to check storage for lock options on get 2018-07-27 21:52:09 -04:00
Kyle Spearrin
6a8d2c305e support for password revision date on logins 2018-07-27 17:48:18 -04:00
Kyle Spearrin
6d431f7832 keep last 5, not 4 2018-07-27 17:30:51 -04:00
Kyle Spearrin
dab9954887 send password history to server 2018-07-27 16:44:20 -04:00
Kyle Spearrin
61d2040518 sequentialize updates 2018-07-23 15:12:32 -04:00
Kyle Spearrin
003c730eb1 sequentialize updates 2018-07-23 14:42:37 -04:00
Kyle Spearrin
c7e8f1d13f Revert "make getAllDecrypted synchronous"
This reverts commit 51ee0b065a.
2018-07-23 14:24:27 -04:00
Fred Cox
04014a8e78 Add sequentialize to prevent parralel loading of cipher keys (#7)
* Add sequentialize to prevent parralel loading of cipher keys

Massively improves start up performance of extensions

* Add tests for sequentialize

* Fix sequentialize as it was caching calls for all instances together

* Add sequentialize to the functions that have internal caches

* Adding sequentialize to getOrgKeys makes big performance difference

* Update cipher.service.ts

* Update collection.service.ts

* Update folder.service.ts
2018-07-23 14:23:30 -04:00
Kyle Spearrin
cc8dd89b2b fix delete account endpoint 2018-07-20 13:01:48 -04:00
Kyle Spearrin
51ee0b065a make getAllDecrypted synchronous 2018-07-18 22:47:55 -04:00
Kyle Spearrin
e555536f24 add org 2fa apis 2018-07-18 17:07:59 -04:00
Kyle Spearrin
f4ed6a5566 regular fetch for password check 2018-07-18 15:09:13 -04:00
Kyle Spearrin
493770510f org update license api 2018-07-17 22:50:04 -04:00
Kyle Spearrin
f35ecf0cd8 update key api changes 2018-07-17 17:22:45 -04:00
Kyle Spearrin
1cb3447bdd org seat billing api 2018-07-17 12:05:19 -04:00
Kyle Spearrin
4228277d23 get org license apis 2018-07-17 11:25:15 -04:00
Kyle Spearrin
9c0b4b8973 org billing apis 2018-07-17 11:04:19 -04:00
Kyle Spearrin
6b4ae1b8d5 api adjustments and org additions 2018-07-16 17:16:15 -04:00
Kyle Spearrin
b2c700ad28 org delete apis 2018-07-16 12:41:54 -04:00
Kyle Spearrin
3649e2fffe org apis 2018-07-16 12:30:45 -04:00
Kyle Spearrin
51f041a959 recover delete apis 2018-07-13 15:55:02 -04:00
Kyle Spearrin
cc6f732a14 hasEncKey checks 2018-07-12 17:07:06 -04:00
Kyle Spearrin
67b2b53185 allow null name 2018-07-12 14:19:39 -04:00
Kyle Spearrin
24d608d365 verify email apis 2018-07-12 11:35:04 -04:00
Kyle Spearrin
d7f3f9425e user public key apis 2018-07-11 13:30:06 -04:00
Kyle Spearrin
c76cbf1274 org user apis 2018-07-10 13:03:24 -04:00
Kyle Spearrin
049e129f36 added delete entity user apis 2018-07-09 23:47:12 -04:00
Kyle Spearrin
89e71d7c16 fix org api paths 2018-07-09 16:27:03 -04:00
Kyle Spearrin
621a6d1524 adjust enum names for added browser types 2018-07-09 09:04:47 -04:00
Kyle Spearrin
8ac3450d9e fetch with proper no-cache 2018-07-07 23:48:58 -04:00
Kyle Spearrin
1b7ace0495 event apis 2018-07-06 23:06:38 -04:00
Kyle Spearrin
7b23b90054 org user apis, sort function utils 2018-07-06 15:00:55 -04:00
Kyle Spearrin
b9a15d7ced cast fix 2018-07-06 12:55:48 -04:00
Kyle Spearrin
2a526940fd apis for groups and collections 2018-07-06 12:40:43 -04:00
Kyle Spearrin
4ae4b667ff decrypt many collections service function 2018-07-06 12:40:36 -04:00
Kyle Spearrin
a600c4a539 org import and collection encrypt function 2018-07-05 23:38:27 -04:00
Kyle Spearrin
91081d9232 fix implicit any 2018-07-05 14:49:48 -04:00
Kyle Spearrin
87e273252b exporting organization data 2018-07-05 14:39:58 -04:00
Kyle Spearrin
47ab71e730 admin functions for cipher attachments 2018-07-05 10:48:19 -04:00
Kyle Spearrin
9b008ff382 admin cipher apis 2018-07-05 09:42:13 -04:00
Kyle Spearrin
278b4402da api for leaving organization 2018-07-04 09:54:14 -04:00
Kyle Spearrin
ff8c1dfea9 org vault listing from apis 2018-07-03 23:33:15 -04:00
Kyle Spearrin
af43232567 make keypair on login if missing 2018-07-03 12:06:01 -04:00
Kyle Spearrin
3454d93fef generate keypair on registration 2018-07-03 11:41:55 -04:00
Kyle Spearrin
269b59210c use rsaExtractPublicKey for getting public key 2018-07-02 23:57:22 -04:00
Kyle Spearrin
2bc7ae0da2 extract public from private key 2018-07-02 23:53:44 -04:00
Kyle Spearrin
e22915818c added public key and share key to crypto service 2018-07-02 17:09:45 -04:00
Kyle Spearrin
0033b92a2d org create apis 2018-07-02 15:36:32 -04:00
Kyle Spearrin
8be95bfe57 get email verified from token service 2018-07-02 10:27:27 -04:00
Kyle Spearrin
5b5d3069a9 update license apis 2018-07-02 09:53:43 -04:00
Kyle Spearrin
f5287e29a2 payment update api 2018-06-30 13:22:21 -04:00
Kyle Spearrin
c0e7e588ed adjust storage apis 2018-06-29 23:40:10 -04:00
Kyle Spearrin
3726d9e6d8 add cancel and reinstate premium 2018-06-29 13:58:01 -04:00
Kyle Spearrin
1565140024 add billing apis 2018-06-29 11:29:24 -04:00
Kyle Spearrin
e297f39bd5 breach check changed to username 2018-06-29 08:20:28 -04:00
Kyle Spearrin
93edd272dd premium api 2018-06-28 23:05:25 -04:00
Kyle Spearrin
3aebe1a09a specify any type 2018-06-28 13:48:50 -04:00
Kyle Spearrin
a097ef9bea breach report audit api 2018-06-28 11:57:29 -04:00
Kyle Spearrin
ccd10751e3 u2f email send apis 2018-06-27 17:50:12 -04:00
Kyle Spearrin
3cc759791e 2fa provider properties 2018-06-26 22:39:39 -04:00
Kyle Spearrin
c3b6baf726 add two factor apis 2018-06-26 15:17:14 -04:00
Kyle Spearrin
3cf8ffab8d add domain rules apis 2018-06-25 23:04:59 -04:00
Kyle Spearrin
6ae6a79f43 exclude domains from sync on web and desktop 2018-06-25 22:47:01 -04:00
Kyle Spearrin
79fd5d9832 send api helper 2018-06-25 22:42:57 -04:00
Kyle Spearrin
1aa774b99f update folder of items when folder is deleted 2018-06-25 14:54:47 -04:00
Kyle Spearrin
ca3b1c739c get web vault url 2018-06-25 08:06:19 -04:00
Kyle Spearrin
1609ed5419 import apis 2018-06-23 15:41:22 -04:00
Kyle Spearrin
23e950beea dont export organization ciphers 2018-06-22 09:41:01 -04:00
Kyle Spearrin
99e522a5d1 cleanup api urls 2018-06-21 22:12:26 -04:00
Kyle Spearrin
dc01f0701e revert web client api endpoint changes 2018-06-21 17:16:22 -04:00
Kyle Spearrin
2e486d5a7c more apis for account settings 2018-06-21 17:15:43 -04:00
Kyle Spearrin
322dcf76ae apis for change email and change password 2018-06-21 14:28:49 -04:00
Kyle Spearrin
d98aeab0c8 put profile 2018-06-20 23:40:59 -04:00
Kyle Spearrin
6e89b503f2 hmac directly into array 2018-06-13 22:47:40 -04:00
Kyle Spearrin
4bce071498 expose api service urls 2018-06-13 22:12:23 -04:00
Kyle Spearrin
755f8f93ec apiBaseUrl and make some props private 2018-06-13 22:09:47 -04:00
Kyle Spearrin
3303e60b40 implement hasKey helper 2018-06-13 17:14:26 -04:00
Kyle Spearrin
eda99e4f12 hasKey helper 2018-06-13 17:10:52 -04:00
Kyle Spearrin
6aa922f380 fix unreachable code 2018-06-13 17:06:09 -04:00
Kyle Spearrin
0429c0557b hkdf key stretching for pbkdf2 key 2018-06-13 16:48:00 -04:00
Kyle Spearrin
4dea46f1ad prod urls for web client 2018-06-13 14:08:43 -04:00
Kyle Spearrin
cfad521ea8 bulk share apis 2018-06-13 00:02:15 -04:00
Kyle Spearrin
7a5a4e654a bulk move/delete apis 2018-06-12 17:12:27 -04:00