Commit graph

314 commits

Author SHA1 Message Date
ditatompel
aa8ecc6b61
fix(lint): Deprecated linters.errcheck.ignore 2024-06-19 16:54:40 +07:00
ditatompel
0321006eb3
feat: Allow user to specify endpoint from CLI flag
`--no-tor` also added to `probe` CLI flags to force probing clearnet
nodes only.
2024-06-19 16:32:40 +07:00
ditatompel
c0885f5e5a
chore: default ACCEPT_TOR and APP_PREFORK to false
Also change allow-origin CORS from ditatompel.com to xmr.ditatompel.com
2024-06-19 16:25:53 +07:00
ditatompel
3f5c0c9472
refactor: Lowercase & upperase initialism acronyms 2024-06-19 16:24:18 +07:00
ditatompel
e9cacb478c
feat: Allow user to specify custom .env location
Some checks failed
Build / build (push) Has been cancelled
Test / lint (push) Has been cancelled
This feature can also be useful for running tests in CI.
2024-06-18 04:23:08 +07:00
ditatompel
6ba79cc00b
feat: No img src to external URL
Some checks are pending
Build / build (push) Waiting to run
Test / lint (push) Waiting to run
This is useful if we want to expose this service to the Tor network
because browsers usually refuse serving images from https protocol
to insecure http protocol.
2024-06-17 22:16:01 +07:00
ditatompel
0229eaddbd
feat: Not using external URL for country flag icon
The country flag icons no longer use edge.ditatompel.com. It's compiled
to the server binary.

