2679 Commits

Author SHA1 Message Date
rstoyanchev
da2815556e Add DCO config file 2025-01-30 17:23:06 +00:00
rstoyanchev
cf0973feff Next development version (v3.0.2-SNAPSHOT) 2024-11-21 11:45:27 +00:00
rstoyanchev
263e7f007c Polishing 2024-11-20 14:38:17 +00:00
Sam Brannen
c10e23387d Fix ActionPropertyAccessor on Spring Framework 6.2
Prior to this commit, if a Spring Expression Language (SpEL) expression
did not include parentheses for a MultiAction method that does not
accept a RequestContext argument, the flow would pass on Spring
Framework versions prior to 6.2, but the same flow would fail on Spring
Framework 6.2 M1 or later. The following is such an expression and is
effectively a property reference which must be handled by a registered
PropertyAccessor: "reportActions.evaluateReport".

The reason for the change in behavior is that Spring Framework 6.2 M1
includes a bug fix for ordering SpEL PropertyAccessors. That bug fix
correctly results in Spring Web Flow's ActionPropertyAccessor being
evaluated before SpEL's ReflectivePropertyAccessor. Consequently, an
expression such as "reportActions.evaluateReport" is now handled by
ActionPropertyAccessor which indirectly requires that the action method
accept a RequestContext argument. When the method does not accept a
RequestContext argument, the flow fails with a NoSuchMethodException.

To address that, this commit revises the implementation of canRead(...)
in ActionPropertyAccessor so that it only returns `true` if the action
method accepts a RequestContext argument. When ActionPropertyAccessor's
canRead(...) method returns `false`, the generic
ReflectivePropertyAccessor will be used instead, which restores the
pre-6.2 behavior for such expressions.

The test suite passes for the following Spring Framework versions.

- ./gradlew -PspringFrameworkVersion=6.0.23 --rerun-tasks clean check
- ./gradlew -PspringFrameworkVersion=6.1.14 --rerun-tasks clean check
- ./gradlew -PspringFrameworkVersion=6.2.0-RC3 --rerun-tasks clean check

See https://github.com/spring-projects/spring-framework/issues/33861
See https://github.com/spring-projects/spring-framework/issues/33862
Closes gh-1802
2024-11-09 17:14:41 +01:00
Sam Brannen
c0555189bd Polishing 2024-11-07 17:02:23 +01:00
rstoyanchev
62e94a4356 Update 6.1.x generation version in ci.yml 2024-11-07 11:37:26 +00:00
rstoyanchev
38f5f2b9df Upgrade dependencies
5.7.2 -> 5.11.3 junit-bom
4.2 -> 5.4.0 easymock
2.2 -> 3.0 hamcrest
2.0.6 -> 2.0.16 slf4j-api
10.1.17 -> 10.1.31 tomcat-jasper-el
2.7.1 -> 2.7.3 hsqldb
2024-11-01 15:05:16 +00:00
rstoyanchev
85565a050b Upgrade dependencies
4.0.2 -> 4.0.6 Jakarta Faces
4.0.0 -> 4.0.2 Apache MyFaces
3.1.0 -> 3.1.1 Jakarta Servlet JSP

Closes gh-1817, gh 1818
2024-11-01 14:56:21 +00:00
rstoyanchev
9352f0eb69 Upgrade to Spring Security 6.0.8
Closes gh-1816
2024-11-01 14:37:27 +00:00
rstoyanchev
0f445727f9 Upgrade to Spring Framework 6.0.23
Closes gh-1815
2024-11-01 14:31:51 +00:00
rstoyanchev
97780da8c0 Deprecate AccessDecisionManager methods
See gh-1806
2024-10-29 10:23:19 +00:00
rstoyanchev
b4b97e3173 Update security section of reference docs
Closes gh-1806
2024-10-29 10:17:17 +00:00
rstoyanchev
3f0234c4f6 Verify security rules with AuthorizationManager
See gh-1806
2024-10-29 10:00:57 +00:00
rstoyanchev
112d58bcde Remove Spring Security 3 support
See gh-1806
2024-10-28 18:42:01 +00:00
Stéphane Nicoll
89c37a5fd6 Remove dead links
Closes gh-906
2024-10-11 15:41:55 +02:00
Stéphane Nicoll
9019074235 Add workflow to release on Maven Central
This commit adds a standard GHA workflow to perform a release, including
syncing with Maven Central using s01.oss.sonatype.org.

