1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-13 15:06:51 +01:00
Commit Graph

964 Commits

Author SHA1 Message Date
Kyle Spearrin
bbcbd6d119 null checks 2018-07-23 17:15:23 -04:00
Kyle Spearrin
0b2fab43d5 ref PR for mem leak explanation 2018-07-23 15:46:59 -04:00
Kyle Spearrin
70a0044ac5 added memory leak warning 2018-07-23 15:41:54 -04:00
Kyle Spearrin
61d2040518 sequentialize updates 2018-07-23 15:12:32 -04:00
Kyle Spearrin
8e586437e0 sequentialize fixes 2018-07-23 14:47:28 -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
3a34d3b174 gnome json importer 2018-07-23 12:04:34 -04:00
Kyle Spearrin
e5d060c80b passkeep csv importer 2018-07-23 11:41:12 -04:00
Kyle Spearrin
06682e2672 splash id importer 2018-07-23 11:23:20 -04:00
Kyle Spearrin
790e50f2b6 check SafariExtension instead of safari 2018-07-21 15:35:17 -04:00
Kyle Spearrin
240e5ba5ab parse function 2018-07-21 14:38:21 -04:00
Kyle Spearrin
7b89ad6bf7 check event.data type. some debug logging 2018-07-21 14:07:06 -04:00
Kyle Spearrin
57ce9d5315 null check on u2f data 2018-07-21 09:59:37 -04:00
Kyle Spearrin
2fe65e27e2 normalize new lines and trim csv data 2018-07-21 08:21:08 -04:00
Kyle Spearrin
b5353551a8 null check on u2f challenge 2018-07-21 00:32:41 -04:00
Kyle Spearrin
cc8dd89b2b fix delete account endpoint 2018-07-20 13:01:48 -04:00
Kyle Spearrin
8149d7877d zoho csv importer 2018-07-19 15:12:58 -04:00
Kyle Spearrin
3f329ca613 fix implicit any 2018-07-19 08:30:07 -04:00
Kyle Spearrin
4750a64ece pasword boss importer. convert to note helper 2018-07-19 08:05:45 -04:00
Kyle Spearrin
4b5e192457 ascendo dv csv importer 2018-07-19 00:01:18 -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
257b1d7d7a stip guids from analytics page paths 2018-07-18 13:12:48 -04:00
Kyle Spearrin
aa811e51c3 add storage gb info to org 2018-07-18 09:21:34 -04:00
Kyle Spearrin
4d702f4de3 roboform csv importer 2018-07-17 23:47:28 -04:00
Kyle Spearrin
1660d7570b lint fix 2018-07-17 23:14:42 -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
3354f0b818 is owner get prop 2018-07-17 15:56:49 -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
4be7c6aa4c clipperz html importer 2018-07-17 10:08:35 -04:00
Kyle Spearrin
d677bad76a truekey csv importer 2018-07-17 00:15:14 -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
76ece834d1 stick password xml importer 2018-07-13 17:11:19 -04:00
Kyle Spearrin
51f041a959 recover delete apis 2018-07-13 15:55:02 -04:00
Kyle Spearrin
9bc7459eac add org invite token to registration if present 2018-07-13 11:06:44 -04:00
Kyle Spearrin
a949f499ac onSuccessfulLoginNavigate for 2fa page 2018-07-13 10:49:37 -04:00
Kyle Spearrin
b3bd13fe2b pass email param on login/register 2018-07-13 10:44:47 -04:00
Kyle Spearrin
6db55bbae8 fix path to utils 2018-07-13 09:31:14 -04:00
Kyle Spearrin
747cd63733 adjust focus on fields for browser apps 2018-07-13 09:28:45 -04:00
Kyle Spearrin
0217fdf7c1 remember email on login 2018-07-13 09:13:10 -04:00
Kyle Spearrin
cc6f732a14 hasEncKey checks 2018-07-12 17:07:06 -04:00
Kyle Spearrin
5fac067713 msecure csv importer 2018-07-12 16:27:24 -04:00
Kyle Spearrin
41dd6b1f2c dashlane csv importer 2018-07-12 15:53:14 -04:00
Kyle Spearrin
67b2b53185 allow null name 2018-07-12 14:19:39 -04:00
Kyle Spearrin
f6a5979334 rate limit message on 429 2018-07-12 11:52:55 -04:00
Kyle Spearrin
24d608d365 verify email apis 2018-07-12 11:35:04 -04:00
Kyle Spearrin
152c44185b optimize id search 2018-07-12 10:10:05 -04:00
Kyle Spearrin
89779db1f2 convert to processFolder helper 2018-07-12 09:57:08 -04:00
Kyle Spearrin
7ca2a40478 folder helps and pwsafe xml importer 2018-07-12 09:48:39 -04:00
Kyle Spearrin
768b41153d change to secure note if not login 2018-07-12 09:21:35 -04:00
Kyle Spearrin
b4846e5fea enpass csv importer 2018-07-12 00:11:09 -04:00
Kyle Spearrin
17d50fc90c password dragon xml importer 2018-07-11 23:30:15 -04:00
Kyle Spearrin
0c9fd975f7 kepper csv importer 2018-07-11 17:43:26 -04:00
Kyle Spearrin
ef75dc735e search cipher id as well 2018-07-11 15:47:54 -04:00
Kyle Spearrin
d7f3f9425e user public key apis 2018-07-11 13:30:06 -04:00
Kyle Spearrin
e9518e104e fix implicit any 2018-07-11 10:26:32 -04:00
Kyle Spearrin
06e412a095 one password importers 2018-07-11 10:18:25 -04:00
Kyle Spearrin
4ba55c8c8b add several simple csv importers 2018-07-10 23:17:55 -04:00
Kyle Spearrin
089622d5b1 dont need to turn arrays into arrays, derp.. 2018-07-10 22:39:29 -04:00
Kyle Spearrin
678b191a32 org support for keepass 2018-07-10 17:57:59 -04:00
Kyle Spearrin
74ddd9b8e3 keepass2 xml importer 2018-07-10 17:51:55 -04:00
Kyle Spearrin
c9fc74c5cb more importer helpers 2018-07-10 17:51:47 -04:00
Kyle Spearrin
4004449aa8 padlock importer. move relationships to arrays 2018-07-10 16:38:43 -04:00
Kyle Spearrin
a6a0673af8 fix model bug 2018-07-10 14:43:59 -04:00
Kyle Spearrin
c76cbf1274 org user apis 2018-07-10 13:03:24 -04:00
Kyle Spearrin
bded5eb625 bug fixes in api models 2018-07-10 10:06:47 -04:00
Kyle Spearrin
36ab2ec78b add missing permissions to organization objs 2018-07-10 09:19:15 -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
0a46513e38 add missing collectionid 2018-07-09 11:49:16 -04:00
Kyle Spearrin
9a73e73351 update device string for electron 2018-07-09 09:30:15 -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
a7e7dcc1fe safeincloud xml importer, org import support 2018-07-07 23:02:53 -04:00
Kyle Spearrin
1b7ace0495 event apis 2018-07-06 23:06:38 -04:00
Kyle Spearrin
c44e633f42 allow prop 3 search 2018-07-06 15:03:00 -04:00
Kyle Spearrin
7b23b90054 org user apis, sort function utils 2018-07-06 15:00:55 -04:00
Kyle Spearrin
e25ad93082 trim search term 2018-07-06 14:11:47 -04:00
Kyle Spearrin
b9a15d7ced cast fix 2018-07-06 12:55:48 -04:00
Kyle Spearrin
7f8ed5a928 api interface updates 2018-07-06 12:49:22 -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
4aebc4ab3d search pipe 2018-07-06 12:40:08 -04:00
Kyle Spearrin
a600c4a539 org import and collection encrypt function 2018-07-05 23:38:27 -04:00
Kyle Spearrin
ed93fa9ea3 move to organization property instead of param 2018-07-05 19:00:00 -04:00
Kyle Spearrin
56cf068acd importer organization support 2018-07-05 17:29:35 -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
ef5eebba66 allow overridable encrypt function 2018-07-05 10:10:15 -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
7ba04c919e plan types 2018-07-02 15:19:33 -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
20622db73c isSelfHost 2018-06-30 13:51:09 -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
ef897695e9 fix typo on billing response 2018-06-29 16:55:04 -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
ac221d8867 blur csv importer 2018-06-29 09:27:50 -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
569ad25208 lint fixes 2018-06-27 22:09:39 -04:00
Kyle Spearrin
ccd10751e3 u2f email send apis 2018-06-27 17:50:12 -04:00
Kyle Spearrin
ec505b8c55 data is never null 2018-06-26 22:52:12 -04:00
Kyle Spearrin
3cc759791e 2fa provider properties 2018-06-26 22:39:39 -04:00
Kyle Spearrin
0d30c89c5a export challenge response 2018-06-26 15:55:01 -04:00
Kyle Spearrin
c3b6baf726 add two factor apis 2018-06-26 15:17:14 -04:00
Kyle Spearrin
32a636e5a5 add settings domains apis to abstraction 2018-06-25 23:09:32 -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
0d2cd4c482 name from url 2018-06-25 15:19:51 -04:00
Kyle Spearrin
1aa774b99f update folder of items when folder is deleted 2018-06-25 14:54:47 -04:00
Kyle Spearrin
8a91e5b4d6 avira csv importer 2018-06-25 14:15:34 -04:00
Kyle Spearrin
95337651fc init arrays 2018-06-25 11:40:03 -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
ce40a803d8 importers parse 2018-06-23 14:46:23 -04:00
Kyle Spearrin
154c087b97 importers for lastpass, bitwarden, and keepassx 2018-06-23 09:27:30 -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
6e501dddb9 force length to 5 when < 5 2018-06-20 22:12:15 -04:00
Kyle Spearrin
d75543e6c8 totp and edit props 2018-06-19 23:40:10 -04:00
Kyle Spearrin
e5db01083c switch icons server to icons.bitwarden.net 2018-06-18 08:33:09 -04:00
Neil Burrows
8fcbc887a2 Mask Card Code on Angular Web Vault (#6)
* Adding mask and toggle for Card Security Code

* For Card Code Mask - show same number of characters as code

* Mask Card Code in angular web vault
2018-06-16 08:39:51 -04:00
Kyle Spearrin
c3ad9b9b7d remove unused import 2018-06-13 23:15:02 -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
c42a45e967 cipher with id for bulk share request 2018-06-13 14:08:28 -04:00
Neil Burrows
1ab6ce6ec0 Adding mask and toggle for Card Security Code (#5)
* Adding mask and toggle for Card Security Code

* For Card Code Mask - show same number of characters as code
2018-06-13 12:33:26 -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
Kyle Spearrin
1021f23277 cipher collection apis 2018-06-12 13:07:06 -04:00
Kyle Spearrin
b3f71ed8e4 api support for sharing 2018-06-12 11:45:02 -04:00
Kyle Spearrin
5db55496c2 add support for readonly flag on collections 2018-06-11 14:32:35 -04:00
Kyle Spearrin
4bd9a9fc11 load DuoWebSDK as a module 2018-06-11 13:32:53 -04:00
Kyle Spearrin
d875b9aeb0 remove dummy module 2018-06-11 08:54:22 -04:00
Kyle Spearrin
cd3c2ddff1 allow static lock timeout definition 2018-06-09 14:50:18 -04:00
Kyle Spearrin
7b05416d55 attachment events 2018-06-09 13:29:07 -04:00
Kyle Spearrin
fe3a878542 update dummy module 2018-06-08 16:07:21 -04:00
Kyle Spearrin
4c083eeb92 download attachments function from component 2018-06-08 12:14:02 -04:00
Kyle Spearrin
8a1bc30fc9 update jslib to support modules 2018-06-08 10:11:28 -04:00
Kyle Spearrin
f40451ecc5 ie fixes 2018-06-07 23:36:39 -04:00
Kyle Spearrin
8211e19db0 add web device type, dont check password twice 2018-06-07 17:11:17 -04:00
Kyle Spearrin
c59bca05bb fixes on modal 2018-06-06 17:26:58 -04:00
Kyle Spearrin
a7a58ae8f3 true false value directive 2018-06-06 14:29:59 -04:00
Kyle Spearrin
c5fbea2341 getCredentials conditions 2018-06-05 15:45:19 -04:00
Kyle Spearrin
476d21e9f0 alloe cache on lowdb 2018-06-05 14:44:13 -04:00
Kyle Spearrin
66b3dbae17 element array instead of node list 2018-06-05 13:28:09 -04:00
Kyle Spearrin
22c12cf5c4 always read before writing 2018-06-04 12:05:43 -04:00
Kyle Spearrin
9b3fddbd33 always read from source 2018-06-01 12:33:38 -04:00
Kyle Spearrin
c512b9b3ce return null for undefined storage key 2018-06-01 11:51:48 -04:00
Kyle Spearrin
e0d5a4d8b7 show toast util 2018-05-31 14:40:01 -04:00
Kyle Spearrin
79f8370f7c fix node check 2018-05-31 09:13:38 -04:00
Kyle Spearrin
f618c0b5ee replace electron store with lowdb 2018-05-31 09:07:56 -04:00
Kyle Spearrin
98e2e611f8 update to electron 2.x 2018-05-31 08:09:56 -04:00
Kyle Spearrin
e0190f14be catch invalid regex 2018-05-30 23:19:12 -04:00
Kyle Spearrin
e9228a7888 cleanup totpCode 2018-05-30 16:08:43 -04:00
Kyle Spearrin
49dece7983 theme key 2018-05-29 23:16:50 -04:00
Kyle Spearrin
f99b34d062 no tray ctx menu for macos due to electorn bug 2018-05-29 23:06:12 -04:00
Kyle Spearrin
c71b9703f3 credentials: 'include' 2018-05-29 14:36:20 -04:00
yxzzx
4c8f9c6b7c make src/services/api.service.ts work with https servers requiring client certificates. (#4) 2018-05-29 14:34:32 -04:00
Kyle Spearrin
d3f3f47286 switch to filepath 2018-05-25 08:39:48 -04:00
Kyle Spearrin
43ac05d1fc switch to node crypto for rsa encrypt/decrypt 2018-05-21 09:10:13 -04:00
Kyle Spearrin
bf260819bb sync organizations 2018-05-18 15:26:46 -04:00
Kyle Spearrin
a421f6e64a raw attachment saves with node form data 2018-05-17 15:35:02 -04:00
Kyle Spearrin
ed89dfaba7 allow empty ctor 2018-05-17 13:25:03 -04:00
Kyle Spearrin
ba10d07042 export service 2018-05-17 10:52:06 -04:00
Kyle Spearrin
1fdb694fae dont include search in barrel file 2018-05-16 16:18:00 -04:00
Kyle Spearrin
12b01e1894 remove forge import from crypto service 2018-05-16 16:02:05 -04:00
Kyle Spearrin
cf5bce1ea9 supports duo platform util 2018-05-16 15:30:28 -04:00
Kyle Spearrin
e6fde2e92b move lock service interval to init 2018-05-16 10:18:05 -04:00
Kyle Spearrin
799c90af17 make logout callback async 2018-05-15 23:40:15 -04:00
Kyle Spearrin
7112911cb8 2fa adjustments in auth services 2018-05-15 21:11:20 -04:00
Kyle Spearrin
f173001a41 polyfill fetch globals on nodeapi 2018-05-15 09:02:57 -04:00
Kyle Spearrin
17cf059970 node fetch api 2018-05-14 23:56:27 -04:00
Kyle Spearrin
5850a590ce utils global 2018-05-14 23:41:12 -04:00
Kyle Spearrin
29556c5d3b rename some crypto terms 2018-05-09 16:00:15 -04:00
Kyle Spearrin
22894a6876 cache key meta data for forge decryption 2018-05-09 15:48:17 -04:00
Kyle Spearrin
9de9c1655c move tray to jslib 2018-05-08 12:05:00 -04:00
Kyle Spearrin
e7779759f2 dont send message back to main if that's where it came from originally 2018-05-08 10:29:19 -04:00
Kyle Spearrin
3270d8bd0e adjust base menu 2018-05-08 09:40:12 -04:00
Kyle Spearrin
e614cffffb remove some crypto functions 2018-05-07 12:14:40 -04:00
Kyle Spearrin
87ac298af9 web crypto testing. more test browsers 2018-05-07 11:43:14 -04:00
Kyle Spearrin
de4494e1b3 fast decrypt 2018-05-07 09:00:49 -04:00
Kyle Spearrin
c6c5dd6d46 electron constants 2018-05-05 00:28:33 -04:00
Kyle Spearrin
61e13daefa proper default height 2018-05-04 17:33:06 -04:00
Kyle Spearrin
36dfdf24f1 pass in default width/height of window 2018-05-04 15:57:54 -04:00
Kyle Spearrin
2032e14285 move updater to jslib 2018-05-04 14:16:23 -04:00
Kyle Spearrin
c3dad8fd1a add account profile api 2018-05-03 12:46:49 -04:00
Kyle Spearrin
b5db9edc3f adjust collator sorting options 2018-05-02 17:00:24 -04:00
Kyle Spearrin
c29b53cdd6 show string errors 2018-05-02 16:00:46 -04:00
Kyle Spearrin
66bdf442d6 add necessary apis for org directory imports 2018-04-30 17:00:31 -04:00
Kyle Spearrin
12533dd951 move storage defaults out to app 2018-04-26 16:17:11 -04:00
Kyle Spearrin
35039fdae2 main messaging service to jslib 2018-04-26 15:43:59 -04:00
Kyle Spearrin
983a7b474c dummy module. ref https://github.com/angular/angular/issues/13590 2018-04-26 00:43:01 -04:00
Kyle Spearrin
7b5d3eb15c autocomplete off 2018-04-26 00:19:54 -04:00
Kyle Spearrin
df1649bac1 input verbatim directive 2018-04-25 17:53:37 -04:00
Kyle Spearrin
e7735f2d80 test pbkdf2 node function 2018-04-25 16:30:47 -04:00
Kyle Spearrin
33c3af3a8e require node URL 2018-04-25 16:30:18 -04:00
Kyle Spearrin
42bf9b2edb base electron menu class 2018-04-25 15:43:02 -04:00
Kyle Spearrin
990c9a4c5d keytar storage listener 2018-04-25 15:42:51 -04:00
Kyle Spearrin
6e6dc422ac option to not set crypto keys 2018-04-25 12:42:52 -04:00
Kyle Spearrin
05e6d2c0f0 move sync to post login action 2018-04-25 12:08:18 -04:00
Kyle Spearrin
31bd1f9423 move electron renderer messaging service to jslib 2018-04-25 09:00:58 -04:00
Kyle Spearrin
0ad2c9d667 make supportedTranslationLocales public 2018-04-25 08:26:02 -04:00
Kyle Spearrin
119a9ba6bc locale key 2018-04-24 23:53:03 -04:00
Kyle Spearrin
8469d18f47 move modal and duo to jslib 2018-04-24 23:22:21 -04:00
Kyle Spearrin
5d3b99ce6f move common electron code to jslib 2018-04-24 16:00:20 -04:00
Kyle Spearrin
768ab7dd0a b64 to utf8 utils 2018-04-23 13:45:40 -04:00
Kyle Spearrin
e5ae1cbb1c remove comment 2018-04-23 13:05:05 -04:00
Kyle Spearrin
0fa9fc58eb refactor utils service to utils 2018-04-23 13:03:47 -04:00
Kyle Spearrin
5e7115f78d implement crypto functions in more places 2018-04-21 23:55:21 -04:00
Kyle Spearrin
fc1114a6bd refactor crypto service to use crypto functions 2018-04-21 23:14:04 -04:00
Kyle Spearrin
d73012efc8 rsa encrypt and decrypt tests 2018-04-20 15:32:25 -04:00
Kyle Spearrin
3b2b48dd8d misc utils for browser and node 2018-04-20 10:59:55 -04:00
Kyle Spearrin
2c2128a871 lint error 2018-04-19 23:12:06 -04:00
Kyle Spearrin
8cf3a6b0f0 hostname or uri 2018-04-19 14:40:42 -04:00
Kyle Spearrin
fae4530564 use TwoFactorProviderType enum for remember me 2018-04-19 14:07:11 -04:00
Kyle Spearrin
23917010a7 psss doc to copy function 2018-04-19 08:00:54 -04:00
Kyle Spearrin
97fe01e131 rsaDecrypt implementation 2018-04-19 00:00:53 -04:00
Kyle Spearrin
e8824c2c8b lint spec dir 2018-04-18 13:43:42 -04:00
Kyle Spearrin
9b4069cb19 node vs web testing with jasmine 2018-04-18 12:59:48 -04:00
Kyle Spearrin
172f2de4ff node crypto aes implementations 2018-04-18 08:50:02 -04:00
Kyle Spearrin
866de1278f remove 256 from expectation 2018-04-18 00:25:16 -04:00
Kyle Spearrin
680fbff306 web crypto aes encryption and random bytes 2018-04-18 00:24:17 -04:00
Kyle Spearrin
2e58314759 byteString conversion without b64 2018-04-17 22:35:53 -04:00
Kyle Spearrin
3ca8716fc6 determine length based on alg. fix 512 wc pbkdf2 2018-04-17 21:18:47 -04:00
Kyle Spearrin
81f7bd7b76 hmac implementation for web crypto 2018-04-17 19:02:58 -04:00
Kyle Spearrin
719c8aa70c this.isEdge member 2018-04-17 18:32:08 -04:00
Kyle Spearrin
da473ee1a6 test web crypto hashing 2018-04-17 18:26:02 -04:00
Kyle Spearrin
5ed0edf867 test web crypto pbkdf2 2018-04-17 17:56:41 -04:00
Kyle Spearrin
709e2eb3c0 setup karma testing 2018-04-17 16:15:19 -04:00
Kyle Spearrin
5d085b74f5 crypto function implementations for hash 2018-04-17 15:59:38 -04:00
Kyle Spearrin
d6474aee0e crypto function implementations 2018-04-16 12:07:51 -04:00
Kyle Spearrin
4ad29e25f3 stub out crypto function service with pbkdf2 2018-04-14 23:20:37 -04:00
Kyle Spearrin
759ac04ee9 try catch collator set 2018-04-14 20:26:04 -04:00
Kyle Spearrin
94ca579168 sanitize system language 2018-04-14 20:17:10 -04:00
Kyle Spearrin
2930d7daf7 === 2018-04-14 13:38:04 -04:00
Kyle Spearrin
831b4cff7b hostname fix 2018-04-14 10:01:40 -04:00
Kyle Spearrin
e883dfdaac remove empty uri on add 2018-04-14 00:16:12 -04:00
Kyle Spearrin
5608f11925 formatting fixes 2018-04-13 23:55:07 -04:00
Kyle Spearrin
95cd9153c9 move premium page to jslib 2018-04-13 13:19:14 -04:00
Kyle Spearrin
df9074a0e5 move folder add/edit to jslib 2018-04-13 00:05:58 -04:00
Kyle Spearrin
2782ae33fc optionally set loaded 2018-04-12 15:42:34 -04:00
Kyle Spearrin
c2bdabc098 only search name on edge 2018-04-12 15:42:22 -04:00
Kyle Spearrin
286e839ebb remove unused member 2018-04-12 14:48:12 -04:00
Kyle Spearrin
7bc65b8366 return confirmed from delete 2018-04-11 16:27:10 -04:00
Kyle Spearrin
44a9d17dba abstract away loading messages file json 2018-04-11 15:16:17 -04:00
Kyle Spearrin
97be728b31 move base i18nservice out to jslib 2018-04-11 15:07:33 -04:00
Kyle Spearrin
7933746d82 lint fixes 2018-04-10 23:49:09 -04:00
Kyle Spearrin
fa5f6c0906 return boolean from generate password 2018-04-10 13:53:21 -04:00
Kyle Spearrin
f8d8ca2253 default folderId null 2018-04-10 00:04:39 -04:00
Kyle Spearrin
cd1828da23 export component 2018-04-09 19:05:13 -04:00
Kyle Spearrin
4f79addb8a load cipher from state 2018-04-09 17:35:56 -04:00
Kyle Spearrin
2c87f12718 use win variables 2018-04-07 00:18:31 -04:00
Kyle Spearrin
5d66ede2ea move broadcaster to jslib 2018-04-06 15:33:38 -04:00
Kyle Spearrin
0b9c2f518d remove template ref 2018-04-06 12:25:42 -04:00
Kyle Spearrin
69afd7923b ref icon templateUrl 2018-04-06 12:01:21 -04:00
Kyle Spearrin
db83cab552 call into load method 2018-04-05 23:49:38 -04:00
Kyle Spearrin
45ba629371 move vault components to jslib 2018-04-05 22:21:18 -04:00
Kyle Spearrin
22f0f97cda move ciphers, groupings, and search pipe to jslib 2018-04-05 11:12:00 -04:00
Kyle Spearrin
a0ca51dda4 lock component to jslib 2018-04-04 22:59:14 -04:00
Kyle Spearrin
d429cd2199 more icon component into jslib 2018-04-04 17:04:31 -04:00
Kyle Spearrin
fd19efa9f2 do not init duo if safari 2018-04-04 16:51:11 -04:00
Kyle Spearrin
013bf20a35 add u2f support to two factor component 2018-04-04 16:27:30 -04:00
Kyle Spearrin
f673bd62d7 move bow-row direct, and selected provider support 2018-04-04 14:18:42 -04:00
Kyle Spearrin
f855a8272c share components with jslib 2018-04-04 10:08:06 -04:00
Kyle Spearrin
7b4d0a71de share login component 2018-04-04 09:19:21 -04:00
Kyle Spearrin
579f970323 move various angular bits into shared jslib 2018-04-04 08:22:55 -04:00
Kyle Spearrin
00bb0fdbdf convert appid to abstract class 2018-04-04 08:22:18 -04:00
Kyle Spearrin
167558168c add duo org support to old constants 2018-04-03 15:27:14 -04:00
Kyle Spearrin
bea9e06506 added 2fa support for org duo 2018-04-03 15:11:03 -04:00
Kyle Spearrin
bdbb01317d use client_id from decoded token 2018-03-28 21:54:21 -04:00
Kyle Spearrin
e5fb0fe6c6 refresh clientid 2018-03-28 15:20:11 -04:00
Kyle Spearrin
0b57d8b7f3 platform specific identity client id 2018-03-21 11:19:05 -04:00
Kyle Spearrin
e27df6bc09 null checks on sort function values 2018-03-19 19:42:38 -04:00
Kyle Spearrin
a3beb04f7e mask field 2018-03-06 08:17:39 -05:00
Kyle Spearrin
145188c005 maskedPassword is constant 8 char 2018-03-06 07:44:32 -05:00
Kyle Spearrin
1f2cf2bcdf lock service invokes callback on lock 2018-03-03 23:04:55 -05:00
Kyle Spearrin
848f50afe7 uri match value can be 0 2018-03-02 15:15:15 -05:00
Kyle Spearrin
913336280a rename enum from basedomain => domain 2018-03-02 13:50:26 -05:00
Kyle Spearrin
0d80216921 add http protocol if none fiven 2018-03-02 12:42:11 -05:00
Kyle Spearrin
f205a9cc9f break from switch 2018-03-02 12:36:53 -05:00
Kyle Spearrin
ad4c81ed84 support for uri matching types to cipher service 2018-03-02 12:03:03 -05:00
Kyle Spearrin
dc0befc9be other types param now typed with CipherType 2018-03-02 08:33:57 -05:00
Kyle Spearrin
20389402fc comment out TODO code 2018-03-02 08:15:31 -05:00
Kyle Spearrin
063bb010db refactor for login uris and response model changes 2018-03-01 23:44:29 -05:00
Kyle Spearrin
52f3ea58d1 add services to index 2018-02-28 21:03:23 -05:00
Kyle Spearrin
6aef18ee7f search service with lunr implementation 2018-02-28 15:15:10 -05:00
Kyle Spearrin
e3b3e444db formatting cleanup 2018-02-28 11:09:10 -05:00
Kyle Spearrin
e1041e9b5b cleanup auditservice 2018-02-28 10:58:34 -05:00
Oscar Hinton
1aabb42e47 AuditService (#2)
* Add AuditService.

* Change sha1 to use Webcrypto.

* Add interface for AuditService.

* Move PwnedPasswodsApi constant outside class.

* Change FromBufferToHex implementation to simpler code.

* Use correct string to array function.

* Change auditService interface to abstract class. Add missing type to utils.
2018-02-28 10:52:35 -05:00
Kyle Spearrin
ab00dfd399 none folder added last 2018-02-27 22:54:38 -05:00
Kyle Spearrin
902d72457c analytics disabled by default on mas 2018-02-26 23:34:02 -05:00
Kyle Spearrin
783a86fe58 isMacAppStore 2018-02-26 23:32:06 -05:00
Kyle Spearrin
b747830c5b log level type 2018-02-23 23:10:13 -05:00
Kyle Spearrin
9adabdab48 add log service abstraction 2018-02-23 22:10:58 -05:00
Kyle Spearrin
5b63336347 Revert "collection from domain index"
This reverts commit 36315dae19.
2018-02-19 13:07:37 -05:00
Kyle Spearrin
166ed44392 Revert "reference barrels"
This reverts commit 2d9f53fbed.
2018-02-19 13:07:19 -05:00
Kyle Spearrin
2d9f53fbed reference barrels 2018-02-19 12:33:32 -05:00
Kyle Spearrin
36315dae19 collection from domain index 2018-02-19 12:04:35 -05:00
Kyle Spearrin
80cd30d7d8 dont init history 2018-02-17 22:51:28 -05:00
Kyle Spearrin
acb7b7b8e3 installedVersionKey constant 2018-02-16 15:50:01 -05:00
Kyle Spearrin
ccf2fbd996 copyToClipboard device utils 2018-02-16 14:00:16 -05:00
Kyle Spearrin
7b3bbd9245 userid null check 2018-02-15 13:39:23 -05:00
Kyle Spearrin
4412708ecb send loggedout message 2018-02-15 13:39:18 -05:00
Kyle Spearrin
61918fbc04 isDev method 2018-02-13 17:23:45 -05:00
Kyle Spearrin
56d941a754 state service 2018-02-12 15:06:18 -05:00
Kyle Spearrin
4960fa18c0 setLockOption 2018-02-11 00:38:17 -05:00
Kyle Spearrin
6c3f0a538f convert more service abstractions 2018-02-10 10:53:07 -05:00
Kyle Spearrin
8d4799a0a2 password gen fixes 2018-02-09 12:08:33 -05:00
Kyle Spearrin
28ed4144db abstract services 2018-02-08 12:24:37 -05:00
Kyle Spearrin
9cd74af2df sync service abstraction 2018-02-08 10:49:00 -05:00
Kyle Spearrin
4c6a1892c0 show dialog interface 2018-02-02 23:47:03 -05:00
Kyle Spearrin
4a3705e675 remove unnecessary fields from 2fa providers 2018-02-02 12:03:05 -05:00
Kyle Spearrin
17b9e9b03a add placeholder support for i18n 2018-02-02 12:02:49 -05:00
Kyle Spearrin
7c3bed1737 updates for 2fa auth services 2018-02-01 22:55:49 -05:00
Kyle Spearrin
5845291aaf abstract api service 2018-01-31 14:27:11 -05:00
Kyle Spearrin
4694793785 reset domain to null if empty 2018-01-30 13:13:12 -05:00
Kyle Spearrin
15f254879f abstract password generation service 2018-01-29 17:59:57 -05:00
Kyle Spearrin
e160b97497 remove static sorting functions 2018-01-26 22:54:02 -05:00
Kyle Spearrin
3e43dd7aac lint fix 2018-01-26 22:38:22 -05:00
Kyle Spearrin
ce4f683b96 added i18n sorting to folders, ciphers, collection 2018-01-26 22:16:35 -05:00
Kyle Spearrin
78dcbac7fa remove alerterror 2018-01-26 16:13:54 -05:00
Kyle Spearrin
6f9f1f9a25 extract analytics to jslib 2018-01-26 10:35:44 -05:00
Kyle Spearrin
f8cbf8b247 fieldview ctor 2018-01-25 22:59:53 -05:00
Kyle Spearrin
47385a2818 default to null 2018-01-25 16:16:02 -05:00
Kyle Spearrin
3869dcaf7b apply collection and folder views 2018-01-25 14:57:42 -05:00
Kyle Spearrin
8d2a90e496 add options 2018-01-25 14:32:10 -05:00
Kyle Spearrin
11755e409a defining more abstractions 2018-01-25 14:26:09 -05:00
Kyle Spearrin
e5c1adedff lib updates for login view on desktop 2018-01-24 23:27:04 -05:00
Kyle Spearrin
b4257b9ff3 subtitle properties 2018-01-24 16:58:34 -05:00
Kyle Spearrin
9fe0cfb2d8 fix encryptCipherData 2018-01-24 13:27:32 -05:00
Kyle Spearrin
bb18729306 update abstraction 2018-01-24 12:19:49 -05:00
Kyle Spearrin
7e1c883f03 view model types 2018-01-24 11:33:15 -05:00
Kyle Spearrin
5557c5b638 foramtting fixes 2018-01-24 09:27:08 -05:00
Kyle Spearrin
edc3bd1f81 convert services to abstractions 2018-01-23 17:29:15 -05:00
Kyle Spearrin
6c9e0c4cd3 added auth service 2018-01-23 15:58:13 -05:00
Kyle Spearrin
e157d5be6d remove model window assignments 2018-01-20 14:12:18 -05:00
Kyle Spearrin
e753becd33 lazy load history 2018-01-19 14:58:06 -05:00
Kyle Spearrin
8636033159 resolve link warning on missing mac 2018-01-18 12:14:30 -05:00
Kyle Spearrin
0bbb118691 use random bytes for each HMAC comparison 2018-01-18 09:59:40 -05:00
Kyle Spearrin
335c94e24c macBytes must exist if key has macKey 2018-01-18 09:03:27 -05:00
Kyle Spearrin
59f2fc0e73 add b64 output encoding option for decrypt 2018-01-18 00:08:10 -05:00
Kyle Spearrin
332a3b87c8 add vivaldi to interface 2018-01-17 13:38:44 -05:00
Kyle Spearrin
229c632c4f never domains key 2018-01-13 10:14:00 -05:00
Kyle Spearrin
583b7c3b15 delay i18n evaluations 2018-01-12 21:56:35 -05:00
Kyle Spearrin
b1e4c98f6d add safari to interface 2018-01-11 15:34:51 -05:00
Kyle Spearrin
27d858f879 remove "in UI" functions 2018-01-11 15:30:36 -05:00
Kyle Spearrin
d4645c8c2e remove initListSectionItemListeners 2018-01-11 15:21:52 -05:00
Kyle Spearrin
ce628ba1db rename to bitwardenContainerService 2018-01-11 14:00:32 -05:00
Kyle Spearrin
808e74bcfb added missing return types to sync service 2018-01-09 23:34:33 -05:00
Kyle Spearrin
258178dc16 added missing implements 2018-01-09 23:31:09 -05:00
Kyle Spearrin
6be48873cc move sync service to jslib 2018-01-09 23:25:59 -05:00
Kyle Spearrin
f383ee5027 move lock service ti jslib 2018-01-09 23:18:51 -05:00
Kyle Spearrin
8e64181a5d move collection service tio jslib 2018-01-09 23:12:18 -05:00
Kyle Spearrin
6bdc683c0d move cipherService to jslib 2018-01-09 23:01:16 -05:00
Kyle Spearrin
e85eb143bf move settings service to jslib 2018-01-09 22:47:58 -05:00
Kyle Spearrin
4ea1a5f239 move folder service to jslib 2018-01-09 22:39:43 -05:00
Kyle Spearrin
426c536b15 move container service to jslib 2018-01-09 22:28:29 -05:00
Kyle Spearrin
0c7175d1bf instance props reference static 2018-01-09 22:23:38 -05:00
Kyle Spearrin
3220252cb9 convert environment service to jslib 2018-01-09 20:20:54 -05:00
Kyle Spearrin
38502b5447 convert password generator to jslib 2018-01-09 17:55:32 -05:00
Kyle Spearrin
9b327683b4 convert totp service to jslib 2018-01-09 17:45:21 -05:00
Kyle Spearrin
564d024dd1 convert user service to jslib 2018-01-09 17:37:50 -05:00
Kyle Spearrin
07e4758dee return type for setUrls 2018-01-09 16:23:27 -05:00
Kyle Spearrin
7ce34ac139 add api, appid, and token services 2018-01-09 16:19:55 -05:00
Kyle Spearrin
9a74f3e4ea restore cryptokey class with node ref 2018-01-09 15:38:33 -05:00
Kyle Spearrin
bf35cf3588 remove unused service test 2018-01-09 15:37:51 -05:00
Kyle Spearrin
b7a0fbfef5 no aliasing 2018-01-09 14:26:29 -05:00
Kyle Spearrin
005ec447a7 unused service test 2018-01-08 16:22:31 -05:00
Kyle Spearrin
5c243e01ec fix constants export 2018-01-08 16:22:19 -05:00
Kyle Spearrin
2b387058bd rename exported models 2018-01-08 16:22:05 -05:00
Kyle Spearrin
1d9f28e185 update crypto interface 2018-01-08 16:21:49 -05:00
Kyle Spearrin
7c848edf3c added models, crypto, and constants services 2018-01-08 14:11:28 -05:00
Kyle Spearrin
66aa1a783d new script for publishing 2018-01-06 22:19:10 -05:00
Kyle Spearrin
2b4cd3fba7 re-organize into "barrels". add utils service 2018-01-06 22:13:11 -05:00
Kyle Spearrin
108eafaea3 moved service abstractions to lib 2018-01-06 15:47:23 -05:00
Kyle Spearrin
0f0b092ed7 add more enums to jslib 2018-01-06 14:27:30 -05:00
Kyle Spearrin
ad99560a92 transpiled npm package 2018-01-05 22:46:51 -05:00
Kyle Spearrin
5bcfa67635 npm package 2018-01-05 00:31:04 -05:00
Kyle Spearrin
bbfe69eea0 clean out old models/services 2018-01-04 23:51:02 -05:00
Kyle Spearrin
a95632294f copy common ts code over from browser repo 2018-01-03 21:20:41 -05:00