Commit graph

87 commits

Author SHA1 Message Date
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
ditatompel
f931066c8c
Keep nettype, height, etc same as before
Do not replace existing database record if prober can't reach the remote
nodes. Only update node status and last fetch record.
2024-05-08 19:03:41 +07:00
ditatompel
cf9fa9097a
Vite ver. bump 2024-05-08 18:52:32 +07:00
ditatompel
ad5f0159db
Use local static image for qr image donation 2024-05-08 18:43:09 +07:00
ditatompel
8821ad7995
Make cron datatable filterable 2024-05-08 17:24:34 +07:00
ditatompel
ffaa9b37d3
Protect the prober list using cookie 2024-05-08 16:20:30 +07:00
ditatompel
c1ab301055
Removing twitter OG meta tags
This commit also moving svelte meta head to root layout.svelte
2024-05-08 02:54:14 +07:00
ditatompel
c8c0cf7ebb
Place modal and toast at the root of layout.svelte 2024-05-08 02:16:16 +07:00
ditatompel
a522d729fb
Allow search engines to crawl and index pages 2024-05-08 01:27:59 +07:00
ditatompel
98fea9aa3a
Fix and optimize navigation 2024-05-08 01:22:37 +07:00
ditatompel
678e193ba0
Fix typo 2024-05-08 00:49:17 +07:00
ditatompel
e53a54b276
Remove unused infinite scroll component
The infinite scroll component is not mean to be used in svelte project.
It's for HTMX project.
2024-05-08 00:41:22 +07:00
ditatompel
bc90c8bf3c
Create auto refresh action as a component 2024-05-08 00:38:10 +07:00
ditatompel
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
ditatompel
50588da322
Edit prober name action 2024-05-07 23:23:31 +07:00
ditatompel
09490a8250
Adding prober delete action 2024-05-07 22:37:36 +07:00
ditatompel
32ef14d1d5
Update prober last activity timestamp
This executed after prober submit fetch report
2024-05-07 22:01:21 +07:00
ditatompel
a2669c558f
Removing meta OG:Image and article 2024-05-07 21:43:48 +07:00
ditatompel
2a4721b8de
Add filter log by failed reason and status 2024-05-07 21:31:40 +07:00
ditatompel
9271e67e7a
Separating functions to strings library 2024-05-07 21:07:24 +07:00
ditatompel
59da1cb7eb
Frontend node logs loading indicator 2024-05-07 20:55:57 +07:00
ditatompel
d04473a807
Add details node by ID endpoint 2024-05-07 01:08:01 +07:00
ditatompel
6e96a95ccd
Add breadcrumb on monero node logs 2024-05-07 00:51:12 +07:00
ditatompel
2c7e1a4fdb
Add import command (temporary)
This command only available during migration process and will be removed
in future versions.
2024-05-06 23:53:23 +07:00
ditatompel
3b0420d950
Fix accept_tor query param.
The query param for "accept_tor" is wrong.

Morale of the story: Never code when you're drunk
2024-05-06 22:53:23 +07:00
ditatompel
e873d8f84a
Adding deploy-prober example 2024-05-06 22:21:46 +07:00