ditatompel
d9017a47b9
docs: Add handler function info
2024-06-03 14:20:10 +07:00
ditatompel
e01c28d966
change MoneroNode and MoneroNodes handler name
...
MoneroNode -> Node
MoneroNodes -> Nodes
2024-06-03 14:17:51 +07:00
ditatompel
9323e63405
docs: Add build requirement information
2024-06-03 13:37:18 +07:00
ditatompel
54d82e0c8f
fix: RowsPerPage nodes API return zero
...
Forget to set RowsPerPage response
2024-06-03 13:18:52 +07:00
ditatompel
33efa8fd31
Fetch estimate fee has it own function
2024-06-03 13:10:35 +07:00
dependabot[bot]
98a078c287
Bump @sveltejs/vite-plugin-svelte from 3.1.0 to 3.1.1 in /frontend
...
Bumps [@sveltejs/vite-plugin-svelte](https://github.com/sveltejs/vite-plugin-svelte/tree/HEAD/packages/vite-plugin-svelte ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/sveltejs/vite-plugin-svelte/releases )
- [Changelog](https://github.com/sveltejs/vite-plugin-svelte/blob/@sveltejs/vite-plugin-svelte@3.1.1/packages/vite-plugin-svelte/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/vite-plugin-svelte/commits/@sveltejs/vite-plugin-svelte@3.1.1/packages/vite-plugin-svelte )
---
updated-dependencies:
- dependency-name: "@sveltejs/vite-plugin-svelte"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 05:48:42 +00:00
dependabot[bot]
9b0b380001
Bump vite from 5.2.11 to 5.2.12 in /frontend
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.2.11 to 5.2.12.
- [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.2.12/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 05:48:28 +00:00
dependabot[bot]
570ad170bc
Bump github.com/oschwald/geoip2-golang from 1.9.0 to 1.11.0
...
Bumps [github.com/oschwald/geoip2-golang](https://github.com/oschwald/geoip2-golang ) from 1.9.0 to 1.11.0.
- [Release notes](https://github.com/oschwald/geoip2-golang/releases )
- [Commits](https://github.com/oschwald/geoip2-golang/compare/v1.9.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: github.com/oschwald/geoip2-golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 05:18:45 +00:00
ditatompel
c6d48764a2
Update readme on how the site works
2024-05-31 18:24:45 +07:00
ditatompel
e983db2b29
Adding jtgrassie/monero-pool copyright attribution
2024-05-31 17:40:20 +07:00
ditatompel
db2d2195e9
chore: Adding JSdoc
2024-05-31 17:40:02 +07:00
ditatompel
009faa6aa8
Call handler after loadFees return the data
2024-05-31 17:36:03 +07:00
ditatompel
48fe09c1cb
Adding table tbl_fee
...
This table used to store majority fee of monero nettype.
By calculating majority fee via "cron" every 300s, the function to
get majority fee for nettypes can be done with single query.
The frontend majority static data in the frontend removed and
now use `/api/v1/fees` endpoint to get majority fee value.
Note: Don't know if it works well with `onload` method or not. Let see.
2024-05-31 16:28:21 +07:00
ditatompel
55f6af1f22
Change estimate fee for stagenet to 56000
...
TODO: Create in-memory cache for NetFees function.
2024-05-31 13:30:56 +07:00
ditatompel
e83045f8b5
toSQL function for QueryLog struct
2024-05-31 13:04:53 +07:00
ditatompel
8b5bdc7523
toSQL function for QueryProber struct
...
Make the unit test easier
2024-05-30 20:14:16 +07:00
ditatompel
acc70111c8
fix: slog args message become slog.Attr
2024-05-30 19:41:03 +07:00
ditatompel
a11986ac0c
Separating QueryNode to it's own sql builder func
...
A quick note that is's ok to use "*" all columns on nodes query
since all columns really want to be displayed to the frontend.
2024-05-30 19:19:03 +07:00
ditatompel
4800bb3284
Adding test and bench example
2024-05-30 15:47:27 +07:00
ditatompel
130cd06dc4
Make X-Prober-Api-Key as constant
2024-05-30 13:40:57 +07:00
ditatompel
c6e0ce751e
Remove import
command
...
It's no longer needed since any new subbmision is now from xmr.ditatompel.com
2024-05-30 13:17:43 +07:00
ditatompel
028e9c4854
Clean install npm when running go generate
2024-05-30 12:50:14 +07:00
ditatompel
0b331ec6c6
Lowercase & upperase initialism acronyms
...
See https://google.github.io/styleguide/go/decisions#initialisms
2024-05-30 12:46:33 +07:00
ditatompel
5fae3d565a
chore: Rename tools
directory to deployment
...
The `tools` directory contains example ansible playbook, systemd
example, and Nginx configuration example for the server.
The directory name `deployment` for that stuffs much more suitable.
2024-05-30 12:02:11 +07:00
ditatompel
8df90ef5e2
chore: Fix formatting (prettier)
2024-05-28 10:03:29 +07:00
ditatompel
38320bc316
Rename NewProberRepo
to NewProber
...
Also rename ProbersQueryParams to QueryProbers
2024-05-27 07:17:27 +07:00
ditatompel
ab82985bdf
Rename MoneroLogQueryParams
to QueryLogs
...
The reason is same with commits reference 99a367f04b
2024-05-27 06:38:11 +07:00
ditatompel
6b5225758e
Rename NewMoneroRepo
to just New
...
Just run `monero.New()` to initialize MoneroRepository.
The database connection is now called from the `New()` function
2024-05-27 06:15:40 +07:00
ditatompel
99a367f04b
chore: Renamed MoneroQueryParams
...
The `MoneroQueryParams` renamed to `QueryNodes`.
It become much more readable when calling it.
Also added some comment in some functions.
2024-05-27 05:13:03 +07:00
ditatompel
dc1a3b2b92
chore: Rename workflow.yml
to lint.yml
...
Naming workflow for what it does not a bad idea. Even it just contain
single golang-lint check.
2024-05-27 05:07:08 +07:00
ditatompel
3dd6da9529
chore: Bump heaviest objects in the universe
2024-05-27 04:29:29 +07:00
ditatombot[bot]
1dc6f33597
Merge pull request #10 from ditatompel/dependabot/npm_and_yarn/frontend/skeletonlabs/tw-plugin-0.4.0
...
Merge pull request #10
2024-05-25 20:52:48 +00:00
ditatombot[bot]
ccbdf93f80
Merge pull request #9 from ditatompel/dependabot/npm_and_yarn/frontend/eslint-9.3.0
...
Merge pull request #9
2024-05-25 20:51:54 +00:00
dependabot[bot]
de4170c005
Bump eslint from 8.57.0 to 9.3.0 in /frontend
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.57.0 to 9.3.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.57.0...v9.3.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-25 20:50:34 +00:00
ditatombot[bot]
ec88bcfbb6
Merge pull request #8 from ditatompel/dependabot/npm_and_yarn/frontend/autoprefixer-10.4.19
...
Merge pull request #8
2024-05-25 20:49:43 +00:00
ditatombot[bot]
01316dd839
Merge pull request #6 from ditatompel/dependabot/go_modules/golang.org/x/net-0.25.0
...
Merge pull request #6
2024-05-25 20:48:08 +00:00
dependabot[bot]
e7014ba327
Bump @skeletonlabs/tw-plugin from 0.3.1 to 0.4.0 in /frontend
...
Bumps [@skeletonlabs/tw-plugin](https://github.com/skeletonlabs/skeleton ) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/skeletonlabs/skeleton/releases )
- [Commits](https://github.com/skeletonlabs/skeleton/compare/@skeletonlabs/tw-plugin@0.3.1...@skeletonlabs/tw-plugin@0.4.0 )
---
updated-dependencies:
- dependency-name: "@skeletonlabs/tw-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-25 20:47:12 +00:00
ditatombot[bot]
1259ceed66
Merge pull request #7 from ditatompel/dependabot/npm_and_yarn/frontend/sveltejs/kit-2.5.10
...
Merge pull request #7
2024-05-25 20:46:19 +00:00
ditatombot[bot]
c187154e5d
Merge pull request #5 from ditatompel/dependabot/npm_and_yarn/frontend/prettier-plugin-svelte-3.2.3
...
Merge pull request #5
2024-05-25 03:22:38 +00:00
ditatompel
e9b2cb91d2
Adding .golangci.yaml to the repo
2024-05-24 06:16:37 +07:00
ditatompel
7a02672bbc
lint: go:embed tags
2024-05-24 05:48:45 +07:00
dependabot[bot]
b985d0b373
Bump autoprefixer from 10.4.18 to 10.4.19 in /frontend
...
Bumps [autoprefixer](https://github.com/postcss/autoprefixer ) from 10.4.18 to 10.4.19.
- [Release notes](https://github.com/postcss/autoprefixer/releases )
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.18...10.4.19 )
---
updated-dependencies:
- dependency-name: autoprefixer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 22:40:35 +00:00
dependabot[bot]
3988938ed8
Bump @sveltejs/kit from 2.5.2 to 2.5.10 in /frontend
...
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit ) from 2.5.2 to 2.5.10.
- [Release notes](https://github.com/sveltejs/kit/releases )
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.5.10/packages/kit )
---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 22:40:29 +00:00
dependabot[bot]
1c3d809f76
Bump golang.org/x/net from 0.21.0 to 0.25.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.21.0 to 0.25.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.25.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-05-23 22:40:17 +00:00
dependabot[bot]
3f11ddcf0d
Bump prettier-plugin-svelte from 3.2.2 to 3.2.3 in /frontend
...
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte ) from 3.2.2 to 3.2.3.
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/compare/v3.2.2...v3.2.3 )
---
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-05-23 22:40:16 +00:00
ditatompel
1ece270c00
Add golangci-lint test workflow
2024-05-24 05:38:58 +07:00
ditatompel
c25e9224b6
lint: No err check
2024-05-24 05:37:27 +07:00
ditatompel
062e0e90b1
Add and configure dependabot for Go and NPM
2024-05-24 04:56:55 +07:00
ditatompel
2270fe4deb
Secret key environment variable no longer needed
2024-05-23 03:57:29 +07:00
ditatompel
253230dc5a
Removing admin module and functions
...
The administration of the server is done using cli tools. So I don't
think that admin account and module is required. At least for now.
Note that this also remove `tbl_admin` creation in database migrate.
Since no release were made until this commit, the database migration
still in version 1. Manual removal database table for `tbl_admin`
is required on the existing running server.
2024-05-23 03:40:06 +07:00