1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00
Commit Graph

11638 Commits

Author SHA1 Message Date
Matt Gibson
18aeeef6fe Use != for null checks (#1105) 2021-07-29 10:38:35 -05:00
Matt Gibson
db2e2f1977 Correct ProviderOrgCreate return type (#442) 2021-07-29 07:43:38 -05:00
Addison Beck
aafcc88162 Removed create account button from provider setup email (#1100) 2021-07-28 13:56:52 -04:00
Daniel James Smith
5a3bd22132 Remove dependency on duo_web_sdk and update jslib (#1099) 2021-07-28 19:51:55 +02:00
Daniel James Smith
1b12a278cf Merge pull request #1974 from bitwarden/remove_duo_web_sdk
Remove dependency on duo_web_sdk and update jslib
2021-07-28 19:51:03 +02:00
Daniel James Smith
157d9478d4 Remove dependency on duo_web_sdk and update jslib (#1006) 2021-07-28 19:50:06 +02:00
Daniel James Smith
d55718a4c2 Remove dependency on duo_web_sdk and update jslib 2021-07-28 19:04:00 +02:00
Matt Gibson
4119713ace Validate permissions before API calls (#1098)
Manage users is required to list provider users. If this permission is
missing the event is listed as done by the provider name
2021-07-28 11:40:01 -05:00
Daniel James Smith
23309d33e2 Add missing dependency 'duo_web_sdk' in jslib/angular/package.json (#441) 2021-07-28 18:35:03 +02:00
Joseph Flinn
851a53ec31 initial trial of automating the crowdin syncing (#1096) 2021-07-26 07:53:35 -07:00
Matt Gibson
686c0e854f Set env with EnvironmentPlugin (#1097)
* Set env with EnvironmentPlugin

* Remove stringify

EnvironmentPlugin applies stringify itself.
2021-07-26 08:51:25 -05:00
Oscar Hinton
20561fff87 Add support for helpers in environment service (#1002)
* Add support for helpers in environment service

* Add environment service to register component

* Bump jslib
2021-07-23 17:15:32 -04:00
Oscar Hinton
4ec06bbd1e Add support for helpers in environment service (#353) 2021-07-23 22:46:32 +02:00
Oscar Hinton
7cf4cfe3d1 Add support for helpers in environment service (#1967) 2021-07-23 22:32:42 +02:00
Matt Gibson
a73cbbb672 Feature/use hcaptcha if bot (#1089)
* Add captcha to login page

* pull out shared method

* Update parse parameter logic

* Load captcha

* responsive iframe height
* correct i18n
* site key provided by server

* Fix locale parsing

* Add optional success callbackUri

* Make captcha connector responsive

* Handle parameter versions in webauthn

* Move variables to top of script

* Add captcha to registration

* Move captcha above `<hr>` div to be part of input form

* Add styled mobile captcha connector

* Linter Fixes

* Remove duplicate import

* Use listener to load captcha

* PR review
2021-07-23 14:30:04 -05:00
Matt Gibson
ecdd08624f Feature/cli fail login on captcha request (#439)
* Fail CLI login if captcha is required by the server.

* Linter fixes
2021-07-23 14:27:48 -05:00
Matt Gibson
c863d68057 Feature/use hcaptcha if bot (#1000)
* Add captcha to login component

* Add catpcha to login page

* Update content width if captcha is visible

* extend submit to handle widening if captcha is required

* Improve login styling

* Add Captcha to registration page

* Remove padding from captcha div

The padding was messing up image selection of captcha items

* Update jslib

* PR review

* update jslib
2021-07-23 13:48:10 -05:00
Oscar Hinton
2b5f61cadd Use the helper methods in EnvironmentService (#1092) 2021-07-23 20:47:43 +02:00
Matt Gibson
55917b6cb0 Feature/use hcaptcha if bot (#1968)
* Add captcha to login page

* Include log service in DI providers for api-action directive

* Add captcha to register page

* update jslib
2021-07-23 13:22:53 -05:00
Oscar Hinton
e1ce721364 [Provider] Refresh identity token on full sync (#437) 2021-07-23 20:05:34 +02:00
Oscar Hinton
de288913e4 Add helper methods to EnvironmentService for retrieving urls (#435) 2021-07-23 20:03:52 +02:00
Oscar Hinton
35d6a28c94 Ensure Angular is running as production (#1093) 2021-07-23 20:03:14 +02:00
Oscar Hinton
d31150c7a1 [Provider] Add access checks for tabs (#1095) 2021-07-23 20:01:47 +02:00
Matt Gibson
c77441b353 Use both instanceof and constructor name as type identification (#438)
* Use both instanceof and constructor name as type identification

* Linter fix
2021-07-23 11:47:06 -05:00
Matt Gibson
e9d9cd0182 Feature/use hcaptcha on register if bot (#434)
* Parse captcha required from error messages

CaptchaProtectedAttribute produces an error with captcha information.
We want to parse that data out to make it easily accessible to components

* Don't show error on catpcha

The component should hande this situation.

* Add captchaResponse to captcha protected api endpoints

* Extract captcha logic to abstract base class

* Add captcha to register

* linter fixes

* Make sure to log Captcha required responses

* Match file naming convention

* Separate import into logical groups by folder

* PR review
2021-07-22 12:28:45 -05:00
Matt Gibson
ea0c8267d4 Rename captcha bypass token (#433) 2021-07-21 13:35:15 -05:00
Oscar Hinton
218259fc7e [Provider] Add provider link in navbar (#1091) 2021-07-21 19:53:33 +02:00
Oscar Hinton
c608a489dd [Provider] Add events for Provider Organizations (#1090) 2021-07-21 19:53:21 +02:00
Oscar Hinton
8bf0f75d9e [Provider] ProviderOrganization events (#432) 2021-07-21 19:40:52 +02:00
Addison Beck
d7287e7aa3 set Send date presets to Custom if editing a send (#997) 2021-07-21 12:43:40 -04:00
Matt Gibson
1006f50ef3 Feature/use hcaptcha if bot (#430)
* Handle hcaptch required identity response

* Refactor iframe component for captcha and webauthn

* Send captcha token to server

* Add captcha callback

* Clear captcha state

* Remove captcha storage

* linter fixes

* Rename iframe components to include IFrame

* Remove callback in favor of extenting submit

* Limit publickey credentials access

* Use captcha bypass token to bypass captcha for twofactor auth flows

* Linter fixes

* Set iframe version in components
2021-07-21 07:55:26 -05:00
Oscar Hinton
a94faf06a9 [Provider] Add support for managing providers (#1014) 2021-07-21 11:32:27 +02:00
Matt Gibson
230e00e423 Fix unlock env and passwordfile (#352)
* Handle null options

* Pass in ConsoleLogService dependency
2021-07-20 09:54:04 -05:00
Trey Greer
ebe08535e0 Added mapping for Serbian Cyrillic (#1088) 2021-07-19 14:31:44 -04:00
Addison Beck
0682269e34 Resolved Safari Date/Time Issues In Send (#992)
* cleaned up date and time logic for Send

* updated jslib

* set up change detection for initial form values on data swap
2021-07-19 09:56:31 -04:00
Thomas Rittson
5e7e035eec [send.key] Update send.key when rotating account enc key (#1049)
* Update send.key when rotating account enc key

* Update jslib
2021-07-19 20:14:24 +10:00
Oscar Hinton
d85ee9780f Use UserNamePipe (#1085) 2021-07-19 10:47:34 +02:00
Thomas Rittson
00acbce556 Add models to update send.key with account key (#418) 2021-07-19 07:33:19 +10:00
Colin Frei
87d37dd29e typo (#1086)
build:dev:watch requires a development.json file, not development.js

Causes the error "[webpack-cli] Error: Cannot find module './config/development.json'" otherwise.
2021-07-18 12:01:08 +02:00
Addison Beck
829fb237c7 Merge pull request #1955 from bitwarden/SafariDateTimeWoes
Resolved Safari Date/Time Issues In Send
2021-07-16 14:31:43 -04:00
Addison Beck
ba6d61a510 Resolved Safari Date/Time Issues In Send (#1084)
* cleaned up date and time logic for Send

* updated jslib

* updated jslib
2021-07-16 14:31:35 -04:00
addison
867286a70e updated jslib 2021-07-16 13:58:37 -04:00
Addison Beck
58be5796b0 Resolved Safari Date/Time Issues In Send (#428)
* cleaned up date and time logic for Send

* time rename

* fixed casing

* added suffix
2021-07-16 13:53:46 -04:00
Oscar Hinton
48d2ffc8d7 Add UserNamePipe (#429) 2021-07-16 15:24:14 +02:00
Oscar Hinton
056fdba6dd Hide biometric setting when running in Android (#1907) 2021-07-16 10:11:21 +02:00
Chad Scharf
b99a81a1b9 Merge pull request #1957 from bitwarden/cscharf-patch-readme
Update manifest info in readme.md for desktop comm
2021-07-15 18:09:47 -04:00
Chad Scharf
8faefe43af Update manifest info in readme.md for desktop comm
Prior PR that I approved and merged in needed a little bit more info that Oscar had pointed out to help with other OS's regarding manifest locations such as macOS. This is not an exhaustive reference but at least points the person in the right direction.
2021-07-15 16:42:26 -04:00
addison
39ef5d2e92 cleaned up date and time logic for Send 2021-07-15 11:10:58 -04:00
Chad Scharf
cee2287feb Merge pull request #1951 from danepowell/patch-1
[readme] enable desktop communication
2021-07-15 10:07:06 -04:00
Oscar Hinton
9f0ca7e4d2 [Provider] Add initial support for providers (#399) 2021-07-15 15:07:38 +02:00