1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-13 01:58:44 +02:00
Commit Graph

11683 Commits

Author SHA1 Message Date
Addison Beck
141ade3c38
[feat] End User Vault Refresh (#790)
* Move access logic to org model (#713)

* [feature] Allow for top level groupings to be collapsed (#712)

* [End User Vault Refresh] Refactor route permission checking (#727)

* Update admin access logic

* Centralize route permission handling

* Add permission check for disabled orgs

* [EndUserVaultRefresh] Add base routing guard (#732)

* Add a base class for Angular routing guards

* Update Guard naming convention

* Bump node-forge to 1.2.1 (#722)

* Remove Internet Explorer logic (#723)

* Username generator (#734)

* add support for username generation

* remove unused Router

* pr feedback

* Bump electron and related dependencies (#736)

* PS-91 make isMacAppStore return true/false (#735)

* return false if undefined from isMacAppStore

* PS-91 use strict equality instead of null coalescing

Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>

Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>

* [bug] Fix Safari CSV importer for URL and Notes (#730)

* Fix import path for safari importer (#740)

* Force updates to be silent (#739)

* support for username gen website setting (#738)

* Fix jslibModule forms (#742)

* Add DatePipe provider to JslibModule (#741)

* Feature/move to jest (#744)

* Switch to jest

* Fix jslib-angular package name

* Make angular test project

* Split up tests by jslib project

* Remove obsolete node test script

* Use legacy deps with jest-preset-angular

* Move web tests to common

* Remove build from pipeline

This was only being used because we were not using ts runners.
We are now, so build is unnecessary

* Remove the VerifyMasterPasswordComponent from jslib module (#747)

* Add ellipsis pipe to jslib module (#746)

* add ellipsis pipe to jslib module

* Add ellipsis pipe to exports

* Add ColorPasswordCountPipe to JslibModule (#751)

* Generator cleanup (#753)

* type is null by default

* rename generator component

* remove showWebsiteOption

* shorthand if check

* EC-134 Fix api token refresh (#749)

* Fix apikey token refresh

* Refactor: use class for TokenRequestTwoFactor

* Remove keytar and biometric logic (#706)

* [bug] CL - fix default button display and callout header class (#756)

* [EC-142] Fix error during import of 1pux containing new email field format (#758)

* Add support for complex email field type

* Ensure complex email field type gets imported on identities

* [euvr] Separate Billing Payment/History APIs (#750)

* [euvr] Separate Billing Payment/History APIs

* Updated to new accounts billing API

* Removed getUserBilling as it will become obsolete once merged

* [end user vault refresh] Base Changes For Vault Filters (#737)

* [dependency] Update icons

* Avoid duplicate fullSync api calls (#716)

* Tweak component library slightly (#715)

* Check runtime name vs mangled name (#724)

* Add Chromatic (#719)

* Update SECURITY.md (#725)

* Update SECURITY.md

Add link to our HackerOne program for submitting potential security issues.

* Revise language on SECURITY.md

* Remove error Response type check (#731)

* Remove error Response type check

Minimization is impacting type checking in a non-consistent way.
The previous type check works locally,
but not from build artifacts 🤷. We only set `captchaRequired` on
our errors when we want a resubmit with captcha included, so we're safe
keying off that

* linter

* [JslibModule] Add JslibModule (#733)

* Add ellipsis pipe (#728)

* add ellipsis pipe

* run prettier

* Account for ellipsis length in returned string

* Fix complete words case

* Fix another complete words issue

* fix for if there are not spaces in long value

* extract length check to beginning of method

* condense if statements

* remove log

* [refactor] Add optional folders param to folderService.getAllNested()

This will be used later for use cases where the vault filters service needs to build a list of nested folders that have been filtered by organization

* [feature] Add organization filters

This is an MVP implementation of the changes needed for the vault refresh. This includes collapsable top level groupings, and organization based filters that dynamically adjust folders and collections.

* [refactor] Break down vault filter into several components

These changes rename and rewrite the GroupingsComponent into a VaultFiltersModule. The module follows typical angular patterns for structure and purpose, and contain components for each filter type. The mostly communicate via Input and Output, and depend on a VaultFilterService for sending and recieving data from other parts of the product.

* [bug] Add missing events for folder add/edit

* [refactor] Dont directly change activeFilter in VaultFilterComponent

* [refactor] Move DisplayMode to a dedicated file

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
Co-authored-by: Robyn MacCallum <robyntmaccallum@gmail.com>

* [CL-16 Component Library] Menu Dropdown (#761)

* [bug] Add missing null check in vault filters (#769)

* [bug] Add @Injectable to VaultFilterService (#781)

* [fix] Ran prettier

* [fix] Fix merge issue

I used createUrlTree when merging guards because I knew that was the angular standard, didn't notice that redirect was a helper method from us

* Remove BaseGuard (#791)

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
Co-authored-by: Jake Fink <jfink@bitwarden.com>
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
Co-authored-by: David Frankel <42774874+frankeld@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
Co-authored-by: Robyn MacCallum <robyntmaccallum@gmail.com>
Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
Co-authored-by: Vincent Salucci <vincesalucci21@gmail.com>
2022-05-09 08:09:46 -04:00
Patrick H. Lauke
fd434dfed8
Remove underline from focused buttons/controls (#2651) 2022-05-09 10:56:17 +02:00
Daniel James Smith
3db2848cac
Fix lint issues (#2656) 2022-05-07 22:30:57 +02:00
Daniel James Smith
a0caa89bf0
Update issues link to our new repos (#2655) 2022-05-07 19:52:17 +02:00
Patrick H. Lauke
a4a6f12120
[PS-557] Browser: Accessibility - change send list controls to buttons, make them keyboard-operable, improve screen reader experience (#2540)
* Change send list controls to buttons

make them keyboard focusable/operable

* Fix width/display of sends

* Make `.row-btn.disabled` also apply to natively `disabled` buttons without need for class

* Change accessible name for send group to use the send's name, not generic "Edit item" title
2022-05-07 19:51:37 +02:00
Patrick H. Lauke
5e0f8bd870
Fix vertical alignment of expandable header chevron (#2652) 2022-05-07 19:42:20 +02:00
Patrick H. Lauke
5bd681a6dd
Add aria-pressed to URI toggles, remove appBlurClick (#2654) 2022-05-07 17:53:45 +02:00
Daniel James Smith
107ba56fbc
Crowdin-Pull: Fix paths in browsers crowdin.yml (#2641) 2022-05-06 23:05:59 +02:00
Micaiah Martin
93d2ab743c
Update provisioning files in desktop build (#2647) 2022-05-06 11:20:10 -05:00
Kyle Spearrin
5e731fb328
add appApiAction to username generation (#2549) 2022-05-06 09:07:30 -04:00
Oscar Hinton
c7cd864524
Fix linting on master (#2643) 2022-05-06 13:27:00 +02:00
Oscar Hinton
bc054236ad
[EC-189] Resolve password reprompt not appearing on linkable cipher (#1643) 2022-05-06 11:29:45 +02:00
Vince Grassia
db02c2415b
Fix build number base (#2638) 2022-05-05 16:56:45 -04:00
Thomas Rittson
52321c51cc
[EC-151] Hide Subscription/Billing information for Provider-managed organizations (#777)
* add canManageBilling permission and hasProvider helper method
2022-05-06 06:24:40 +10:00
Vince Grassia
e6fcdde29c
Fix Desktop Build Workflow (#2637) 2022-05-05 16:20:16 -04:00
Oscar Hinton
e08b65f62b
Add instructions on how to migrate desktop PRs (#2636)
* Add instructions on how to migrate desktop PRs

* Fix instructions
2022-05-05 21:59:17 +02:00
Oscar Hinton
55d2a6b503
[EC-184] Desktop cleanup (#2553) 2022-05-05 19:03:56 +02:00
Oscar Hinton
b7b7ed808f
Merge pull request #2551 from bitwarden/desktop 2022-05-05 18:25:35 +02:00
Hinton
7712ca6fa5 Merge remote-tracking branch 'desktop/mono-repo-prep' into desktop
# Conflicts:
#	.gitmodules
2022-05-05 17:22:56 +02:00
Hinton
28bc4113b9 Move desktop into apps/desktop 2022-05-05 17:20:34 +02:00
Jake Fink
9852f2ec22
[PS-106] update jslib (#1530) 2022-05-05 17:11:39 +02:00
Oscar Hinton
912f3b0d46
Rename repo to clients (#2548) 2022-05-05 16:54:48 +02:00
Micaiah Martin
fec6838f90
Updated publisher to use generic (#1529) 2022-05-05 09:51:17 -05:00
Patrick H. Lauke
55a9403ee3
[PS-540] Accessibility: remove appBlurClick, add aria-expanded to cog options, links to buttons, fix unsufficient focus indication (#1514) 2022-05-05 16:36:46 +02:00
Oscar Hinton
817856bc82
Rust improvements (#1495) 2022-05-05 16:01:09 +02:00
Micaiah Martin
508292ae39
Patched build workflow (#1527) 2022-05-04 13:59:36 -05:00
Micaiah Martin
00fd2ec03f
Update publish settings to use S3 (#1521)
* Update publish settings to use S3

* Fix formatting

* Added endpoint with new domain

* Updated S3 publisher config

* added npm CD commands for workflow later.

* Updated release workflow to publish to S3

* testing release

* Reduce aws cli output

* Remove test

* Finalize release workflow
- Reverted back testing logic
- Removed dry run check for GH release since it creates it as a draf anyways
- Removed artifact_url env as it's no longer needed.

* Remove testing values

* Merge Master

* Added endpoint in config
2022-05-04 11:19:04 -04:00
Jake Fink
80c834b52a
Stop clearing list on every reload (#784) 2022-05-04 11:10:21 -04:00
Vince Grassia
186c16b577
Update Browser Build Workflow (#2544) 2022-05-04 10:59:05 -04:00
Daniel James Smith
eb4b9bc7b0
Fix Crowdin pull action (#2542)
* Rename crowdin-pull.yml to crowdin-pull-browser.yml

* Fix path to crowdin config for pull action
2022-05-04 14:37:45 +02:00
Daniel James Smith
63c606d463
Fix directory for browser's Crowdin pull config (#2541) 2022-05-04 14:37:24 +02:00
Patrick H. Lauke
5434d7cbbd
Minor: correct markdown for image/alt (#2539) 2022-05-04 13:45:09 +02:00
Vince Grassia
7d25bf6904
Remove lint job from build workflows (#2538) 2022-05-03 16:35:35 -04:00
Oscar Hinton
c1cc5a0814
[EC-183] Move eslint and prettier to project root (#2536) 2022-05-03 21:45:37 +02:00
Oscar Hinton
06f72b90d7
[EC-183] Fix the readme badge (#2535) 2022-05-03 20:46:25 +02:00
Oscar Hinton
04ab35f69b
[EC-183] Bump jslib to match the expected version (#2534) 2022-05-03 20:25:18 +02:00
Oscar Hinton
e639f3c40c
[EC-183] Mono Repository - Browser pipelines (#2533)
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2022-05-03 20:01:37 +02:00
Oscar Hinton
3aa7570020
[EC-183] Mono Repository - Readme (#2532)
* Update GH issue templates, contributing and readme
2022-05-03 19:47:56 +02:00
Oscar Hinton
7fe51f83da
[EC-183] Mono Repository - Browser (#2531) 2022-05-03 19:38:55 +02:00
Vince Grassia
1c31d090a3
DEVOPS-758 - Move Web deploy from GitHub Pages to CloudFlare Pages (#1627) 2022-05-03 12:21:27 -04:00
dwbit
f8d942c02c
Update localization description for 'random' (#1633)
Adding description string for 'random'
2022-05-03 09:02:40 -04:00
Patrick H. Lauke
11ef07fbce
[PS-517] Normalise/fix button focus outlines (#2529) 2022-05-03 11:31:04 +02:00
Oscar Hinton
9a954710d9
Add keytar to externals (#1520) 2022-05-03 11:03:21 +02:00
Oscar Hinton
a81c3c95a4
[CP-30] Add credit card pipe (#1517) 2022-05-02 19:45:24 +02:00
Kyle Spearrin
289ef6a13f
Forwarded email providers to username generator (#2528)
* Forwarded email providers to username generator

* update jslib
2022-05-02 13:23:19 -04:00
Kyle Spearrin
9d411fd37d
fix default forwardedService property name (#788) 2022-05-02 11:26:32 -04:00
Oscar Hinton
c757cc7ab6
Fix linting (#789) 2022-05-02 17:04:53 +02:00
Oscar Hinton
99f6afbf5f
[CP-30] Use the CreditCardNumberPipe (#2527) 2022-05-02 17:02:09 +02:00
Kyle Spearrin
75470dc169
Forwarded email providers to username generator (#1511)
* forward email username generation

* update jslib
2022-05-02 10:57:01 -04:00
Anthony Garera
7e05089d73
[CP-30] Added creditCardNumber pipe for viewing saved card numbers properly (#590)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2022-05-02 16:52:53 +02:00