* implemented wiki attachment
** added wiki_attachment table ** enhanced wikicreole to support a relative image URL. * introduced 'ldap_server_uri' to take over 'ldap_server_host' and 'ldap_server_uri' deprecated. ** mainly done to support ldaps.
This commit is contained in:
@ -25,8 +25,7 @@ database_prefix = ""
|
||||
; ${userid} and ${password} to represent the actual user ID
|
||||
; and the password respectively.
|
||||
;------------------------------------------------------------------------------
|
||||
ldap_server_host = "127.0.0.1"
|
||||
ldap_server_port = "389"
|
||||
ldap_server_uri = "ldap://127.0.0.1:389"
|
||||
ldap_server_protocol_version = "3"
|
||||
ldap_userid_format = "${userid}"
|
||||
ldap_password_format = "${password}"
|
||||
@ -125,6 +124,11 @@ svnrepo_dir = "@DEPOTDIR@/svnrepo"
|
||||
;------------------------------------------------------------------------------
|
||||
file_dir = "@DEPOTDIR@/files"
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; directory to store wiki attachments
|
||||
;------------------------------------------------------------------------------
|
||||
attachment_dir = "@DEPOTDIR@/attachments"
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; log threshold
|
||||
;------------------------------------------------------------------------------
|
||||
|
@ -50,6 +50,24 @@ CREATE TABLE wiki (
|
||||
ON DELETE RESTRICT ON UPDATE CASCADE
|
||||
) charset=utf8 engine=InnoDB;
|
||||
|
||||
CREATE TABLE wiki_attachment (
|
||||
projectid VARCHAR(32) NOT NULL,
|
||||
wikiname VARCHAR(255) NOT NULL,
|
||||
name VARCHAR(255) NOT NULL,
|
||||
encname VARCHAR(255) NOT NULL,
|
||||
|
||||
createdon DATETIME,
|
||||
createdby VARCHAR(32),
|
||||
|
||||
UNIQUE KEY wiki_attachment_id (projectid, wikiname, name),
|
||||
|
||||
CONSTRAINT wiki_attachment_projectid FOREIGN KEY (projectid) REFERENCES project(id)
|
||||
ON DELETE RESTRICT ON UPDATE CASCADE,
|
||||
|
||||
CONSTRAINT wiki_attachment_wikiid FOREIGN KEY (projectid,wikiname) REFERENCES wiki(projectid,name)
|
||||
ON DELETE RESTRICT ON UPDATE CASCADE
|
||||
) charset=utf8 engine=InnoDB;
|
||||
|
||||
CREATE TABLE issue (
|
||||
projectid VARCHAR(32) NOT NULL,
|
||||
id BIGINT NOT NULL,
|
||||
|
Reference in New Issue
Block a user