I'm using https://github.com/hampusborgos/country-flags for country flag
svg icons, but the commited svgs was optimized using `svgo`.
2024-06-17 21:53:58 +07:00
ditatompel
90f59dabb5
build(dev-deps): Remove @sveltejs/adapter-auto 2024-06-17 21:08:38 +07:00
ditatombot[bot]
cac48a2fe0
Merge pull request #32 from ditatompel/dependabot/npm_and_yarn/frontend/eslint-plugin-svelte-2.39.5
Merge pull request #32

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-06-17 13:51:41 +00:00
ditatombot[bot]
3e07aab4aa
Merge pull request #31 from ditatompel/dependabot/npm_and_yarn/frontend/sveltejs/adapter-auto-3.2.2
Merge pull request #31

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-06-17 13:50:18 +00:00
ditatombot[bot]
1729be7618
Merge pull request #30 from ditatompel/dependabot/npm_and_yarn/frontend/vite-5.3.1
Merge pull request #30

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-06-17 13:48:14 +00:00
dependabot[bot]
2d1f4ca673
build(deps-dev): bump eslint-plugin-svelte in /frontend
Bumps [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte) from 2.39.3 to 2.39.5.
- [Release notes](https://github.com/sveltejs/eslint-plugin-svelte/releases)
- [Commits](https://github.com/sveltejs/eslint-plugin-svelte/compare/eslint-plugin-svelte@2.39.3...eslint-plugin-svelte@2.39.5)

---
updated-dependencies:
- dependency-name: eslint-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 13:46:54 +00:00
ditatombot[bot]
a678d311eb
Merge pull request #28 from ditatompel/dependabot/npm_and_yarn/frontend/prettier-3.3.2
Merge pull request #28

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-06-17 13:45:50 +00:00
dependabot[bot]
2817abc15d
build(deps-dev): bump @sveltejs/adapter-auto in /frontend
Bumps [@sveltejs/adapter-auto](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-auto) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/adapter-auto/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/adapter-auto@3.2.2/packages/adapter-auto)

---
updated-dependencies:
- dependency-name: "@sveltejs/adapter-auto"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 13:44:01 +00:00
dependabot[bot]
87892768de
build(deps-dev): bump vite from 5.2.12 to 5.3.1 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.2.12 to 5.3.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 13:43:43 +00:00
ditatombot[bot]
000b830459
Merge pull request #27 from ditatompel/dependabot/npm_and_yarn/frontend/sveltejs/adapter-static-3.0.2
Merge pull request #27

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-06-17 13:43:00 +00:00
ditatombot[bot]
5094efd6c4
Merge pull request #26 from ditatompel/dependabot/go_modules/github.com/spf13/cobra-1.8.1
Merge pull request #26

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-06-17 13:40:32 +00:00
dependabot[bot]
1a5d2f8b2d
build(deps-dev): bump prettier from 3.3.1 to 3.3.2 in /frontend
Bumps [prettier](https://github.com/prettier/prettier) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.3.1...3.3.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 05:28:27 +00:00
dependabot[bot]
ebf1d89481
build(deps-dev): bump @sveltejs/adapter-static in /frontend
Bumps [@sveltejs/adapter-static](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-static) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/adapter-static/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/adapter-static@3.0.2/packages/adapter-static)

---
updated-dependencies:
- dependency-name: "@sveltejs/adapter-static"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 05:28:19 +00:00
dependabot[bot]
f8b7bc59ba
build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 05:18:26 +00:00
ditatombot[bot]
90f63df59a
Merge pull request #23 from ditatompel/dependabot/go_modules/golang.org/x/net-0.26.0
Some checks failed
Build / build (push) Has been cancelled
Test / lint (push) Has been cancelled
Merge pull request #23

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-06-15 08:28:07 +00:00
ditatombot[bot]
ced4d5d9f4
Merge pull request #25 from ditatompel/dependabot/npm_and_yarn/frontend/eslint-plugin-svelte-2.39.3
Merge pull request #25

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-06-15 08:25:34 +00:00
dependabot[bot]
296369cb6d
build(deps-dev): bump eslint-plugin-svelte in /frontend
Bumps [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte) from 2.39.0 to 2.39.3.
- [Release notes](https://github.com/sveltejs/eslint-plugin-svelte/releases)
- [Commits](https://github.com/sveltejs/eslint-plugin-svelte/compare/v2.39.0...eslint-plugin-svelte@2.39.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-15 08:23:04 +00:00
ditatombot[bot]
657bb5661c
Merge pull request #22 from ditatompel/dependabot/npm_and_yarn/frontend/prettier-plugin-svelte-3.2.4
Merge pull request #22

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-06-15 08:22:08 +00:00
dependabot[bot]
fb3ed18626
Bump prettier-plugin-svelte from 3.2.3 to 3.2.4 in /frontend
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 3.2.3 to 3.2.4.
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/compare/v3.2.3...v3.2.4)

---
updated-dependencies:
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-15 08:20:38 +00:00
ditatombot[bot]
1b521cae70
Merge pull request #21 from ditatompel/dependabot/npm_and_yarn/frontend/svelte-4.2.18
Merge pull request #21

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-06-15 08:19:41 +00:00
dependabot[bot]
9c7cc6874d
Bump svelte from 4.2.17 to 4.2.18 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 4.2.17 to 4.2.18.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/svelte@4.2.18/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@4.2.18/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-15 08:17:41 +00:00
ditatombot[bot]
3621a91cb4
Merge pull request #19 from ditatompel/dependabot/npm_and_yarn/frontend/vincjo/datatables-1.14.10
Merge pull request #19

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-06-15 08:17:03 +00:00
ditatombot[bot]
a4924516dc
Merge pull request #18 from ditatompel/dependabot/npm_and_yarn/frontend/prettier-3.3.1
Merge pull request #18

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-06-15 08:09:57 +00:00
ditatompel
a5313bb17d
fix: Wrong color display when uptime is 80 & 98
The UI display red color if the uptime value is exactly
80 and 98 percent. Use `>=` fix this issue.
2024-06-11 23:22:00 +07:00
ditatompel
d09542cee0
chore: Add release binary action badge 2024-06-11 14:53:15 +07:00
ditatompel
17b5f18332
chore(docs): Note how to get list of public nodes
Adding example way to get list of Monero public nodes
using monero-wallet-cli for future integration test.
2024-06-11 14:47:01 +07:00
ditatompel
acf99a3ca8
chore(ci): Release action (test) 2024-06-11 01:38:30 +07:00
ditatompel
c65c939d36
Add build workflow 2024-06-10 23:44:01 +07:00
ditatompel
0fdce5cc81
Make this project public, add link & license info
> When I wrote this, only God and I understood what I was doing.
> Now, only God knows.

Shout to https://github.com/me-shaon/GLWTPL
2024-06-10 22:40:44 +07:00
ditatompel
70c371a9b4
chore: Add similar projects to the README.md 2024-06-10 21:32:01 +07:00
dependabot[bot]
95a4740689
Bump golang.org/x/net from 0.25.0 to 0.26.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 05:25:41 +00:00
dependabot[bot]
63fc12dcd0
Bump @vincjo/datatables from 1.14.5 to 1.14.10 in /frontend
Bumps [@vincjo/datatables](https://github.com/vincjo/datatables) from 1.14.5 to 1.14.10.
- [Commits](https://github.com/vincjo/datatables/commits)

---
updated-dependencies:
- dependency-name: "@vincjo/datatables"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 05:22:02 +00:00
dependabot[bot]
1a8865021d
Bump prettier from 3.3.0 to 3.3.1 in /frontend
Bumps [prettier](https://github.com/prettier/prettier) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.3.0...3.3.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 05:21:57 +00:00
ditatompel
1429cde662
Uppercase CheckAPI test func
Ref cd52dc7
2024-06-10 03:23:03 +07:00
ditatompel
cd52dc7b70
Lowercase & upperase initialism acronyms
See https://google.github.io/styleguide/go/decisions#initialisms
2024-06-10 03:03:23 +07:00
ditatompel
5f5ebd81a9
Reuse existing db connection (if any) 2024-06-10 02:47:44 +07:00
ditatompel
70372e58ab
Changed the initialization of the countries slice 2024-06-08 00:53:28 +07:00
ditatompel
054a4809dd
No need to use ptr for NetFee 2024-06-08 00:37:26 +07:00
ditatompel
459271408d
test: Unit test for parseStatuses() 2024-06-03 22:18:24 +07:00
ditatompel
58e2da0a67
Change NodeInfo struct to Node
Adapt with previous commit ref 20d8d67
2024-06-03 22:15:32 +07:00
ditatompel
ced90fde8e
feat: Function to parse node statuses from report 2024-06-03 22:13:12 +07:00
ditatompel
85f3169689
Only call time.Now() once 2024-06-03 19:26:12 +07:00
ditatombot[bot]
a0ff254f55
Merge pull request #11 from ditatompel/dependabot/go_modules/github.com/oschwald/geoip2-golang-1.11.0
Merge pull request #11

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-06-03 10:52:27 +00:00
ditatompel
9923eb95d4
chore: Remove unused data 2024-06-03 17:15:50 +07:00