Commit graph

509 commits

Author SHA1 Message Date
Christian Ditaputratama
48a25bece0
feat: Store hashed user IP address when submitting new node
Some checks failed
Build / build (push) Has been cancelled
Test / test (push) Has been cancelled
This feature added to help trace spammers. The IP address stored with
one-way hash + salt to maintain user privacy.
2024-11-25 04:51:51 +07:00
Christian Ditaputratama
d19e5844b0
feat: Added curl example command to Node details modal and page
Some checks are pending
Build / build (push) Waiting to run
Test / test (push) Waiting to run
2024-11-25 01:57:28 +07:00
Christian Ditaputratama
f1b9ffde33
chore: Modal window is works for all networks
Some checks failed
Build / build (push) Has been cancelled
Test / test (push) Has been cancelled
2024-11-23 18:56:41 +07:00
Christian Ditaputratama
b780783df0
feat: Added more information on monero node details page
These following information added to Monero Node details:

- CORS capable
- Country, City, ASNumber (if any)
- Monitored Since

This commit also add some styling to TOR, I2P information.
2024-11-23 18:49:06 +07:00
Christian Ditaputratama
84ad053413
Use int64 for DateEntered field
The `DateEntered` value expected to be a timestamp, so using int64
instead of uint make it easier to manipulate time.
2024-11-23 18:31:21 +07:00
Christian Ditaputratama
9b48c4731a
feat: Added tor hidden service via HTTP header #161
Some checks failed
Build / build (push) Has been cancelled
Test / test (push) Has been cancelled
The `Onion-Location` header was added to Nginx example configuration.
2024-11-16 19:01:09 +07:00
Christian Ditaputratama
a936cb343b
fix(docs): Deadlink GeoIP documentation
Also, this project not using SvelteKit anymore. So, remove the old
SvelteKit information from the README.
2024-11-15 20:14:02 +07:00
Christian Ditaputratama
76c6a5514d
chore: Start v0.2.1
Some checks are pending
Build / build (push) Waiting to run
Test / test (push) Waiting to run
2024-11-15 17:45:46 +07:00
Christian Ditaputratama
56b445d0aa
chore: Moving local vars from templ file to vars.go 2024-11-15 16:36:16 +07:00
Christian Ditaputratama
ecfee86b2c
style: Changed hr color to orange 2024-11-15 16:15:28 +07:00
Christian Ditaputratama
ce02334669
style: Added box shadow to navbar for better visibility 2024-11-15 15:52:06 +07:00
ditatombot[bot]
8c48e4749b
Merge pull request #159 from ditatompel/dependabot/go_modules/golang.org/x/net-0.31.0
Some checks failed
Build / build (push) Waiting to run
Test / test (push) Has been cancelled
Merge pull request #159

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-11-15 08:15:27 +00:00
dependabot[bot]
eb6d709bbb
build(deps): bump golang.org/x/net from 0.30.0 to 0.31.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/net/compare/v0.30.0...v0.31.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-11-11 05:35:58 +00:00
Christian Ditaputratama
114078d3a1
fix(style): Unreadable navbar link color on light desktop
Some checks failed
Test / test (push) Has been cancelled
Build / build (push) Has been cancelled
2024-11-08 17:36:19 +07:00
Christian Ditaputratama
8e79d20b29
chore: Added a-h/templ link
Also mark "Accept I2P nodes" in ToDo's list as complete.
2024-11-08 17:17:31 +07:00
Christian Ditaputratama
64da0beff9
style: Added badge for tor and i2p network #148
Some checks are pending
Build / build (push) Waiting to run
Test / test (push) Waiting to run
2024-11-08 03:21:42 +07:00
Christian Ditaputratama
5e2ab83295
feat: Accept i2p naming service hostname #148
Please note that this naming service validation only validates simple
length and allowed characters. Advanced validation such as
internationalized domain name (IDN) is not implemented.

To minimize abuse, I also set minimum length of submitted i2p naming
service address to 5 characters. If someone have an address of 4
characters or less, let them open an issue or create a pull request.
2024-11-08 00:23:07 +07:00
Christian Ditaputratama
e0313bdbe2
test: Added validI2PHostname unit test #148
Todo: Validate new format and allow naming service hostnames
2024-11-07 21:35:45 +07:00
Christian Ditaputratama
f339bc9c3c
feat: Added remote nodes i2p filter #148 2024-11-07 20:52:38 +07:00
Christian Ditaputratama
e892733a55
feat: Added i2p support #148
For now, only p32 address is supported.

