Skip to content

Preferences: upgrade default eMule-security and shortypower URLs to https - #718

Merged
mrjimenez merged 1 commit into
amule-project:masterfrom
got3nks:fix/upgrade-default-urls-to-https
May 25, 2026
Merged

Preferences: upgrade default eMule-security and shortypower URLs to https#718
mrjimenez merged 1 commit into
amule-project:masterfrom
got3nks:fix/upgrade-default-urls-to-https

Conversation

@got3nks

@got3nks got3nks commented May 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Promote the three URL defaults shipped in Preferences::BuildItemList to https. All three sites now serve identical content over https with valid certs (verified with curl -sSI).

  • KadNodesUrl: http://upd.emule-security.org/nodes.dathttps://…
  • Ed2kServersUrl: http://upd.emule-security.org/server.methttps://…
  • StatsServerURL: http://ed2k.shortypower.dyndns.org/?hash=https://ed2k.shortypower.org/?hash= (the dyndns.org host has been retired; the apex domain serves the same hash lookup)

Existing user configs are unaffected — these are just the seed values applied when a key is missing from amule.conf. Users who already have the old http values persisted in amule.conf (or in addresses.dat, which is a separate manual file consumed by CServerList::AutoUpdate) keep their values until they reset / edit them.

Test plan

  • HEAD all three new URLs over https — all return HTTP 200 with Content-Type: application/octet-stream (eMule-security) / text/html (shortypower)
  • On a fresh aMule install (no pre-existing amule.conf), confirm the seeded URLs are the https variants in the Preferences UI

Fixes #714.

…ttps

All three sites now serve the same content over https with valid certs:

- KadNodesUrl:    http://upd.emule-security.org/nodes.dat   -> https
- Ed2kServersUrl: http://upd.emule-security.org/server.met  -> https
- StatsServerURL: http://ed2k.shortypower.dyndns.org/?hash= -> https://ed2k.shortypower.org/?hash=
  (the dyndns.org host has been retired in favour of the apex domain)

Existing user configs are unaffected — these are just the seed values
applied when a key is missing from amule.conf. Users who already have
the old http URLs persisted in amule.conf or in addresses.dat keep
those values until they reset / edit them.

Fixes amule-project#714.
@mrjimenez
mrjimenez merged commit 4ee43ca into amule-project:master May 25, 2026
7 checks passed
@got3nks
got3nks deleted the fix/upgrade-default-urls-to-https branch May 27, 2026 15:15
ngosang added a commit to ngosang/amule that referenced this pull request Jul 30, 2026
amule-project#718)

PATCH /api/v0/servers/{ecid} has carried both fields since the API grew it, but
the server list never used it: priority was a read-only string cell and the
static flag only showed up as a badge tucked inside the name cell, so neither
could be changed without the desktop GUI's context menu.

Add a Static column right before Priority, visible by default, and turn both
cells into selects that show the current value and PATCH on change — the same
guest-aware select pattern the downloads and shared tables already use for
their priority column, with one patchServer() helper mirroring remove()'s
try/catch + toast + data.refresh("servers").

Priority's options are the exact three values ServerPriorityCode() accepts,
and its sortVal now returns the rank instead of the raw string, so the column
sorts low -> normal -> high rather than alphabetically (high, low, normal).
Static sorts on the boolean. Width goes 90px -> 110px so "Normal" fits.

The static badge is dropped from the name cell now that the column shows the
same thing and can also change it; that retires networks_server_badge_static
and its title string, plus the .name-cell .badge CSS rule, in favour of six
new networks_server_{prio_low,prio_normal,prio_high,static,static_yes,static_no}
strings in both locales.

Verified against a live daemon: both selects PATCH 200 and the new values
survive a reload, each column sorts both ways, and the Spanish labels render.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update default values for URLs in amule.conf

2 participants