1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00
Commit Graph

11941 Commits

Author SHA1 Message Date
Matt Gibson
0180d0cce5 Provide information to set webauthn allow in html template (#455) 2021-08-12 15:12:31 -05:00
Matt Gibson
c5f236c2e4 Use apikey client secret as captcha validation (#454)
* Use apikey client secret as captcha validation

* Linter fixes
2021-08-12 15:11:26 -05:00
Matt Gibson
26e8b48deb Set up captcha iframe only on submit of login (#453) 2021-08-12 15:10:07 -05:00
Joseph Flinn
a1738c57dd Cleaning up the build workflow and making sure the changes to the build workflow are reflected in the release workflow (#360) 2021-08-12 10:04:37 -07:00
Joseph Flinn
45eaa24b0c Removing branch constraints on when to expose build assets (#359)
* Removing branch constraints on when to expose build assets

* updating to snap 5.0

* adding more snapcraft 5.0 specific updates

* installing multipass

* fixing syntax error

* switching from using a VM via multipass to using lxd

* trying the official snap build actions

* fixing error

* commenting out the snapcraft version

* testing the new changes to the snapcraft.yml file

* nameing the build snap task

* naming the build snap task
2021-08-11 15:38:05 -07:00
Addison Beck
a61598253c Merge pull request #1995 from bitwarden/m-rpv1-force-reset 2021-08-11 15:50:15 -04:00
Vincent Salucci
d82378a7a0 [Reset Password v1] Update Temp Password (#1015) 2021-08-11 15:49:44 -04:00
addison
c9a244471e also moved the rmp check in the two factor component 2021-08-11 13:44:09 -04:00
Mathew Hodson
da12cbcd37 Don't use deprecated initKeyEvent() for autofill (#2001) 2021-08-11 12:40:36 -05:00
addison
a54c4c8efa changed the header for the update temp password screen 2021-08-11 12:22:28 -04:00
addison
8e56790265 moved the update temp password check on login to right after syncing finishes 2021-08-11 12:19:08 -04:00
addison
2c954d2ce0 implemented password score styling for update temp password 2021-08-11 12:09:10 -04:00
addison
a580dc6941 updated jslib 2021-08-11 12:08:44 -04:00
Joseph Flinn
b9b20bc36b Fix crowdin sync (#1122)
* fixing syntax error

* changing the way we check the number of build status tries

* adding in the Crowdin Api Token env var to the main step

* Breaking up the Crowdin update step into smaller manageable steps

* fixing env var for the download step

* fixing build id env for download

* Fixing PR branch env vars

* adding in a different way of pushing if branch already exists

* fixing the git bot user
2021-08-11 09:01:29 -07:00
Matt Gibson
380d4ea28e Snapcraft 5 got rid of default core base and now requires specification. (#358)
`core18` is equivalent to the previous behavior and is the recommended base for most apps.
2021-08-11 09:41:22 -05:00
addison
b0b0e144ea Merge branch 'master' into m-rpv1-force-reset 2021-08-11 10:09:54 -04:00
Thomas Rittson
816249a48a Use cdk-virtual-scroll for long cipher lists (#1001)
* Use cdk-virtual-scroll for cipher lists

* add trackBy, reorder dom

* Undo merge conflict error

* Fix layout, increase scrolling buffer

* fix linting

* Remove unused infinite-scroll directives for Send

* Add back refresh method

* Update jslib

* Fix itemSize and min/maxBufferPx directives

* Move refresh() into base class

* Use cipherListVirtualScroll strategy

* fix linting

* Update to use latest virtual-scroll strategy

* Update jslib
2021-08-11 13:00:04 +10:00
Thomas Rittson
6229ee1e2a Update jslib (#357) 2021-08-11 12:57:59 +10:00
Thomas Rittson
69c892807c Use custom virtual scroll strategy (#2002)
* update jslib

* Use custom virtual scroll strategy
2021-08-11 12:52:44 +10:00
Thomas Rittson
709d187498 Update jslib (#1120) 2021-08-11 12:51:13 +10:00
Thomas Rittson
c70c8ecc24 Use custom virtual scroll strategy (#452)
* Add CipherListVirtualScroll strategy

For use in cdk-virtual-scroll. Subclasses the default FixedSizeVirtualScroll
but reads the first available itemSize from the rendered content instead of
setting it in the template.

* Fix linting and style

* Refactor virtual scroll strategy

* linting and style

* Subclass virtual scroll strategy directive

* fix linting

* Fix filename conventions
2021-08-11 12:37:25 +10:00
Thomas Rittson
a2b62755bc Add back in refresh() in ciphers.component (#451) 2021-08-11 08:24:39 +10:00
Thomas Rittson
98098c3fb6 Insert missing await (#449) 2021-08-11 06:36:16 +10:00
Thomas Rittson
c694591e4c Use UrlB64 encoding for auth-email header (#450) 2021-08-11 06:33:15 +10:00
Vincent Salucci
1a1ba6ed3b [Reset Password v1] Update Temp Password (#356)
* [Reset Password v1] Update Temp Password

* updated jslib

* fetched email before checking for reset master password

Co-authored-by: addison <addisonbeck1@gmail.com>
2021-08-10 13:35:41 -04:00
Joseph Flinn
392e29a371 Fixing Automated Web Deploy (#1082)
* switching back to npm install because duo_web_sdk is in the package-lock.json as an ssh url

* trying the workaround found in https://github.com/npm/cli/issues/2610

* adding in the jslib to see if that fixes the original problem. Removing the workaround to isolate the solution

* adding in back the workaround
2021-08-10 07:52:53 -07:00
Joseph Flinn
77a401a931 QA deploy to CI push (#1119)
* updating the way we are deploying the web qa project

* adding double quotes to try to fix the new image tag

* trying the env var on a multi-line

* fixed the git ref image name in the build workflow

* fixing the the image tag in the qa deploy workflow

* adding in the k8s namespace to the set image
2021-08-10 07:28:21 -07:00
Matt Portune
f0678418d5 Revert "Revert "Add assetlinks.json to webpack.config.js (#1110)" (#1114)" (#1116)
This reverts commit 7844c23fba.
2021-08-10 09:55:52 -04:00
addison
03616380f1 updated jslib 2021-08-10 08:11:47 -04:00
Vincent Salucci
3857ee2370 [Reset Password v1] Update Temp Password (#1111)
* [Reset Password v1] Update Temp Password

* Updated event string

* updated jslib

Co-authored-by: addison <addisonbeck1@gmail.com>
2021-08-10 08:10:54 -04:00
Vincent Salucci
c2e434e333 [Reset Password v1] Update Temp Password (#446)
* [Reset Password v1] Update Temp Password

* Updating router to protected for child classes to access
2021-08-10 08:02:53 -04:00
Matt Gibson
9bdda9cc4c Provider qa feedback (#1118)
* Ensure business plan is selected for providers

* Show add organization button on if user has valid orgs to add

* Correct client owner description

* No drop down options if you can't manage organizations
2021-08-09 12:24:12 -05:00
Matt Gibson
2b0d3f9e0d Handle vault accessed event types (#1115)
* Handle vault accessed event types

* update jslib
2021-08-05 13:30:47 -05:00
Vincent Salucci
2bddc1017b [Reset Password v1] Update Temp Password 2021-08-05 10:01:58 -05:00
Matt Gibson
027747246c Add event type for provider accessing client vault (#448) 2021-08-05 07:50:56 -05:00
Xandre V
090e9f35ae Remove unsafe-inline from Content Security Policy in manifest.json (#1873) 2021-08-05 17:24:58 +10:00
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