1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-24 11:55:50 +01:00
Commit Graph

555 Commits

Author SHA1 Message Date
Kyle Spearrin
d5249f3acd
warning dialog is now handled in base component (#625) 2020-12-22 16:38:26 -05:00
Hinton
d0a5326bd7 Fix linting errors 2020-12-22 17:16:12 +01:00
Hinton
87d399a3f9 Merge branch 'master' of https://github.com/bitwarden/desktop into hotfix/multiple-extensions 2020-12-21 22:36:00 +01:00
Chad Scharf
aced23574b Updated to show icon vs. caret for non-nested item 2020-12-18 16:56:59 -05:00
Hinton
e639fa6674 Make fingerprint validation optional, update readme with debug info for native messaging 2020-12-18 15:47:48 +01:00
Chad Scharf
28c0fdd3f5
Merge pull request #614 from Hinton/hotfix/autostart-snap
Fix autostart in snap
2020-12-16 16:08:05 -05:00
Hinton
02a3fbde99 Disable browser integration on Mac for non MAS version (for now) 2020-12-16 21:49:05 +01:00
Hinton
d20aaeb0e5 Display error message when biometric is disabled in the desktop 2020-12-16 17:25:30 +01:00
Hinton
22ddd8db60 Ensure settings are saved 2020-12-16 09:38:28 +01:00
Chad Scharf
ac870ef31a
Merge pull request #303 from DarkArc/carat-fix
Only show carats for items with children
2020-12-15 16:33:02 -05:00
Hinton
41e72b22b8 Prevent disabling enableTray on linux when using other tray settings 2020-12-15 20:47:21 +01:00
Matt Gibson
e7d4886a4f Use logService for console messages 2020-12-11 10:42:00 -06:00
Vincent Salucci
82ca93db91
[Policy] Personal Ownership (#605)
* Initial commit of personal ownership

* Saving updated merge conflicts

* Updated jslib (dcbd09e -> 72bf18f)

* Fixed casing
2020-12-09 14:11:39 -06:00
Kyle Spearrin
2bfba0be5c
add supprot for encrypted json export (#607)
* add supprot for encrypted json export

* fix lint issues
2020-12-08 12:09:31 -05:00
Chad Scharf
e9b58ee9fe
Merge branch 'master' into feature/fit-finish 2020-12-04 12:39:44 -05:00
Hinton
ed0acdead2 Restore focus when displaying sync confirm 2020-11-30 14:58:52 +01:00
Hinton
91b186ae5d Enable closeToTray and startToTray on linux 2020-11-27 16:33:16 +01:00
Hinton
f512df309d Add support for "openAtLogin" 2020-11-25 20:43:29 +01:00
Hinton
f926f80d8c Wip start on login 2020-11-23 15:04:35 +01:00
Hinton
2cbe7f3d0a Add support on mac for minimize to menu bar on close, minimize or start 2020-11-20 17:20:51 +01:00
Hinton
ae5a5082db Change "hide dock" to "always show dock" 2020-11-20 15:55:05 +01:00
Hinton
14181dc34d Fix jslib update 2020-11-20 14:34:23 +01:00
Hinton
002dd2752b Add setting for toggling hide dock 2020-11-20 14:05:50 +01:00
Hinton
77715443d9 Merge branch 'master' of https://github.com/bitwarden/desktop into feature/browser-communication 2020-11-19 18:49:40 +01:00
Kyle Spearrin
a18a35fa0b
support for sr lang. resolve sendService deps (#593) 2020-11-18 16:13:05 -05:00
Hinton
04c8b119e3 Merge branch 'master' of https://github.com/bitwarden/desktop into feature/browser-communication
# Conflicts:
#	src/locales/en/messages.json
2020-11-13 15:34:57 +01:00
Chad Scharf
eebec21afe Merge branch 'master' of https://github.com/bitwarden/desktop into master 2020-11-04 15:14:04 -05:00
Chad Scharf
97e982bf01 onDestroy needed for broadcast subscriptions 2020-11-04 14:00:44 -05:00
Chad Scharf
fe031ac6b8 remove trailing whitespace for lint errors 2020-11-04 12:19:56 -05:00
Chad Scharf
c001a00f82 Hide hidden fields on hide/minimize 2020-11-04 12:09:21 -05:00
Vincent Salucci
bcc8bc0c80
[GDPR] Adjusted TOS/Privacy acceptance (#579)
* initial commit gdpr acceptance

* Removed variables/logic now found in superclass

* update jslib (d84d6da -> 5e50aa1)
2020-11-02 16:32:58 -06:00
Chad Scharf
4a18a4eb93 cont. removing broadcast srv jslib refs 2020-11-02 17:11:56 -05:00
Chad Scharf
5ff545e541 Undo broadcast service refs (not needed) 2020-11-02 17:08:39 -05:00
Chad Scharf
d8d1ee3022 Handle main window hide 2020-10-29 16:35:09 -04:00
Hinton
9ff0f204d8 Add connected/disconnected calls in proxy application 2020-10-21 15:56:27 +02:00
Hinton
2ac6148821 Show fingerprint message 2020-10-19 16:50:33 +02:00
Hinton
74b51c9a6c wip 2020-10-16 17:09:17 +02:00
Vincent Salucci
be95ee9328
[SSO] New user provision flow jslib update (f0dc38b -> d84d6da) (#570)
* Updated import/constructors

* Update jslib from f0dc38b -> d84d6da
2020-10-14 08:58:23 -05:00
Hinton
d83e2bc117 Use proper logging, fix linting errors. 2020-10-12 21:34:41 +02:00
Hinton
51b749b1dc Split native messaging into renderer and background service. Encrypt messages and verify timestamp 2020-10-12 21:18:28 +02:00
Hinton
45302e5bd5 Add settings toggle to enable/disable browser integration 2020-10-07 18:25:18 +02:00
Matt Portune
56539d4690 perform full sync upon successful login with sso 2020-09-24 11:47:36 -04:00
Kyle Spearrin
7b6da22722 fix styling on login buttons 2020-09-15 14:45:03 -04:00
Kyle Spearrin
44c4fd2e80 language updates 2020-09-15 13:38:36 -04:00
Chad Scharf
ce0568992a
Update jslib (#537) 2020-09-15 11:00:05 -04:00
Vincent Salucci
0576d2b119
[SSO] Add set password placeholder (#529)
* Update jslib (6ab444a -> 700e945)

* Fixing jslib changes // adding loading placeholder
2020-08-28 10:21:35 -05:00
Vincent Salucci
bbd50b2459
[jslib] Update (5d874d0 -> 6ab444a) (#524)
* update jslib (5d874d0 -> 6ab444a)

* update depedency chain

* Removed weird double imports
2020-08-21 17:15:02 -05:00
Kyle Spearrin
0ba2589461
merge sso feature branch (#523)
* Update jslib (101c568 -> 14b01f2) (#506)

* Update jslib (14b01f2 -> 1513b25) (#510)

* [jslib] Update (1513b25 -> 7c3a9d6) (#516)

* update jslib (1513b25 -> 7c3a9d6)

* Updated call to constructor super

* [SSO] Added SSO flows & functionality (#513)

* update jslib

* bump version

* Added sso button (wip)

* Added sso & change password // Added modules/routes // Added strings for localization

* Added password strength comp // reverted login route

* Updated sso component to send client id // added routing for sso // added crypto function to services module provider list

* Added deep linking

* First round of UI updates // Added sso browser launching // Added missing strings

* Updated UI and added missing strings

* Removed extra change password style

* Let constructor for WindowMain handle default width/height

* Prepared for jslib update

* Update jslib (1513b25 -> 7c3a9d6)

* Update login super

* Added params for launchSsoBrowser function

* Update jslib (7c3a9d6 -> 4203937)

* Added missing strings, removed unnecessary class param

* Upgrade TypeScript (#517)

* Updated password score // Update styles

* Removed password-strength component files

* Cleaned up module class // Fixed UL/LI formatting issues

* Use exisiting loading string // removed new string

* Update jslib (4203937 -> 9957125)

* Updated class to perform new submit actions

* Upgrade Angular (#520)

* di resolution for CryptoFunctionServiceAbstraction

* Update jslib (9957125 -> 5d874d0) (#521)

* Updated change password flow to match web

* Updated callout style

Co-authored-by: Kyle Spearrin <kyle.spearrin@gmail.com>
Co-authored-by: Oscar Hinton <hinton.oscar@gmail.com>

Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
Co-authored-by: Oscar Hinton <hinton.oscar@gmail.com>
2020-08-21 09:50:36 -04:00
Kyle Spearrin
3f75413552 di resolution for CryptoFunctionServiceAbstraction 2020-08-19 10:03:14 -04:00
Oscar Hinton
7499d7de25
Upgrade Angular (#520) 2020-08-18 16:13:15 -04:00
K. Sasa
7eee81f977
Replaced the clipboard icon with a clone icon to improve UX (#490)
* Replace copy value button fa-clipboard to fa-clone

* Replace clone item button fa-clone to fa-files-o
2020-07-27 13:21:46 -04:00
Kyle Spearrin
48aaf4b920
cleanup for biometrics (#489) 2020-07-23 17:24:35 -04:00
Oscar Hinton
26b023a3cb
Biometric support (#470)
* Initial work on windows hello support

* Hide login button if not enabled

* Add windows.security.credentials.ui dependency to desktop as well.

* Only enable biometric on windows.

* Add support for dynamic biometric text.

* Add untested darwin implementation

* Ensure we support biometric before showing login with windows hello / touchid.

* Ensure compatability with latest jslib

* Only require module on use.

* Add windows.security.credentials.ui to src/package.json.

* Update requirements

* Update consent messages for biometrics
2020-07-23 13:32:36 -04:00
Matt Smith
05ee1b6a06 Modified url list to show port where applicable 2020-07-14 11:38:11 -05:00
Anthony Garera
464708c507
Updated expiration year placeholder text to be dynamic (#474) 2020-07-03 22:45:54 -04:00
hinton
876b45d82e Disable TOTP field, disable edit and show of hidden fields. 2020-06-04 22:23:02 +02:00
hinton
982d35a404 Merge branch 'master' of https://github.com/bitwarden/desktop into feature/hide-passwords 2020-06-04 22:09:46 +02:00
Kyle Spearrin
160c161782
fix null ref of cipher.isDeleted (#462) 2020-06-01 10:30:49 -04:00
hinton
66de9e93fa Hide passwords functionality for desktop 2020-05-27 22:41:57 +02:00
Kyle Spearrin
91884e9205
Add support for greek language (#454) 2020-05-22 23:14:22 -04:00
Chad Scharf
151964f6b8 Merge branch 'master' into soft-delete 2020-05-08 09:26:43 -04:00
Vincent Salucci
9a040644bf
Added warning dialog for log out action (#438) 2020-04-25 08:13:48 -05:00
Kyle Spearrin
848dff7863
tweaks to minimize on copy feature (#432) 2020-04-14 16:52:03 -04:00
Elias Papavasileiou
a84af15c93
Add minimize when copying to clipboard option (#390)
* Add minimize when copying to clipboard option

* Change minimizeOnCopyToClipboardKey constant reference and fix whitespace

* Extend feature to context menus and view component

* Cleanup and refactor methods

* Refactor copy method and add minimizeOnCopyToClipboardKey constant to electronConstants.ts

* Use window.main subclass and fix formatting

* Revert "Use window.main subclass and fix formatting"

This reverts commit 0159613751.

* Reimplement part of 0159613751

* Add null check to VaultComponent::copyValue

* Remove unused import
2020-04-14 16:11:41 -04:00
Chad Scharf
129ecc1ca8 [Soft Delete] - Ciphers add button cleanup 2020-04-13 15:29:15 -04:00
Chad Scharf
c2eafba442 [Soft Delete] - Added trash to desktop app 2020-04-13 15:13:10 -04:00
Vincent Salucci
93e7e9d261
Update jslib (28e3fff -> 72e3893) (#427)
* Update jslib (28e3fff -> 72e3893)

* Update lock description

* Update vaultTimeoutService init

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-04-06 13:00:10 -05:00
Vincent Salucci
c1113852a4
[Auto-Logout] Implement Vault Timeout Options (#424)
* Update jslib (31a2574 -> 28e3fff)

* Initial commit of vault timeout implentation

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-04-01 10:18:36 -05:00
Vincent Salucci
c0add18db2
Update Add-Edit Component load function (#416)
* Apply save changes prompt to groupings

* Revert "Apply save changes prompt to groupings"

This reverts commit 9e8873e5c7.

* Updated load function

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-03-23 12:48:14 -05:00
Vincent Salucci
31d023194d
Update jslib (b816ddd -> 0a30c7e) and enforce passphrase policy (#408)
Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-03-12 23:25:49 -05:00
Kyle Spearrin
ee167571a6
implement callout component w/ generator policy (#395) 2020-02-28 16:58:51 -05:00
Vincent Salucci
828d5ea911
Enforce password generator policy options in the UI (#393) 2020-02-27 12:13:55 -06:00
MartB
4e2ee15456
sweetalert2: remove superflous text argument. (#391) 2020-02-24 12:58:23 -05:00
Kyle Spearrin
663a84a3c4 tweaks to swal2 2020-02-24 10:13:26 -05:00
MartB
84af4ee48f
sweetalert: move to sweetalert2. (#388)
The styling got adjusted to stay as close as possible to the original sweetalert1 styles.
The only visible change is the button order, it is the same as in the web-vault now (OK - CANCEL instead of CANCEL - OK)

- Removed old postinstall gulp hack
- Added tsconfig type definition for sweetalert2 module typing.
2020-02-24 09:45:01 -05:00
Vincent Salucci
5254c5ae59
Added missed clone mode conditionals and fixed add/edit state bug (#385) 2020-02-19 13:59:38 -06:00
Kyle Spearrin
c5c7f8a623 adjustments to copy username/pass shortcuts 2020-02-10 23:00:39 -05:00
Elias Papavasileiou
f7037dd1f5
Add copy username and copy password shortcuts (#379) 2020-02-10 22:37:25 -05:00
Vincent Salucci
f8fe684b6b
Enabled Ownership/Collection assigment for cloned items (#375) 2020-02-03 12:03:13 -05:00
Vincent Salucci
337f4ad987
Adding personal item cloning capability (#371) 2020-01-31 11:07:32 -05:00
Kyle Spearrin
e79e126fba init policy service 2020-01-30 22:11:16 -05:00
Kyle Spearrin
db52e27210 autocomplete off for search inputs 2019-11-25 08:20:44 -05:00
Kyle Spearrin
ef49001418 no need for async 2019-11-07 11:25:20 -05:00
Kyle Spearrin
4e9759cd62 detect other times nav away from dirty input 2019-11-07 10:06:00 -05:00
Alberto Franco
f8a378b26d Warn of unsaved changes (#338)
* Warn of unsaved changes on new or edited entries

* Fixed message box options

* Limit 'ng-dirty' to details DOM node
2019-11-07 08:55:23 -05:00
Veit-Hendrik Schlenker
86360dd3cb Start drag only on row label (#337) 2019-10-24 19:55:21 -04:00
Veit-Hendrik Schlenker
55e0749687 enabled drag of username, password and totp in desktop app (#333) 2019-10-19 21:15:01 -04:00
Kyle Spearrin
ee7fa795a9 allow sync to throw error 2019-10-15 11:07:08 -04:00
Kyle Spearrin
9c7a5b3c1a makingPremiumAfterPurchase check 2019-10-07 14:30:53 -04:00
Kyle Spearrin
dff1bb8144 getReceiptUrl only when receipt available 2019-09-23 22:59:40 -04:00
Kyle Spearrin
977abbe572 fix promises on makePremium 2019-09-20 00:00:26 -04:00
Kyle Spearrin
1fed3a2440 remove async 2019-09-19 23:12:49 -04:00
Kyle Spearrin
21e3254219 manage sub from app store. app store pricing 2019-09-19 23:04:33 -04:00
Kyle Spearrin
30f4c8b949 move restore button right 2019-09-19 11:06:35 -04:00
Kyle Spearrin
12edd8dcdb tweaks to restore 2019-09-19 11:05:40 -04:00
Kyle Spearrin
5baea84a6a restore and error messages on inapp purchase 2019-09-19 10:52:11 -04:00
Kyle Spearrin
2f84e2fd82 purchase promise 2019-09-19 09:09:25 -04:00
Kyle Spearrin
a092631fa4 in-app purchase pre-check 2019-09-19 08:53:14 -04:00
Kyle Spearrin
0e52c0d164 purchase premium from the desktop app 2019-09-18 16:48:49 -04:00
Kyle Spearrin
6ab5b59f66 show locale name for language selection 2019-09-06 09:36:48 -04:00
Wyatt Childers
3a2509b589 Only show carats for collections with children 2019-09-02 23:10:46 -04:00
Wyatt Childers
ece47dff6a Only show carats for folders with children 2019-09-02 23:10:46 -04:00
Kyle Spearrin
a519ed2580 memory stored pinProtectedKey 2019-08-29 10:01:59 -04:00
Kyle Spearrin
e0ff364109 use setComponentParameters callback 2019-07-25 12:22:36 -04:00
Kyle Spearrin
54375acf58 auto-dark mode for macOS 2019-07-24 14:48:08 -04:00
Kyle Spearrin
d90b61c225 export vault event 2019-07-12 17:11:39 -04:00
Kyle Spearrin
9b7c574bb1 collect events when copying from listing 2019-07-12 15:23:31 -04:00
Kyle Spearrin
2df2e7c32c client events for edit page 2019-07-12 10:41:12 -04:00
Kyle Spearrin
7dd11511c6 event logging on view page 2019-07-09 13:11:10 -04:00
Kyle Spearrin
39178de444 capitalize and include number for pass gen 2019-07-02 16:51:58 -04:00
Kyle Spearrin
e063c8b09d purge state on lock/logout 2019-07-02 08:18:42 -04:00
Kyle Spearrin
fdc3f403e2 fix order 2019-06-04 00:03:20 -04:00
Kyle Spearrin
0ed33a07d8 cleanup 2019-06-04 00:00:46 -04:00
Marc
89c066069c If an environment is configured, show the hostname in the lock screen (#258)
* If an environment is configured, show the hostname in the lock screen.

* Restore back src/locales/en_GB/messages.json
2019-06-03 23:56:33 -04:00
Kyle Spearrin
4eb4b40e63 close modal on lock/logout. resolves #255 2019-06-01 22:08:46 -04:00
Kyle Spearrin
2bb71e6af1 preferences and menu bar labels for mac 2019-06-01 22:02:16 -04:00
Kyle Spearrin
270588fdbc dont call clearclipboard in a loop 2019-05-30 09:37:06 -04:00
Kyle Spearrin
92a51cbb17 full address part 2 2019-04-29 10:13:35 -04:00
Kyle Spearrin
3832a51d55 handle new auth guard auth blocked message 2019-04-18 10:06:33 -04:00
Kyle Spearrin
d09c32fe26 adjust draggable regions on macos 2019-04-13 21:17:05 -04:00
Kyle Spearrin
5506d1c5ca button roles 2019-04-03 00:04:42 -04:00
Kyle Spearrin
1c5233c7dd aria hide page content when modal shown 2019-04-02 09:15:58 -04:00
Kyle Spearrin
adff98e55a hide vault content when modal showing 2019-04-02 09:02:31 -04:00
Kyle Spearrin
a01b38fae9 a11y improvements for toastr and filters area 2019-04-02 08:43:28 -04:00
Kyle Spearrin
a91a521722 aria modals 2019-04-01 23:27:54 -04:00
Kyle Spearrin
b296dbb6de mark icons as hidden from a11y 2019-04-01 23:08:54 -04:00
Kyle Spearrin
20bc5a6870 aria-hidden on titles icons 2019-04-01 22:56:28 -04:00
Kyle Spearrin
4d46338a4b a11y titles 2019-04-01 22:43:42 -04:00
Kyle Spearrin
9f842f6fbd dont use flex for password-wrapper positioning 2019-04-01 13:40:49 -04:00
Kyle Spearrin
4397c0ed5d pre-wrap notes field, resolves #238 2019-03-28 12:09:08 -04:00
Kyle Spearrin
25a43b7618 make sure vault load only happens once per call 2019-03-28 11:27:37 -04:00
Kyle Spearrin
3bab3445d4 drag n drop cleanup 2019-03-28 00:21:01 -04:00
Kovah
c70ed27271 Drag n drop sorting for custom fields (#237)
* Implement sorting for custom fields

Adds angular/cdk to sources and makes DragDropModule globally available.
Updates the add-edit component with necessary tags.
Restructures and updates the box styling for drag 'n drop handling.

* Set the correct Angular CDK version

* Remove unused class for drag handle

* Add missing locale entry for drag handle

* Fix styling of the drag handle

* Move drag handle to right side of custom fields

* Revert changes in package-lock.json

* Update reference for jslib
2019-03-27 23:52:15 -04:00
Kyle Spearrin
5d7f73b263 lock on system locked 2019-03-19 16:12:26 -04:00
Kyle Spearrin
cd7b9bd449 user service to lock service for auth fix 2019-03-19 15:52:32 -04:00
Kyle Spearrin
f02debb03b page ciphers list for better performance 2019-03-19 11:34:56 -04:00
Kyle Spearrin
aa971026ec remove lowdb with electron-store 2019-03-11 22:37:13 -04:00
Kyle Spearrin
30e2380b0b verbatim with no autocomplete on PIN input 2019-03-06 14:40:13 -05:00
Kyle Spearrin
21fbb376ea clearPendingClipboard on lock/logout 2019-02-27 11:56:30 -05:00
Kyle Spearrin
940b7c655c auto clear clipboard 2019-02-27 11:29:31 -05:00
Kyle Spearrin
fdb822f8b3 reload on logout too, move to messages 2019-02-25 15:07:44 -05:00
Kyle Spearrin
5657105291 dont refresh when pin locked 2019-02-25 14:27:20 -05:00
Kyle Spearrin
a1592e4545 format html files 2019-02-21 16:53:32 -05:00
Kyle Spearrin
1002991022 soft lock with PIN 2019-02-14 14:00:09 -05:00
Kyle Spearrin
2c91a2004c pin locking 2019-02-13 10:06:58 -05:00
Kyle Spearrin
e0c7cb4bd6 notes white-space is pre-line 2019-02-11 22:16:22 -05:00
ShirokaiLon
502c106589 Add trackBy option (#205) 2019-02-02 22:32:05 -05:00
Kyle Spearrin
65845cd909 start to tray updates 2019-02-02 12:27:06 -05:00
h44z
a380188120 Allow app to start minimized (as tray icon) (#169)
* Allow app to start minimized (as tray icon)

* Rever german locale
2019-02-02 12:16:32 -05:00
Kyle Spearrin
912aa752f3 check type 2019-01-25 09:30:29 -05:00