1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-03-02 03:41:09 +01:00
Commit Graph

13017 Commits

Author SHA1 Message Date
Daniel James Smith
cf2d8b266a
[PM-1071] Display import-details-dialog on successful import ()
* Prefer callback over error-flow to prompt for password

Remove error-flow to request file password
Prefer callback, which has to be provided when retrieving/creating an instance.
Delete ImportError
Call BitwardenPasswordProtector for all Bitwarden json imports, as it extends BitwardenJsonImporter
Throw errors instead of returning
Return ImportResult
Fix and extend tests import.service
Replace "@fluffy-spoon/substitute" with "jest-mock-extended"

* Fix up test cases

Delete bitwarden-json-importer.spec.ts
Add test case to ensure bitwarden-json-importer.ts is called given unencrypted or account-protected files

* Move file-password-prompt into dialog-folder

* Add import success dialog

* Fix typo

* Only list the type when at least one got imported

* update copy based on design feedback

* Remove unnecessary /index import

* Remove promptForPassword_callback from interface

PR feedback from @MGibson1 that giving every importer the ability to request a password is unnecessary. Instead, we can pass the callback into the constructor for every importer that needs this functionality

* Remove unneeded import of BitwardenJsonImporter

* Fix spec constructor

* Fixed organizational import

Added an else statement, or else we'd import into an org and then also import into an individual vault
2023-04-06 22:41:09 +02:00
Robyn MacCallum
19626a7837
Sort organization filters alphabetically () 2023-04-06 10:31:36 -04:00
Larry Sussman
019aaf214b
[PS-2175] Rename Billing Sync Key in View Billing Sync Token modal ()
* fix: renamed to billing sync token

* Use translated string

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>

---------

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2023-04-06 08:05:34 -05:00
Thomas Rittson
7899b25ab3
[PM-1426] Refactor uri matching ()
* Move URI matching logic into uriView

* Fix url parsing: always assign default protocol, otherwise no protocol with port is parsed incorrectly

* Codescene: refactor domain matching logic
2023-04-06 13:30:26 +10:00
Vincent Salucci
576d85b268
[AC-1202] Update enums filenames for admin-console/billing teams ()
* refactor: add barrel file for admin-console enums, update references, refs AC-1202

* fix: lint/prettier updates, refs AC-1202

* refactor: add enum suffix, refs AC-1202

* refactor: add barrel file for billing enums, update imports to use it, refs AC-1202

* fix: prettier, refs AC-1202

* refactor: add enum suffix for billing enums, refs AC-1202
2023-04-05 20:34:23 -05:00
aj-rosado
c6bc97cf5c
[PS-2390] Passing folder and collection id on import ()
* PS-2390 - Passing folder and collection id on import
Reading groupingid from lastpass csv as collection or folder id

* PS-2390 - Added toDomain and toModel on FolderWithIdExport model and created CollectionWithIdExport model

* PS-2390 - renamed groupingid into bwcollectionid on lastpass importer

* PS-2390 - Updated collection/folder-with-id export to reuse parent toDomain and toView

* PS-2390 Undo the lastpass importer groupingId rename

* PS-2390 Undo lastpass importer changes

* PS-2390 - Removed externalId set. Cleaning collection-with-id-request to user parent properties

* Lint prettier
2023-04-05 19:15:33 +01:00
github-actions[bot]
043f3c54e3
Bumped browser version to 2023.3.1 ()
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-04-05 17:12:33 +01:00
Andreas Coroiu
2992142681
[EC-598] fix: send correct excluded cipher ids 2023-04-05 16:47:48 +02:00
Andreas Coroiu
034f16f29e
[EC-598] feat: add rudimentary support for excluded credentials 2023-04-05 16:43:13 +02:00
Andreas Coroiu
183af55491
[EC-598] feat: make fallback working again 2023-04-05 16:28:46 +02:00
Andreas Coroiu
cd70b17b9a
[EC-598] feat: fully refactored user interface
Now uses sessions instead of single request-response style communcation
2023-04-05 16:17:40 +02:00
Andreas Coroiu
11d340bc97
[EC-598] feat: add initial implementation of UI sessions 2023-04-05 11:38:32 +02:00
Vincent Salucci
bacb8828de
[AC-1266] Enums filename conventions ()
* refactor: update clientType enum

