d9017a47b9
docs: Add handler function info
2024-06-03 14:20:10 +07:00
e01c28d966
change MoneroNode and MoneroNodes handler name
...
MoneroNode -> Node
MoneroNodes -> Nodes
2024-06-03 14:17:51 +07:00
55f6af1f22
Change estimate fee for stagenet to 56000
...
TODO: Create in-memory cache for NetFees function.
2024-05-31 13:30:56 +07:00
130cd06dc4
Make X-Prober-Api-Key as constant
2024-05-30 13:40:57 +07:00
0b331ec6c6
Lowercase & upperase initialism acronyms
...
See https://google.github.io/styleguide/go/decisions#initialisms
2024-05-30 12:46:33 +07:00
38320bc316
Rename NewProberRepo
to NewProber
...
Also rename ProbersQueryParams to QueryProbers
2024-05-27 07:17:27 +07:00
ab82985bdf
Rename MoneroLogQueryParams
to QueryLogs
...
The reason is same with commits reference 99a367f04b
2024-05-27 06:38:11 +07:00
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
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
ddc448e90c
Moving monero.go to its own internal package
2024-05-22 22:45:38 +07:00
d5f510ae32
Remove admin login logout handler and endpoints #2
2024-05-18 20:27:30 +07:00
30b37b922f
Ability to list cron from CLI #2
...
Since `tbl_cron` will contain a few rows (for now just 1),
cron list function call is not using any arguments.
This commit also remove cron http handler and endpoint.
2024-05-18 20:13:00 +07:00
59f1dd9421
List Probers CLI command #2
...
Listing probers is now only available from server CLI.
The `ProbersQueryParams` struct also changed. I don't think that I will
use more than 20 probers in this project, so paging is not required.
The search param also simplified in one field struct `Search" which
search both in `name` and `api_key` column.
2024-05-18 00:56:13 +07:00
5496692c5d
Avoid naming module using a domain name pattern
...
I hope it will be less discoverable by other users and less likely to
be used unintentionally in other projects.
2024-05-08 21:35:04 +07:00
8821ad7995
Make cron datatable filterable
2024-05-08 17:24:34 +07:00
ffaa9b37d3
Protect the prober list using cookie
2024-05-08 16:20:30 +07:00
cda024ca6f
Use modal window for add prober form
...
The previous add prober is using new page to show add prober form.
In this commit, the add prober form is using modal so it can be more
simpler.
2024-05-07 23:42:35 +07:00
50588da322
Edit prober name action
2024-05-07 23:23:31 +07:00
09490a8250
Adding prober delete action
2024-05-07 22:37:36 +07:00
2a4721b8de
Add filter log by failed reason and status
2024-05-07 21:31:40 +07:00
d04473a807
Add details node by ID endpoint
2024-05-07 01:08:01 +07:00
8f5f972faf
Simple display probe logs
2024-05-06 17:19:17 +07:00
33aae21237
Filter datatable (backend)
...
Adding filter by country, protocol, status, cors and nettype
2024-05-06 14:33:13 +07:00
59b368d91e
Add monero country list endpoint (backend)
2024-05-06 13:35:15 +07:00
1ceb00543b
Adding majority net fee
...
Note that because this app not caching "expensive" query from database,
I use static majority data for frontend to reduce API call.
2024-05-06 13:19:48 +07:00
1baddfd2d1
Process submitted job from prober
2024-05-05 01:42:47 +07:00
cee2b4341b
Add prober API key check middleware
2024-05-04 19:52:22 +07:00
6430e37548
Give job api response
2024-05-04 19:27:21 +07:00
ca759fc1d0
Monero remote node UI for frontend
...
This commit also implement the simple remote node queries.
TODO: Add filter for various data
2024-05-04 18:52:47 +07:00
7cd802e640
Basic add node action implemented
2024-05-04 17:24:47 +07:00
949db1573b
Add sort order for prober data table
...
Allowed sort order by `id` and `last_submit_ts`
2024-05-04 01:11:21 +07:00
ced266159e
Copying my other project structure to this project
2024-05-04 00:11:56 +07:00