The release workflow kicks off based on tag that matches `vX.Y.Z` and
perform the following:

* Build the project
* Stage the bits to repo.spring.io
* Move the staging bits to Maven Central
* Promote the bits to repo.spring.io/release
* Generate a changelog using the issues matching the version

Closes gh-1812
2024-10-11 11:39:45 +02:00
Stéphane Nicoll
4022e4a548 Add CI build on several Spring Framework generations
This commit adds a GHA workflow that builds the project against a list
of configurable Spring Framework versions. The build action has been
updated to accept an additional input that tunes the Spring Framework
version the build is using

As a result, the default Spring Framework version of the project is now
configured in gradle.properties.

Closes gh-1810
2024-10-11 11:36:14 +02:00
Stéphane Nicoll
bedb9493d1 Remove dependency on https://repo.spring.io/plugins-release
It turns out the repository is required for a plugin that the project
does not use. This commit removes the declaration and adapt CI
accordingly.

Closes gh-1813
2024-10-11 11:34:39 +02:00
rstoyanchev
6151be43cd Ensure getField(String) wildcard support with SF 6.1+
Closes gh-1814
2024-10-10 17:57:59 +01:00
Stéphane Nicoll
6b5200fc39 Move CI to GitHub Actions
Closes gh-1809
2024-10-10 13:35:56 +02:00
Stéphane Nicoll
763cd7191f Introduce basic GHA support
This commit adds support for building and deploying snapshots to
repo.spring.io as well as building pull requests.

See gh-1809
2024-10-10 12:17:47 +02:00
Stéphane Nicoll
1ccd1421eb Replace artifactory by standard repository structure
This commit removes the usage of the Artifactory plugin and replaces
it with a standard repository structure using the -PdeploymentRepository
option.

This also updates the generated POM to be current.

See gh-1809
2024-10-10 12:12:04 +02:00
Stéphane Nicoll
1ffc41596b Upgrade to Develocity Conventions 0.0.22
This commit updates to the latest develocity conventions plugin. This
has the advantage, since 0.0.21, to include the correct relevant Gradle
Enterprise plugin.

Closes gh-1808
2024-10-10 09:42:12 +02:00
Stéphane Nicoll
713e6d60e6 Configure authentication for https://repo.spring.io/plugins-release/
Repositories on repo.spring.io requires to be authenticated. This commit
configures the SPRING_REPOSITORY_USERNAME and SPRING_REPOSITORY_PASSWORD
properties accordingly.

