status-go/services
Samuel Hawksby-Robinson e67592d556
Sync Settings (#2478)
* Sync Settings

* Added valueHandlers and Database singleton

Some issues remain, need a way to comparing incoming sql.DB to check if the connection is to a different file or not. Maybe make singleton instance per filename

* Added functionality to check the sqlite filename

* Refactor of Database.SaveSyncSettings to be used as a handler

* Implemented inteface for setting sync protobuf factories

* Refactored and completed adhoc send setting sync

* Tidying up

* Immutability refactor

* Refactor settings into dedicated package

* Breakout structs

* Tidy up

* Refactor of bulk settings sync

* Bug fixes

* Addressing feedback

* Fix code dropped during rebase

* Fix for db closed

* Fix for node config related crashes

* Provisional fix for type assertion - issue 2

* Adding robust type assertion checks

* Partial fix for null literal db storage and json encoding

* Fix for passively handling nil sql.DB, and checking if elem has len and if len is 0

* Added test for preferred name behaviour

* Adding saved sync settings to MessengerResponse

* Completed granular initial sync and clock from network on save

* add Settings to isEmpty

* Refactor of protobufs, partially done

* Added syncSetting receiver handling, some bug fixes

* Fix for sticker packs

* Implement inactive flag on sync protobuf factory

* Refactor of types and structs

* Added SettingField.CanSync functionality

* Addressing rebase artifact

* Refactor of Setting SELECT queries

* Refactor of string return queries

* VERSION bump and migration index bump

* Deactiveate Sync Settings

* Deactiveated preferred_name and send_status_updates

Co-authored-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2022-03-23 18:47:00 +00:00
..
accounts Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
appmetrics Move services to status-node 2021-07-20 10:57:38 +02:00
browsers Sync bookmarks 2022-02-17 12:40:33 +00:00
chat Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
ens fix: minor issues and adding method to retrieve the stickermarket contract address 2022-03-02 17:46:16 -04:00
ext Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
gif Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
local-notifications Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
mailservers Enable mailserver cycle by default 2022-03-19 08:56:22 +00:00
peer Fix hash & start moving to lifecycle 2021-07-20 10:57:38 +02:00
permissions feat: add address to permission (#2571) 2022-03-14 13:38:12 +01:00
personal feat: Rpc client manage multiple eth client (#2359) 2021-09-22 13:49:20 -04:00
rpcfilters feat: Rpc client manage multiple eth client (#2359) 2021-09-22 13:49:20 -04:00
rpcstats Move services to status-node 2021-07-20 10:57:38 +02:00
shhext Intrododuce NodeConfig.TorrentConfig and CLI flags 2022-03-21 12:59:09 +01:00
status feat: add RequestCommunityInfoFromMailserverAsync (#2537) 2022-02-14 16:49:14 -05:00
stickers Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
subscriptions feat: Rpc client manage multiple eth client (#2359) 2021-09-22 13:49:20 -04:00
typeddata linting and remove unused code 2021-07-20 10:57:38 +02:00
wakuext feat: desktop mailserver cycle (#2481) 2022-01-12 12:02:01 -04:00
wakuv2ext feat: desktop mailserver cycle (#2481) 2022-01-12 12:02:01 -04:00
wallet Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
web3provider Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
utils.go New debug_postSync endpoint (#1046) 2018-06-25 15:27:17 +02:00