Commit Graph

104 Commits

Author SHA1 Message Date
zzz 32ee72d58d Fix eepsite start via /configclients 2025-10-11 12:37:48 -04:00
zzz e8e193ec73 Custom error pages 2025-10-11 09:44:32 -04:00
zzz 03b2d0f6fb Prep for custom error pages 2025-10-11 09:44:32 -04:00
zzz ccbb891be4 Add custom error handler for base context
Disable showing context and stack trace
2025-10-11 09:44:32 -04:00
zzz 02ba7a6027 Fix XI2PLocationFilter for Jetty 12
- Fix IPv6 address comparison
- Add port to header
- Log tweaks
- Cleanups
2025-10-11 09:44:31 -04:00
zzz 8cc08863af Logging Javadoc 2025-10-11 09:44:30 -04:00
zzz 3d33557ebb Eepsite: Fix config class names, fix webapp environment 2025-10-11 09:44:30 -04:00
zzz c635788cb4 Remove test log message 2025-10-11 09:44:30 -04:00
zzz d089b15f71 Eepsite on Jetty 12
TODO:

- FCGI
- Migration
- Stop/restart
- Webapp deployer
2025-10-11 09:44:30 -04:00
zzz 01129f0218 Conversion to Jetty 12 / Java 17
- Basic console (tested)
- SSL console (tested)
- Auth (tested)
- Debug logging (tested)
- Console request log (tested)

- I2PControl separate port (untested)
- Eepsite request log (untested)

TODO:

