1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 02:03:39 +00:00
Commit Graph

11778 Commits

Author SHA1 Message Date
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
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