Commit Graph
7986 Commits
Author SHA1 Message Date
zzz fbbf2e9e33 i2psnark: Reannounce early after transition from magnet mode to having metainfo
so that trackers have the correct "left" value
Possible fix for report at http://i2pforum.i2p/viewtopic.php?t=1437 by i2pdude
2026-06-26 13:18:21 -04:00
zzz 8ecbba1267 i2psnark: Remove default tracker that is down 2026-06-26 12:09:58 -04:00
zzz f349afb05c i2psnark: Fix typo for clarity
didn't matter, | works the same as || in this context
2026-06-25 20:26:54 -04:00
zzz 01c45cc5fb Susimail: Add experimental standalone build option
as adapted from i2psnark standalone build.
Use I2CP to build tunnels and connect outside router context,
does not use i2ptunnels at ports 7659 and 7660.
2026-06-25 11:39:45 -04:00
zzz 3502ff3de3 Jetty: Log RuntimeExceptions as error with stack trace
so we don't need to add a log override to get the stack trace
2026-06-18 08:25:41 -04:00
zzz b3e7b8990d Console: Use configured ID in titles 2026-06-14 08:57:58 -04:00
zzz aef56c9d92 Build: Update susimail java version target 2026-06-12 10:14:57 -04:00
zzz 50c64862dd i2psnark standalone: Add favicon 2026-06-11 18:17:36 -04:00
zzz b299ac62b2 i2psnark standalone: Fix path in jetty file 2026-06-10 08:55:02 -04:00
zzz 4c9e7f20bb Streaming: Remove commmented-out code causing javadoc to fail 2026-06-08 17:03:30 -04:00
zzz e104ca71f6 Lint: Change replace(String) to replace(char) all over 2026-06-06 10:43:59 -04:00
zzz f0a6084b3b Replace deprecated Locale constructors where possible
Deprecated in Java 19.
Replacements are Locale.of() and Locale.forLanguageTag().
of() is not available until Java 19.
forLanguageTag() is not available in Android until Android 21.
So we change the console usage to forLanguageTag(),
but cannot change Translate in core because Android.
2026-06-06 10:09:55 -04:00
zzz ecfdb205b5 Console: Remove RSA sigtypes in lookup form dropdown 2026-06-06 09:13:37 -04:00
zzz a47db8097c Console: Change version field in lookup form to a dropdown 2026-06-06 08:56:28 -04:00
zzz a1e6c9badb Util: Check return value of SU3File.verifyAndMigrate()
to catch signature failures earlier.
Previously, the failure would be found when migrated file didn't exist.
2026-06-04 13:32:42 -04:00
zzz 533cae8793 Streaming: Remove deprecated/unused session key/tag methods 2026-06-01 09:47:08 -04:00
zzz db4b279a58 Console: Add configurable router nickname to summary bar
for the sanity of those running multiple routers
2026-05-28 08:40:17 -04:00
zzz d22f04b2d5 rrd4j: Remove java 8 cleaner method 2026-05-27 19:33:36 -04:00
zzz 5750bdde6d Jetty: Add optional feature to gzip request logs on rollover 2026-05-27 11:23:10 -04:00
zzz d99e0083d0 Console: Change client tunnel display data from usage to bandwidth 2026-05-27 11:17:51 -04:00
zzz 450abe28c5 Console: Add pagination for all-profiles tab 2026-05-18 13:45:41 -04:00
zzz ba694d4702 i2psnark: Fix check for existing base file when adding via create form
don't use the filtered name
2026-05-17 12:27:06 -04:00
zzz a9ded0827d i2psnark: Use unfiltered base file name if it exists
reported by: Igillis
2026-05-17 12:23:03 -04:00
zzz 479154c75e i2psnark: Add check for empty filenames
reported by: bottomlineit.co.za
2026-05-17 12:16:33 -04:00
zzz dd29ae7e86 Remove more deprecated thread calls in bw tester 2026-05-16 14:48:17 -04:00
zzz 634a533861 i2psnark: Increase max form keys
Jetty default max is 1000 which got hit by a user
on the details page priorities form with more than 1000 files in a directory.
2026-05-15 13:56:25 -04:00
zzz d4fb957549 susimail: Remove static login nonce
Fix the original problem this was a workaround for.
The next nonce was put in the old session object that was invalidated.
Put it in the new session object instead.
2026-05-15 12:44:18 -04:00
zzz 2e194a47fe Console: Don't display hide/show news links on /configupdate
and stay on same page when clicking hide/show links.
Also fix HTML dangling span if lastUpdated == 0