* refactor: update deviceType filename

* refactor: update encryptedExportType filename

* refactor: update encryptionType filename

* refactor: update eventType filename

* refactor: update fieldType filename

* refactor: update fileUploadType filename

* refactor: update hashPurpose filename

* refactor: update htmlStorageLocation filename

* refactor: update kdfType filename

* refactor: update keySuffixOptions filename

* refactor: update linkedIdType filename

* refactor: update logLevelType filename

* refactor: update nativeMessagingVersion filename

* refactor: update notificationType filename

* refactor: update productType filename

* refactor: update secureNoteType filename

* refactor: update stateVersion filename

* refactor: update storageLocation filename

* refactor: update themeType filename

* refactor: update uriMatchType filename

* fix: update kdfType classes missed in initial pass, refs AC-1266

* fix: missing import update for device-type

* refactor: add barrel file for enums and update pathed import statements, refs AC-1266

* fix: incorrect import statements for web, refs AC-1266

* fix: missed import statement updates (browser), refs AC-1266

* fix: missed import statement changes (cli), refs AC-1266

* fix: missed import statement changes (desktop), refs AC-1266

* fix: prettier, refs AC-1266

* refactor: (libs) update relative paths to use barrel file, refs AC-1266

* fix: missed find/replace import statements for SecureNoteType, refs AC-1266

* refactor: apply .enum suffix to enums folder and modify leftover relative paths, refs AC-1266

* fix: find/replace errors for native-messaging-version, refs AC-1266
2023-04-04 22:42:21 -05:00
Jared Snider
4d6d3c4bd5
PM-1354 - Fix master password not auto focused on web login flow () 2023-04-04 16:39:49 -04:00
SmithThe4th
68d5558b9f
added a check on the view component to check if the folder is null before rendering the html on the browser () 2023-04-04 15:50:15 -04:00
Andreas Coroiu
55cd736ec3
[EC-598] feat: fully wokring non-discoverable implementation 2023-04-04 16:21:43 +02:00
Todd Martin
8f9ce3dc8a
Revert "[PS-1918] Make autofill doc-scanner traverse into ShadowRoot ()" ()
This reverts commit 208be8dfbf.
2023-04-04 08:07:48 -04:00
Andreas Coroiu
9dfd85dcd7
[EC-598] chore: clean up unusued function 2023-04-04 10:46:27 +02:00
Andreas Coroiu
c74ae9dd15
Merge branch 'master' into EC-598-beeep-properly-store-passkeys-in-bitwarden 2023-04-04 09:41:22 +02:00
Michał Chęciński
0d6dfdd4a6
Fix desktop autobump workflow () 2023-04-04 09:21:49 +02:00
Michał Chęciński
3afec3e712
Add all option for version bump workflow () 2023-04-04 09:21:20 +02:00
SmithThe4th
a78ed4c548
[AC-1260] Removed ssoRequired field from the sso details response ()
* Removed ssoRequired field from the sso details response

* Fixed PR comment
2023-04-03 11:45:22 -04:00
Oscar Hinton
a68631c7b7
Fix broken export spec () 2023-04-03 12:26:11 +02:00
Vincent Salucci
7f34abfead
chore: Add admin-console and billing teams to codeowners file, refs AC-1202 () 2023-03-31 13:13:16 -05:00
Vincent Salucci
3fdc30c936
Merge pull request from bitwarden/ac1202-shared-org-index
[AC-1202] Move shared organization index to admin-console
2023-03-31 11:30:15 -05:00
Andreas Coroiu
bdadf68274
[EC-598] fix: invalid signature due to double hashing 2023-03-31 17:45:59 +02:00
Vincent Salucci
68e973a865
fix: update import paths for index move, refs AC-1202 2023-03-31 10:42:49 -05:00
Vincent Salucci
1e5d9d6686
refactor: move shared org index to admin-console, refs AC-1202 2023-03-31 10:28:15 -05:00
Andreas Coroiu
7039ad1870
[EC-598] fix: data not getting saved properly 2023-03-31 17:10:15 +02:00
Andreas Coroiu
e2df24c5ae
[EC-598] fix: wrong flags in tests 2023-03-31 17:09:10 +02:00
Andreas Coroiu
61437bae00
[EC-598] fix: flag saying authData doesnt contain attestation 2023-03-31 16:27:21 +02:00
dwbit
f53024b4c4
Update Github discussion template () 2023-03-31 08:14:32 -06:00
dwbit
36db2e1ba9
Discussion template revisions ()
* Discussion template revisions