Closes gh-1807
2024-10-10 09:30:23 +02:00
rstoyanchev
28288eb8a3 Update spring-code-of-conduct email 2024-06-10 10:08:47 +01:00
rstoyanchev
680fc712bd Update CONTRIBUTING.md 2024-06-10 10:03:37 +01:00
Maksim Sasnouski
94dc11bb2d Upgrade com.gradle.enterprise plugin to 3.16.2 2024-06-10 09:52:01 +01:00
Sammita Chakravarti
82735d0eec Create LICENSE.txt
Added a LICENSE file at the root level directory. The license are as per the README file (https://github.com/spring-projects/spring-webflow/blob/main/README.md#license). The license is version 2.0 of the Apache License.

(Please note that the Copyright year and owner fields have been intentionally left empty since Google LLC doesn't own this repository)
2024-06-10 09:51:36 +01:00
Eric Haag
409e34e096 Update Revved up by Develocity badge 2024-01-23 19:03:36 +00:00
Eric Haag
6a04f81519 Connect build to ge.spring.io
This change publishes a build scan to ge.spring.io for every local
build from an authenticated Spring committer and for CI where
appropriate access tokens are available. The build will not fail if
publishing fails.

This change also allows the build to benefit from remote build caching,
providing faster builds for all contributors.

Additionally, the project will have access to all features of Gradle
Enterprise such as:

- Dashboards to view all historical build scans, along with performance
   trends over time
- Build failure analytics for enhanced investigation and diagnosis of
   build failures
- Test failure analytics to better understand trends and causes around
   slow, failing, and flaky tests
2024-01-23 19:03:36 +00:00
Brian Clozel
10ae7796c6 Fix documentation publication in Gradle build
This commit moves the asciidoctor *.adoc files to the default location
and removes the unnecessary asciidoctor plugin configuration as a
result.

This changes also reworks dependencies between tasks and adds the
missing publication configuration for generated artifacts. The entire
docs-specific script is moved from the main build.gradle file to a
"gradle/docs.gradle" script to improve readability of the main build.

Fixes gh-1797
2023-08-31 16:10:09 +01:00
Brian Clozel
46b03abe8f Move maven publication config to gradle folder 2023-08-31 16:10:09 +01:00
Brian Clozel
a5088a99f1 Upgrade Gradle plugins
This commit also removes the former repo.spring.io plugins repositories,
as they are not needed anymore by this build.
2023-08-31 16:10:09 +01:00
Brian Clozel
a08ae17286 Upgrade to Gradle 8.3 2023-08-31 16:10:09 +01:00
Spring Builds
94ddcd68f7 [artifactory-release] Next development version 2023-07-12 16:42:32 +00:00
Spring Builds
3e865a691b [artifactory-release] Release version 3.0.0 2023-07-12 16:42:30 +00:00
rstoyanchev
d08971531e Minor updates in reference docs 2023-03-30 12:51:21 +01:00
rstoyanchev
f81d3d689b Minor updates in README.md 2023-03-30 12:30:12 +01:00
rstoyanchev
77410d70ea Formatting changes in README.md 2023-03-30 12:25:43 +01:00
rstoyanchev
43dc24af4f Remove RichFaces checks
See gh-1794
2023-03-27 14:39:31 +01:00
rstoyanchev
2584aadef3 Polishing contribution
Closes gh-1794
2023-03-24 12:34:00 +01:00
rstoyanchev
5b27250c70 Update dependencies
See gh-1794
2023-03-23 12:34:00 +01:00
Gabor Liptak
bce7f0cc91 Update spring-faces to Jakarta EE
FlowResourceResolver.java is removed, since it was deprecated, see
https://github.com/jakartaee/faces/issues/1583

See gh-1794
2023-01-31 23:58:07 +01:00
Jay Bryant
c0173e54d5 Use spring-asciidoc-backends
to get the latest look and feel and features.
2022-09-14 16:41:06 -05:00
Rossen Stoyanchev
ed81b44dd1 Add artifactory plugin to build script 2022-08-08 17:42:27 +03:00
Rossen Stoyanchev
28f9511b68 Update reference docs for 3.0 2022-08-08 14:16:18 +03:00
Rossen Stoyanchev
fb82f141ab Merge branch '2.5.x' 2022-08-04 19:23:40 +03:00
Rossen Stoyanchev
233c114427 Remove/fix doc references 2022-08-04 19:11:42 +03:00
Rossen Stoyanchev
9fd8d3eccd Upgrade to Gradle 7.4.2 and use java-library plugin
Align with main branch
2022-08-03 13:26:36 +03:00
rstoyanchev
2e8acc97a4 Polishing contribution
Closes gh-111
2022-07-15 10:11:26 +01:00