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

1596 Commits

Author SHA1 Message Date
Matt Gibson
36089fd68f
Write backup before deleting lowdb database (#291)
* Write backup before deleting lowdb database

* Const for unchanged variables
2021-03-02 11:25:45 -06:00
Matt Gibson
3942868cf4
Include File size in SendRequest (#289) 2021-03-02 09:46:46 -06:00
Addison Beck
70654926ad
added date/time fallbacks for safar/ff (#290) 2021-03-02 10:33:43 -05:00
Matt Gibson
1324416784
Direct download for send (#288)
* Allow for responding with time-limited download URL

* Re-verify access on download link request
2021-03-01 15:03:04 -06:00
Addison Beck
301ef455f3
clear Send password if whitespace (#287) 2021-03-01 11:31:03 -05:00
Addison Beck
ff9343412e
added props to send access models (#284) 2021-02-25 17:05:01 -05:00
Thomas Rittson
00122ab166
Start cipher numbering at 1 in error messages (#283) 2021-02-26 05:53:45 +10:00
Thomas Rittson
42348e2fdc
Improve import error messages (#280)
* Parse and format server import errors

* Fix linting issues

* Fix handling of non-validation errors
2021-02-23 13:56:42 +10:00
Vincent Salucci
11b8c5b5e8
Added clickable state to callout component (#282) 2021-02-22 20:32:40 -06:00
Vincent Salucci
8a3b551c6e
[Send] Updated delete function for add/edit component (#277)
* [Send] Updated delete function for add/edit component

* Saved final return statement
2021-02-19 10:23:51 -06:00
Addison Beck
5f5580cff9
added toggle options logic (#276) 2021-02-18 16:04:12 -05:00
Oscar Hinton
b0ae1bfa4c
Add support for extending VaultTimeoutService (#275) 2021-02-18 19:08:20 +01:00
Matt Gibson
fc1275aeb2
Do not lock until after the file is created (#274)
Proper-lockfile throws if the file it's locking does not exist.
Lock around adapter creation rather than file creation.
2021-02-16 22:29:57 -06:00
Matt Gibson
7941664a59
Lock lowdb storage file to avoid dirty data collisions (#273)
* Lock lowdb storage file to avoid dirty data collisions

* Retry lock acquire rather than immediately fail

* Add proper-lockfile types to dev dependencies

* remove proper-lockfile from jslib.

This package is incompatible with Browser implementations.

* await lock on create
2021-02-15 10:16:12 -06:00
Addison Beck
1968dbfee2
refactored a few properties into getters (#272) 2021-02-12 17:25:47 -05:00
Kyle Spearrin
0b79f112b9
detect dark theme based on system theme (#271) 2021-02-12 11:04:09 -05:00
Vincent Salucci
0951424de7
Update send component to follow existing patterns (#270) 2021-02-11 16:55:38 -06:00
Matt Gibson
380b28d66a
Chmod exported file permissions (#269)
* Save all files as current user read-write only

* Save all files as current user read-write only
2021-02-10 10:47:55 -06:00
Thomas Rittson
d376927e5e
Improved handling of grantor access to organizations after takeover (refactored) (#267)
* Revert "Add policy property to TakeoverResponse"

This reverts commit 31da5081e6833cf8a9d5bb869c14600f25ca3f39.

* Add getEmergencyGrantorPolicies to api service
2021-02-10 09:06:18 +10:00
Vincent Salucci
ee164bebc6
[Send] Add more flexibility to base component (#262)
* Updating send component for more flexibility in child class

* Updated delegte null check

* added comment
2021-02-08 16:18:44 -06:00
Matt Gibson
eef8a2a0f7
Do not evaluate callback function when testing existence (#266) 2021-02-08 15:55:58 -06:00
Kyle Spearrin
a4ac842cec
support for copying send link to clipboard on save (#265) 2021-02-08 15:55:32 -05:00
Thomas Rittson
58e6f24d5f
Add policy property to TakeoverResponse (#260) 2021-02-09 06:31:41 +10:00
Matt Gibson
2730e04a05
Match tslint rules (#264) 2021-02-08 14:11:44 -06:00
Matt Gibson
6183a30a52
Remove unused logout argument (#263) 2021-02-08 13:21:51 -06:00
Lombra
df59f99ec6
Enable subpixel antialiasing (#256) 2021-02-08 10:03:43 -05:00
Matt Gibson
22f576ea60
Add password toggle to add-edit (#261) 2021-02-05 12:36:09 -06:00
Matt Gibson
deabffb7b0
Implement disable send policy (#259)
* Implement disable send policy

* Linter fixes

* Add toast on submit if sends are disabled
2021-02-04 11:22:31 -06:00
Matt Gibson
58f40b0085
Fix glob processing in npm. Ban single param parens (#257) 2021-02-04 09:49:23 -06:00
Addison Beck
a16d8f7de7
Send search (#258)
* fixed text searching sends

* fixed text searching sends

* cleanup

* cleanup
2021-02-03 15:36:15 -05:00
Oscar Hinton
11249e3444
Remove a safari hack (#224) 2021-02-03 18:02:02 +01:00
Vincent Salucci
859f317d59
[Send] Port web based components (#254)
* Initial port of web based send components

* Updated import order to satisfy linter
2021-02-01 09:44:30 -06:00
Matt Gibson
09c444ddd4
Add send to cli (#253)
* Upgrade commander to 7.0.0

* Add url to Api call

This is needed to allow access to sends that are available from a
different Bitwarden server than configured for the CLI

* Allow upload of send files from CLI

* Allow send search by accessId

* Utils methods used in Send CLI implementation

* Revert adding string type to encrypted file data

* linter fixes

* Add Buffer to ArrayBuffer used in CLI send implementation
2021-01-29 15:08:52 -06:00
Chad Scharf
06239aea2d
update package https-proxy-agent (#246)
* update package http-proxy-agent

* Update syntax appropriately

* Explicitly add utils package to fix broken tests

* Revert "Explicitly add utils package to fix broken tests"

This reverts commit 2cf03fdcbae89e55124c7e36201238520434f8cc.

* Import util in spec to make sure it gets bundled

* Revert "Import util in spec to make sure it gets bundled"

This reverts commit 79264cdab0ef37af855d64a6dc3ef574575309d2.

* Add alias to ensure util module resolves in tests

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2021-01-27 20:08:56 -05:00
Oscar Hinton
d1c46e6bdc
Update electron to 11.1.1 (#247) 2021-01-26 22:49:47 +01:00
Addison Beck
9ddec9baf8
Lunr search bug (#251)
* changed hrtime library

* changed import style
2021-01-25 15:03:28 -05:00
Matt Gibson
e1f1d7e702
Enable search for sends (#249) 2021-01-22 19:54:22 -06:00
Addison Beck
68bd93e45b
added Send sync notification support (#250) 2021-01-22 16:52:08 -05:00
Addison Beck
6ac6df75d7
Implemented Custom role and permissions (#237)
* Implemented Custom role and permissions

* converted Permissions interface into a class

* formatting fix
2021-01-11 17:01:39 -05:00
Oscar Hinton
8d161d9245
Improve system.service biometrics condition (#244) 2021-01-11 19:12:40 +01:00
Matt Gibson
3ac42f2f44
Remove unused toData methods (#245) 2021-01-11 10:51:23 -06:00
Matt Gibson
cea09a22e5
Update revision date upon cipher restore (#243)
* Update revision date upon cipher restore

* Receive and use returned datetimes from restore
2021-01-08 08:53:41 -06:00
Kyle Spearrin
afa01f67f4
send removePasswordWithServer and model updates (#242) 2020-12-30 16:23:52 -05:00
Matt Gibson
1420082348
Do not export trashed items (#241)
* Do not export trashed items

* Test Item exporting

Does not test organization export. Export's use of apiService is not
very testable. We will either need a testApiService or to refactor
apiService to make mocking easier.

* Linter fixes
2020-12-30 15:08:02 -06:00
Vincent Salucci
48144a7eae
Fixed UI bug with cloning item when personal ownership is not allowed (#240) 2020-12-29 15:42:11 -06:00
Kyle Spearrin
91c61aea58
fix org getter on import and export warning dialog (#238) 2020-12-22 16:14:22 -05:00
Oscar Hinton
573eea66ee
Add support for Emergency Access (#204)
* Add support for Emergency Access

* Resolve review comments
2020-12-22 10:53:48 -05:00
Chad Scharf
12321e53b9
fix lint error, missing semicolon; (#236) 2020-12-21 14:24:04 -05:00
Oscar Hinton
1742228715
Make fingerprint optional for browser integration (#234)
* Make fingerprint optional for browser integration

* Force focus on biometrics

* Add dependency
2020-12-21 13:26:16 -05:00
Matt Gibson
acdbc22953
Force update of tray menu if on linux (#233) 2020-12-18 09:20:59 -06:00