mirror of https://gitee.com/jeecg/jeecg.git
parent
11cd005f8c
commit
980f5667d9
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<classpath>
|
||||||
|
<classpathentry kind="src" path="src"/>
|
||||||
|
<classpathentry kind="src" path="test"/>
|
||||||
|
<classpathentry kind="src" path="resources"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.7.0_07"/>
|
||||||
|
<classpathentry kind="con" path="melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_5_CONTAINER"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
|
||||||
|
<classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
|
||||||
|
</classpath>
|
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project-module
|
||||||
|
type="WEB"
|
||||||
|
name="jeecg-framework"
|
||||||
|
id="myeclipse.1339120238748"
|
||||||
|
context-root="/jeecg-framework"
|
||||||
|
j2ee-spec="6.0"
|
||||||
|
archive="jeecg-framework.war">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="webrootdir" value="/WebRoot" />
|
||||||
|
</attributes>
|
||||||
|
</project-module>
|
||||||
|
|
@ -0,0 +1,63 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>jeecg-framework</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.wst.common.project.facet.core.builder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
|
||||||
|
<triggers>full,incremental,</triggers>
|
||||||
|
<arguments>
|
||||||
|
<dictionary>
|
||||||
|
<key>LaunchConfigHandle</key>
|
||||||
|
<value><project>/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch</value>
|
||||||
|
</dictionary>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
|
||||||
|
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||||
|
<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
|
||||||
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
||||||
|
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||||
|
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<classpath>
|
||||||
|
<classpathentry kind="src" path=""/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="hide" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
|
||||||
|
<classpathentry kind="output" path=""/>
|
||||||
|
</classpath>
|
@ -0,0 +1,9 @@
|
|||||||
|
#Fri Jan 18 13:27:28 CST 2013
|
||||||
|
clsCnt=228
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
locCnt=35358
|
||||||
|
pkgCnt=36
|
||||||
|
sTime=2013\u5E741\u670818\u65E5 \u661F\u671F\u4E94 \u4E0B\u534801\u65F614\u520618\u79D2 CST
|
||||||
|
srcCnt=2
|
||||||
|
validator.Checked=WebRoot/docTemp,WebRoot/webpage/business/projectfiling/basqinfo.jsp,src/com/accp/activiti,WebRoot/webpage/business/projectfiling/baslinfo.jsp,WebRoot/webpage/business/projectfiling/showprogress.jsp,WebRoot/renfang,WebRoot/webpage/html,src/com/accp/util/JackJson.java,WebRoot/webpage/business/projectfiling/filingAccep.jsp,WebRoot/webpage/business/projectfiling/filingApp.jsp,WebRoot/webpage/business/projectfiling/bashinfo.jsp,WebRoot/webpage/system/template/editTemplate.jsp,WebRoot/addCandidateUser.jsp
|
||||||
|
validator.Unchecked=
|
@ -0,0 +1,3 @@
|
|||||||
|
#Wed Apr 10 16:37:41 CST 2013
|
||||||
|
defaultTldInfo=http\://java.sun.com/jsp/jstl/core\=c;http\://java.sun.com/jsp/jstl/sql\=sql;html\=http\://struts.apache.org/tags-html;c\=http\://java.sun.com/jsp/jstl/core;h\=http\://java.sun.com/jsf/html;fmt\=http\://java.sun.com/jsp/jstl/fmt;nested\=http\://struts.apache.org/tags-nested;http\://struts.apache.org/tags-html\=html;http\://java.sun.com/jsp/jstl/fmt\=fmt;bean\=http\://struts.apache.org/tags-bean;http\://java.sun.com/jsp/jstl/functions\=fn;fn\=http\://java.sun.com/jsp/jstl/functions;logic\=http\://struts.apache.org/tags-logic;http\://struts.apache.org/tags-nested\=nested;http\://java.sun.com/jsp/jstl/xml\=x;tiles\=http\://struts.apache.org/tags-tiles;f\=http\://java.sun.com/jsf/core;http\://java.sun.com/jsf/html\=h;http\://struts.apache.org/tags-tiles\=tiles;http\://java.sun.com/jsf/core\=f;http\://struts.apache.org/tags-bean\=bean;x\=http\://java.sun.com/jsp/jstl/xml;sql\=http\://java.sun.com/jsp/jstl/sql;http\://struts.apache.org/tags-logic\=logic
|
||||||
|
eclipse.preferences.version=1
|
@ -0,0 +1,10 @@
|
|||||||
|
#Sun Oct 13 20:38:51 CST 2013
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
encoding//WebRoot/plug-in/accordion/css/accordion.css=UTF-8
|
||||||
|
encoding//WebRoot/plug-in/datatables/thems/default/datatables_style.css=UTF-8
|
||||||
|
encoding//WebRoot/plug-in/datatables/thems/grey/datatables_style.css=UTF-8
|
||||||
|
encoding//WebRoot/plug-in/datatables/thems/grey/datatables_top.css=UTF-8
|
||||||
|
encoding//resources/dbconfig.properties=UTF-8
|
||||||
|
encoding//resources/sysConfig.properties=UTF-8
|
||||||
|
encoding/<project>=UTF-8
|
||||||
|
encoding/WebRoot=UTF-8
|
@ -0,0 +1,12 @@
|
|||||||
|
#Wed Aug 08 15:20:31 CST 2012
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||||
|
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||||
|
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||||
|
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||||
|
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||||
|
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||||
|
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||||
|
org.eclipse.jdt.core.compiler.source=1.6
|
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project-modules id="moduleCoreId" project-version="1.5.0">
|
||||||
|
<wb-module deploy-name="jeecg-final-framework">
|
||||||
|
<wb-resource deploy-path="/" source-path="/WebRoot"/>
|
||||||
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/test"/>
|
||||||
|
<property name="java-output-path" value="/renfang2/WebRoot/WEB-INF/classes"/>
|
||||||
|
<property name="context-root" value="/jeecg"/>
|
||||||
|
</wb-module>
|
||||||
|
</project-modules>
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<faceted-project>
|
||||||
|
<fixed facet="wst.jsdt.web"/>
|
||||||
|
<installed facet="java" version="1.6"/>
|
||||||
|
<installed facet="jst.web" version="3.0"/>
|
||||||
|
<installed facet="wst.jsdt.web" version="1.0"/>
|
||||||
|
</faceted-project>
|
@ -0,0 +1 @@
|
|||||||
|
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
|
@ -0,0 +1 @@
|
|||||||
|
Window
|
@ -0,0 +1,9 @@
|
|||||||
|
#Fri Jan 18 13:23:53 CST 2013
|
||||||
|
DELEGATES_PREFERENCE=delegateValidatorList
|
||||||
|
USER_BUILD_PREFERENCE=enabledBuildValidatorListorg.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;
|
||||||
|
USER_MANUAL_PREFERENCE=enabledManualValidatorListorg.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;
|
||||||
|
USER_PREFERENCE=overrideGlobalPreferencestruedisableAllValidationfalseversion1.2.200.me201103162335
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
override=true
|
||||||
|
suspend=false
|
||||||
|
vf.version=3
|
@ -0,0 +1,3 @@
|
|||||||
|
Manifest-Version: 1.0
|
||||||
|
Class-Path:
|
||||||
|
|
@ -0,0 +1,80 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
|
||||||
|
"""This is a blind proxy that we use to get around browser
|
||||||
|
restrictions that prevent the Javascript from loading pages not on the
|
||||||
|
same server as the Javascript. This has several problems: it's less
|
||||||
|
efficient, it might break some sites, and it's a security risk because
|
||||||
|
people can use this proxy to browse the web and possibly do bad stuff
|
||||||
|
with it. It only loads pages via http and https, but it can load any
|
||||||
|
content type. It supports GET and POST requests."""
|
||||||
|
|
||||||
|
import urllib2
|
||||||
|
import cgi
|
||||||
|
import sys, os
|
||||||
|
|
||||||
|
# Designed to prevent Open Proxy type stuff.
|
||||||
|
|
||||||
|
allowedHosts = ['www.openlayers.org', 'openlayers.org',
|
||||||
|
'labs.metacarta.com', 'world.freemap.in',
|
||||||
|
'prototype.openmnnd.org', 'geo.openplans.org',
|
||||||
|
'sigma.openplans.org', 'demo.opengeo.org',
|
||||||
|
'www.openstreetmap.org', 'sample.azavea.com',
|
||||||
|
'v2.suite.opengeo.org', 'v-swe.uni-muenster.de:8080',
|
||||||
|
'vmap0.tiles.osgeo.org', 'www.openrouteservice.org','192.168.1.241:8080']
|
||||||
|
|
||||||
|
method = os.environ["REQUEST_METHOD"]
|
||||||
|
|
||||||
|
if method == "POST":
|
||||||
|
qs = os.environ["QUERY_STRING"]
|
||||||
|
d = cgi.parse_qs(qs)
|
||||||
|
if d.has_key("url"):
|
||||||
|
url = d["url"][0]
|
||||||
|
else:
|
||||||
|
url = "http://www.openlayers.org"
|
||||||
|
else:
|
||||||
|
fs = cgi.FieldStorage()
|
||||||
|
url = fs.getvalue('url', "http://www.openlayers.org")
|
||||||
|
|
||||||
|
try:
|
||||||
|
host = url.split("/")[2]
|
||||||
|
if allowedHosts and not host in allowedHosts:
|
||||||
|
print "Status: 502 Bad Gateway"
|
||||||
|
print "Content-Type: text/plain"
|
||||||
|
print
|
||||||
|
print "This proxy does not allow you to access that location (%s)." % (host,)
|
||||||
|
print
|
||||||
|
print os.environ
|
||||||
|
|
||||||
|
elif url.startswith("http://") or url.startswith("https://"):
|
||||||
|
|
||||||
|
if method == "POST":
|
||||||
|
length = int(os.environ["CONTENT_LENGTH"])
|
||||||
|
headers = {"Content-Type": os.environ["CONTENT_TYPE"]}
|
||||||
|
body = sys.stdin.read(length)
|
||||||
|
r = urllib2.Request(url, body, headers)
|
||||||
|
y = urllib2.urlopen(r)
|
||||||
|
else:
|
||||||
|
y = urllib2.urlopen(url)
|
||||||
|
|
||||||
|
# print content type header
|
||||||
|
i = y.info()
|
||||||
|
if i.has_key("Content-Type"):
|
||||||
|
print "Content-Type: %s" % (i["Content-Type"])
|
||||||
|
else:
|
||||||
|
print "Content-Type: text/plain"
|
||||||
|
print
|
||||||
|
|
||||||
|
print y.read()
|
||||||
|
|
||||||
|
y.close()
|
||||||
|
else:
|
||||||
|
print "Content-Type: text/plain"
|
||||||
|
print
|
||||||
|
print "Illegal request."
|
||||||
|
|
||||||
|
except Exception, E:
|
||||||
|
print "Status: 500 Unexpected Error"
|
||||||
|
print "Content-Type: text/plain"
|
||||||
|
print
|
||||||
|
print "Some unexpected error occurred. Error text was:", E
|
@ -0,0 +1,169 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<config>
|
||||||
|
<!-- CKFinder : Configuration File - Basic Instructions In a generic usage
|
||||||
|
case, the following tasks must be done to configure CKFinder: 1. Check the
|
||||||
|
baseDir and baseUrl options; 2. If available, paste your license key in the
|
||||||
|
"licenseKey" setting; 3. Enable CKFinder using the "enabled" setting. WARNING
|
||||||
|
: DO NOT simply set "enabled" to "true" on a production site. By doing so,
|
||||||
|
you are allowing "anyone" to upload and list the files in your server. You
|
||||||
|
must implement some kind of session validation. http://docs.cksource.com/CKFinder_2.x/Developers_Guide/Java/Configuration/Extending -->
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<!-- Configure the location of uploaded files. See the following article
|
||||||
|
for more details: http://docs.cksource.com/CKFinder_2.x/Developers_Guide/Java/Configuration/baseURL_and_baseDir -->
|
||||||
|
<!---注意:必须改成自己项目的,不然上传图片找不到具体的网络路径 -->
|
||||||
|
<baseDir></baseDir>
|
||||||
|
<baseURL></baseURL>
|
||||||
|
<licenseKey></licenseKey>
|
||||||
|
<licenseName></licenseName>
|
||||||
|
<!-- Set the maximum size of uploaded images. If an uploaded image is larger,
|
||||||
|
it gets scaled down proportionally. Set to 0 to disable this feature. -->
|
||||||
|
<imgWidth>10000</imgWidth>
|
||||||
|
<imgHeight>10000</imgHeight>
|
||||||
|
<imgQuality>80</imgQuality>
|
||||||
|
<!-- See the following article for more details: http://docs.cksource.com/CKFinder_2.x/Developers_Guide/Java/Configuration/URI_Encoding -->
|
||||||
|
<uriEncoding>UTF-8</uriEncoding>
|
||||||
|
<!-- ResourceType : defines the "resource types" handled in CKFinder. A
|
||||||
|
resource type is nothing more than a way to group files under different paths,
|
||||||
|
each one having different configuration settings. Each resource type name
|
||||||
|
must be unique. When loading CKFinder, the "type" querystring parameter can
|
||||||
|
be used to display a specific type only. If "type" is omitted in the URL,
|
||||||
|
the "DefaultResourceTypes" settings is used (may contain the resource type
|
||||||
|
names separated by a comma). If left empty, all types are loaded. maxSize
|
||||||
|
is defined in bytes, but shorthand notation may be also used. Available options
|
||||||
|
are: G, M, K (case insensitive). 1M equals 1048576 bytes (one Megabyte),
|
||||||
|
1K equals 1024 bytes (one Kilobyte), 1G equals one Gigabyte. Example: 'maxSize'
|
||||||
|
=> "8M", ==============================================================================
|
||||||
|
ATTENTION: Flash files with `swf' extension, just like HTML files, can be
|
||||||
|
used to execute JavaScript code and to e.g. perform an XSS attack. Grant
|
||||||
|
permission to upload `.swf` files only if you understand and can accept this
|
||||||
|
risk. ============================================================================== -->
|
||||||
|
<defaultResourceTypes></defaultResourceTypes>
|
||||||
|
<types>
|
||||||
|
<type name="Files">
|
||||||
|
<url>%BASE_URL%files/</url>
|
||||||
|
<directory>%BASE_DIR%files</directory>
|
||||||
|
<maxSize>0</maxSize>
|
||||||
|
<allowedExtensions>7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pptx,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,zip
|
||||||
|
</allowedExtensions>
|
||||||
|
<deniedExtensions></deniedExtensions>
|
||||||
|
</type>
|
||||||
|
<type name="Images">
|
||||||
|
<url>%BASE_URL%images/</url>
|
||||||
|
<directory>%BASE_DIR%images</directory>
|
||||||
|
<maxSize>0</maxSize>
|
||||||
|
<allowedExtensions>bmp,gif,jpeg,jpg,png</allowedExtensions>
|
||||||
|
<deniedExtensions></deniedExtensions>
|
||||||
|
</type>
|
||||||
|
<type name="Flash">
|
||||||
|
<url>%BASE_URL%flash/</url>
|
||||||
|
<directory>%BASE_DIR%flash</directory>
|
||||||
|
<maxSize>0</maxSize>
|
||||||
|
<allowedExtensions>swf,flv</allowedExtensions>
|
||||||
|
<deniedExtensions></deniedExtensions>
|
||||||
|
</type>
|
||||||
|
</types>
|
||||||
|
<!-- The session variable name that CKFinder must use to retrieve the "role"
|
||||||
|
of the current user. The "role", can be used in the "accessControls" settings
|
||||||
|
(bellow). -->
|
||||||
|
<userRoleSessionVar>CKFinder_UserRole</userRoleSessionVar>
|
||||||
|
<accessControls>
|
||||||
|
<accessControl>
|
||||||
|
<role>admin</role>
|
||||||
|
<resourceType>*</resourceType>
|
||||||
|
<folder>/</folder>
|
||||||
|
<folderView>true</folderView>
|
||||||
|
<folderCreate>true</folderCreate>
|
||||||
|
<folderRename>true</folderRename>
|
||||||
|
<folderDelete>true</folderDelete>
|
||||||
|
<fileView>true</fileView>
|
||||||
|
<fileUpload>true</fileUpload>
|
||||||
|
<fileRename>true</fileRename>
|
||||||
|
<fileDelete>true</fileDelete>
|
||||||
|
</accessControl>
|
||||||
|
</accessControls>
|
||||||
|
<thumbs>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<url>%BASE_URL%_thumbs/</url>
|
||||||
|
<directory>%BASE_DIR%_thumbs</directory>
|
||||||
|
<directAccess>false</directAccess>
|
||||||
|
<maxHeight>100</maxHeight>
|
||||||
|
<maxWidth>100</maxWidth>
|
||||||
|
<quality>80</quality>
|
||||||
|
</thumbs>
|
||||||
|
<!-- Increases the security on an IIS web server. If enabled, CKFinder will
|
||||||
|
disallow creating folders and uploading files whose names contain characters
|
||||||
|
that are not safe under an IIS web server. -->
|
||||||
|
<disallowUnsafeCharacters>false</disallowUnsafeCharacters>
|
||||||
|
<!-- Due to security issues with Apache modules, it is recommended to leave
|
||||||
|
the following setting enabled. How does it work? Suppose the following: -
|
||||||
|
If "php" is on the denied extensions list, a file named foo.php cannot be
|
||||||
|
uploaded. - If "rar" (or any other) extension is allowed, one can upload
|
||||||
|
a file named foo.rar. - The file foo.php.rar has "rar" extension so, in theory,
|
||||||
|
it can be also uploaded. In some conditions Apache can treat the foo.php.rar
|
||||||
|
file just like any PHP script and execute it. If CheckDoubleExtension is
|
||||||
|
enabled, each part of the file name after a dot is checked, not only the
|
||||||
|
last part. In this way, uploading foo.php.rar would be denied, because "php"
|
||||||
|
is on the denied extensions list. -->
|
||||||
|
<checkDoubleExtension>true</checkDoubleExtension>
|
||||||
|
<!-- Indicates that the file size (maxSize) for images must be checked only
|
||||||
|
after scaling them. Otherwise, it is checked right after uploading. -->
|
||||||
|
<checkSizeAfterScaling>true</checkSizeAfterScaling>
|
||||||
|
<!-- Perform additional checks for image files if set to true, validate
|
||||||
|
image size -->
|
||||||
|
<secureImageUploads>true</secureImageUploads>
|
||||||
|
<!-- For security, HTML is allowed in the first Kb of data for files having
|
||||||
|
the following extensions only. -->
|
||||||
|
<htmlExtensions>html,htm,xml,js</htmlExtensions>
|
||||||
|
<!-- Force ASCII names for files and folders. If enabled, characters with
|
||||||
|
diactric marks will be automatically converted to ASCII letters. -->
|
||||||
|
<forceASCII>false</forceASCII>
|
||||||
|
<!-- Folders to not display in CKFinder, no matter their location. No paths
|
||||||
|
are accepted, only the folder name. The * and ? wildcards are accepted. ".*"
|
||||||
|
disallows the creation of folders starting with a dot character. -->
|
||||||
|
<hideFolders>
|
||||||
|
<folder>.*</folder>
|
||||||
|
<folder>CVS</folder>
|
||||||
|
</hideFolders>
|
||||||
|
<!-- Files to not display/upload in CKFinder, no matter their location.
|
||||||
|
No paths are accepted, only the file name, including extension. The * and
|
||||||
|
? wildcards are accepted. -->
|
||||||
|
<hideFiles>
|
||||||
|
<file>.*</file>
|
||||||
|
</hideFiles>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<name>imageresize</name>
|
||||||
|
<class>com.ckfinder.connector.plugins.ImageResize</class>
|
||||||
|
<params>
|
||||||
|
<param name="smallThumb" value="90x90"></param>
|
||||||
|
<param name="mediumThumb" value="120x120"></param>
|
||||||
|
<param name="largeThumb" value="180x180"></param>
|
||||||
|
</params>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<name>fileeditor</name>
|
||||||
|
<class>com.ckfinder.connector.plugins.FileEditor</class>
|
||||||
|
<params></params>
|
||||||
|
</plugin>
|
||||||
|
<!-- Before enabling the watermark plugin make sure to specify path to
|
||||||
|
source image -->
|
||||||
|
<!-- The "internal" flag informs CKFinder that watermark is a pure server
|
||||||
|
side plugin -->
|
||||||
|
<!-- 加水印,解除注释可直接使用,并更改source的水印图片路径 -->
|
||||||
|
<!--
|
||||||
|
<plugin>
|
||||||
|
<name>watermark</name>
|
||||||
|
<class>com.ckfinder.connector.plugins.Watermark</class>
|
||||||
|
<params>
|
||||||
|
<param name="source" value="/plug-in/ckfinder/logo.png"></param>
|
||||||
|
<param name="transparency" value="0.8"></param>
|
||||||
|
<param name="quality" value="100"></param>
|
||||||
|
<param name="marginRight" value="5"></param>
|
||||||
|
<param name="marginBottom" value="5"></param>
|
||||||
|
</params>
|
||||||
|
<internal>true</internal>
|
||||||
|
</plugin>
|
||||||
|
-->
|
||||||
|
</plugins>
|
||||||
|
<basePathBuilderImpl>com.ckfinder.connector.configuration.ConfigurationPathBuilder</basePathBuilderImpl>
|
||||||
|
</config>
|
@ -0,0 +1,34 @@
|
|||||||
|
#SQLServer2005以上
|
||||||
|
#hibernate.dialect=org.hibernate.dialect.SQLServerDialect
|
||||||
|
#validationQuery.sqlserver=SELECT 1
|
||||||
|
#jdbc.url.jeecg=jdbc:sqlserver://localhost:1433;DatabaseName=jeecg
|
||||||
|
#jdbc.username.jeecg=sa
|
||||||
|
#jdbc.password.jeecg=sa123
|
||||||
|
#jdbc.dbType=sqlserver
|
||||||
|
|
||||||
|
#postgresSQL
|
||||||
|
#hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
||||||
|
#validationQuery.sqlserver=SELECT 1
|
||||||
|
#jdbc.url.jeecg=jdbc:postgresql://localhost:5432/jeecg
|
||||||
|
#jdbc.username.jeecg=postgres
|
||||||
|
#jdbc.password.jeecg=postgres
|
||||||
|
#jdbc.dbType=postgres
|
||||||
|
|
||||||
|
#MySQL
|
||||||
|
hibernate.dialect=org.hibernate.dialect.MySQLDialect
|
||||||
|
validationQuery.sqlserver=SELECT 1
|
||||||
|
jdbc.url.jeecg=jdbc:mysql://localhost:3306/jeecg?useUnicode=true&characterEncoding=UTF-8
|
||||||
|
jdbc.username.jeecg=root
|
||||||
|
jdbc.password.jeecg=root
|
||||||
|
jdbc.dbType=mysql
|
||||||
|
|
||||||
|
#Oracle
|
||||||
|
#hibernate.dialect=org.hibernate.dialect.OracleDialect
|
||||||
|
#validationQuery.sqlserver=SELECT 1 FROM DUAL
|
||||||
|
#jdbc.url.jeecg=jdbc:oracle:thin:@localhost:1521:ORCL
|
||||||
|
#jdbc.username.jeecg=JEECG
|
||||||
|
#jdbc.password.jeecg=JEECG
|
||||||
|
#jdbc.dbType=oracle
|
||||||
|
|
||||||
|
#更新|创建|验证数据库表结构|不作改变 默认update(create,validate,none)
|
||||||
|
hibernate.hbm2ddl.auto=create
|
@ -0,0 +1,32 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ehcache updateCheck= "false">
|
||||||
|
|
||||||
|
<diskStore path="java.io.tmpdir" />
|
||||||
|
|
||||||
|
<!-- Cluster localhost setting -->
|
||||||
|
<cacheManagerPeerListenerFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
|
||||||
|
properties="hostName=localhost, port=40001,socketTimeoutMillis=2000" />
|
||||||
|
|
||||||
|
|
||||||
|
<cache name="dictCache" maxElementsInMemory="500" overflowToDisk="true"
|
||||||
|
eternal="true">
|
||||||
|
<cacheEventListenerFactory class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
|
||||||
|
properties="replicatePuts=false,replicateUpdatesViaCopy=false" />
|
||||||
|
</cache>
|
||||||
|
|
||||||
|
<cache name="eternalCache" maxElementsInMemory="500" overflowToDisk="true"
|
||||||
|
eternal="false"
|
||||||
|
timeToIdleSeconds="1200" timeToLiveSeconds="1200">
|
||||||
|
<cacheEventListenerFactory class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
|
||||||
|
properties="replicatePuts=false,replicateUpdatesViaCopy=false" />
|
||||||
|
</cache>
|
||||||
|
<!--
|
||||||
|
DefaultCache setting.
|
||||||
|
Modify ehcache-safe.xml for timeToIdleSeconds,timeToLiveSecond,diskExpiryThreadIntervalSeconds
|
||||||
|
Use ehcache-safe.xml default for maxElementsInMemory,maxElementsOnDisk,overflowToDisk,eternal Use ehcache default
|
||||||
|
for memoryStoreEvictionPolicy,diskPersistent,.
|
||||||
|
-->
|
||||||
|
<defaultCache maxElementsInMemory="10000" overflowToDisk="true" eternal="false"
|
||||||
|
memoryStoreEvictionPolicy="LRU" maxElementsOnDisk="10000000" diskExpiryThreadIntervalSeconds="600"
|
||||||
|
timeToIdleSeconds="3600" timeToLiveSeconds="100000" diskPersistent="false" />
|
||||||
|
</ehcache>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
|||||||
|
SELECT *
|
||||||
|
FROM t_s_base_user
|
@ -0,0 +1,29 @@
|
|||||||
|
#default code path
|
||||||
|
source_root_package=src
|
||||||
|
webroot_package=WebRoot
|
||||||
|
|
||||||
|
#maven code path
|
||||||
|
#source_root_package=src.main.java
|
||||||
|
#webroot_package=src.main.webapp
|
||||||
|
|
||||||
|
#bussi_package[User defined]
|
||||||
|
bussi_package=jeecg.test
|
||||||
|
#bussi_package=com.sys
|
||||||
|
|
||||||
|
|
||||||
|
#ftl resource url
|
||||||
|
templatepath=jeecg/template
|
||||||
|
system_encoding=utf-8
|
||||||
|
|
||||||
|
#Table key [User defined]
|
||||||
|
jeecg_generate_table_id=id
|
||||||
|
#Search Param num [User defined]
|
||||||
|
jeecg_ui_search_filed_num=1
|
||||||
|
|
||||||
|
#jeecg convert flag[true/false]
|
||||||
|
jeecg_filed_convert=true
|
||||||
|
|
||||||
|
|
||||||
|
#ui_filter_fields \u8fc7\u6ee4\u4e0d\u9700\u8981\u9875\u9762\u751f\u6210\u7684\u8868\u5b57\u6bb5
|
||||||
|
ui_filter_fields=create_date,create_by,create_name,update_date,update_by,update_name
|
||||||
|
project_path=E:/Workspace-jeecg/jeecg-v3-simple
|
@ -0,0 +1,20 @@
|
|||||||
|
#mysql
|
||||||
|
diver_name=com.mysql.jdbc.Driver
|
||||||
|
url=jdbc:mysql://localhost:3306/jeecg?useUnicode=true&characterEncoding=UTF-8
|
||||||
|
username=root
|
||||||
|
password=root
|
||||||
|
database_name=jeecg
|
||||||
|
|
||||||
|
#oracle
|
||||||
|
#diver_name=oracle.jdbc.driver.OracleDriver
|
||||||
|
#url=jdbc:oracle:thin:@10.68.111.40:1521:easyssh
|
||||||
|
#username=test
|
||||||
|
#password=test
|
||||||
|
|
||||||
|
#postgre
|
||||||
|
#diver_name=org.postgresql.Driver
|
||||||
|
#url=jdbc:postgresql://localhost:5432/jeecg
|
||||||
|
#username=postgres
|
||||||
|
#password=postgres
|
||||||
|
#database_name=jeecg
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue