The Status module that consumes go-ethereum https://status.im
Go to file
Jonathan Rainville dfc4dc8078 feat(community)_: add version to image url to let clients update
Fixes https://github.com/status-im/status-desktop/issues/16688

Since we use the local image server to show the community image, the URL never changes when we update the image, since it's served using a query string containing the community ID. eg: `https://Localhost:46739/communityDescriptionImages?communityID=0x03c5ece7da362d31199fb02d632f85fdf853af57d89c3204b4d1e90c6ec13bb23c&name=thumbnail`
Because of that, the clients cannot know if the image was updated, so they had to force update the image every time, which was inefficient.

We discovered this issue when I refactored the community client code in Desktop so that we only update the changed properties of a community instead of reseting the whole thing.

The solution I came up with in the PR is to add a `version` to the URL when we detect that the image changed. This let,s the clients detect when the image was updated without having to do any extra logic.
2024-11-22 15:01:07 -05: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 test_: add multiple status-backend instances (#6104) 2024-11-21 14:21:53 +00:00
_docs chore_: cleanup unused cmd (#6045) 2024-11-11 17:17:41 +07:00
abi-spec Upgrade linter to 1.50.0 2023-01-13 17:52:03 +00:00
account chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00:00
api chore(wallet)_: transactions/types.go moved to services/wallet/wallettypes 2024-11-22 13:32:49 +01:00
appdatabase chore_: Remove switcher cards (#6107) 2024-11-19 13:41:52 +05:30
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 chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00:00
circuitbreaker chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00:00
cmd chore(logging)_: switch to zap.Logger as central logger 2024-11-22 10:03:22 +01:00
common chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00: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 chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00:00
deprecation fx: deprecate profile and timeline chats (#3809) 2023-08-03 17:16:11 +03:00
discovery chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00: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_: `LogOnPanic` linter (#5969) 2024-10-23 21:33:05 +01:00
images chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00:00
internal chore_: add gofakeit dependency (#6110) 2024-11-20 12:33:05 +00:00
ipfs chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00:00
logutils chore(logging)_: switch to zap.Logger as central logger 2024-11-22 10:03:22 +01:00
mailserver chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00:00
metrics chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00:00
mobile chore(wallet)_: transactions/types.go moved to services/wallet/wallettypes 2024-11-22 13:32:49 +01:00
multiaccounts chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00:00
nix chore_: enable windows and macos CI build (#5840) 2024-10-25 09:40:47 +02:00
node chore(wallet)_: ens resolver identified under ens api 2024-11-22 13:32:49 +01: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 fix_: move version to separate package (#6053) 2024-11-06 17:36:49 +00:00
peers chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00:00
postgres fix_: enable tests to run with `-count` more than 1 (#5757) 2024-08-23 19:30:58 +00:00
profiling chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00:00
protocol feat(community)_: add version to image url to let clients update 2024-11-22 15:01:07 -05:00
rpc fix_: move version to separate package (#6053) 2024-11-06 17:36:49 +00: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 feat(community)_: add version to image url to let clients update 2024-11-22 15:01:07 -05:00
services chore(wallet)_: path processor specific const and functions moved to path processors' common package 2024-11-22 13:32:49 +01:00
signal feat(browser connect)_: Implementing signTypedData_V4 2024-11-22 10:35:23 +01:00
sqlite fix: close messenger's databases in tests 2023-11-28 20:59:25 +01:00
static chore_: cleanup unused cmd (#6045) 2024-11-11 17:17:41 +07:00
t chore(logging)_: switch to zap.Logger as central logger 2024-11-22 10:03:22 +01:00
telemetry chore_: get version with go generate (#6014) 2024-11-03 00:47:15 +00:00
tests-functional test_: add multiple status-backend instances (#6104) 2024-11-21 14:21:53 +00:00
tests-unit-network fix(wallet)_: limit max parameter length in cryptocompare price fetches (#5957) 2024-10-21 08:57:28 -03:00
timesource chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00:00
transactions feat(wallet)_: enrich status changed and tx update signals' payload with tx route data 2024-11-22 13:32:49 +01:00
vendor chore_: add gofakeit dependency (#6110) 2024-11-20 12:33:05 +00:00
waku chore_: replace geth logger with zap logger (#5962) 2024-10-28 20:54:17 +00:00
wakuv2 feat(telemetry)_: add metrics for message reliability (#5899) 2024-10-28 15:01:18 -07:00
walletdatabase chore_: adapt route db to new transaction code 2024-11-08 09:03:33 -03:00
.codeclimate.yml This PR (status-go) fixes #12821 (#4516) 2024-01-08 10:18:57 -08:00
.codecov.yml ci_: disable codecov github annotations 2024-11-18 17:13:35 +00:00
.dockerignore fix(ci)_: lock Go at 1.20 and Alpine at 3.18 2024-05-20 08:25:49 +02:00
.gitignore chore_: cleanup unused cmd (#6045) 2024-11-11 17:17:41 +07:00
.golangci.yml chore_: bump go to 1.20 (#5027) 2024-04-18 18:48:02 +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
Makefile chore_: remove CLI option MEDIA_HTTPS (#6112) 2024-11-22 10:23:17 +08:00
README.md chore_: cleanup unused cmd (#6045) 2024-11-11 17:17:41 +07:00
RELEASING.md chore_: Add tag-version command 2024-04-10 11:43:13 +01:00
default.nix nix: Updating Nix Shell and Makefile to use nix-shell 2024-04-09 12:49:06 +03:00
go.mod chore_: add gofakeit dependency (#6110) 2024-11-20 12:33:05 +00:00
go.sum chore_: add gofakeit dependency (#6110) 2024-11-20 12:33:05 +00:00
shell.nix nix: Updating Nix Shell and Makefile to use nix-shell 2024-04-09 12:49:06 +03:00