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
ditatompel
40b9a6e1d6
Make sure cron goroutine is stopped
...
Adding struct chan to run cron Process to stop the goroutine.
Moving db migration inside `fiber.IsChild` block
to avoid multiple execution migration script when in prefork mode.
Give additional time for graceful shutdown.
2024-05-23 02:58:58 +07:00
ditatompel
8c1f6b0c43
Make cron as it's own package
2024-05-23 02:24:06 +07:00
ditatompel
c6efceb0ac
Adding some const error in client probe cmd
2024-05-23 00:40:13 +07:00
ditatompel
d44cea7e7c
Update the geoip package location
2024-05-23 00:39:31 +07:00
ditatompel
ddc448e90c
Moving monero.go to its own internal package
2024-05-22 22:45:38 +07:00
ditatompel
7d69e9af95
chore: Make SQL queries in more readable
2024-05-20 04:22:58 +07:00
ditatompel
fae32d9a74
chore: Make SQL queries in more readable
2024-05-20 03:08:48 +07:00
ditatompel
d99f8583c1
Open ASN link to new tab
...
This also remove unused global `dashboard-card` css class.
2024-05-20 02:34:42 +07:00
ditatompel
d13a427c6d
removing admin UI and layout #2
...
This become only one layout for Web UI
2024-05-18 20:36:33 +07:00
ditatompel
d5f510ae32
Remove admin login logout handler and endpoints #2
2024-05-18 20:27:30 +07:00
ditatompel
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
ditatompel
120ba51c87
Ability to edit prober name by ID from CLI #2
2024-05-18 19:50:20 +07:00
ditatompel
b5e2787420
Ability to delete prober by ID from CLI #2
2024-05-18 19:39:27 +07:00
ditatompel
d2f927e3db
Ability to add prober from CLI #2
2024-05-18 19:03:56 +07:00
ditatompel
7b6cfee31d
Set ./cmd/server/admin.go
as entrypoint to server build
2024-05-18 18:42:32 +07:00
ditatompel
0f7029b939
Update deployment example (CPU arch aware) #3
...
The ansible playbook is now using ansible_facts to determinate target
server or prober CPU architecture. The final "production" binary name
and changed to just simply "xmr-nodes-{client,server}".
2024-05-18 18:09:36 +07:00
ditatompel
279b142e76
Build server tags in Makefile & air
config #3
...
The build system is changed, now it build 2 different binary by using
go `-tags`. The local output binary also changed based on build tags.
2024-05-18 18:05:53 +07:00
ditatompel
7dea8380b8
Separating client and server package #3
...
The client and server package is now separated, so I can build
additional server package with `-tags server`.
2024-05-18 17:59:54 +07:00
ditatompel
e0cd343be7
List Probers as sub-command of probers
cmd
2024-05-18 01:42:31 +07:00
ditatompel
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
ditatompel
49b786ed80
Stagenet majority fee 57000
2024-05-17 18:17:03 +07:00
ditatompel
a31f436218
Fix mobile logo display
...
This commit also remove unused css in logo element
2024-05-17 17:50:56 +07:00
ditatompel
598adac908
Adding repo description and update requirements
2024-05-17 17:40:22 +07:00
ditatompel
e65e81d3c3
Use app.d.ts for login form JSDoc formResult
2024-05-15 18:05:43 +07:00
ditatompel
8f3f9392b7
Adding the Nginx vhost config example for the app
2024-05-14 19:39:23 +07:00
ditatompel
46bc3dc2e8
Using slog for logging level
...
The log level for the apps is using `log/slog` from Go standard library.
This commit change log format for fiber http logger to match with
the slog standard log format (date and time).
This commit also remove `APP_DEBUG` field from config struct.
TODO:
Use `slog` for default app output. Note that in this commit, the `slog`
output only implemented in `cron` "db migrate" and probe client.
2024-05-13 18:40:01 +07:00
ditatompel
ce830c393b
Change PRC prober user agent info
...
Use the repository URL instead my email address for prober user agent
information.
2024-05-13 14:56:29 +07:00
ditatompel
d3113bf598
feat: MySQL db migration
...
Create database schema migration for this app that run when the `serve`
command is executed.
2024-05-12 04:19:40 +07:00
ditatompel
bd37f17072
Include date_entered
when inporting from old API
...
When importing from old API endpoint, also get the `date_entered` field
and insert to database.
2024-05-12 01:35:41 +07:00
ditatompel
df8b933374
Change remote-nodes page meta tags
2024-05-11 21:39:26 +07:00
ditatompel
e349f1d297
Change the default frontpage meta tags
2024-05-11 21:31:39 +07:00
ditatompel
80039700c2
Change sort_name and description in manifest.json
2024-05-11 21:02:48 +07:00
ditatompel
8a4a7b4494
Exclude ./tools
dir from air
watch dir
...
This also remove non-existence `vendor` directory from air's excluded
directories.
2024-05-11 20:54:28 +07:00
ditatompel
efca11e51c
Make nettype and protocol query more strict
...
It will return error if nettype and protocol query string value is wrong
2024-05-09 20:44:49 +07:00
ditatompel
ec11fa0126
removing current page & next page in api response
...
This response was used for my HTMX "infinite scroll" data, which is not
used in this Svelte project.
2024-05-09 18:29:48 +07:00
ditatompel
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
ditatompel
d95530c595
Remove dashboard page
2024-05-08 20:27:06 +07:00
ditatompel
f7fe431c5d
All field of add monero node form is required
2024-05-08 20:12:16 +07:00
ditatompel
394f5654c6
Use app.d.ts for jsdoc
2024-05-08 20:07:51 +07:00
ditatompel
ef6d2a481f
Load netFees from pageLoad
2024-05-08 20:01:11 +07:00
ditatompel
3556b24d7c
Place section-container & hero-gradient to app.css
...
Make section-container & hero-gradient css class globally accesible.
2024-05-08 19:39:26 +07:00
ditatompel
edb27100bb
chore: Indention query
2024-05-08 19:29:26 +07:00
ditatompel
738c0826c8
Delete old probe logs older than 1 month +2 days
2024-05-08 19:28:42 +07:00