-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
618 changed files
with
14,301 additions
and
12,233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@echo off | ||
|
||
REM Datart | ||
REM <p> | ||
REM Copyright 2021 | ||
REM <p> | ||
REM Licensed under the Apache License, Version 2.0 (the "License"); | ||
REM you may not use this file except in compliance with the License. | ||
REM You may obtain a copy of the License at | ||
REM <p> | ||
REM http://www.apache.org/licenses/LICENSE-2.0 | ||
REM <p> | ||
REM Unless required by applicable law or agreed to in writing, software | ||
REM distributed under the License is distributed on an "AS IS" BASIS, | ||
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
REM See the License for the specific language governing permissions and | ||
REM limitations under the License. | ||
|
||
|
||
if "%1"=="start" goto START | ||
|
||
|
||
:START | ||
|
||
cd /d %~dp0 | ||
|
||
cd .. | ||
|
||
java -server -Xms2G -Xmx2G -Dspring.profiles.active=demo -Dfile.encoding=UTF-8 -cp ".\lib\*" datart.DatartServerApplication |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
|
||
# Datart | ||
# <p> | ||
# Copyright 2021 | ||
# <p> | ||
# Licensed 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 | ||
# <p> | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# <p> | ||
# 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. | ||
|
||
BASE_DIR=$(cd "$(dirname "$0")/.."; pwd -P) | ||
|
||
echo "working dir ${BASE_DIR}" | ||
|
||
cd "${BASE_DIR}" | ||
|
||
CLASS_PATH="${BASE_DIR}/lib/*" | ||
|
||
START_CLASS="datart.DatartServerApplication" | ||
|
||
java -server -Xms2G -Xmx2G -Dspring.profiles.active=demo -Dfile.encoding=UTF-8 -cp "${CLASS_PATH}" datart.DatartServerApplication |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ALTER TABLE `view` | ||
MODIFY COLUMN `index` double(16, 8) NULL DEFAULT NULL AFTER `is_folder`; | ||
|
||
ALTER TABLE `folder` | ||
MODIFY COLUMN `index` double(16, 8) NULL DEFAULT NULL AFTER `parent_id`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
spring: | ||
datasource: | ||
driver-class-name: org.h2.Driver | ||
type: com.alibaba.druid.pool.DruidDataSource | ||
url: jdbc:h2:file:./bin/h2/datart.demo;MODE=MYSQL;DATABASE_TO_UPPER=false | ||
username: | ||
password: | ||
|
||
server: | ||
port: 8080 | ||
address: 0.0.0.0 | ||
|
||
# 开启 gzip 压缩,加快请求和响应速度 | ||
compression: | ||
enabled: true | ||
mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/* | ||
|
||
|
||
datart: | ||
server: | ||
address: http://127.0.0.1:8080 | ||
|
||
user: | ||
active: | ||
send-mail: false # 注册用户时是否需要邮件验证激活 | ||
|
||
security: | ||
token: | ||
secret: "d@a$t%a^r&a*t" #加密密钥 | ||
timeout-min: 30 # 登录会话有效时长,单位:分钟。 | ||
|
||
env: | ||
file-path: ${user.dir}/files # 服务端文件保存位置 | ||
|
||
screenshot: | ||
timeout-seconds: 60 | ||
webdriver-type: CHROME | ||
webdriver-path: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,4 @@ public enum VariableTypeEnum { | |
*/ | ||
PERMISSION, | ||
|
||
/** | ||
* 系统变量 | ||
*/ | ||
// SYS, | ||
|
||
} |
Oops, something went wrong.