- Eepsites + migration
- Debian with or without Jetty 12
- Snark standalone
- Tomcat upgrade
- Checkin jetty jars
- Cleanups
2025-10-11 09:44:10 -04:00
zzz 720fe4edaf Change all gitlab links to gitea 2025-05-05 07:17:17 -04:00
zzz cad8fe954e Jetty: Don't show null exception message in XSSFilter 2024-07-02 12:00:34 -04:00
zzz d4f580ee39 Build: Put JspC wrapper in its own jar, used only at build time
remove from jetty-i2p.jar, not required at runtime
2024-06-11 07:49:50 -04:00
zzz 3a18721c52 Susimail: Fix 413 error forwarding email with attachments
Was actually an ISE in FileBuffer via getOutputStream().flush(), but XSSFilter converted it to a 413
Add logging in XSSFilter to make it easier to find next time
Javadoc fix
2024-04-04 13:59:09 -04:00
zzz 3d1cc888fa Console: Change all DOCTYPEs to standard html (Gitlab #426) 2023-09-23 16:11:37 -04:00
zzz 0cbbe6297e i2psnark: Rename search param to bypass the XSS filter
Fix encode/decode search param
Copy CSS to non-default themes, not tweaked yet
Add support for shorter nf_ prefix to XSS filter
Remove unneeded float_right, reported by drzed
2023-01-18 12:21:29 -05:00
zzz 8710aa0065 Fix package for new "filter" 2021-07-13 08:23:32 -04:00
idk 1911132f11 Adds an X-I2P-Location header filter to the default I2P site 2021-07-12 14:21:23 +00:00
zzz e5186b0f7b Improve error handling on sort 2021-06-20 09:39:12 -04:00
zzz fd6219356d Jetty: Case-insensitive sort on directory listing, put directories first 2021-06-20 09:28:10 -04:00
zzz 3d362814df Console: Update bug report URLs 2021-05-02 09:37:26 -04:00
zzz b55fbbf099 Boolean.valueOf() -> Boolean.parseBoolean() 2021-03-20 12:27:46 -04:00
zzz 7f3f46c8ba Jetty: Fix detection of SSL connector for registration with PortMapper 2021-02-24 10:13:37 -05:00
zzz 6e3b483c03 Util: Store multiple eepsite ports in PortMapper
Jetty: Register all servers with PortMapper
Console: List all Jetty servers in sidebar
2021-02-21 09:17:31 -05:00
zzz 1dfdf79d15 Console: Spelling fixes all over, from pospelchek 2021-01-27 11:03:57 -05:00
zzz 5f3c41244b Jetty: Fix URI in request logs
Use standard getRequestURI() instead of Jetty internal getHttpURI(),
which apparently changed somewhere along the way

Hide Jetty ClosedChannelException from I2P logs
2021-01-13 08:54:46 -05:00
zzz 03b1a4dfc0 Installer: Require Java 8 (ticket #2511)
Jetty 9.3.28 (ticket #2098)
This breaks Debian builds, fixes to follow
2020-05-27 16:08:54 +00:00
zzz 5976d4952f Jetty: Add GzipHandler for eepsites on Jetty 9.3/9.4 (ticket #2599)
by adding jetty-gzip.xml. JettyStart will copy the file
and add it to the configuration list automatically.
This does not affect standard installs which are still on 9.2;
it's only for Debian installs.
See also ticket #2098.
Partial backport from branch i2p.i2p.zzz.jetty93
2020-04-10 18:10:48 +00:00
zzz fa9f60bcd9 Console, webapps: CSP improvements
i2ptunnel, susidns: Add headers.jsi
Console: Remove onload and use nonce for inline scripts where able
Version remaining js links
2019-12-25 12:18:00 +00:00
zzz 64ba43c007 Jetty: Log stack trace if 2nd arg is a Throwable (ticket #2592) 2019-08-18 14:53:32 +00:00
zzz adb1c6f58e Jetty: Fix webapps in eepsite (ticket #2477) 2019-05-12 18:14:55 +00:00
zzz 6237fc89ad Jetty: Hide sizes and dates of directories in listings 2019-04-10 18:25:20 +00:00
zzz 2b00bfa58b Fix Debian builds with Jetty 9.4.15 (ticket #2457) 2019-03-16 16:54:36 +00:00
zzz 316011e047 Debian: Fix version detection of Tomcat 9 required for reproducible builds 2019-01-31 11:55:43 +00:00
zzz 3527f251c8 Debian: Add build option for libtomcat9 (ticket #2364) 2019-01-24 14:15:04 +00:00
zzz 34f0d7d7b3 Build: Compile jsps in-order for reproducibility (ticket #2279) 2018-09-24 15:52:42 +00:00
zzz 6b53a4fac4 Build: Fix hang with Tomcat 8.5.33+ (ticket #2307) 2018-09-16 11:29:03 +00:00
zzz 41e20ae707 Utils: Don't truncate at a ZWJ 2018-07-25 15:34:23 +00:00
zzz 3701f71fc6 Jetty: Skip files with [] in default servlet to avoid throwing exception 2018-05-26 19:31:40 +00:00
zzz b31ebfe368 SSL Wizard: Stop and restart Jetty if running
Make JettyStart restartable
RouterAppManager workaround for JettyStart becoming untracked after stop
2018-05-03 19:29:13 +00:00
zzz cdd58f168a SSL Wizard: Change cert type, export cert, show in cert helper,
relay keystore password via POST
2018-04-29 15:46:30 +00:00
zzz 4d09e507fb SSL Wizard: Move some things to make the classloader happy
Rewrite clients.config
2018-04-29 14:32:01 +00:00
zzz e310588273 SSL wizard: Start of POST handling
Work around Jetty XML bug
classpath fixes to follow
2018-04-28 22:07:14 +00:00
zzz 780fdfe4f6 Console: Add POST support to the error handler so it doesn't error itself 2018-04-28 18:37:59 +00:00
zzz 624a672213 i2ptunnel: Initial SSL setup wizard
Includes Jetty XML configuration parser
Work in progress, doesn't work, not linked from anywhere
2018-04-28 13:21:42 +00:00
zzz 16c5252c43 Jetty: Dir listing time format tweak 2018-04-28 11:32:36 +00:00
zzz d12b531c54 Jetty: Fix quote in header line tripping XSS filter (ticket #2215) 2018-04-14 13:25:25 +00:00
zzz 2aceca5f93 Console: Add error handler to all webapps (ticket #2155)
Fix up default servlet handling in i2ptunnel and susidns
2018-03-14 18:33:14 +00:00
zzz 948bbae661 Jetty: Register HTTPS eepsite with port mapper (ticket #2159) 2018-03-14 15:25:05 +00:00
zzz 4c02c1f58b JettyStart: Cleanup, replace Resource with File 2018-02-25 14:20:44 +00:00