Commit Graph

24 Commits

Author SHA1 Message Date
Chad Scharf 0a73b6fca8
Fix lint error (#209) 2020-11-23 12:21:45 -05:00
Fredrik Ekre adcc618b42
sync: move try-catch out of needsSyncing and handle errors it in fullSync (#207)
The motivation for this is https://github.com/bitwarden/cli/issues/129
where failed sync's are swallowed by try-catch. By moving the try-catch
to the outside it is possible to reuse the already existing
allowThrowOnError argument which callers can use to signal whether
fullSync should throw or ignore errors silently. This patch is
companioned with a patch to the SyncCommand CLI command to pass
allowThrowOnError.
2020-11-23 12:09:09 -05:00
Kyle Spearrin 6563dccf3b
send service and syncing send data (#205)
* send service and syncing send data

* Update send.service.ts
2020-11-18 13:56:41 -05:00
Kyle Spearrin 13d1067eda null check on policies response prop 2020-03-12 15:16:22 -04:00
Kyle Spearrin 3d2e2cb174 sync policies., set up policy service 2020-01-28 22:24:02 -05:00
Kyle Spearrin 669f6ddf93 option to allow sync to throw error 2019-10-15 11:06:55 -04:00
Kyle Spearrin 30a1e27aa6 fix sync bug 2019-04-17 12:13:04 -04:00
Kyle Spearrin 7b0bc41f88 remove public stamp removal 2019-04-17 11:06:12 -04:00
Kyle Spearrin 852b4571b3 check last sync before revision date 2018-08-31 17:22:38 -04:00
Kyle Spearrin 46e35a9b84 delete cipher on sync if it 404s 2018-08-21 23:10:12 -04:00
Kyle Spearrin 953970498e update notification sync logic for collectionids 2018-08-21 09:25:16 -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 d0c51bacfd sync folders and ciphers. fix dates 2018-08-20 16:01:26 -04:00
Kyle Spearrin 2a526940fd apis for groups and collections 2018-07-06 12:40:43 -04:00
Kyle Spearrin bf260819bb sync organizations 2018-05-18 15:26:46 -04:00
Kyle Spearrin 799c90af17 make logout callback async 2018-05-15 23:40:15 -04:00
Kyle Spearrin 166ed44392 Revert "reference barrels"
This reverts commit 2d9f53fbed.
2018-02-19 13:07:19 -05:00
Kyle Spearrin 2d9f53fbed reference barrels 2018-02-19 12:33:32 -05:00
Kyle Spearrin 7b3bbd9245 userid null check 2018-02-15 13:39:23 -05:00
Kyle Spearrin 9cd74af2df sync service abstraction 2018-02-08 10:49:00 -05:00
Kyle Spearrin 808e74bcfb added missing return types to sync service 2018-01-09 23:34:33 -05:00
Kyle Spearrin 6be48873cc move sync service to jslib 2018-01-09 23:25:59 -05:00
Kyle Spearrin bbfe69eea0 clean out old models/services 2018-01-04 23:51:02 -05:00
Kyle Spearrin a95632294f copy common ts code over from browser repo 2018-01-03 21:20:41 -05:00