* Copy update for discussion template

* Fix linting error

* Fix linting issue
2023-03-31 07:54:16 -06:00
Andreas Coroiu
3edd7887a4
[EC-598] fix: some smaller bugs 2023-03-31 15:53:10 +02:00
dwbit
a052696428
Create Secrets Manager discussion template () 2023-03-31 09:52:28 -04:00
Andreas Coroiu
e8c9b887c4
[EC-598] fix: rpId validation logic 2023-03-31 14:26:18 +02:00
Bernd Schoolmann
1f472ea309
[PS-2264] Make password protected exports support account's iterations and argon2 ()
* Fix encrypted export using fixed PBKDF2 iterations

* Replace hardcoded KdfType in importer

* Clean up kdf handling in password-protected export

* Extract BitwardenPasswordProtectedFileFormat

* Rename bitwarden-json-types

* Move StateService import to fix linting issue

* Make linter happy

* Use abstraction instead of implementation

---------

Co-authored-by: Daniel James Smith <djsmith@web.de>
2023-03-31 13:49:07 +02:00
Andreas Coroiu
1d9dde95b7
[EC-598] feat: remove orgigin 2023-03-31 12:32:07 +02:00
Andreas Coroiu
380e545c90
[EC-598] feat: make everything compile again 2023-03-31 10:26:19 +02:00
Andreas Coroiu
25ebbec0eb
[EC-598] feat: implement assertCredential 2023-03-31 09:41:28 +02:00
github-actions[bot]
1c88465316
Autosync the updated translations ()
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-03-31 02:48:10 +02:00
github-actions[bot]
136606d3bd
Autosync the updated translations ()
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-03-31 02:41:17 +02:00
github-actions[bot]
4a56b3067e
Autosync the updated translations ()
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-03-31 02:39:53 +02:00
SmithThe4th
b79554a13b
[PM-283] Fix Reports UI behavior for premium and free users ()
* Prevent rerouting to dispaly modal message, and refactored components where thsi was used

* Added upgrade badge to organization reports view

* created guard to prevent free organization users from accessing reports

* Added isUpgradeRequired getter to organization class

* Modifiewd reports home to pass upgrade badge and add new guard to organization reports module

* Fixed routing bug when routing to billing subscription page

* Refactored to use async pipe and observables

* Renamed getter name to be more descriptive

* Removed checkAccess from reports

* Renamed guard

* Removed unused variables

* Lint fix

* Lint fix

* prettier fix

* Corrected organiztion service reference

* Moved homepage to ngonInit

* [PM-1629] Update the upgrade dialog for users without billing rights ()

* Show dialog with description when user does not have access to the billing page

* switched conditions to nested if to make the logic clearer
2023-03-30 16:27:03 -04:00
Vincent Salucci
a462e93a64
refactor: move organizations folder to admin-console, refs AC-1202 () 2023-03-30 14:23:01 -05:00
Oscar Hinton
1129b48b2a
[PM-1644] Resolve active tab using the wrong background color () 2023-03-30 21:03:42 +02:00
Oscar Hinton
873c35fbd4
[SM-574] Hide edit/delete when user only has read access ()
* Hide edit/delete when user only has read access

* Wire up read/write for secret response

* Remove variable

* Resolve changes after merge

* SM-671: Fix small bug in sm/SM-574 branch to pass secret instead of secret id on deletion ()

---------

Co-authored-by: Colton Hurst <colton@coltonhurst.com>
2023-03-30 16:51:31 +02:00
Andreas Coroiu
1b7a9858a4
[EC-598] feat: fully implement createCredential 2023-03-30 16:04:49 +02:00
Andreas Coroiu
43a13cb451
[EC-598] feat: extend return from authenticator 2023-03-30 15:57:46 +02:00
Andreas Coroiu
6fd5801739
[EC-598] feat: hash client data and throw if aborted 2023-03-30 15:05:58 +02:00