Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
sanluan committed Sep 10, 2024
2 parents 0a98414 + 884fe03 commit 6be4733
Show file tree
Hide file tree
Showing 397 changed files with 32,333 additions and 1,195 deletions.
54 changes: 53 additions & 1 deletion Update History.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,56 @@
## V4.0.202406.a ; V5.202406.a
## 202406.e

new feature:

1. quick maintenance message
1. add new method:confuse,confuseHtml
1. add sensitive words
1. get apptoken from header
1. change useragent parser
1. add directive and method manual generator
1. add data dictionary generator
1. add site import to template upload

bug fixed:

1. vote view page
1. contribute template error
1. method http enabled config not effect
1. category type save in child site
1. extend string null point error
1. template search result highlight
1. open a dialog in a dialog
1. tag and tag type select
1. content push to place

## 202406.d

bug fixed:
1. parent dictionary value with space
1. api authorize
1. child category list
1. demo template escape

## 202406.c

bug fixed:
1. editor history error
1. demo data sql
1. demo data
1. http map parameter
1. save template log
1. page data cache clear
1. template save

1. update filerobot image editor
1. remove ckeditor update warning

## 202406.b

bug fixed:
1. editor content save

## 202406.a

程序功能修改

Expand Down
Binary file modified doc/English Manual/PublicCMS Deployment Manual.doc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified doc/English Manual/PublicCMS Template Making Manual.doc
Binary file not shown.
1 change: 1 addition & 0 deletions doc/PublicCMS Data Dictionary.html

Large diffs are not rendered by default.

538 changes: 538 additions & 0 deletions doc/PublicCMS Directive and Method Manual.html

Large diffs are not rendered by default.

Binary file modified doc/中文手册/PublicCMS 二次开发手册.doc
Binary file not shown.
Binary file not shown.
Binary file removed doc/中文手册/PublicCMS 数据字典.doc
Binary file not shown.
Binary file modified doc/中文手册/PublicCMS 模板制作手册.doc
Binary file not shown.
Binary file modified doc/中文手册/PublicCMS 白皮书_[编写中].doc
Binary file not shown.
Binary file modified doc/中文手册/PublicCMS 配置手册_[编写中].doc
Binary file not shown.
Binary file modified publiccms-parent/.mvn/wrapper/maven-wrapper.jar
Binary file not shown.
20 changes: 2 additions & 18 deletions publiccms-parent/.mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,18 +1,2 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# 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
#
# https://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.7/apache-maven-3.8.7-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
20 changes: 11 additions & 9 deletions publiccms-parent/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}
dependencies {
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-gradle-plugin
classpath "org.springframework.boot:spring-boot-gradle-plugin:2.7.14"
classpath "org.springframework.boot:spring-boot-gradle-plugin:2.7.18"
}
}