Fixes Gitea #249
Adapted from GH PR #149 by tahnous
2026-05-15 10:24:07 -04:00
zzz 5f71311cbd More constant time string comparisons
adapted from I2PPlus
2026-05-10 19:28:42 -04:00
zzz 85499fbb8b Hoist random() calls out of session synch blocks 2026-05-10 09:06:00 -04:00
zzz dfaa5c3f81 i2ptunnel: P-R-G for list page forms 2026-05-09 12:48:28 -04:00
zzz 102b7f0674 i2ptunnel: Refactor list page forms
- Move all form buttons to POST and enforce
- Use form attributes for per-tunnel buttons (thanks drzed)
- Remove xml headers
- Remove ancient IE workarounds
2026-05-09 12:00:51 -04:00
zzz a4afe588f3 Util: Use constant-time comparison in various password checkers
reported by: bottomlineit.co.za
2026-05-08 15:02:22 -04:00
zzz bbe18c9e9f Console: Remove ancient IE workaround code
reported by: bottomlineit.co.za
2026-05-08 12:42:52 -04:00
zzz f0afcfcf68 Console: Add missing description for jsonrpc webapp 2026-05-07 15:30:35 -04:00
zzz 41ba80fa87 i2ptunnel: Refactor nonces
Replace the static nonce list with a session-bound nonce queue,
move form keys from static to session.
Prep for button conversion to POST

related changes to follow
2026-05-07 13:51:08 -04:00
zzz 98fb8c2af5 javadoc corrections 2026-05-07 11:40:42 -04:00
zzz f13ba5d987 i2psnark: Refactor nonces
Replace the webapp-wide nonce with two session-bound nonce queues,
one for the outer section and details/config pages, one for
the inner (XHR) section.

Any form-stuffing scripts that grab the nonce must be updated
to store and return the session cookie also.

related changes to follow

reported by: bottomlineit.co.za
2026-05-07 11:14:35 -04:00
zzz ea83c15d49 CSS tweak 2026-05-06 13:14:23 -04:00
zzz a587f79c75 Console: Add search option for PQ SSU2 2026-05-06 12:53:30 -04:00
zzz 8f2a8b3e3a Console: Validate Origin header
related changes to follow
adapted from code in I2P+, same license as ours

reported by: bottomlineit.co.za
2026-05-06 12:48:46 -04:00
zzz 0a9e68f688 Console: Refactor nonces
Replace the following static nonces with a consolidated session-bound nonce queue in CSSHelper:
- "console" static final nonce stored in CSSHelper
- "system" (restart) static final nonce stored in ConfigRestartBean
- "update" nonce stored in System properties via SummaryHelper
- "reseed" nonce stored in System properties via SummaryHelper

related changes to follow

reported by: bottomlineit.co.za
2026-05-06 12:44:49 -04:00
zzz 28bd5ce456 Console: Make section render methods private 2026-05-04 14:50:46 -04:00
zzz 7ecd7fcae1 Console: Remove unused getNonce() calls 2026-05-04 14:44:31 -04:00
zzz 566d4f86e6 i2psnark: Remove support for ancient name.utf-8 and path.utf-8 metainfo entries
These were non-standard old pre-utf8 fields, and were never well-tested code paths.
name and path are always UTF-8 now according to the specs.
utf-8 flavors bypassed some sanitization.

reported by: bottomlineit.co.za
2026-05-01 18:09:52 -04:00
zzz c3c222d5d3 Console: Specify full path to Windows service scripts
reported by: bottomlineit.co.za
2026-05-01 16:40:56 -04:00
zzz 6c33651714 i2ptunnel, I2CP, SAM: Add delays on auth failure
to slow down repeat attempts
2026-04-27 12:13:18 -04:00
zzz 818d0dfd5f i2psnark: Fix autostart of completed torrents when added to the directory
by not saving the torrent config file twice
(once via storageAllChecked() and once via storageCompleted() from Storage.checkCreateFiles())
the 1st call set running=true but the 2nd set running=false
2026-04-26 15:42:16 -04:00
zzz 66b6986ee0 Update: Randomize the order of news URLs when fetching
so if the "primary" is older than the "backup" things will still get updated eventually
2026-04-26 08:30:49 -04:00
zzz 7c99bb702e Console: Sanitize plugin name in ConfigClientsHandler
reported by: bottomlineit.co.za
2026-04-25 18:19:26 -04:00