Oscar Hinton
78d40d9f18
Remove electron remote ( #332 )
...
* Replace remote calls with ipcRenderer.invoke.
2021-04-07 19:42:06 +02:00
Steven
728e40fbfa
Optimize isSearchable for Chinese. ( #330 )
...
* Optimize isSearchable for Chinese.
* Fix lint.
* Fix lint.
2021-04-07 10:51:34 -04:00
Vincent Salucci
97ece68dec
[Reset Password] Custom user permission ( #317 )
2021-04-06 08:47:16 -05:00
Matt Gibson
baca6d7966
Use iterator compatible Array instantiation ( #324 )
2021-04-05 17:49:39 -05:00
Oscar Hinton
ba742f72d8
Restrict WebAuthn to Windows only for Electron ( #322 )
2021-04-05 22:38:45 +02:00
Matt Gibson
08a856645b
Add collections to ciphers in export model. ( #320 )
...
* Add collections to ciphers in export model.
This enables immediately setting collections from the CLI on create.
The other location this code is used is on import of Bitwarden json data.
However, collectionId is explicitly nulled out here to be resolved
later at the server level.
* Linter fix
2021-04-05 15:21:07 -05:00
Daniel James Smith
b774c3e785
Replaced appveyor build badge with one from Github Workflow ( #319 )
...
* Deleted appveyor.yml
* Removed Appveyor check in karma.conf.js
* Modified build badge to use Github workflow
* Fixed missing parenthesis in README.md
2021-04-05 15:25:45 -04:00
Matt Gibson
c395293e64
Deep parse models ( #321 )
2021-04-05 11:13:34 -05:00
Matt Gibson
bc7bd5bd3f
Pass ciphers to index and indexed ciphers to search service ( #318 )
2021-04-02 16:32:30 -05:00
Vincent Salucci
f4f00b1eb2
[Reset Password] Enrollment API, event type, and models update ( #315 )
2021-03-31 11:05:09 -05:00
Matt Gibson
5c734747a9
Fix post attachment file path ( #316 )
2021-03-30 18:43:10 -05:00
Matt Gibson
5c961ce847
Await file upload service ( #314 )
...
* Await file upload service
* Await file deletion on exception for file upload
2021-03-29 08:18:07 -05:00
Matt Gibson
d71bd092ef
Check file size client side ( #313 )
2021-03-29 08:17:42 -05:00
Matt Gibson
afac694e9a
Attachment azure upload blobs ( #312 )
...
* Add direct attachment download and upload API endpoints
* Use direct download method
Enable download of emergency access attachments through EmergencyAccessId
* Match new Server model items
* New Server model for creating attachments.
Provides a url to upload data to, the type of upload, and the Cipher Response expected by the previous call
* Use direct upload url and scheme
* Report Failed single shot azure uploads
* Add cipher attachment upload to file upload service
* Deprecate legacy api methods
* Handle old servers missing new upload api methods
* Improve Send error handling
* Fallback attachment downloads on new endpoint not found
Limit upload size to the new 500MB
* Improve error handling
* lint fixes
2021-03-26 16:57:07 -05:00
Thomas Rittson
0735569479
Hide email address in Sends ( #310 )
...
* Let organizations disable anonymous Sends only
* Add HideEmail to send models and service
* Delete unnecessary model
* Enforce new Send policy, fix naming conventions
* Fix linting
* Fully disable editing anonymous Sends per policy
* Revert disableSendPolicy, add sendOptionsPolicy
* Rework UI for enforcing disableHideEmail
* Fix linting and cleanup after refactor
2021-03-26 08:27:43 +10:00
Matt Gibson
cfc7687815
Upload to Azure strorage blobs ( #296 )
...
* Implemen AzureStorageService
handes uploading files to azure blob
* Correct one-shot size
* Add azureStorage.service abstraction
* Rename azure upload method
* Prefer abstractions in DI
* Abstract file upload to a single service handling uploads
* Fallback to legacy upload method
* Linter fix
* Limit legacy upload to 404 error
2021-03-25 10:20:38 -05:00
Matt Gibson
7f3bbd6e51
Use UserService to determine if user has premium access ( #311 )
2021-03-24 11:15:51 -05:00
Daniel James Smith
c7ac645eb7
Fixes linting error introduced with PR #307 ( #309 )
2021-03-17 17:14:10 -04:00
Paul Sieben
a36f1c25d8
Enhance SafeInCloud import ( #307 )
...
* don't import deleted cards
* keep favourite status while importing from saveInCloud
* import all passwords from saveInCloud
* add test data
2021-03-16 15:06:12 -05:00
Oscar Hinton
7cc23dab72
Bump electron to 11.3.0 ( #308 )
2021-03-15 23:11:51 +01:00
Oscar Hinton
f20af0cd7c
WebAuthn ( #163 )
2021-03-15 16:16:51 +01:00
Kyle Spearrin
f80e89465f
update share link on send list copy ( #305 )
2021-03-11 10:31:35 -05:00
Kyle Spearrin
c8cab2a9e7
use send.bitwarden.com ( #304 )
2021-03-11 10:08:28 -05:00
Vladislav Voronin
5d32ba68ec
Add disable badge counter ( #281 )
...
* jslib code for 287 issue
added bunch of state-save for new option
* remove excessive code
* revert accidental revert
2021-03-10 15:36:33 -05:00
Matt Gibson
8541027d40
Handle text response errors ( #301 )
...
* Parse text error response to json Message field
* Do not output object.toString, prefer object serialization
2021-03-09 10:58:17 -06:00
Addison Beck
f29afc7cf7
set default expiration time on date input for Sends ( #300 )
2021-03-09 10:31:05 -05:00
Addison Beck
125de0dd47
Safari Time Formatting ( #298 )
...
* fixed up the send date fallbacks again
* gave localizations string a better name
* added support for dropdown time selection in safari
* changed console error to toast error
* fixed formatting for previous value safari times
2021-03-08 13:58:53 -05:00
Addison Beck
062046484b
Safari Date/Time support for Send dates ( #297 )
...
* fixed up the send date fallbacks again
* gave localizations string a better name
* added support for dropdown time selection in safari
* changed console error to toast error
2021-03-08 13:09:29 -05:00
Thomas Rittson
b7acbcf3a7
Enable platform-specific export warning message ( #295 )
2021-03-05 08:56:20 +10:00
Thomas Rittson
8328b55774
Expand encrypted export warning ( #294 )
...
* Allow html body in showDialog
* Add extra warnings about encrypted export
2021-03-04 11:15:51 -05:00
Addison Beck
729ab4f20b
fixed up the send date fallbacks again ( #293 )
...
* fixed up the send date fallbacks again
* gave localizations string a better name
* added fallback values to clear expiration
2021-03-03 15:02:05 -05:00
Addison Beck
f836629b48
Date time fallback fixes ( #292 )
...
* tightened up the Send datetime fallback conditionals
* cleaned up
2021-03-02 17:00:07 -05:00
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