Matt Gibson
8ebefb9a2e
Clarify admin provider description ( #1109 )
2021-08-02 13:19:12 -05:00
Patrick H. Lauke
888fc74a57
A11y: use visually hidden styles rather than visibility
...
- `visibility:hidden` also hides text from assistive technologies, leading to the settings link lacking an accessible name when not hovered (focused with keyboard only, for instance)
- turn the styles around and hide the non-hovered link's span with "visually hidden" styles https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/
- also include `:focus` to make the text visible when hovered (for sighted keyboard users)
2021-07-31 22:07:05 +01:00
Patrick H. Lauke
7e1c491124
Add extra styles for buttons
...
- to maintain the existing look and feel after switching links to buttons
2021-07-31 21:10:37 +01:00
Patrick H. Lauke
d528d72b4d
Change links to buttons
...
- more semantically accurate, will expose these as buttons to assistive technologies
- note: while having block-level elements like `<div>` inside a `<button>` is an html validation error, it does not affect functionality as long as there's no more structure inside it
2021-07-31 20:50:46 +01:00
Matt Gibson
65c998dd0d
Iterate over enum values ( #445 )
2021-07-30 13:57:42 -05:00
Matt Gibson
fdf0eb989b
Provide owner with Provider client org create requst ( #444 )
2021-07-30 08:11:12 -05:00
Matt Gibson
9fabdbd0a1
Fix setup provider page ( #1106 )
...
* Show only business org create form if provider
* Remove business name from provider views
2021-07-30 08:10:00 -05:00
libertylocked
80cb4e702f
Update package lock for duo_web_sdk in angular ( #443 )
2021-07-29 19:06:24 +02:00
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