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

768 Commits

Author SHA1 Message Date
Kyle Spearrin
58ed2ed0a2 update electron 2018-12-26 14:55:21 -05:00
Kyle Spearrin
7a3462afda string typeof check 2018-12-26 09:41:46 -05:00
Kyle Spearrin
cddeeefdbb twoFactorEnabled on org user details 2018-12-19 11:29:44 -05:00
Kyle Spearrin
aa17849329 install and use duo_web_sdk w/ npm 2018-12-18 17:00:07 -05:00
Kyle Spearrin
4d57f44a69 bitwarden json importer 2018-12-17 13:21:06 -05:00
Kyle Spearrin
3b22df15e8 fix for org export 2018-12-17 10:54:03 -05:00
Kyle Spearrin
e7b5868aad export to json 2018-12-17 10:32:02 -05:00
Kyle Spearrin
94f103c474 move export models to jslib 2018-12-17 10:29:37 -05:00
Kyle Spearrin
27566c3fd5 support old windows opvault format on 1password importer 2018-12-14 17:19:28 -05:00
Kyle Spearrin
e10523cc61 getAll ciphers FromApiForOrganization 2018-12-14 13:55:44 -05:00
Kyle Spearrin
e55926336c use KVP for dashlane notes 2018-12-13 14:37:55 -05:00
Kyle Spearrin
e64fdf4e21 enpass json importer 2018-12-13 14:34:37 -05:00
Kyle Spearrin
18ac2db323 normalize boolean type values for custom fields 2018-12-13 10:58:48 -05:00
Kyle Spearrin
6a958afd16 length check on userInputs 2018-12-12 19:37:06 -05:00
Kyle Spearrin
ed74f73a8c dashlane json importer 2018-12-12 17:06:13 -05:00
Kyle Spearrin
9694d2922e wrap every character in a span 2018-12-08 13:48:10 -05:00
Andreas Schneider
37616a148a Added password coloring pipe (which also sanitizes HTML) (#24) 2018-12-08 11:06:10 -05:00
Kyle Spearrin
9283a29d35 Domain match blacklist 2018-12-07 15:41:43 -05:00
Kyle Spearrin
1da72b9a97 adjustments to close to tray changes 2018-12-03 16:06:28 -05:00
h44z
d5308a3bf5 Close to tray (#21)
* Close to Tray implemented

* Enable Tray Icon on Linux

* Remove unnecessary function

* Revert 26a3a98e384cc62a94f2b213af3a6543874b3d95
2018-12-03 15:55:43 -05:00
Kyle Spearrin
5609fecbce continue logic 2018-11-30 09:49:08 -05:00
Alexandre Lapeyre
2a960da31c Replace logoType by logoPath in BreachAccountResponse (#23) 2018-11-28 09:51:02 -05:00
Kyle Spearrin
739d308498 normalize name and email on registration 2018-11-28 08:54:15 -05:00
Kyle Spearrin
6920cf77b9 show project name in update alert titles 2018-11-27 08:31:08 -05:00
Kyle Spearrin
64a6015a67 RSA HMAC cipher string types are deprecated 2018-11-26 15:29:54 -05:00
Kyle Spearrin
0ae636aa53 use digits for steam 2018-11-26 08:26:36 -05:00
Kyle Spearrin
5b59f888e0 SteamChars to regular string 2018-11-26 08:23:31 -05:00
Kyle Spearrin
4b85172b52 clean up totp service 2018-11-26 08:22:17 -05:00
h44z
46ad445951 Add support for Steam TOTP (#20) 2018-11-26 08:12:39 -05:00
Kyle Spearrin
1536f161f7 dont show card/identities constants 2018-11-21 14:29:54 -05:00
Kyle Spearrin
5d5200b12e premiumAccessAddon option when creating org 2018-11-20 15:58:27 -05:00
Kyle Spearrin
464bca8c4d remove console log 2018-11-15 16:56:10 -05:00
Kyle Spearrin
e13f317aad icon load function 2018-11-15 16:55:54 -05:00
Kyle Spearrin
da47faca5c allow progress bars to highlight box row still 2018-11-15 15:33:52 -05:00
Kyle Spearrin
b48c484708 misc score props moved to jslib 2018-11-15 15:27:04 -05:00
Kyle Spearrin
be080f4f17 only use shareAttachmentWithServer for old attachments 2018-11-15 08:55:29 -05:00
Kyle Spearrin
f514e2bb67 autoConfirmFingerprints constant 2018-11-14 23:13:34 -05:00
Kyle Spearrin
f485fbb687 fix old attachments by reuploading them 2018-11-14 15:19:59 -05:00
Kyle Spearrin
17e7ee4838 support for new attachment keys 2018-11-13 20:43:45 -05:00
Kyle Spearrin
c297728967 getPasswordStrengthUserInput 2018-11-12 23:22:37 -05:00
Kyle Spearrin
aa16fb2a9e password strength function with zxcvbn 2018-11-12 22:54:18 -05:00
Kyle Spearrin
786fa02b90 added collpase/expand functions to groupings 2018-11-09 17:44:45 -05:00
Kyle Spearrin
b4fad203b9 pbkdf2 not needed for hash phrase 2018-11-09 08:20:54 -05:00
Kyle Spearrin
1e6b3b4aae allow userId and pub key to be passed in 2018-11-07 23:12:45 -05:00
Kyle Spearrin
ed07c8d01f get fingerprint crypto method 2018-11-07 22:54:56 -05:00
Kyle Spearrin
7dcb9b5f8b IconMap is type any 2018-11-06 15:53:45 -05:00
Kyle Spearrin
52e087e4dd icon code 2018-11-06 12:13:11 -05:00
Kyle Spearrin
6fa3538cbc copy org id too 2018-11-05 14:48:07 -05:00
Kyle Spearrin
4a13e62477 cache canLaunch result 2018-11-02 13:03:00 -04:00
Kyle Spearrin
ff981532fd whitelist of protocols for can launch 2018-11-02 08:39:09 -04:00
Kyle Spearrin
3fd65dd82f convert 1password to note if needed 2018-11-01 09:26:03 -04:00
Kyle Spearrin
2c4005d4c7 index organizationid for search 2018-10-30 11:03:41 -04:00
Kyle Spearrin
a98a8bda9b init function 2018-10-29 22:41:19 -04:00
Kyle Spearrin
aa0b274f8f store parent node 2018-10-26 16:08:48 -04:00
Kyle Spearrin
d4b3a16fd1 getNested tree object by node id 2018-10-26 10:48:06 -04:00
Kyle Spearrin
b0eea9d7ce load nested collections 2018-10-25 12:18:36 -04:00
Kyle Spearrin
59f0549072 getAllNested for collections too. added treenodeobject interface 2018-10-25 12:09:22 -04:00
Kyle Spearrin
6aba4550a4 Nested folders 2018-10-25 09:38:37 -04:00
Kyle Spearrin
06f129e2c1 default type is login 2018-10-25 08:20:31 -04:00
Kyle Spearrin
4165a78277 move attachment sharing logic to service 2018-10-23 22:10:08 -04:00
Kyle Spearrin
43c0cbce45 save share response 2018-10-23 16:16:59 -04:00
Kyle Spearrin
2f510a7988 emit events for share and collections 2018-10-23 15:42:20 -04:00
Kyle Spearrin
8e377050e9 collections component to jslib 2018-10-23 12:04:21 -04:00
Kyle Spearrin
89c23522d5 share component 2018-10-23 10:22:53 -04:00
Kyle Spearrin
0a36a211c3 allow setting org id and collections from input 2018-10-22 16:46:33 -04:00
Kyle Spearrin
3021afc9dd protected loadCollections for add/edit 2018-10-22 14:47:49 -04:00
Kyle Spearrin
c946f01b5f set organizationUseTotp on organizationChanged 2018-10-19 12:18:53 -04:00
Kyle Spearrin
194374ea73 support org/collection selection on cipher add 2018-10-19 11:20:04 -04:00
Kyle Spearrin
b1ead78e34 throw error if trying to edit cipher with collection ids 2018-10-19 09:15:42 -04:00
Kyle Spearrin
bf48b45010 apis for new create with collections 2018-10-19 09:14:11 -04:00
Kyle Spearrin
d1f7a97011 group user apis 2018-10-17 22:56:28 -04:00
Kyle Spearrin
2b8ffea494 put collection users apis 2018-10-17 22:18:28 -04:00
Kyle Spearrin
d49182597e new collection user api endpoint 2018-10-17 17:31:13 -04:00
Kyle Spearrin
0d8e09b3f1 add API for user collections 2018-10-17 11:18:12 -04:00
Kyle Spearrin
00efae2616 add manager org user type 2018-10-17 10:51:09 -04:00
Kyle Spearrin
2f6426deb4 success callbacks 2018-10-15 13:02:31 -04:00
Kyle Spearrin
0d30a1a1c9 tldjs noop 2018-10-13 22:43:54 -04:00
Kyle Spearrin
ad97afc590 move getDomain to jslib Utils 2018-10-13 22:21:54 -04:00
Kyle Spearrin
c35576deb8 ns updates and overloads 2018-10-13 00:11:06 -04:00
Kyle Spearrin
9fa99f3a6e only show warning if there is a row 2018-10-11 16:49:11 -04:00
Kyle Spearrin
90f723316a support for new Challenge token for U2F 2018-10-10 17:52:08 -04:00
Kyle Spearrin
9cd0bd5f7c allow multiple u2f challenges during 2fa login 2018-10-10 16:46:57 -04:00
Kyle Spearrin
7c3e0cba34 overload defaults on options get 2018-10-10 09:59:09 -04:00
Kyle Spearrin
3ca1544eb3 renamed event to updated2fa 2018-10-09 16:00:50 -04:00
ServiusHack
6f3806845d Remove artificial limit on name length (#14) 2018-10-09 15:40:06 -04:00
Kyle Spearrin
dcef50bd8f just use adapter 2018-10-09 15:31:52 -04:00
Kyle Spearrin
2870b7472b re-write data file if malformed json 2018-10-09 15:18:25 -04:00
Kyle Spearrin
a867c14b2a pass gen fixes. word sep option 2018-10-08 22:06:06 -04:00
Kyle Spearrin
d5f86747bf passphrase cleanup 2018-10-08 17:54:54 -04:00
Martin Trigaux
c4da05dbb0 Add a passphrase generation mechanism (#12)
Based on EFF's wordlist
The wordlist was selected based on arguments mentionned in
https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases
over Arnold Reinhold's Diceware list from 1995 such as avoid short,
deused or diffcult to pronounce words
2018-10-08 17:26:13 -04:00
Kyle Spearrin
7b3fce1779 default empty string on description to notes 2018-10-08 15:50:58 -04:00
Kyle Spearrin
e0c32bebc7 null checks and fix email in notes 2018-10-08 15:49:38 -04:00
ServiusHack
30a5257671 Add importer for Passman (#13)
* Add importer for Passman

The importer reads JSON files generated by the Nextcloud app Passman.

The first tag is used as the folder name. This works well if passwords
have no or only one tag. If no username is set then the email address is
used as the username.

Files are not being imported.

* Fix indentation

* Remove unsettable revision date

* Fix tslint findings

* Add email to notes when there is also a username

If a username is set, that will become the username. Otherwise the email
will become the username.

If a username and an email is set the email will be added to the notes.
2018-10-08 15:41:32 -04:00
Kyle Spearrin
4b7962dc8f add support for u2f setup apis 2018-10-08 14:21:53 -04:00
Kyle Spearrin
c3f67dbe26 rename domain to domainBase for weird nativescript issue 2018-10-04 14:38:15 -04:00
Kyle Spearrin
1f36c5fee6 dont await void methods 2018-10-04 12:05:21 -04:00
Kyle Spearrin
6b3dc2344f move toast and event track to messaging for electron 2018-10-03 09:41:41 -04:00
Kyle Spearrin
7ae640e5f8 implement eventTrack for electron 2018-10-03 00:09:07 -04:00
Kyle Spearrin
ad31527b8d move eventTrack analytics to platform utils 2018-10-03 00:03:49 -04:00
Kyle Spearrin
f793ff0aa5 refactor toaster to platform showToast 2018-10-02 23:09:19 -04:00
Kyle Spearrin
45341ec408 lower kdf iterations for edge/ie since they use less-performant polyfill 2018-10-02 09:20:32 -04:00
Kyle Spearrin
c3a2d3a536 default iterations when registering is now 100k 2018-10-02 09:06:03 -04:00
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
46f9e17056 add nativescript support to utils 2018-09-10 15:57:59 -04:00
Kyle Spearrin
e240085351 expose decrypt to bytes 2018-09-10 12:13:30 -04:00
Kyle Spearrin
4927d0d907 make enpass checks ignore case 2018-09-10 10:38:21 -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
5571fbe8bf use currency pipe on premium price 2018-08-31 15:38:40 -04:00
Kyle Spearrin
38c26d9649 Fix !== null checks 2018-08-30 21:47:41 -04:00
Kyle Spearrin
82bf646a77 check enabled too 2018-08-29 13:44:55 -04:00
Kyle Spearrin
5db115ae43 check for null path 2018-08-29 09:35:10 -04:00
Kyle Spearrin
42dbdb0043 allow attachments if can access premium 2018-08-29 09:21:27 -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
0d15ae8615 lint fixes 2018-08-27 20:00:41 -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
6f43b73237 don't re-throw exception on 2fa failure 2018-08-25 08:47:38 -04:00
Kyle Spearrin
7d0583f47b ELECTRON_NO_UPDATER env variable to disable auto-updates 2018-08-25 08:30:06 -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
5d95fc733c null checks 2018-08-23 08:56:27 -04:00
Kyle Spearrin
db1a632c65 sync on reconnect 2018-08-23 08:56:23 -04:00
Kyle Spearrin
3d02a1ecb8 make filter public 2018-08-22 22:35:18 -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
2bc7c42733 catch security errors on ie when reading hostname 2018-08-22 08:37: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
bba52192dc reload view on sync complete 2018-08-20 17:00:49 -04:00
Kyle Spearrin
7cae08a55b reinit notifications after setting urls 2018-08-20 17:00:39 -04:00
Kyle Spearrin
9bd8b73e27 standardize date types 2018-08-20 16:20:51 -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
aed1c5e927 dont show tags on save dialog (mac) 2018-08-18 00:24:48 -04:00
Kyle Spearrin
0d69c3f266 update to file save dialog 2018-08-17 23:57:42 -04:00
Kyle Spearrin
bf9a9c5f9f fix copy options 2018-08-17 12:24:56 -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
a7bbdf9c93 remove allciphers 2018-08-13 16:27:28 -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
49d3f22704 format multiple error messages when validating 2018-08-02 08:46:08 -04:00
Kyle Spearrin
6f64c5cb5a null check 2018-08-01 16:53:48 -04:00
Kyle Spearrin
370952971a make billing expiration a date object 2018-08-01 16:50:34 -04:00
Kyle Spearrin
a26527b500 is mobile browser checks on autofocus 2018-08-01 09:13:49 -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
13769a7fcb dont use cipher revisionDate 2018-07-30 22:01:21 -04:00
Kyle Spearrin
cfa4664b31 null or empty on password changed checks 2018-07-30 16:40:16 -04:00
Kyle Spearrin
557b2fc3f0 move onViewCipherPasswordHistory to desktop 2018-07-30 10:58:47 -04:00
Kyle Spearrin
a5d1bb88a7 move view history method to just desktop 2018-07-30 10:56:33 -04:00
Kyle Spearrin
b21cb789da dont make date obj from revision date 2018-07-30 10:50:22 -04:00
Kyle Spearrin
c0f6fa2db1 password history component 2018-07-30 10:04:20 -04:00
Kyle Spearrin
0b29dc10bf cipher view revision dates 2018-07-27 23:37:36 -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