Skip to content

Commit

Permalink
Merge pull request #1997 from xxxllluuu/master
Browse files Browse the repository at this point in the history
0.3.0-rc release
  • Loading branch information
scottsut authored Oct 29, 2020
2 parents 4d7428f + 85ab9c0 commit 0da4600
Show file tree
Hide file tree
Showing 1,076 changed files with 49,852 additions and 51,720 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ userfiles/
.vscode
*yarn.lock
bin/upgrade.go
bin/upgrade
bin/upgrade
.history/
3 changes: 1 addition & 2 deletions CONTRIBUTING-CH.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Davinci 用户手册文档在 docs/ 目录下,我们使用了 [jekyll](https:/
### 分支结构
Davinci 源码可能会产生一些临时分支,但真正有明确意义的只有以下三个分支:

- dev-0.3: 默认分支,主要开发分支;
- dev-0.3: 默认分支,主要开发分支**需要注意,dev-0.3分支代码不保证可用性,请谨慎使用到生产**
- master: 最近一次稳定 release 的源码,偶尔会多几次 hotfix 提交;
- dev-0.2: 0.2 版本源码,目前 0.2 版本已经停止更新,如有 0.2 版本使用者或是需要进行二次开发的用户可以参考此分支。

Expand Down Expand Up @@ -97,7 +97,6 @@ npm run build
├── davinci.sql # 完整系统数据库脚本(包含所有补丁)
├── initdb.bat # 针对 Windows 环境的初始化数据库批处理脚本
├── initdb.sh # 针对 Linux、Mac 环境的初始化数据库 Shell 脚本
├── phantom.js # 截图脚本(未来版本将不再使用)
├── restart-server.sh # 针对 Linux、Mac 环境的重启服务脚本
├── run.bat # 针对 Windows 环境的服务启停核心脚本
├── start.bat # 针对 Windows 环境的服务启动脚本
Expand Down
5 changes: 2 additions & 3 deletions README-CH.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,11 @@ Please refer to [Davinci用户手册](https://edp963.github.io/davinci/).

Latest Release
=============
Please download the latest [RELEASE](https://github.com/edp963/davinci/releases/download/v0.3.0-beta.9/davinci-assembly_3.0.1-0.3.1-SNAPSHOT-dist-beta.9.zip).
Please download the latest [RELEASE](https://github.com/edp963/davinci/releases/download/v0.3.0-rc/davinci-assembly_0.3.1-0.3.1-SNAPSHOT-dist-rc.zip).

Get Help
============
The fastest way to get response from our developers is to send email to our mail list [email protected],
and you are also welcome to join our WeChat group for online discussion.
The fastest way to get response from our developers is to join our WeChat group for online discussion.

![二维码](https://github.com/edp963/edp-resource/raw/master/WeChat.jpg)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ Davinci is oriented towards product managers, business people, data engineers, d
* Integration of LDAP sign-in

## Latest Release
Please download the latest [RELEASE](https://github.com/edp963/davinci/releases/download/v0.3.0-beta.9/davinci-assembly_3.0.1-0.3.1-SNAPSHOT-dist-beta.9.zip)
Please download the latest [RELEASE](https://github.com/edp963/davinci/releases/download/v0.3.0-rc/davinci-assembly_0.3.1-0.3.1-SNAPSHOT-dist-rc.zip)

## Get Help
The fastest way to get response from our developers is to send email to our mail list [email protected], and welcome to join our WeChat group for online discussion.
The fastest way to get response from our developers is to join our WeChat group for online discussion.

[![](https://github.com/edp963/edp-resource/raw/master/WeChat.jpg)](https://github.com/edp963/edp-resource/raw/master/WeChat.jpg)

Expand Down
6 changes: 3 additions & 3 deletions assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>davinci-parent_3.01</artifactId>
<artifactId>davinci-parent_0.3.1</artifactId>
<groupId>edp.davinci</groupId>
<version>0.3.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>davinci-assembly_3.0.1</artifactId>
<artifactId>davinci-assembly_0.3.1</artifactId>
<packaging>pom</packaging>

<licenses>
Expand All @@ -34,7 +34,7 @@
<dependencies>
<dependency>
<groupId>edp.davinci</groupId>
<artifactId>davinci-server_3.01</artifactId>
<artifactId>davinci-server_0.3.1</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand Down
38 changes: 16 additions & 22 deletions assembly/src/main/assembly/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


<assembly>
<id>dist-beta.9</id>
<id>dist-rc</id>
<formats>
<format>zip</format>
</formats>
Expand Down Expand Up @@ -58,7 +58,7 @@
</fileSet>
<fileSet>
<directory>
${project.parent.basedir}/userfiles
${project.parent.basedir}
</directory>
<outputDirectory>userfiles</outputDirectory>
<excludes>
Expand All @@ -67,27 +67,28 @@
</fileSet>
<fileSet>
<directory>
${project.parent.basedir}/logs
${project.parent.basedir}
</directory>
<outputDirectory>logs</outputDirectory>
<includes>
<include>sys</include>
<include>user</include>
</includes>
<outputDirectory>logs/sys</outputDirectory>
<excludes>
<exclude>*/**</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>
${project.parent.basedir}
</directory>
<outputDirectory>logs/user</outputDirectory>
<excludes>
<exclude>*/**</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>
${project.parent.basedir}/davinci-ui
</directory>
<outputDirectory>davinci-ui</outputDirectory>
</fileSet>
<!--<fileSet>-->
<!--<directory>-->
<!--${project.parent.basedir}/swagger-ui-->
<!--</directory>-->
<!--<outputDirectory>swagger-ui</outputDirectory>-->
<!--</fileSet>-->

</fileSets>

<dependencySets>
Expand All @@ -99,11 +100,4 @@
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
</dependencySets>

<!--<files>
<file>
<source>${project.parent.basedir}/server/target/davinci-server_2.11-${project.parent.version}-jar-with-dependencies.jar</source>
<outputDirectory>plugin</outputDirectory>
</file>
</files>-->
</assembly>
21 changes: 16 additions & 5 deletions bin/davinci.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CREATE TABLE `cron_job`
`exec_log` text COLLATE utf8_unicode_ci,
`create_by` bigint(20) NOT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`update_by` bigint(20) DEFAULT NULL,
`update_by` bigint(20) DEFAULT NULL,
`update_time` timestamp NULL DEFAULT NULL,
`parent_id` bigint(20) DEFAULT NULL,
`full_parent_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
Expand Down Expand Up @@ -158,6 +158,7 @@ DROP TABLE IF EXISTS `mem_dashboard_widget`;
CREATE TABLE `mem_dashboard_widget`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`alias` varchar(30) NULL,
`dashboard_id` bigint(20) NOT NULL,
`widget_Id` bigint(20) DEFAULT NULL,
`x` int(12) NOT NULL,
Expand Down Expand Up @@ -219,8 +220,8 @@ CREATE TABLE `organization`
`member_permission` smallint(1) NOT NULL DEFAULT '0',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`create_by` bigint(20) NOT NULL DEFAULT '0',
`update_time` timestamp NULL DEFAULT NULL,
`update_by` bigint(20) DEFAULT '0',
`update_time` timestamp NULL,
`update_by` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB
DEFAULT CHARSET = utf8;
Expand Down Expand Up @@ -517,8 +518,8 @@ CREATE TABLE `user`
`avatar` varchar(255) DEFAULT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`create_by` bigint(20) NOT NULL DEFAULT '0',
`update_time` timestamp NOT NULL DEFAULT '1970-01-01 08:00:01',
`update_by` bigint(20) NOT NULL DEFAULT '0',
`update_time` timestamp NULL,
`update_by` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB
DEFAULT CHARSET = utf8;
Expand Down Expand Up @@ -685,3 +686,13 @@ CREATE TABLE `share_download_record` (


SET FOREIGN_KEY_CHECKS = 1;


INSERT INTO `user` (`id`, `email`, `username`, `password`, `admin`, `active`, `name`, `description`, `department`, `avatar`, `create_time`, `create_by`, `update_by`, `update_time`)
VALUES (1, '[email protected]', 'guest', '$2a$10$RJKb4jhMgRYnGPlVRV036erxQ3oGZ8NnxZrlrrBJJha9376cAuTRO', 1, 1, NULL, NULL, NULL, NULL, '2020-01-01 00:00:00', 0, NULL, NULL);

INSERT INTO `organization` (`id`, `name`, `description`, `avatar`, `user_id`, `project_num`, `member_num`, `role_num`, `allow_create_project`, `member_permission`, `create_time`, `create_by`, `update_time`, `update_by`)
VALUES (1, 'guest\'s Organization', NULL, NULL, 1, 0, 1, 0, 1, 1, '2020-01-01 00:00:00', 1, NULL, NULL);

INSERT INTO `rel_user_organization` (`id`, `org_id`, `user_id`, `role`, `create_by`, `create_time`, `update_by`, `update_time`)
VALUES (1, 1, 1, 1, 1, '2020-01-01 00:00:00', NULL, NULL);
20 changes: 20 additions & 0 deletions bin/patch/005_rc.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* <<
* Davinci
* ==
* Copyright (C) 2016 - 2020 EDP
* ==
* 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
* 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.
* >>
*/

ALTER TABLE `mem_dashboard_widget`
ADD COLUMN `alias` varchar(30) NULL AFTER `id`;
59 changes: 0 additions & 59 deletions bin/phantom.js

This file was deleted.

Loading

0 comments on commit 0da4600

Please sign in to comment.