The Status module that consumes go-ethereum https://status.im
Go to file
Jonathan Rainville 635f19e3c7 feat(accounts)_: cherry-pick Persist acceptance of Terms of Use & Privacy policy (#5766) (#5977)
* feat(accounts)_: Persist acceptance of Terms of Use & Privacy policy (#5766)

The original GH issue https://github.com/status-im/status-mobile/issues/21113
came from a request from the Legal team. We must show to Status v1 users the new
terms (Terms of Use & Privacy Policy) right after they upgrade to Status v2
from the stores.

The solution we use is to create a flag in the accounts table, named
hasAcceptedTerms. The flag will be set to true on the first account ever
created in v2 and we provide a native call in mobile/status.go#AcceptTerms,
which allows the client to persist the user's choice in case they are upgrading
(from v1 -> v2, or from a v2 older than this PR).

This solution is not the best because we should store the setting in a separate
table, not in the accounts table.

Related Mobile PR https://github.com/status-im/status-mobile/pull/21124

* fix(test)_: Compare addresses using uppercased strings

---------

Co-authored-by: Icaro Motta <icaro.ldm@gmail.com>
2024-10-23 12:00:15 -03:00
.dependabot Patch/dependabot protocol (#1980) 2020-05-19 00:14:02 +01:00
.github ci_: validate pr title (#5872) 2024-09-26 09:10:59 +01:00
.vscode feat(wallet) implement Wallet Connect sign APIs 2023-11-15 15:52:02 +01:00
_assets fix_: no test reporting to codecov (#5968) 2024-10-21 12:33:27 +01:00
_docs chore_: rename integration tests to functional tests (#5908) 2024-10-03 14:51:51 +01:00
_examples chore_: drop wakuv2 fleets, use waku fleets 2024-05-17 18:53:40 +02:00
abi-spec Upgrade linter to 1.50.0 2023-01-13 17:52:03 +00:00
account Removed unused ParseLoginParams and newErrZeroAddress functions 2024-03-20 10:12:49 +00:00
api feat(accounts)_: cherry-pick Persist acceptance of Terms of Use & Privacy policy (#5766) (#5977) 2024-10-23 12:00:15 -03:00
appdatabase chore_: completely remove goerli from the code 2024-10-21 17:30:51 +02:00
appmetrics fix(tests): moved test db setup to a common place 't/helpers', created 2023-08-18 09:00:56 +02:00
build/bin add .gitkeep to build/bin so it always exists 2019-03-05 14:22:00 +01:00
centralizedmetrics feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
circuitbreaker feat_: RPC providers detailed statuses #5923 (#5924) 2024-10-15 19:59:17 +04:00
cmd chore_: completely remove goerli from the code 2024-10-21 17:30:51 +02:00
common feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
config chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
connection Address linter issues 2022-03-28 13:14:12 +01:00
constants feat_: accounts/saved addresses capacity related api endpoints added 2024-08-06 08:19:33 +02:00
contracts chore_: completely remove goerli from the code 2024-10-21 17:30:51 +02:00
db Address linter issues 2022-03-28 13:14:12 +01:00
deprecation fx: deprecate profile and timeline chats (#3809) 2023-08-03 17:16:11 +03:00
discovery feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
errors chore_: map insufficient funds error 2024-08-28 08:23:18 +02:00
eth-node feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
exchanges URL unfurling (initial implementation) (#3471) 2023-05-18 15:43:06 -03:00
exportlogs Upgrade geth to 1.9.5 and Whisper (#1617) 2019-10-04 17:21:24 +02:00
extkeys Upgrade geth 2021-07-20 10:57:38 +02:00
healthmanager feat_: RPC providers detailed statuses #5923 (#5924) 2024-10-15 19:59:17 +04:00
images fix(wallet)_: Fix handling of remote image URLs in image processing 2024-08-14 12:50:10 +02:00
ipfs feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
logutils feat_: Implement request logging functionality (#5812) 2024-09-13 16:08:20 +01:00
mailserver refactor_: remove generated files from source control (#5878) 2024-10-03 20:59:44 +01:00
metrics feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
mobile feat(accounts)_: cherry-pick Persist acceptance of Terms of Use & Privacy policy (#5766) (#5977) 2024-10-23 12:00:15 -03:00
multiaccounts feat(accounts)_: cherry-pick Persist acceptance of Terms of Use & Privacy policy (#5766) (#5977) 2024-10-23 12:00:15 -03:00
nix ci_: add go-generate-fast to nix (#5890) 2024-09-30 12:53:20 +01:00
node chore_: completely remove goerli from the code 2024-10-21 17:30:51 +02:00
nodecfg chore(wallet)_: remove unused upstream client (#5934) 2024-10-11 21:01:14 +04:00
notifier Notifier package to interact with gorush notifications (#910) 2018-05-08 16:30:03 +02:00
params chore_: completely remove goerli from the code 2024-10-21 17:30:51 +02:00
peers feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
postgres fix_: enable tests to run with `-count` more than 1 (#5757) 2024-08-23 19:30:58 +00:00
profiling feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
protocol chore_: completely remove goerli from the code 2024-10-21 17:30:51 +02:00
rpc chore_: completely remove goerli from the code 2024-10-21 17:30:51 +02:00
rtt feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
scripts nix: Updating Nix Shell and Makefile to use nix-shell 2024-04-09 12:49:06 +03:00
server fix(sync)_: sync fallback notification (#5888) 2024-10-07 22:05:37 +08:00
services chore_: completely remove goerli from the code 2024-10-21 17:30:51 +02:00
signal chore_: improvements of the sending route generated by the router process 2024-10-01 14:30:33 +02:00
sqlite fix: close messenger's databases in tests 2023-11-28 20:59:25 +01:00
static refactor_: remove generated files from source control (#5878) 2024-10-03 20:59:44 +01:00
t chore_: completely remove goerli from the code 2024-10-21 17:30:51 +02:00
telemetry feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
tests-functional fix_: functional tests (#5979) 2024-10-23 12:00:15 -03:00
tests-unit-network fix(wallet)_: limit max parameter length in cryptocompare price fetches (#5957) 2024-10-21 08:57:28 -03:00
timesource feat_: log on panic (#5849) 2024-09-27 06:37:32 +08:00
transactions chore_: completely remove goerli from the code 2024-10-21 17:30:51 +02:00
vendor chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
waku fix_: remove waku go generate instructions as unused (#5892) 2024-09-30 17:47:39 +01:00
wakuv2 chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
walletdatabase refactor_: remove generated files from source control (#5878) 2024-10-03 20:59:44 +01:00
.codeclimate.yml This PR (status-go) fixes #12821 (#4516) 2024-01-08 10:18:57 -08:00
.codecov.yml feat_: functional tests coverage (#5805) 2024-09-24 16:33:26 +01:00
.dockerignore fix(ci)_: lock Go at 1.20 and Alpine at 3.18 2024-05-20 08:25:49 +02:00
.gitignore fix_: delete endpoints file (#5922) 2024-10-07 13:07:33 +01:00
.golangci.yml chore_: bump go to 1.20 (#5027) 2024-04-18 18:48:02 +02:00
.travis.yml Remove Ropsten and Rinkeby test networks 2022-10-24 14:17:46 +02:00
BOOTNODE.md docs: clarify purpose and describe ports 2020-02-06 18:44:23 +01:00
CMakeLists.txt dev: allow option to force compiling for apple silicon 2022-06-30 09:42:19 +02:00
CONTRIBUTING.md chore_: rename integration tests to functional tests (#5908) 2024-10-03 14:51:51 +01:00
LICENSE.md Create LICENSE.md 2016-09-21 10:00:29 +08:00
MAILSERVER.md rcp.sh: curl wrapper for easier RPC calls 2021-08-24 11:23:25 +02:00
Makefile fix_: functional tests (#5979) 2024-10-23 12:00:15 -03:00
README.md docs_: better usage docs for status-backend (#5955) 2024-10-18 21:59:09 +03:00
RELEASING.md chore_: Add tag-version command 2024-04-10 11:43:13 +01:00
WAKU.md Create WAKU.md with spec support (#1855) 2020-02-21 17:56:15 +08:00
default.nix nix: Updating Nix Shell and Makefile to use nix-shell 2024-04-09 12:49:06 +03:00
go.mod chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
go.sum chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
shell.nix nix: Updating Nix Shell and Makefile to use nix-shell 2024-04-09 12:49:06 +03:00