Commit Graph

720 Commits

Author SHA1 Message Date
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