Commit Graph

89 Commits

Author SHA1 Message Date
93d07b8ca3
fix: coalesce null value 2022-11-16 17:21:01 +03:00
f93727925e
patch: prevent multiple rows from inner query
` UNION ALL SELECT address_description FROM sys_accounts WHERE sys_address = transactions.recipient_address`
2022-11-16 17:01:44 +03:00
e158ce28bc
add: MUN to metrics
closes #54
2022-09-29 10:59:23 +03:00
18020e8451
fix: sql cmr queries 2022-08-26 07:59:14 +00:00
7fa1e1a7c0
Merge pull request #44 from grassrootseconomics/dependabot/go_modules/github.com/knadh/koanf-1.4.3
build(deps): bump github.com/knadh/koanf from 1.4.2 to 1.4.3
2022-08-26 10:32:07 +03:00
dependabot[bot]
74103f4f37
build(deps): bump github.com/knadh/koanf from 1.4.2 to 1.4.3
Bumps [github.com/knadh/koanf](https://github.com/knadh/koanf) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/knadh/koanf/releases)
- [Commits](https://github.com/knadh/koanf/compare/v1.4.2...v1.4.3)

---
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-08-26 07:31:59 +00:00
11718c6452
Merge pull request #43 from grassrootseconomics/dependabot/go_modules/github.com/ethereum/go-ethereum-1.10.23
build(deps): bump github.com/ethereum/go-ethereum from 1.10.20 to 1.10.23
2022-08-26 10:31:29 +03:00
dependabot[bot]
50e9e1c80a
build(deps): bump github.com/ethereum/go-ethereum
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.10.20 to 1.10.23.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.10.20...v1.10.23)

---
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-08-26 07:31:20 +00:00
a8f2d2e189
Merge pull request #41 from grassrootseconomics/dependabot/go_modules/github.com/labstack/echo/v4-4.8.0
build(deps): bump github.com/labstack/echo/v4 from 4.7.2 to 4.8.0
2022-08-26 10:29:55 +03:00
96c3f85d46
Merge pull request #40 from grassrootseconomics/dependabot/go_modules/github.com/jackc/pgx/v4-4.17.0
build(deps): bump github.com/jackc/pgx/v4 from 4.16.1 to 4.17.0
2022-08-26 10:29:45 +03:00
c6fb53a1b9
Merge pull request #39 from grassrootseconomics/dependabot/go_modules/github.com/golang-module/carbon/v2-2.1.9
build(deps): bump github.com/golang-module/carbon/v2 from 2.1.8 to 2.1.9
2022-08-26 10:29:36 +03:00
c352ebdd2f
Merge pull request #37 from grassrootseconomics/dependabot/go_modules/github.com/georgysavva/scany-1.1.0
build(deps): bump github.com/georgysavva/scany from 1.0.0 to 1.1.0
2022-08-26 10:29:27 +03:00
6ffbe2ff2a
ci: docker registry fix 2022-08-26 07:28:40 +00:00
8456ea78f8
patch: cameroon specific dashboard queries 2022-08-26 07:23:26 +00:00
dependabot[bot]
853e88b8f3
build(deps): bump github.com/labstack/echo/v4 from 4.7.2 to 4.8.0
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.7.2 to 4.8.0.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.7.2...v4.8.0)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-11 05:52:19 +00:00
dependabot[bot]
581c629227
build(deps): bump github.com/jackc/pgx/v4 from 4.16.1 to 4.17.0
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.16.1 to 4.17.0.
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.16.1...v4.17.0)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 05:44:17 +00:00
dependabot[bot]
3849c6a403
build(deps): bump github.com/golang-module/carbon/v2 from 2.1.8 to 2.1.9
Bumps [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon) from 2.1.8 to 2.1.9.
- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](https://github.com/golang-module/carbon/compare/v2.1.8...v2.1.9)

---
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-08-02 05:34:52 +00:00
dependabot[bot]
b7fe9dd86e
build(deps): bump github.com/georgysavva/scany from 1.0.0 to 1.1.0
Bumps [github.com/georgysavva/scany](https://github.com/georgysavva/scany) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/georgysavva/scany/releases)
- [Commits](https://github.com/georgysavva/scany/compare/v1.0.0...v1.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 05:43:34 +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