-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
・カレンダーにFullCalendarを使用する機能を追加。 ・システムログにClientIDを書き込む機能を追加。 ・PostgreSQLの環境でCodeDefineによるDBのマイグレートが失敗する問題を解消。 ・URLにサブディレクトリを含む環境でログイン後のURL及びトップ画面のURLが正しく生成されない問題を解消。 ・サーバスクリプトitems.NewSiteで作成したapiModelオブジェクトにサイトの各種設定内容を登録できない問題を解消。 ・x86環境以外でDockerによるビルドが行えない問題を解消。
- Loading branch information
Showing
51 changed files
with
1,271 additions
and
437 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
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
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
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
1 change: 1 addition & 0 deletions
1
Implem.Pleasanter/App_Data/Definitions/Sqls/PostgreSQL/ChangeDatabaseOwnerForPostgres.sql
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 @@ | ||
alter database "#InitialCatalog#" owner to "#Uid_Owner#"; |
2 changes: 1 addition & 1 deletion
2
Implem.Pleasanter/App_Data/Definitions/Sqls/PostgreSQL/CreateDatabaseForPostgres.sql
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 |
---|---|---|
@@ -1 +1 @@ | ||
CREATE DATABASE "#InitialCatalog#" OWNER "#Uid_Owner#"; | ||
create database "#InitialCatalog#" owner "#Uid_Owner#"; |
6 changes: 3 additions & 3 deletions
6
Implem.Pleasanter/App_Data/Definitions/Sqls/PostgreSQL/CreateSchema.sql
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
CREATE SCHEMA "#SchemaName#" AUTHORIZATION "#Uid_Owner#"; | ||
GRANT USAGE ON SCHEMA "#SchemaName#" TO "#Uid_User#"; | ||
CREATE EXTENSION IF NOT EXISTS pg_trgm; | ||
create schema "#SchemaName#" authorization "#Uid_Owner#"; | ||
grant usage on schema "#SchemaName#" to "#Uid_User#"; | ||
create extension if not exists pg_trgm; |
17 changes: 12 additions & 5 deletions
17
Implem.Pleasanter/App_Data/Definitions/Sqls/PostgreSQL/CreateUserForPostgres.sql
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 |
---|---|---|
@@ -1,7 +1,14 @@ | ||
CREATE USER "#Uid_Owner#" WITH LOGIN PASSWORD '#Pwd_Owner#' valid until 'infinity'; | ||
do $$ | ||
begin | ||
if not exists (select * from pg_user where usename = '#Uid_Owner#') then | ||
create user "#Uid_Owner#" with login password '#Pwd_Owner#' valid until 'infinity'; | ||
create user "#Uid_User#" with login password '#Pwd_User#' valid until 'infinity'; | ||
end if; | ||
end $$ | ||
; | ||
|
||
ALTER ROLE "#Uid_Owner#"; | ||
CREATE USER "#Uid_User#" WITH LOGIN PASSWORD '#Pwd_User#' valid until 'infinity'; | ||
alter role "#Uid_Owner#"; | ||
|
||
alter user "#Uid_Owner#" set search_path to "#SchemaName#"; | ||
alter user "#Uid_User#" set search_path to "#SchemaName#"; | ||
|
||
ALTER USER "#Uid_Owner#" SET search_path TO "#SchemaName#"; | ||
ALTER USER "#Uid_User#" SET search_path TO "#SchemaName#"; |
2 changes: 2 additions & 0 deletions
2
Implem.Pleasanter/App_Data/Definitions/Sqls/PostgreSQL/GrantDatabaseForPostgres.sql
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,2 @@ | ||
grant usage on schema "#SchemaName#" to "#Uid_User#"; | ||
create extension if not exists pg_trgm; |
1 change: 1 addition & 0 deletions
1
Implem.Pleasanter/App_Data/Definitions/Sqls/SQLServer/ChangeDatabaseOwnerForPostgres.sql
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 @@ | ||
select 1 as dummy; |
1 change: 1 addition & 0 deletions
1
Implem.Pleasanter/App_Data/Definitions/Sqls/SQLServer/GrantDatabaseForPostgres.sql
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 @@ | ||
select 1 as dummy; |
Oops, something went wrong.