Commit Graph

72 Commits

Author SHA1 Message Date
8456ea78f8
patch: cameroon specific dashboard queries 2022-08-26 07:23:26 +00:00
c490f28a96
Merge pull request #33 from grassrootseconomics/sohail/archived-tokens
feat: add support for archived tokens
2022-07-13 16:34:23 +03:00
a2422811cb
feat: add support for archived tokens
- uses token address for archived tokens

others fixes:

increase token name limit
2022-07-13 16:30:28 +03:00
a0ba153401
sql: drop uniq on tokens table
- This change makes token management manual
2022-07-05 10:14:08 +03:00
1e31e1af1c
Merge https://github.com/GrassrootsEconomics/cic-dw 2022-07-05 09:48:01 +03:00
706eb86550
config: update chain token index 2022-07-05 09:47:39 +03:00
f9210d6e04
Merge pull request #30 from grassrootseconomics/dependabot/go_modules/github.com/ethereum/go-ethereum-1.10.20
build(deps): bump github.com/ethereum/go-ethereum from 1.10.19 to 1.10.20
2022-07-04 18:13:51 +03:00
dependabot[bot]
164a62716e
build(deps): bump github.com/ethereum/go-ethereum
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.10.19 to 1.10.20.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.10.19...v1.10.20)

---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 13:03:22 +00:00
c8ecb750bc
Merge pull request #27 from grassrootseconomics/dependabot/go_modules/github.com/lmittmann/w3-0.8.1
build(deps): bump github.com/lmittmann/w3 from 0.8.0 to 0.8.1
2022-07-04 16:02:40 +03:00
ea270c0754
Merge pull request #26 from grassrootseconomics/dependabot/go_modules/github.com/knadh/koanf-1.4.2
build(deps): bump github.com/knadh/koanf from 1.4.1 to 1.4.2
2022-07-04 16:02:15 +03:00
7497d0cd41
fixes: deepsource suggestions 2022-07-04 16:01:44 +03:00
f20f4ca22d
migrations: remove ge community fund 2022-07-04 15:42:21 +03:00
DeepSource Bot
1eff99e55c Add .deepsource.toml 2022-06-21 07:40:40 +00:00
dependabot[bot]
be49df7b19
build(deps): bump github.com/lmittmann/w3 from 0.8.0 to 0.8.1
Bumps [github.com/lmittmann/w3](https://github.com/lmittmann/w3) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/lmittmann/w3/releases)
- [Commits](https://github.com/lmittmann/w3/compare/v0.8.0...v0.8.1)

---
updated-dependencies:
- dependency-name: github.com/lmittmann/w3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 05:46:56 +00:00
dependabot[bot]
360106f266
build(deps): bump github.com/knadh/koanf from 1.4.1 to 1.4.2
Bumps [github.com/knadh/koanf](https://github.com/knadh/koanf) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/knadh/koanf/releases)
- [Commits](https://github.com/knadh/koanf/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: github.com/knadh/koanf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 05:46:52 +00:00
b6e8898705
docs: update pagination spec 2022-06-16 12:30:40 +03:00
b59c0ba3fc
feat: transaction history (including by voucher) (#24)
* sql: add transaction transaction record queries

- get full tx history
- get latest txs for a specific token

* sql: (fix) add id column to select

* sql: (fix) change column name to identifier

* fix: pagination queries

- refactor keyset pagination query to correctly fecth previous page
- remove pagination from token list
- add fetch latest transactions by token

* tidy: remove dev logs

* feat: (db) add index for desc for pagination
2022-06-16 12:27:18 +03:00
f196af0e63
Merge pull request #23 from grassrootseconomics/dependabot/go_modules/github.com/rs/zerolog-1.27.0
build(deps): bump github.com/rs/zerolog from 1.26.1 to 1.27.0
2022-06-16 12:26:51 +03:00
dependabot[bot]
da7b0f2473
build(deps): bump github.com/rs/zerolog from 1.26.1 to 1.27.0
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.26.1 to 1.27.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.26.1...v1.27.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 09:26:42 +00:00
3697a07357
Merge pull request #25 from grassrootseconomics/dependabot/go_modules/github.com/ethereum/go-ethereum-1.10.19
build(deps): bump github.com/ethereum/go-ethereum from 1.10.18 to 1.10.19
2022-06-16 12:25:47 +03:00
dependabot[bot]
e83a103a35
build(deps): bump github.com/ethereum/go-ethereum
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.10.18 to 1.10.19.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.10.18...v1.10.19)

---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 05:40:14 +00:00
0fe78049f5
fix: (patch) meta endpoint config loader 2022-06-04 13:27:41 +03:00
5319359e88
patch: enable secure cookie 2022-06-02 11:51:19 +03:00
e19ba9d50c
deps: upgraded github.com/georgysavva/scany
v0.3.0 => v1.0.0
2022-06-02 11:31:31 +03:00
a016e295ef
Merge pull request #18 from grassrootseconomics/dependabot/go_modules/github.com/golang-module/carbon/v2-2.1.8
build(deps): bump github.com/golang-module/carbon/v2 from 2.1.6 to 2.1.8
2022-06-02 11:27:35 +03:00
dependabot[bot]
d58923f63c
build(deps): bump github.com/golang-module/carbon/v2 from 2.1.6 to 2.1.8
Bumps [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon) from 2.1.6 to 2.1.8.
- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](https://github.com/golang-module/carbon/compare/v2.1.6...v2.1.8)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 08:26:57 +00:00
657645f92c
Merge pull request #20 from grassrootseconomics/dependabot/go_modules/github.com/lmittmann/w3-0.8.0
build(deps): bump github.com/lmittmann/w3 from 0.7.0 to 0.8.0
2022-06-02 11:25:41 +03:00
77f127e14a
feat: add admin/auth api (#22)
* feat: add admin/auth api

- jwt cookie based auth
- /auth
- admin/*

* add: meta proxy

* fix: remove ussd account status from syncer

* add: cookie defaults and nuxt init check route

* add: pin and address handlers
2022-06-02 11:24:58 +03:00
861af1761d
Sohail/latest token transactions (#21)
* add: latest-token-transactions table

* fix: remove token symbol from query

* fix: move latest tx to dashboard domain
2022-05-26 09:35:39 +03:00
dependabot[bot]
8ed87e7244
build(deps): bump github.com/lmittmann/w3 from 0.7.0 to 0.8.0
Bumps [github.com/lmittmann/w3](https://github.com/lmittmann/w3) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/lmittmann/w3/releases)
- [Commits](https://github.com/lmittmann/w3/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: github.com/lmittmann/w3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-26 05:40:51 +00:00
3f24894700
Merge pull request #17 from grassrootseconomics/sohail/tokens-api-stats
add: (feat) individual token stats
2022-05-23 15:45:03 +03:00
7bda44c169
add: (feat) individual token stats
- volume chart
- token holders
- token tx count

* minor refactors
2022-05-23 15:41:24 +03:00
f00e97cc94
fix: (sql) exclude system accounts from metrics 2022-05-21 11:03:23 +03:00
642ccdddaa
docs: add pagination api 2022-05-19 16:34:24 +03:00
ef60e1b035
Merge pull request #15 from grassrootseconomics/sohail/tokens-api
add (feat) pagination helpers and token endpoint
2022-05-19 16:25:00 +03:00
37538c68ff
add (feat) pagination helpers and token endpoint
- see docs for pagination api usage
- added control for syncer/api goroutines
2022-05-19 16:24:26 +03:00
2548e68c36
Merge pull request #9 from grassrootseconomics/sohail/public-api
add: (feat) balances query API
2022-05-19 10:28:41 +03:00
eb05761a51
fix: error messages 2022-05-19 10:27:51 +03:00
f0690d62be
add: (feat) balances query api
- add address utils
- return uint64 for balances instead of float
2022-05-19 09:52:34 +03:00
7d431f1c8f
add: (wip) balances query API 2022-05-14 11:15:45 +03:00
352b89332f
docs: fix badges 2022-05-14 11:08:26 +03:00
18eafe9694
docs: add description and README 2022-05-14 11:06:42 +03:00
8288880c79
Merge branch 'sohail/dashboard-api' 2022-05-12 12:33:04 +03:00
d4506e6303
update: (dashboard-api) cors and sql limits
- add cors for core websites and dev env
- update sql query limit to 2 years
- enabled future cors for auth
2022-05-12 12:32:33 +03:00
bba6e330df
docker: fix dir copy 2022-05-11 18:42:02 +03:00
801d6d71c9
ci: fix goreleaser 2022-05-11 17:05:11 +03:00
9b66f4b2d6
Merge pull request #6 from grassrootseconomics/sohail/dashboard-api
server: init api server
2022-05-11 16:59:22 +03:00
128b15407a
server: init api server
- echo (https://echo.labstack.com/) as web framework
- carbon for auto date-range parsing
- add dashboard sql queries
2022-05-11 16:57:56 +03:00
f5642c0e05
docker: fix new queries path 2022-05-11 12:36:59 +03:00
6b71657e5b
sohail/update deps structure (#5)
* refactor: syncer structure

- move syncer jobs to internal dir

* refactor: queries struct and pkg updates

- update cic-go to latest
- separate sql queries by logic

* ci: add dependabot
2022-05-11 12:32:11 +03:00