Thomas Rittson
75b0b7a1e1
Move ciphers paging logic from jslib to web ( #1094 )
...
* Move cipher paging logic from jslib to web
* Fix missing constructor argument
* Fix protected/private class property
* Install ngx-infinite-scroll (moved from jslib)
* Update jslib
2021-08-05 12:05:15 +10:00
Matt Gibson
ebbdea8f88
Batch web provider fixes ( #1113 )
...
* Style provider set up toast
* Correct translation strings
* Do not show provider organization management for non admins
* Product feedback for provider org description
* Correct message grammar
2021-08-04 20:53:15 -05:00
Matt Portune
7844c23fba
Revert "Add assetlinks.json to webpack.config.js ( #1110 )" ( #1114 )
...
This reverts commit 2c1b06a5d8 .
2021-08-04 19:06:55 -04:00
Matt Portune
a34844511c
Update app-id.json ( #1112 )
2021-08-04 15:50:03 -04:00
Matt Gibson
44f624e9a6
Instantiate all status map arrays on load ( #1107 )
...
* Instantiate all status map arrays on load
* Update jslib
* Linter fixes
2021-08-04 08:30:06 -05:00
Thomas Rittson
cae26521cc
Move ciphers paging logic from jslib to web ( #436 )
...
* Remove paging logic from ciphers base class
* Fix linting
* Fix spacing
* Remove ngx-infinite-scroll (moved to web)
2021-08-04 08:58:37 +10:00
Matt Portune
2c1b06a5d8
Add assetlinks.json to webpack.config.js ( #1110 )
...
* Update webpack.config.js
* add assetlinks.json
2021-08-03 13:23:04 -04:00
Matt Gibson
a23c2523d2
Show only business org create form if provider ( #1104 )
...
* Show only business org create form if provider
* Show only business-level orgs to add to providers
* business name was previously removed
2021-08-03 11:42:02 -05:00
Matt Gibson
f6df9983a3
Add owner email to provider org creation ( #1101 )
...
* Add owner email to provider org creation
* Use Correct request model
* Update jslib
* Remove unused input
* Remove unused input
* Improve client owner email description
2021-08-03 09:33:08 -05:00
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