Expand All @@ -23,7 +23,7 @@ subprojects {
apply plugin: "eclipse-wtp"

group = "com.publiccms"
version = "V4.0.202406.d"
version = "V4.0.202406.e"

test.enabled = false

Expand All @@ -34,7 +34,7 @@ subprojects {
// http://mvnrepository.com/artifact/org.springframework/spring-core
// https://spring.io/projects/spring-framework
// 6.0,6.1 for Java 17
springVersion = "5.3.37"
springVersion = "5.3.39"
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web
// https://spring.io/projects/spring-boot
// 3.0,3.1 for Java 17
Expand Down Expand Up @@ -74,12 +74,12 @@ subprojects {
// https://mvnrepository.com/artifact/org.apache.lucene/lucene-analyzers-smartcn
luceneVersion = "8.11.2"
// http://mvnrepository.com/artifact/redis.clients/jedis
jedisVersion = "5.1.4"
jedisVersion = "5.1.5"
// http://mvnrepository.com/artifact/org.quartz-scheduler/quartz
quartzVersion = "2.3.2"
// https://mvnrepository.com/artifact/com.zaxxer/HikariCP
// https://github.com/brettwooldridge/HikariCP
// Java 11+ maven artifact: 5.0.1
// Java 11+ maven artifact: 5.0,5.1
hikariCPVersion = "4.0.3"
// https://mvnrepository.com/artifact/com.mysql/mysql-connector-j
mysqlVersion = "9.0.0"
Expand All @@ -96,13 +96,13 @@ subprojects {
// http://mvnrepository.com/artifact/org.apache.commons/commons-collections4
collectionsVersion = "4.4"
// http://mvnrepository.com/artifact/org.apache.commons/commons-lang3
langVersion = "3.16.0"
langVersion = "3.17.0"
// http://mvnrepository.com/artifact/commons-io/commons-io
ioVersion = "2.16.1"
// https://mvnrepository.com/artifact/org.apache.commons/commons-text
textVersion = "1.12.0"
// https://mvnrepository.com/artifact/org.apache.commons/commons-compress
compressVersion = "1.27.0"
compressVersion = "1.27.1"
// http://mvnrepository.com/artifact/commons-codec/commons-codec
codecVersion = "1.17.1"
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
Expand All @@ -119,8 +119,10 @@ subprojects {
jbig2Version = "3.0.4"
// https://mvnrepository.com/artifact/com.github.bgalek.security.svg/safe-svg
safeSvgVersion = "1.1.7"
// http://mvnrepository.com/artifact/eu.bitwalker/UserAgentUtils
userAgentUtilsVersion = "1.21"
// http://mvnrepository.com/artifact/com.blueconic/browscap-java
browscapVersion = "1.4.4"
// https://mvnrepository.com/artifact/com.github.therapi/therapi-runtime-javadoc
therapiJavadocVersion = "0.15.0"
// https://mvnrepository.com/artifact/org.jsoup/jsoup
jsoupVersion = "1.18.1"
// https://mvnrepository.com/artifact/jakarta.annotation/jakarta.annotation-api
Expand Down
20 changes: 7 additions & 13 deletions publiccms-parent/mvnw
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
# 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
Expand Down Expand Up @@ -36,10 +36,6 @@

if [ -z "$MAVEN_SKIP_RC" ] ; then

if [ -f /usr/local/etc/mavenrc ] ; then
. /usr/local/etc/mavenrc
fi

if [ -f /etc/mavenrc ] ; then
. /etc/mavenrc
fi
Expand Down Expand Up @@ -149,7 +145,7 @@ if [ -z "$JAVACMD" ] ; then
JAVACMD="$JAVA_HOME/bin/java"
fi
else
JAVACMD="`\\unset -f command; \\command -v java`"
JAVACMD="`which java`"
fi
fi

Expand Down Expand Up @@ -216,9 +212,9 @@ else
echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
fi
if [ -n "$MVNW_REPOURL" ]; then
jarUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
else
jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
fi
while IFS="=" read key value; do
case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
Expand All @@ -237,9 +233,9 @@ else
echo "Found wget ... using wget"
fi
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
wget "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
wget "$jarUrl" -O "$wrapperJarPath"
else
wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath"
fi
elif command -v curl > /dev/null; then
if [ "$MVNW_VERBOSE" = true ]; then
Expand Down Expand Up @@ -309,8 +305,6 @@ WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain

exec "$JAVACMD" \
$MAVEN_OPTS \
$MAVEN_DEBUG_OPTS \
-classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
"-Dmaven.home=${M2_HOME}" \
"-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
"-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
32 changes: 13 additions & 19 deletions publiccms-parent/mvnw.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@REM "License"); you may not use this file except in compliance
@REM with the License. You may obtain a copy of the License at
@REM
@REM https://www.apache.org/licenses/LICENSE-2.0
@REM http://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing,
@REM software distributed under the License is distributed on an
Expand Down Expand Up @@ -46,8 +46,8 @@ if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
@REM Execute a user defined script before this one
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
:skipRcPre

@setlocal
Expand Down Expand Up @@ -120,9 +120,9 @@ SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain

set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"

FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
)

Expand All @@ -134,7 +134,7 @@ if exist %WRAPPER_JAR% (
)
) else (
if not "%MVNW_REPOURL%" == "" (
SET DOWNLOAD_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
)
if "%MVNW_VERBOSE%" == "true" (
echo Couldn't find %WRAPPER_JAR%, downloading it ...
Expand All @@ -158,13 +158,7 @@ if exist %WRAPPER_JAR% (
@REM work with both Windows and non-Windows executions.
set MAVEN_CMD_LINE_ARGS=%*

%MAVEN_JAVA_EXE% ^
%JVM_CONFIG_MAVEN_PROPS% ^
%MAVEN_OPTS% ^
%MAVEN_DEBUG_OPTS% ^
-classpath %WRAPPER_JAR% ^
"-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
%WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
if ERRORLEVEL 1 goto error
goto end

Expand All @@ -174,15 +168,15 @@ set ERROR_CODE=1
:end
@endlocal & set ERROR_CODE=%ERROR_CODE%

if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
@REM check for post script, once with legacy .bat ending and once with .cmd ending
if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
:skipRcPost

@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
if "%MAVEN_BATCH_PAUSE%"=="on" pause
if "%MAVEN_BATCH_PAUSE%" == "on" pause

if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%

cmd /C exit /B %ERROR_CODE%
exit /B %ERROR_CODE%
Loading

0 comments on commit 6be4733

Please sign in to comment.