1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 11:13:46 +00:00
Commit Graph

11886 Commits

Author SHA1 Message Date
Addison Beck
ce358a18c2 Merge pull request #178 from bitwarden/ApiKeyAuthInTheCli
Implement User-based API Keys
2020-11-10 15:15:50 -05:00
Addison Beck
79b856cb6e Implement User-based API Keys (#197)
* Added support for authenticating with an API key

* added api service methods for user api keys

* fixed a copy/pasted api endpoint url

* Let toIdentityToken() use a a prestored client_id in place of the application client_id if one exists

* Allowed for api key auth in the cli

* Removed some commented out code commited for apiKey auth

* Cleanup for ApiKey auth in the CLI

* Removed cli prefix from client_crendential auth types

* Removed ClientPrefix conditional from decoded token getters

* Update src/services/api.service.ts

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>

* formatting

* changed command from login --apiKey to login --apikey

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-11-10 15:15:40 -05:00
Matthew
37cf46d581 Add 'Copy Username' button (#691)
This adds a 'Copy Username' button above the 'Copy Password' button in
the dropdown for individual entries in the safe. This matches the
capabilities of the desktop app, where you can right-click on any entry
and get options for both 'copy password' and 'copy username'.
2020-11-10 14:26:38 -05:00
Addison Beck
2c29df7a86 changed command from login --apiKey to login --apikey 2020-11-10 12:21:35 -05:00
Vincent Salucci
407032114e [Exemption] Updated policy messages (#692)
* Updated mesages // added callout for require sso

* removed unused string

* updated strings - futureproofing
2020-11-10 09:53:57 -06:00
Chad Scharf
0243bc55f2 Merge pull request #180 from eliykat/docs-contrib
expand contributing guide
2020-11-10 10:53:02 -05:00
eliykat
94aece134c Docs contrib (#696)
* expand contributing guide

* fix typo
2020-11-10 10:52:09 -05:00
Chad Scharf
56ef051e09 Merge pull request #583 from eliykat/docs-contrib
expand contributing guide
2020-11-10 10:48:49 -05:00
eliykat
4051e8cfd0 fix typo 2020-11-10 17:44:04 +10:00
Christian Oliff
7532bf9825 HTTPS link to EditorConfig.org (#694) 2020-11-09 15:30:33 -05:00
Kyle Spearrin
c4e88ac1bc lock vault shortcut only for safari (#1452) 2020-11-06 10:51:35 -05:00
comparesheriff
6b6fc33b6f Add 'lock_vault' command (#1450)
* Update manifest.json

Add additional command to lock the vault

* Update shortcuts.ts

add mousetrap binding for lock_vault command

* Update commands.background.ts

add option to lock vault with shortcut

* Update messages.json

add german key for lock_vault

* Update messages.json

add english key for 'lock_vault' command

* remove commandLockVaultDesc from de message pack

* Update messages.json

* Update shortcuts.ts

update comment for safari keybinding

* Update shortcuts.ts

remove confusing comment

Co-authored-by: ljakobitz@dev5310.com <ljakobitz@dev5310.com>
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-11-06 10:43:06 -05:00
Kyle Spearrin
0f4f541b11 some filtering logic for sends (#689) 2020-11-05 14:41:54 -05:00
eliykat
62edd889f7 fix typo in symlink:win script (#1447) 2020-11-05 14:16:06 -05:00
Vincent Salucci
6f6a5461b7 [GDPR] Adjusted TOS/Privacy acceptance (#1445)
* updated tos/privacy policy acceptance

* Removed variables/logic now found in superclass

* update jslib (d84d6da -> 5e50aa1)

* Added content-row UI
2020-11-05 13:13:46 -06:00
Kyle Spearrin
07a3d38bef fix compile errors 2020-11-04 16:30:19 -05:00
Chad Scharf
c0ba74b2e1 Merge pull request #577 from bitwarden/handle-window-hide
Handle main window hidden event
2020-11-04 15:41:07 -05:00
Chad Scharf
eebec21afe Merge branch 'master' of https://github.com/bitwarden/desktop into master 2020-11-04 15:14:04 -05:00
Chad Scharf
d83fb51dc3 t push origin masterMerge branch 'handle-window-hide' into master
Handle main window hidden event
2020-11-04 15:13:20 -05:00
Kyle Spearrin
e9273ff79a Send initial implementation (#687)
* send work

* Bump version to 2.16.2 (#668)

* [SSO] New User Provision flow jslib update (f30d6f8 -> d84d6da) (#672)

* Update jslib (f30d6f8 -> d84d6da)

* Updated imports/constructor to super

* OnlyOrg Policy (#669)

* added localization strings needed for the OnlyOrg policy

* added deprecation warning to policies page

* allowed OnlyOrg policy configuration

* blocked creating new orgs if already in an org with OnlyOrg enabled

* code review cleanup for onlyOrg

* removed a blank line

* code review cleanup for onlyOrg

* send listing actions

* updates

* access id

* update jslib

* re-work key and password derivation

* update jslib

* makeSendKey

* update access path

* store max access count

* update jslib

* l10n work

* l10n for access page

* l10n and cleanup

* fix l10n

Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
Co-authored-by: Addison Beck <abeck@bitwarden.com>
2020-11-04 14:49:08 -05:00
Chad Scharf
97e982bf01 onDestroy needed for broadcast subscriptions 2020-11-04 14:00:44 -05:00
Chad Scharf
c9c6a11390 update jslib 2020-11-04 12:22:17 -05:00
Chad Scharf
9aa3cbf73d Turned off background throttling for browserWindow (#196) 2020-11-04 12:21:29 -05:00
Chad Scharf
fe031ac6b8 remove trailing whitespace for lint errors 2020-11-04 12:19:56 -05:00
Chad Scharf
c001a00f82 Hide hidden fields on hide/minimize 2020-11-04 12:09:21 -05:00
Chad Scharf
6e89c04f3e Added missing member, showValue to Field (#195) 2020-11-03 14:36:19 -05:00
Kyle Spearrin
1a918436ca fix set-env refs 2020-11-03 13:29:00 -05:00
Vincent Salucci
1aa708aed4 [GDPR] Adjusted TOS/Privacy acceptance (#684)
* initial commit for GDPR terms/privacy acceptance

* updated styling/formatting

* Fixed line break in blockquote

* removed unused submit message

* Removed variables/logic now found in superclass

* update jslib (76c0964 -> 5e50aa1)
2020-11-02 16:33:15 -06:00
Vincent Salucci
bcc8bc0c80 [GDPR] Adjusted TOS/Privacy acceptance (#579)
* initial commit gdpr acceptance

* Removed variables/logic now found in superclass

* update jslib (d84d6da -> 5e50aa1)
2020-11-02 16:32:58 -06:00
Chad Scharf
4a18a4eb93 cont. removing broadcast srv jslib refs 2020-11-02 17:11:56 -05:00
Chad Scharf
5ff545e541 Undo broadcast service refs (not needed) 2020-11-02 17:08:39 -05:00
Kyle Spearrin
0e9e73ce95 Some groundwork for Send (#192)
* send work

* New method to update the last used index (#184)

Instead of updating it every time you call getNext(), it will be updated in a separate call, to avoid updating the index when the cipher did not auto-fill correctly (e.g wrong frame)
Fixes #1392

* added OnlyOrg to PolicyType enum (#183)

* [Require SSO] Add policy type enumeration (#186)

* Added SsoAuthentication policy type

* Updated policy type name // added comments for clarification of what each type controls

* [SSO] New user provision flow (#173)

* Initial commit of new user sso flow

* Adjusted stateSplit conditional per review

* Add logging to lowdb storage service (#188)

* Fix lint errors/warnings (#187)

* remove password api

* access id

* makeSendKey

Co-authored-by: Josep Marí <xusoo@users.noreply.github.com>
Co-authored-by: Addison Beck <abeck@bitwarden.com>
Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
2020-11-02 15:58:18 -05:00
Vincent Salucci
5e50aa1a19 Added terms/privacy variables & logic (#193) 2020-11-02 12:50:58 -06:00
Addison Beck
421de80daf Added --apiKey option to the login command 2020-11-01 14:57:33 -05:00
Cedric Wille
9914ac6610 issue496 Improve touchID message 2020-10-30 14:56:30 -04:00
Chad Scharf
d8d1ee3022 Handle main window hide 2020-10-29 16:35:09 -04:00
Kyle Spearrin
8cb5a9f505 hkdf crypto functions (#190)
* hkdf crypto functions

* comment to spec
2020-10-29 15:52:12 -04:00
Tom Rittson
0dc2da052f expand contributing guide 2020-10-28 17:35:00 +10:00
Tom Rittson
73f1ab2291 expand contributing guide 2020-10-28 17:26:29 +10:00
Addison Beck
ebe5a6030e Only org to single org (#680)
* change OnlyOrg references to SingleOrg

* updated jslib

* change OnlyOrg references to SingleOrg

* missed a reference to OnlyOrg in messages
2020-10-27 10:28:57 -04:00
Chad Scharf
f6946085d8 Use properly transpiled SweetAlert2 lib (#682) 2020-10-26 17:52:01 -04:00
Chad Scharf
0e42893d1c Merge pull request #1421 from eliykat/docs-contrib
expand CONTRIBUTING.md
2020-10-26 17:09:44 -04:00
Addison Beck
76c09641ba changed OnlyOrg enum to be SingleOrg (#189) 2020-10-26 16:01:17 -04:00
Hinton
0c0beb7446 Build proxy for all dist 2020-10-26 20:35:47 +01:00
Vincent Salucci
beebe7c98b [Require SSO] Enterprise policy adjustment (#676)
* Commits for policies/edit/strings

* more initial commits of policy/edit/strings

* More changes for require sso

* Updated strings to match policy string patterns

* Updated false enable on error

* Removed sso prevalidate prereq // adjusted callout

* Updated policy array creation and added display value
2020-10-26 11:56:02 -05:00
Chad Scharf
312cdbee3d Merge pull request #1438 from gleichda/master
Add some german input field names
2020-10-26 12:49:32 -04:00
David Gleich
c209fd72de Add some german input field names 2020-10-24 13:01:03 +02:00
Hinton
c1b099f5da Handle invalidatedEncrytption message 2020-10-23 14:40:50 +02:00
Hinton
da0cd3d588 Send error when failing to decrypt message 2020-10-23 14:40:31 +02:00
Hinton
b0c9054f23 Update with support for latest jslib 2020-10-23 10:42:58 +02:00