Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Preview] Struts 7.0.x #792

Draft
wants to merge 306 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 130 commits
Commits
Show all changes
306 commits
Select commit Hold shift + click to select a range
ec6c96e
Revert "WN-5141"
jdyer1 Nov 13, 2023
730e582
Revert "WN-5141"
jdyer1 Nov 13, 2023
d36a76c
WN-5141
jdyer1 Nov 13, 2023
38c51d2
WN-5141
jdyer1 Nov 13, 2023
48b8a3b
WN-5141
jdyer1 Nov 14, 2023
e9c6ce0
WN-5141
jdyer1 Nov 14, 2023
712fa7f
Revert "WN-5141"
jdyer1 Nov 14, 2023
72d07f8
WN-5141
jdyer1 Nov 14, 2023
6e76a3a
WN-5141
jdyer1 Nov 14, 2023
d20972c
WW-5141 fix formatting problems
jdyer1 Nov 14, 2023
79138e1
WW-5335 Prepares for Java 17 & Struts 7.x
jdyer1 Nov 15, 2023
b8d07f4
WW-5335 Reverts adding release/struts-7-0-x branch to scorecards anal…
lukaszlenart Nov 15, 2023
8b501aa
WN-5141
jdyer1 Oct 18, 2023
baddd36
WN-5141
jdyer1 Oct 30, 2023
df56821
WN-5141
jdyer1 Nov 15, 2023
2fe7a91
WW-5335 Prepares for Java 17 & Struts 7.x
lukaszlenart Nov 12, 2023
8c906f3
WW-5335 Reverts adding release/struts-7-0-x branch to scorecards anal…
lukaszlenart Nov 15, 2023
7d835bf
WN-5141
jdyer1 Nov 16, 2023
519b8bd
WN-5141
jdyer1 Nov 17, 2023
1295c59
WN-5141
jdyer1 Nov 20, 2023
71c2fe0
Revert "WN-5141"
jdyer1 Nov 20, 2023
147f0ca
Revert "WN-5141"
jdyer1 Nov 20, 2023
94c166f
Revert "WN-5141"
jdyer1 Nov 20, 2023
0e6d317
WN-5141
jdyer1 Nov 20, 2023
eb43875
Revert "WN-5141"
jdyer1 Nov 20, 2023
c59ba68
WN-5141
jdyer1 Nov 20, 2023
e95a07f
WN-5141
jdyer1 Nov 20, 2023
3f2b8c5
WN-5141
jdyer1 Nov 20, 2023
8cd0dc9
Revert "WN-5141"
jdyer1 Nov 20, 2023
b372ac9
WN-5141
jdyer1 Nov 20, 2023
bed0db3
WN-5141
jdyer1 Nov 20, 2023
6f35c02
[WW-5141] Removes deprecated plugins (#798)
Nov 21, 2023
6079403
WW-5335 Prepares for Java 17 & Struts 7.x
lukaszlenart Nov 12, 2023
e6e0577
WW-5335 Reverts adding release/struts-7-0-x branch to scorecards anal…
lukaszlenart Nov 15, 2023
0fa8cdd
[WW-5141] Removes deprecated plugins (#798)
Nov 21, 2023
a20d26f
Delete unused files missed in previous PR
kusalk Nov 23, 2023
97dbdc1
Delete remaining deprecated plugins
kusalk Nov 23, 2023
8b8de96
WN-5141 fix whitespace issues
jdyer1 Nov 27, 2023
6ce1e9e
Upgrades Htmlunit to version 3.6.0
lukaszlenart Dec 1, 2023
5e187ad
WN-5141
jdyer1 Dec 15, 2023
94a4f55
WW-5371 Implements action based file upload
lukaszlenart Dec 11, 2023
86d4a52
WW-5371 Uses the new upload mechanism in Showcase app
lukaszlenart Dec 11, 2023
7f4c37b
WW-5371 Simplifies file upload logic and extracts constants
lukaszlenart Dec 11, 2023
2009e58
WW-5371 Document how to use the new file upload logic
lukaszlenart Dec 12, 2023
e0f77c1
WW-5370 Simplifies error handling logic
lukaszlenart Dec 15, 2023
19642a5
WW-5371 Migrates modern upload change to JakartaEE
lukaszlenart Dec 16, 2023
31a582e
WW-5371 Migrates modern upload change to JakartaEE
lukaszlenart Dec 16, 2023
83874c3
WW-5364 fixes automatically populated OGNL allowlist
lukaszlenart Dec 16, 2023
b087006
WW-5339 Add option to block custom OGNL maps
kusalk Dec 5, 2023
938f8ea
Adds missing import
lukaszlenart Dec 16, 2023
576c064
Replaces empty file upload test with simple one
lukaszlenart Dec 16, 2023
51a173a
Upgrades Maven wrapper
lukaszlenart Dec 16, 2023
660f537
Fixes pipeline to properly handle transformed artifacts
lukaszlenart Dec 16, 2023
cd2bfee
Merge pull request #809 from apache/fix/after-rebase
lukaszlenart Dec 17, 2023
26bb35e
Moves JakartaEE related modules into dedicate subdirectory
lukaszlenart Dec 16, 2023
daf5b50
Fixes typo in pom
lukaszlenart Dec 30, 2023
5d414d4
Merge pull request #810 from apache/feature/jakarta-modules
lukaszlenart Jan 1, 2024
2246ea0
Upgrades Mockito to ver 5.8.0
lukaszlenart Jan 1, 2024
91fd7d0
Dependency manage byte-buddy
kusalk Jan 2, 2024
59992ba
Alphabetise dependency version props
kusalk Jan 2, 2024
89a4580
Upgrade Maven Surefire version
kusalk Jan 2, 2024
3af5818
Merge pull request #827 from apache/feature/upgrade-mockito
lukaszlenart Jan 2, 2024
d8090ef
Merge remote-tracking branch 'origin/master' into merge-master-to-7xx…
lukaszlenart Jan 4, 2024
273eb1f
Merge pull request #833 from apache/merge-master-to-7xx-2024-01-04
lukaszlenart Jan 5, 2024
13bf91b
Merge remote-tracking branch 'origin/master' into merge-master-to-7xx…
lukaszlenart Jan 20, 2024
95ba165
Merge pull request #850 from apache/merge-master-to-7xx-2024-01-20
lukaszlenart Jan 20, 2024
f055f4f
Fixes wrong version in BOM
lukaszlenart Jan 20, 2024
e7259ba
Configure assembly plugin to use proper folders
lukaszlenart Jan 20, 2024
bfc5ddb
Cleans up assembly definitions
lukaszlenart Jan 20, 2024
7c375cd
Configures source-release assembly
lukaszlenart Jan 20, 2024
cd3389a
[maven-release-plugin] prepare release STRUTS_7_0_0_M1
lukaszlenart Jan 20, 2024
00533db
[maven-release-plugin] prepare for next development iteration
lukaszlenart Jan 20, 2024
54a7c70
Upgrade maven to 3.9.6 and wrapper to 3.2.0
sepe81 Jan 20, 2024
77acd66
Merge pull request #851 from sepe81/feature/upgrade-maven-to-3.9.6
lukaszlenart Jan 21, 2024
8c161f4
WW-5388 Uses the latest JakartaEE FileUpload Servlet 6 package
lukaszlenart Jan 24, 2024
b68b6ab
WW-5388 Updates tests to match new logic
lukaszlenart Jan 24, 2024
ac9b9ad
WW-5388 Simplifies code
lukaszlenart Jan 24, 2024
c37a6ed
WW-5388 Avoids unconditional invocations of method in logs
lukaszlenart Jan 25, 2024
3294ed0
WW-5388 Adds tests per each Jakarta parser
lukaszlenart Jan 26, 2024
d07792a
WW-5388 Drops unused defaultLocale
lukaszlenart Jan 28, 2024
51bf8de
WW-5388 Uses temp directory to avoid problems on Jenkins
lukaszlenart Jan 28, 2024
e635b59
WW-5388 Test multi-files and fields
lukaszlenart Jan 28, 2024
e2215c8
WW-5388 Introduces new constant to allow control max number of files
lukaszlenart Jan 28, 2024
d024ccd
WW-5388 Extracts method to read charset
lukaszlenart Jan 30, 2024
e9e3c0a
WW-5388 Adds dedicated integration test to cover max size upload
lukaszlenart Jan 31, 2024
84d350d
Merge pull request #861 from apache/feature/WW-5388-upload-servlet6
lukaszlenart Feb 1, 2024
11d84a2
Merge remote-tracking branch 'origin/master' into merge-master-to-7xx…
lukaszlenart Feb 1, 2024
9a30a9f
Merge pull request #866 from apache/merge-master-to-7xx-2024-02-01
lukaszlenart Feb 1, 2024
6db4c51
[maven-release-plugin] prepare release STRUTS_7_0_0_M2
lukaszlenart Feb 1, 2024
737542a
[maven-release-plugin] prepare for next development iteration
lukaszlenart Feb 1, 2024
245eb90
WW-5390 Fixes generating assemblies during release process
lukaszlenart Feb 3, 2024
f0db577
Merge pull request #868 from apache/fix/WW-5390-assembly
lukaszlenart Feb 5, 2024
9afb24b
Ensures if temp folder is writable
lukaszlenart Feb 5, 2024
e6d1f59
Merge pull request #869 from apache/fix/temp-folder
lukaszlenart Feb 5, 2024
caa34a4
Update log4j2 to 2.21.1
sepe81 Jan 26, 2024
ade8af3
[WW-5384] Update log4j2 to 2.22.1
sepe81 Feb 5, 2024
f8fcdbd
[WW-5393] Update caffeine to 3.1.8
sepe81 Feb 5, 2024
d1413b0
Override version of error_prone_annotations
sepe81 Feb 5, 2024
d384c82
Merge pull request #870 from sepe81/feature/update-log42j-for-java-ve…
lukaszlenart Feb 9, 2024
f913c40
WW-5388 Fixes a few issues in Servlet 6 file upload usage
lukaszlenart Feb 11, 2024
7edcac8
Merge pull request #873 from apache/fix/WW-5388-fileupload
lukaszlenart Feb 14, 2024
45b06dd
Merge remote-tracking branch 'origin/master' into merge-master-to-7xx…
lukaszlenart Feb 16, 2024
c5d760c
Merge pull request #877 from apache/merge-master-to-7xx-2024-02-16
lukaszlenart Feb 21, 2024
a35cfeb
[maven-release-plugin] prepare release STRUTS_7_0_0_M3
lukaszlenart Feb 24, 2024
d372707
[maven-release-plugin] prepare for next development iteration
lukaszlenart Feb 24, 2024
ca5e823
Fix file upload to use actual file name rather than uploadxxx.tmp
Mar 7, 2024
4939d3c
Merge pull request #893 from gregh3269/fix-STRUTS_7_0_0_M3-upload-fil…
lukaszlenart Mar 8, 2024
e5e6145
Merge remote-tracking branch 'origin/master' into merge/master-to-7xx…
lukaszlenart Apr 7, 2024
964590c
Merge pull request #904 from apache/merge/master-to-7xx-2024-04-07
lukaszlenart Apr 8, 2024
aca2eb0
[maven-release-plugin] prepare release STRUTS_7_0_0_M4
lukaszlenart Apr 19, 2024
8b91734
[maven-release-plugin] prepare for next development iteration
lukaszlenart Apr 19, 2024
ce76715
Fixes after merge assembly issue
lukaszlenart Apr 19, 2024
4acb0d1
[maven-release-plugin] prepare release STRUTS_7_0_0_M5
lukaszlenart Apr 19, 2024
549c3bc
[maven-release-plugin] prepare for next development iteration
lukaszlenart Apr 19, 2024
0a3b596
Fixes creating assembly during release process
lukaszlenart Apr 20, 2024
af53f0d
[maven-release-plugin] prepare release STRUTS_7_0_0_M6
lukaszlenart Apr 20, 2024
2352c68
[maven-release-plugin] prepare for next development iteration
lukaszlenart Apr 20, 2024
d0204f3
Merge remote-tracking branch 'origin/master' into merge-master-to-70-…
kusalk Apr 20, 2024
85cf09b
WW-5353 Stronger security defaults for 7.0
kusalk Apr 20, 2024
5d4ad83
WW-5353 Test fixes
kusalk Apr 20, 2024
831689b
Merge pull request #918 from apache/merge-master-to-70-2024-04-20
kusalk Apr 20, 2024
baab7dd
Merge pull request #919 from apache/WW-5353-stronger-security-defaults
kusalk Apr 24, 2024
5015ea0
WW-5423 Fixes returning null instead of empty array in case of non-ex…
lukaszlenart Jun 4, 2024
62eac8f
Merge pull request #954 from apache/fix/WW-5423-query-params
lukaszlenart Jun 10, 2024
28ea6d0
Merge branch 'master' into merge/master-2024-06-10
lukaszlenart Jun 10, 2024
d1d02c1
Merge pull request #963 from apache/merge/master-2024-06-10
lukaszlenart Jun 12, 2024
1057d41
[maven-release-plugin] prepare release STRUTS_7_0_0_M7
lukaszlenart Jun 12, 2024
28a6867
[maven-release-plugin] prepare for next development iteration
lukaszlenart Jun 12, 2024
a7145d6
WW-5430 Uses Freemarker native support for JakartaEE instead of manua…
lukaszlenart Jun 21, 2024
6cebeac
Merge pull request #970 from apache/feature/WW-5430-freemarker-jakarta
lukaszlenart Jun 24, 2024
e2d5cc2
Merge branch 'refs/heads/master' into 7.0.x/merge-master-2024-07-08
kusalk Jul 8, 2024
4944f18
WW-5411 Delete deprecated methods from OgnlValueStack
kusalk Jul 8, 2024
ead66f2
WW-5411 Delete deprecated methods from cache factories and OgnlUtil c…
kusalk Jul 8, 2024
c801c8a
WW-5411 Delete deprecated methods from OgnlUtil
kusalk Jul 8, 2024
e362483
WW-5411 Delete deprecated members from prepare filters
kusalk Jul 8, 2024
1b8e7ac
WW-5411 Delete misc deprecated methods from 6.2.0
kusalk Jul 8, 2024
31bdbfc
WW-5411 Delete deprecated Velocity injection methods
kusalk Jul 8, 2024
61d5936
WW-5411 Delete misc deprecated methods from 6.4.0
kusalk Jul 8, 2024
089f620
WW-5411 Delete deprecated Aware marker interfaces
kusalk Jul 8, 2024
a3cc042
WW-5411 Delete more deprecated methods from OgnlUtil
kusalk Jul 8, 2024
b65005c
Merge pull request #980 from apache/7.0.x/merge-master-2024-07-08
kusalk Jul 8, 2024
70b5d7c
Merge pull request #981 from apache/WW-5411-delete-deprecated-1
kusalk Jul 8, 2024
d995b1a
Merge remote-tracking branch 'origin/master' into 7.0.x/merge-master-…
kusalk Jul 8, 2024
713fd3b
Merge pull request #983 from apache/7.0.x/merge-master-2024-07-09
kusalk Jul 8, 2024
8c8bf6b
WW-5438 Fixes scope of Weld dependencies
lukaszlenart Jul 9, 2024
b16ae04
Merge pull request #984 from apache/fic/WW-5438-weld
lukaszlenart Jul 11, 2024
4f8cb52
[maven-release-plugin] prepare release STRUTS_7_0_0_M8
lukaszlenart Jul 11, 2024
e40703e
[maven-release-plugin] prepare for next development iteration
lukaszlenart Jul 11, 2024
b8f7c4b
Merge commit '54e387dc' into 7.0.x/merge-master-2024-07-20
kusalk Jul 20, 2024
7b84357
Merge remote-tracking branch 'origin/master' into 7.0.x/merge-master-…
kusalk Jul 20, 2024
2f66045
Merge remote-tracking branch 'origin/master' into 7.0.x/merge-master-…
kusalk Jul 20, 2024
b9991b5
Merge pull request #996 from apache/7.0.x/merge-master-2024-07-20
kusalk Jul 20, 2024
571c7ef
[maven-release-plugin] prepare release STRUTS_7_0_0_M9
lukaszlenart Jul 21, 2024
c5dfe61
[maven-release-plugin] prepare for next development iteration
lukaszlenart Jul 21, 2024
5919178
WW-5411 Delete deprecated code part 1
kusalk Jul 25, 2024
36176b6
WW-5411 Delete deprecated code part 2
kusalk Jul 25, 2024
6c6ef44
WW-5411 Delete deprecated code part 3
kusalk Jul 25, 2024
e411f9c
WW-5411 Delete deprecated code part 4
kusalk Jul 25, 2024
4e4cf46
WW-5411 Delete deprecated code part 5
kusalk Jul 25, 2024
aec78dd
WW-5411 Misc code cleanup
kusalk Jul 25, 2024
fe49781
Merge pull request #1002 from apache/7.0.x/WW-5411-delete-deprecated
kusalk Jul 25, 2024
35d9c0b
WW-5411 General code clean up using modern language features
kusalk Jul 25, 2024
5cd03aa
Merge pull request #1003 from apache/7.0.x/WW-5411-delete-deprecated-2
kusalk Jul 26, 2024
d0b5346
WW-5411 Delete deprecated code part 6
kusalk Jul 26, 2024
bf56c59
WW-5411 Delete old comment
kusalk Jul 26, 2024
9d62406
WW-5411 Delete unsupported static field templating
kusalk Jul 26, 2024
1ecfbae
WW-5386 Delete deprecated FileUploadInterceptor
kusalk Jul 26, 2024
6265455
Merge pull request #1004 from apache/7.0.x/WW-5411-delete-deprecated-3
kusalk Jul 26, 2024
015544a
WW-5449 Make Velocity Tools dependency optional for Velocity plugin
kusalk Jul 26, 2024
902dca0
WW-5449 Minor clean up
kusalk Jul 26, 2024
ac860d3
WW-5449 Include Velocity Tools dependencies explicitly in Showcase app
kusalk Jul 26, 2024
ca358c5
WW-5449 Increase coverage
kusalk Jul 26, 2024
817b0cd
Merge pull request #1005 from apache/7.0.x/WW-5449-remove-vel-tools
kusalk Jul 29, 2024
1b540c2
WW-5453 Rename VelocityManager interface and default implementation
kusalk Aug 2, 2024
f41fe80
WW-5454 Log warnings on startup for disabled critical security features
kusalk Aug 3, 2024
3267a1a
Merge pull request #1010 from apache/7.0.x/WW-5454-log-security-warnings
kusalk Aug 6, 2024
4679792
Merge pull request #1009 from apache/7.0.x/WW-5453-rename-velocity
kusalk Aug 6, 2024
9292dc2
WW-5450 Uses existing Jakarta constants instead of free hand strings
lukaszlenart Aug 30, 2024
7aa491e
WW-5450 Avoids accessing parameters via a key
lukaszlenart Aug 30, 2024
b6cffd2
WW-5450 Uses proper naming when defining a constant
lukaszlenart Aug 30, 2024
f50cb28
WW-5450 Simplifies boolean expression
lukaszlenart Aug 30, 2024
e743dde
WW-5450 Drops unused import
lukaszlenart Aug 30, 2024
e62ee8f
Merge pull request #1034 from apache/feature/WW-5450-use-contstants
lukaszlenart Aug 31, 2024
9fa6dd9
Merge branch 'master' into merge/master-to-7xx-2024-09-01
lukaszlenart Sep 2, 2024
b69e441
Merge pull request #1039 from apache/merge/master-to-7xx-2024-09-01
lukaszlenart Sep 2, 2024
b237fb6
WW-5461 Extends UploadedFile with inputName field
lukaszlenart Sep 3, 2024
74c01b3
Merge pull request #1041 from apache/fix/WW-5461-input-name-cherry-pick
lukaszlenart Sep 6, 2024
81a3776
WW-5458 Replaces e.printStackTrace() with proper logger
lukaszlenart Sep 7, 2024
39a5613
Merge pull request #1043 from apache/fix/WW-5458-stack-trace
lukaszlenart Sep 10, 2024
514c52b
Merge branch 'master' into merge/master-to-7xx-2024-09-10
lukaszlenart Sep 10, 2024
ddc2944
Merge pull request #1051 from apache/merge/master-to-7xx-2024-09-10
lukaszlenart Sep 11, 2024
5c56839
WW-5468 Fixes @StrutsParameter for ModelDriven
lukaszlenart Oct 11, 2024
a57f51c
WW-5468 Reworked fix, exempt ModelDriven Action parameters
kusalk Oct 11, 2024
00f979e
WW-5465 Renames tag parameters to attributes
lukaszlenart Oct 6, 2024
b17d7f6
WW-5465 Short-circuits attributes processing if not found in ValueStack
lukaszlenart Oct 13, 2024
58e19dd
WW-5468 Remove unneeded annotations
kusalk Oct 12, 2024
f6c17e9
WW-5468 Replace tabs with spaces
kusalk Oct 12, 2024
762a0e0
Merge pull request #1072 from apache/fix/WW-5468-modeldriven-2
kusalk Oct 14, 2024
8dc6527
Merge remote-tracking branch 'origin/master' into merge/master-to-7xx…
lukaszlenart Oct 15, 2024
c1b9ff4
Merge pull request #1076 from apache/merge/master-to-7xx-2024-10-15
lukaszlenart Oct 15, 2024
15fb28f
WW-5473 Fixes examining multiple HttpServletWrappers to find MultiPar…
lukaszlenart Oct 16, 2024
5132f09
Merge pull request #1078 from apache/fix/WW-5473-multipart-wraper
lukaszlenart Oct 16, 2024
ce71dab
WW-5472 Removes Struts Sitemesh plugin
lukaszlenart Oct 16, 2024
3a08c10
Merge pull request #1067 from apache/feature/WW-5465-attributes
lukaszlenart Oct 20, 2024
954453b
Merge pull request #1077 from apache/feature/WW-5472-remove-sitemesh
lukaszlenart Oct 20, 2024
ad92245
WW-5209 Upgrade to Jakarta Bean Validation 3.1.0
lukaszlenart Oct 20, 2024
c3e0b9c
WW-5427 Upgrades Freemarker incompatible_improvements to version 2.3.33
lukaszlenart Oct 20, 2024
3d255ca
Merge pull request #1089 from apache/feature/WW-5209-bean-validation
lukaszlenart Oct 21, 2024
9130e31
Merge pull request #1088 from apache/feature/WW-5427-incompatible-imp…
lukaszlenart Oct 21, 2024
91154f0
Merge branch 'kusal-depr-apis-3.5' into 7.0.x/merge-master-2024-11-01
kusalk Nov 1, 2024
56004a1
Merge branch 'kusal-depr-apis-5' into 7.0.x/merge-master-2024-11-01
kusalk Nov 1, 2024
a34bffd
Merge branch 'kusal-depr-apis-7' into 7.0.x/merge-master-2024-11-01
kusalk Nov 1, 2024
f55c404
Merge branch 'master' into 7.0.x/merge-master-2024-11-01
kusalk Nov 1, 2024
eab6d9e
Fix merge errors
kusalk Nov 1, 2024
08d54d2
Merge pull request #1103 from apache/7.0.x/merge-master-2024-11-01
kusalk Nov 1, 2024
32bc404
WW-3714 Moves all classes from com.opensymphony.xwork2 into org.apach…
kusalk Oct 16, 2024
99434d9
Merge pull request #1036 from apache/feature/WW-3714-rename
lukaszlenart Nov 1, 2024
a43f8a5
Merge remote-tracking branch 'origin/master' into 7.0.x/merge-master-…
kusalk Nov 2, 2024
ecad4a5
Replace com.opensymphony.xwork2 mentions
kusalk Nov 2, 2024
0d05603
WW-5478 Delete deprecated DefaultResultFactory
kusalk Nov 2, 2024
0e6008d
Merge pull request #1106 from apache/7.0.x/merge-master-2024-11-02
kusalk Nov 2, 2024
46251a1
Merge pull request #1107 from apache/7.0.x/WW-5478-delete-result
kusalk Nov 2, 2024
87df4a2
WW-3714 Move new Result class into result package
kusalk Nov 2, 2024
01d953b
Merge remote-tracking branch 'origin/WW-3714-result-repackage' into 7…
kusalk Nov 2, 2024
3931968
Merge pull request #1111 from apache/7.0.x/WW-3714-result-repkg
kusalk Nov 2, 2024
dd6bb13
WW-5459 Moves Action interface into org.apache.struts2.action package
lukaszlenart Nov 2, 2024
83cb936
WW-5459 Moves ActionChainResult into org.apache.struts2.result package
lukaszlenart Nov 2, 2024
7e3b3e5
Uses proper default package name
lukaszlenart Nov 2, 2024
f4f8288
WW-5459 Updates content of zipped XMLs
lukaszlenart Nov 2, 2024
b835e89
Creates temp folder in target folder
lukaszlenart Nov 2, 2024
b0f2f0a
Merge pull request #1110 from apache/7.0.x/merge-master-2024-11-03
kusalk Nov 2, 2024
3a27b2a
Merge remote-tracking branch 'origin/feature/WW-5459-restructure' int…
kusalk Nov 3, 2024
93e4f27
Merge remote-tracking branch 'origin/WW-3714-overriding-behaviour' in…
kusalk Nov 3, 2024
957783b
Merge pull request #1112 from apache/feature/WW-5459-restructure
lukaszlenart Nov 3, 2024
80dab52
WW-5481 Moves text related classes into org.apache.struts2.text
lukaszlenart Nov 2, 2024
e6c7ced
WW-5481 Extracts duplicated code
lukaszlenart Nov 2, 2024
7eb198c
Merge remote-tracking branch 'origin/release/struts-7-0-x' into 7.0.x…
kusalk Nov 3, 2024
2582a78
Merge remote-tracking branch 'origin/master' into 7.0.x/merge-master-…
kusalk Nov 3, 2024
058a449
Merge pull request #1113 from apache/feature/WW-5481-text
lukaszlenart Nov 3, 2024
0c2d275
WW-5482 Moves locale related code into org.apache.struts2.locale
lukaszlenart Nov 2, 2024
803a857
Merge pull request #1118 from apache/7.0.x/merge-master-2024-11-03-v2
kusalk Nov 3, 2024
7fc0c41
Merge pull request #1114 from apache/feature/WW-5482-locale
lukaszlenart Nov 3, 2024
5760d45
[maven-release-plugin] prepare release STRUTS_7_0_0_M10
lukaszlenart Nov 3, 2024
90c9dfa
[maven-release-plugin] prepare for next development iteration
lukaszlenart Nov 3, 2024
24e6041
WW-5486 Fixes exposing params added by ServletDispatcherResult
lukaszlenart Nov 9, 2024
cf26007
WW-5486 Simplifies test to avoid using mocks
lukaszlenart Nov 13, 2024
a49b5a3
WW-5486 Removes try-catches
lukaszlenart Nov 13, 2024
08f664c
Merge pull request #1123 from apache/fix/WW-5486-request-params
lukaszlenart Nov 13, 2024
24c0e5f
WW-5463 Exposes final location as request attribute FORWARD_SERVLET_PATH
lukaszlenart Nov 15, 2024
9b2d6a2
Merge pull request #1127 from apache/feature/WW-5463-servlet-path
lukaszlenart Nov 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 9 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ name: "CodeQL"

on:
push:
branches: [ "master" ]
branches:
- master
- release/struts-7-0-x
pull_request:

permissions:
Expand All @@ -43,6 +45,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
cache: 'maven'
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:
push:
branches:
- master
- release/struts-7-0-x

permissions: read-all

Expand All @@ -33,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '11', '17', '21' ]
java: [ '17', '21' ]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/scorecards-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ on:
schedule:
- cron: "30 1 * * 6" # Weekly on Saturdays
push:
branches: [ "master" ]
branches:
- master

permissions: read-all

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:
push:
branches:
- master
- release/struts-7-0-x

permissions: read-all

Expand Down
117 changes: 0 additions & 117 deletions .mvn/wrapper/MavenWrapperDownloader.java

This file was deleted.

8 changes: 4 additions & 4 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
131 changes: 10 additions & 121 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,9 @@ pipeline {
MAVEN_OPTS = "-Xmx1024m"
}
stages {
stage('Build') {
steps {
sh './mvnw -B -DskipAssembly verify --no-transfer-progress'
}
}
stage('Test') {
steps {
sh './mvnw -B verify -Pcoverage -DskipAssembly'
sh './mvnw -B verify -Pcoverage -DskipAssembly --no-transfer-progress'
}
post {
always {
Expand All @@ -97,121 +92,10 @@ pipeline {
}
stage('Build Source & JavaDoc') {
when {
branch 'release/struts-7-0-x'
}
steps {
dir("local-snapshots-dir/") {
deleteDir()
}
sh './mvnw -B source:jar javadoc:jar -DskipTests -DskipAssembly'
}
}
stage('Deploy Snapshot') {
when {
branch 'release/struts-7-0-x'
}
steps {
withCredentials([file(credentialsId: 'lukaszlenart-repository-access-token', variable: 'CUSTOM_SETTINGS')]) {
sh './mvnw -s \${CUSTOM_SETTINGS} deploy -DskipTests -DskipAssembly'
}
}
}
stage('Upload nightlies') {
when {
branch 'release/struts-7-0-x'
}
steps {
sh './mvnw -B package -DskipTests'
sshPublisher(publishers: [
sshPublisherDesc(
configName: 'Nightlies',
transfers: [
sshTransfer(
remoteDirectory: '/struts/snapshot',
removePrefix: 'assembly/target/assembly/out',
sourceFiles: 'assembly/target/assembly/out/struts-*.zip',
cleanRemote: true
)
],
verbose: true
)
])
}
}
}
post {
always {
cleanWs deleteDirs: true, patterns: [[pattern: '**/target/**', type: 'INCLUDE']]
}
}
}
stage('JDK 11') {
agent {
label 'ubuntu'
}
tools {
jdk 'jdk_11_latest'
maven 'maven_3_latest'
}
environment {
MAVEN_OPTS = "-Xmx1024m"
}
stages {
stage('Build') {
steps {
sh './mvnw -B -DskipAssembly verify --no-transfer-progress'
}
}
stage('Test') {
steps {
sh './mvnw -B test'
}
post {
always {
junit(testResults: '**/surefire-reports/*.xml', allowEmptyResults: true)
junit(testResults: '**/failsafe-reports/*.xml', allowEmptyResults: true)
}
}
}
}
post {
always {
cleanWs deleteDirs: true, patterns: [[pattern: '**/target/**', type: 'INCLUDE']]
}
}
}
stage('JDK 8') {
agent {
label 'ubuntu'
}
tools {
jdk 'jdk_1.8_latest'
maven 'maven_3_latest'
}
environment {
MAVEN_OPTS = "-Xmx1024m"
}
stages {
stage('Build') {
steps {
sh './mvnw -B clean install -DskipTests -DskipAssembly'
}
}
stage('Test') {
steps {
sh './mvnw -B test'
}
post {
always {
junit(testResults: '**/surefire-reports/*.xml', allowEmptyResults: true)
junit(testResults: '**/failsafe-reports/*.xml', allowEmptyResults: true)
anyOf {
branch 'master'; branch 'release/struts-7-0-x'
}
}
}
stage('Build Source & JavaDoc') {
when {
branch 'master'
}
steps {
dir("local-snapshots-dir/") {
deleteDir()
Expand All @@ -221,7 +105,9 @@ pipeline {
}
stage('Deploy Snapshot') {
when {
branch 'master'
anyOf {
branch 'master'; branch 'release/struts-7-0-x'
}
}
steps {
withCredentials([file(credentialsId: 'lukaszlenart-repository-access-token', variable: 'CUSTOM_SETTINGS')]) {
Expand All @@ -231,7 +117,10 @@ pipeline {
}
stage('Upload nightlies') {
when {
branch 'master'
anyOf {
branch 'master'
branch 'release/struts-7-0-x'
}
}
steps {
sh './mvnw -B package -DskipTests'
Expand Down
2 changes: 1 addition & 1 deletion apps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-parent</artifactId>
<version>6.4.0-SNAPSHOT</version>
<version>7.0.0-M2-SNAPSHOT</version>
</parent>
<artifactId>struts2-apps</artifactId>
<packaging>pom</packaging>
Expand Down
Loading