Commit Graph

28440 Commits

Author SHA1 Message Date
Joakim Erdfelt a9c596e3d7
Updating various old/moved URL references found across project (`jetty-10.0.x`) (#10098)
* Now that the migration of `https://eclipse.org/jetty/` to `https://eclipse.dev/jetty/` has occurred, it is time to review the URI use in our project

+ Updated URLs in poms
+ Added more URIs to XmlConfiguration
+ Updated URLs in module files
+ Updated URLs in documentation
+ Updated URLs in HTML
+ Correcting bad double-scheme URLs (eg: `http://https://www.eclipse...`)
+ Updating text in *.mod files
+ Removing `/current/` from path `/jetty/documentation/current/`
+ Fixing mailing list URL

---------

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-07-14 12:38:45 -05:00
Simone Bordet 9a476e2c0c
Small changes from #10090.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-14 18:09:35 +02:00
Simone Bordet 0879f6bc85
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-14 17:49:07 +02:00
Simone Bordet f06ff2f9fa
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-14 17:10:39 +02:00
Greg Wilkins 11d2a32eea
Fixes #9999 and #10055 - proper quoting for dry-run
Using "strong quoting" with the single quote character to quote argument of --dry-run output.

Signed-off-by: gregw <gregw@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-14 17:05:41 +02:00
Ludovic Orban 248354f64a
Fixes #9910 - Inconsistent handling of welcome files
* Added DefaultServlet combinations tests.
* Removed pathInfoOnly handling present in Jetty 11, because it is always true for mapping to "/", and always false for other mappings.

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-07-14 11:58:21 +02:00
Lachlan a317a1892d
Merge pull request #10106 from eclipse/jetty-12.0.x-asyncServletTest
increase timeouts in AsyncServletTest to make it less flaky + re-enable tests
2023-07-14 16:37:38 +10:00
Lachlan 993a111805
Merge pull request #10071 from eclipse/jetty-12.0.x-sizeLimitHandler
add SizeLimitHandler to Jetty-12
2023-07-14 16:37:02 +10:00
Lachlan Roberts 887528e575 increase timeouts in AsyncServletTest to make it less flaky
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-07-14 11:27:35 +10:00
Simone Bordet 190af2972b
Fixes delivery of events to `Response.CompleteListener`s. (#10102)
In case of `request.onComplete(Response.CompleteListener l)`, only the complete event should be delivered to `l`, not all the events (in case `l` implements other listener interfaces).

Only `Response.CompleteListener` passed to `request.send(Response.CompleteListener)` should receive all events.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-13 15:12:47 +02:00
Simone Bordet a08e953c74
Fixes #10087 - Flaky EventsHandlerTest due to trailers. (#10093)
* Fixes #10087 - Flaky EventsHandlerTest due to trailers.

HTTP/2 trailers may arrive and be processed before the application reads request chunks.

Avoid the race condition by storing the trailers aside and returning them during reads.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-13 08:19:03 +02:00
Simone Bordet 8c9d6e4528
Started the work on the migration guide.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-13 08:04:25 +02:00
Joakim Erdfelt 730b1687f9
Merge pull request #10097 from eclipse/release/12.0.0.beta3
Merge `release/12.0.0.beta3` back into `jetty-12.0.x`
2023-07-12 13:13:11 -05:00
gregw c435bfdbe6 Extra test for #10085 2023-07-12 14:38:44 +02:00
Greg Wilkins 0ee0716d33
Various cleanups of StringUtil and TypeUtil (#10082)
* Various cleanups of StringUtil and TypeUtil

Removed deprecated and unused methods
Moved charset handling to MimeTypes
resolve IDE warnings

* updates from review
2023-07-12 10:31:28 +02:00
Simone Bordet bd80297f7e
* Fixed resource leak in `App` when reading the web application properties file.
* Small updates to the deploy documentation.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-11 19:29:12 +02:00
Joakim Erdfelt c8fd1a198a
Issue #10084 - Directory results from `getResourcePaths(String)` should include trailing slash (#10085)
* Issue #10084 - Directory entries on return of getResourcePaths(String) should include trailing slash
* Issue #10084 - Fixing test case order of entries in collection expectation
* Issue #10084 - Implementing fix for ee9
* Issue #10084 - Fixing bug in ServletContext.getRealPath() impl
* Issue #10084 - Fixing tests in ee9 to make them compatible with ee8 conversion
* Bring Resource.getFileName in alignment with other JVM methods of the same name. (eg: Path.getFileName)
2023-07-11 11:39:23 -05:00
Simone Bordet e19ee8283b
Updated PostgreSQL version to most recent one.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-11 16:35:54 +02:00
Simone Bordet c05bfd020e
Using consistently --add-modules everywhere.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-11 12:35:29 +02:00
Simone Bordet 9567ade30f
* Updated README files.
* Updated the Getting Started sections.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-11 11:40:03 +02:00
Simone Bordet 0bab243389
Improved javadocs of Response.setTrailersSupplier().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-10 19:43:43 +02:00
Simone Bordet 4f3b4a092d
Avoid NPE when calling `getTotalKeys()` before `ManagedSelector` is started.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-10 19:43:13 +02:00
gregw 8d87a80410 Deflake test
better timeouts
2023-07-10 10:31:09 +02:00
Greg Wilkins 67f194a818
Improve javadoc of Violations for #9444 (#10079)
Improve javadoc of Violations for #9444
2023-07-10 10:03:06 +02:00
Joakim Erdfelt 4ebdce078f
Merge pull request #10083 from eclipse/fix/12.0.x/dependency-rollup-july-2023
Dependency Updates for `jetty-12.0.x` - July 2023
2023-07-08 07:04:52 -05:00
Jan Bartel e22fbbf175
Fix configuration replacement (#10081)
* Fix configuration replacement
2023-07-08 09:36:56 +02:00
Joakim Erdfelt 81bc6d719a
Bump ee10 jakarta.websocket to 2.1.1 2023-07-07 12:33:07 -05:00
Joakim Erdfelt fae110a759
Bump jboss-logging to 3.5.3.Final 2023-07-07 12:32:10 -05:00
Joakim Erdfelt 64fcf41fdd
Bump asciidoctorj to 2.5.10 2023-07-07 12:31:17 -05:00
Joakim Erdfelt ab0309a35e
Bump maven.deps.version to 3.9.0 2023-07-07 12:30:28 -05:00
Joakim Erdfelt 29e8618551
Bump grpc to 1.56.1 2023-07-07 12:29:51 -05:00
Joakim Erdfelt 814d794049
Bump commons-codec to 1.16.0 2023-07-07 12:29:25 -05:00
Joakim Erdfelt 3644189fca
Bump guice to 7.0.0 2023-07-07 12:28:55 -05:00
Joakim Erdfelt 2a3581e6cb
Bump guava to 32.1.1-jre 2023-07-07 12:28:37 -05:00
Joakim Erdfelt fc9e46bc39
Bump errorprone to 2.20.0 2023-07-07 12:28:07 -05:00
Joakim Erdfelt 26d16da847
Bump jackson to 2.15.2 2023-07-07 12:27:37 -05:00
Joakim Erdfelt f652cfddf9
Bump logback to 1.4.8 2023-07-07 12:27:11 -05:00
Joakim Erdfelt 97e39bcf58
Bump jimfs to 1.3.0 2023-07-07 12:26:26 -05:00
Joakim Erdfelt 0f677d11a1
Bump plexus-xml to 4.0.2 2023-07-07 12:25:00 -05:00
Lachlan Roberts 1c532e0db4 remove system.err.println used for debugging
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-07-07 19:47:15 +10:00
Lachlan Roberts 6852764dcb add SizeLimitHandler test for EE10 Servlet with GzipHandler
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-07-07 19:46:15 +10:00
Greg Wilkins db843866e3
Merge branch 'jetty-10.0.x' into getter 2023-07-07 11:18:47 +02:00
Jan Bartel 0c5b07b0ae
Issue #10068 allow Resource configuration in jetty maven plugin (#10077) 2023-07-07 09:55:18 +02:00
Greg Wilkins ba664769f3
Fix/jetty 12 code ql cleanups (#10078)
Exact long to int conversion.
2023-07-07 09:17:39 +02:00
Joakim Erdfelt 9a05c75ad2
Issue #10066 - Allow customization of `SAXParserFactory` and `SAXParser` in `XmlParser` (#10067)
* Allow customization of SAXParserFactory / SAXParser in XmlParser
* Introduce method `.getSAXParser()`
---------

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Greg Wilkins <gregw@webtide.com>
2023-07-06 16:32:49 -05:00
Joakim Erdfelt 740e4cc3e6
Merge pull request #10009 from eclipse/dependabot/maven/jetty-11.0.x/maven.resolver.version-1.9.13
Bump maven.resolver.version from 1.9.10 to 1.9.13
2023-07-06 07:54:11 -05:00
Joakim Erdfelt 7e48d6f0da
Merge pull request #10034 from eclipse/dependabot/maven/jetty-11.0.x/ch.qos.logback-logback-core-1.4.8
Bump logback-core from 1.4.7 to 1.4.8
2023-07-06 07:53:50 -05:00
Joakim Erdfelt f55e4312b9
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2023-07-06 07:45:57 -05:00
Joakim Erdfelt dee0d4ff7d
Merge pull request #10075 from eclipse/fix/10.0.x/dependency-rollup
Dependency Rollup for `jetty-10.0.x` - July 2023
2023-07-06 07:40:01 -05:00
Joakim Erdfelt b3128b642f
Merge remote-tracking branch 'origin/dependabot/maven/jetty-10.0.x/org.wildfly.security-wildfly-elytron-2.2.1.Final' into fix/10.0.x/dependency-rollup 2023-07-06 04:57:27 -05:00