1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00
Commit Graph

13186 Commits

Author SHA1 Message Date
Andreas Coroiu
a3176ad704 [EC-598] chore: remove unused clas 2023-04-12 15:19:06 +02:00
Andreas Coroiu
6d969439ef [EC-598] feat: do not exclude organization credentials 2023-04-12 13:53:00 +02:00
Andreas Coroiu
489c438ff4 [EC-598] chore: clean up old commented code 2023-04-12 10:56:12 +02:00
Andreas Coroiu
0ce8cc0b24 [EC-598] feat: test unique signatures 2023-04-12 10:55:40 +02:00
cd-bitwarden
3300a4cc15 [SM-612] Highlighting selected product properly (#5065)
* Highlighting selected product properly

* suggested changes by WIll
2023-04-11 14:59:20 -04:00
Michał Chęciński
2722198191 [DEVOPS-1260] Update workflows to use new CI only keyvault (#5157)
* Use new CI Azure Key Vault

* Change name

* Fix

* Fix
2023-04-11 18:37:58 +02:00
Oscar Hinton
7ac893ad7c Fix format (#5198) 2023-04-11 17:24:42 +02:00
Andre Herms
1f026da924 [PM-1674] let node-ipc use individual pipes on Windows (#4020)
* let node-ipc use individual pipes on Windows

This fixes an issue with multiple users on Windows. There should be an individual Windows pipe used for communication between browser plugin and desktop for each user. However, the naming scheme used the same name for every user. This change adds some uniqueness with a hash over username and unique directory name.

* Fix ipc socket root for native-messaging too

* use only homedir as unique
2023-04-11 16:45:24 +02:00
Andreas Coroiu
a06b9ad020 [EC-598] feat: wait for session close before closing window 2023-04-11 16:02:45 +02:00
Colton Hurst
8d34bc9ad9 SM-631: Allow Admins to Create and Edit Unassigned Secrets (#5052)
* SM-631: Allow admins to edit and create unassigned secrets

* SM-631: Fix OrganizationService import and refactor project selection logic in getSecretView
2023-04-10 22:36:18 -04:00
github-actions[bot]
c3e87a55d6 Bumped desktop version to 2023.3.3 (#5195)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-04-10 14:04:00 -07:00
Oscar Hinton
3a4a79d057 [PM-1691] Upgrade electron builder (#5038)
* Upgrade electron builder

* Fix after-sign

* Allow singleArch

* Add CSC_FOR_PULL_REQUEST
2023-04-10 20:19:28 +02:00
Justin Baur
7263579eaf [PM-329] Detangle SearchService & CipherService (#4838)
* Remove Circular Dependency

* Fix Vault Searching

* Remove Unused cipherServiceOptions

* Add searchService Parameter to CipherService

* Fix instantiation of CipherService in test
2023-04-07 11:11:20 -04:00
Will Martin
36de1c8e32 [SM-660] move sm-no-items to CL (#5059)
* refactor: move sm-no-items to CL

* update and run prettier

* apply code review
2023-04-07 11:05:14 -04:00
aj-rosado
2ad739b5a8 [PM-1684] Broken roboform importer (#5137)
* PM-1684 - Set null or empty validation on start of processFolder method

* PM-1684 - Added tests to roboform-csv-importer
2023-04-07 11:23:34 +01:00
github-actions[bot]
3c2aa02201 Autosync the updated translations (#5178)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-04-07 08:30:53 +02:00
github-actions[bot]
1d9d2471b8 Autosync the updated translations (#5176)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-04-07 07:56:24 +02:00
github-actions[bot]
4269ae7f88 Autosync the updated translations (#5177)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2023-04-07 07:53:45 +02:00
Thomas Rittson
94db1db432 [AC-1233] Fix description of auto-fill on page load policy (#5161) 2023-04-07 07:55:55 +10:00
Daniel James Smith
cf2d8b266a [PM-1071] Display import-details-dialog on successful import (#4817)
* 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 (#5117) 2023-04-06 10:31:36 -04:00
Larry Sussman
019aaf214b [PS-2175] Rename Billing Sync Key in View Billing Sync Token modal (#5002)
* 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 (#5003)
* 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 (#5169)
* 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 (#4802)
* 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 (#5167)
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 (#5140)
* 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 (#5139) 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 (#5112) 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 (#4119)" (#5147)
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 (#5151) 2023-04-04 09:21:49 +02:00
Michał Chęciński
3afec3e712 Add all option for version bump workflow (#5150) 2023-04-04 09:21:20 +02:00
SmithThe4th
a78ed4c548 [AC-1260] Removed ssoRequired field from the sso details response (#5123)
* 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 (#5152) 2023-04-03 12:26:11 +02:00
Vincent Salucci
7f34abfead chore: Add admin-console and billing teams to codeowners file, refs AC-1202 (#5135) 2023-03-31 13:13:16 -05:00
Vincent Salucci
3fdc30c936 Merge pull request #5133 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