ToDo: Accept i2p naming service from addressbook subscriptions
ToDo: Imporve i2p UI display and add i2p filter
2024-11-07 20:26:49 +07:00
Christian Ditaputratama
15804ee438
chore: Update readme: Still show old license
Some checks failed
Build / build (push) Waiting to run
Test / test (push) Has been cancelled
Also mark migrating from Stelte to Templ + HTMX done in ToDo's section
2024-11-07 04:40:59 +07:00
Christian Ditaputratama
060b3a3827
fix: Use meta link rel="icon" for favicon
Some checks are pending
Test / test (push) Waiting to run
Fiber's favicon middleware doesn't work with embed media
2024-11-07 01:57:57 +07:00
Christian Ditaputratama
2e361a9fab
fix: Invalid reload button hx-get URL #155 2024-11-07 01:30:25 +07:00
Christian Ditaputratama
98dcdfa94a
feat: Do not push query strings to URL #155
Slightly increase user browsing privacy by not pushing query strings
to browser URL. By using this method, the browser history stay on the
main page and filter query strings not recorded.

Note: This approach is experimental. Only tested on Firefox and Chromium
 browser.
2024-11-07 01:20:50 +07:00
Christian Ditaputratama
c1c72274cf
feat: Added robots.txt route 2024-11-07 00:59:57 +07:00
Christian Ditaputratama
5a22a0b71f
chore: Do not display nettype and IP addresses if empty 2024-11-07 00:53:53 +07:00
Christian Ditaputratama
d60dbd86be
fix: Default remote nodes table sort by last_checked 2024-11-07 00:53:01 +07:00
Christian Ditaputratama
e66f5bb1b8
chore(style): Changed main homepage buttons color to orange 2024-11-07 00:50:49 +07:00
Christian Ditaputratama
b68f626ce2
refactor!: Use function method for routes
Will be useful for future development using standard `net/http`.
2024-11-06 22:15:53 +07:00
Christian Ditaputratama
2e31824910
fix!: Redirect old /remote-nodes/logs to /remote-nodes/id/{id} #155
The old `/remote-nodes/logs/?node_id={id}` is not being used anymore
and should be redirected to the new path: `/remote-nodes/id/{id}`.

Remove the route once search engines result shows the new path
2024-11-06 21:34:05 +07:00
Christian Ditaputratama
5fb88865d0
test: Added test for validTorHostname #149 2024-11-06 20:52:09 +07:00
Christian Ditaputratama
f227371fa6
fix: Allow tor address with subdomain #149 2024-11-06 20:47:34 +07:00
Christian Ditaputratama
3f5c2b9905
feat: Added TOR address validation #149 2024-11-06 20:21:15 +07:00
Christian Ditaputratama
df161f831a
feat: Added info block in remote-nodes page
Also move the table right after page title and description, so users
doesn't need to scroll down to view the table.
2024-11-06 20:03:28 +07:00
Christian Ditaputratama
75e97b4e0c
style: Styling remote-nodes hero hr divider 2024-11-06 19:35:31 +07:00
Christian Ditaputratama
9e1da3c79a
style: Added link css class to internal URL 2024-11-06 19:32:34 +07:00
Christian Ditaputratama
0f011572f5
chore: Updated the Monero Node block info detail
Some checks are pending
Test / test (push) Waiting to run
2024-11-06 19:17:10 +07:00
Christian Ditaputratama
3beb3ba60e
feat: Added permalink header 2024-11-06 18:00:25 +07:00
Christian Ditaputratama
fb6f6c2b5c
feat: Convert DatabaseSize and Difficulty to human readable format 2024-11-06 17:34:41 +07:00
Christian Ditaputratama
1eb26210f6
refactor: Moving internal/views/utils.go to ./utils 2024-11-06 17:11:16 +07:00
Christian Ditaputratama
95b371a056
feat! Added monero node details page and logs 2024-11-06 16:45:34 +07:00
Christian Ditaputratama
fdf541f78f
chore(style): Align right estimate fee cell
Some checks are pending
Test / test (push) Waiting to run
2024-11-05 16:40:14 +07:00
Christian Ditaputratama
a8c94ca0aa
feat!: Added Add node form and action
Some checks are pending
Test / test (push) Waiting to run
2024-11-04 23:53:09 +07:00
Christian Ditaputratama
0acf12a277
fix: div #modal-section not inside html <body> tag 2024-11-04 23:52:00 +07:00
Christian Ditaputratama
7da5fdb10c
chore: Change css class thead .th-filter to .frameless 2024-11-04 23:49:06 +07:00
Christian Ditaputratama
1cd1b1a9c6
chore: Make hero gradient as component 2024-11-04 18:02:24 +07:00
Christian Ditaputratama
e5eb23997b
feat: Added reload button for datatable
Some checks are pending
Test / test (push) Waiting to run
2024-11-04 17:29:07 +07:00
Christian Ditaputratama
335f87b6d5
feat: Added auto refresh interval select options 2024-11-04 17:17:23 +07:00
Christian Ditaputratama
721d1e8d6b
feat: Added modal 2024-11-04 16:36:22 +07:00
Christian Ditaputratama
9cebe9d12f
feat: Added datatable sort functionality
Some checks are pending
Test / test (push) Waiting to run
2024-11-03 20:57:56 +07:00