Commit Graph

25 Commits

Author SHA1 Message Date
Addison Beck 68bd93e45b
added Send sync notification support (#250) 2021-01-22 16:52:08 -05:00
Matt Gibson 2c414ce27a
Use log service for console messages (#221)
* Use logService for console messages

* Implement a base ConsoleLog service

Use this class as a default for other services that would like to output
to console. This service is overriden in CLI and Desktop to use CLI's
consoleLogService and electronLogService, respectively.

* Use browser-process-hrtime for timing

* test LogService implementations

* Ignore default import of hrtime

* Clean up imports. Require ConsoleLog injection

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-11 10:44:57 -06:00
Matt Gibson 2b8c2c2b3e
Revert "Use logService for console messages (#214)" (#219)
This reverts commit 0fed528b6f.
2020-12-04 13:58:32 -06:00
Matt Gibson 0fed528b6f
Use logService for console messages (#214)
* Use logService for console messages

* linter autofixes

* Use full import path

* Implement a base ConsoleLog service

Use this class as a default for other services that would like to output
to console. This service is overriden in CLI and Desktop to use CLI's
consoleLogService and electronLogService, respectively.

* linter fixes

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-04 12:38:26 -06:00
Vincent Salucci 64c54cfb86
[Auto-Logout] Refactor LockService and Update Dependencies (#91)
* initial commit for lockService name refactor

* Reverted ConstantsService vault timeout key to legacy string value

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-03-27 09:03:27 -05:00
Kyle Spearrin 31a257407b skipNegotiation for websockets 2020-03-21 00:19:40 -04:00
Kyle Spearrin 3f17b642b4 upgrade signalr client 2020-01-09 17:27:07 -05:00
Kyle Spearrin 21e3026f04 heartbeat 2019-07-11 23:05:38 -04:00
Kyle Spearrin 3e996ae9ad not locked 2019-02-17 21:16:49 -05:00
Kyle Spearrin 0bdbfd7984 soft locking with protected pin 2019-02-13 21:36:36 -05:00
Kyle Spearrin 26625a58d0 spread out reconnects between 2 and 5 min 2018-08-31 23:24:43 -04:00
Kyle Spearrin a72843af3e ensure that message is for proper logged in user 2018-08-28 08:47:06 -04:00
Kyle Spearrin 45da8aa9eb support for logout notification 2018-08-28 08:38:19 -04:00
Kyle Spearrin c0fd5f71f8 always set inactive state first 2018-08-24 15:21:28 -04:00
Kyle Spearrin bc198c60d1 message pack protocol for signalr 2018-08-23 21:43:40 -04:00
Kyle Spearrin 2dc77b6143 disable notifications server url with https://- 2018-08-23 09:25:39 -04:00
Kyle Spearrin db1a632c65 sync on reconnect 2018-08-23 08:56:23 -04:00
Kyle Spearrin a360cd8e61 refresh notification token if needed. authed and unlocked required 2018-08-22 21:46:34 -04:00
Kyle Spearrin d37fa836da activity connect/disconnect events 2018-08-22 21:09:58 -04:00
Kyle Spearrin 74b31daf14 short arrow functions 2018-08-22 13:48:51 -04:00
Kyle Spearrin ebf6aee542 try to reconnect when connection closed 2018-08-22 13:46:35 -04:00
Kyle Spearrin 9cfd693576 only sync on edit if they already have the item/folder 2018-08-21 08:20:43 -04:00
Kyle Spearrin 50666a761d refresh token and reconnect on org key change 2018-08-20 22:20:04 -04:00
Kyle Spearrin d0c51bacfd sync folders and ciphers. fix dates 2018-08-20 16:01:26 -04:00
Kyle Spearrin ddee5908f1 notification service 2018-08-20 13:45:32 -04:00