mirror of
https://github.com/PGYER/codefever.git
synced 2026-05-07 05:57:30 +08:00
update docs for docker install (#3)
* fix(Useless Code): remove useless code * feat(Deploy Scripts): add deploy scripts * fix(Delopy Script): change settings * fix(Deploy Script): fix ssh-keygen script * fix(Deploy Script): change env file path * feat(Deploy Script): add db migration * fix(Deploy script): change script * feat(Deploy Script): add sql file to create database * fix(Deploy Script): add composer support * fix(Deploy Script): add composer * fix(Service Script): add http gateway * fix(Deploy Script): add git path * fix(Deploy Script): fix setting bugs * fix(Init Script): get user from config * fix(Service): adjust run users * feat(Doc): add doc * fix(Doc): change docs * fix(Deploy script): change owner of storage path * feat: codefever-community documentation system * fix(Doc): doc details page style * feat: fix page navigation * fix(SQL File): fix db file fit MySQL 5.7 * fix(FileTree): empty repository display * fix: fix helper navigation * docs(zh-cn essential part): * fix(Doc Style): change markdown.css * docs(contribution doc): * fix: unified page style * docs(Readme): add readme * build(Build): * initial version * Update README.md * Update README.md * fix(MergeRequest): merge request null value bug * docs(change docs): add docker doc * build(Build): build frontend project * build(Build): * build: Co-authored-by: cubic <carneywu@pgyer.com> Co-authored-by: pololi <pololi@pgyer.com> Co-authored-by: yangchen <chenyang@pgyer.com> Co-authored-by: rexshi <shirui@gmail.com>
This commit is contained in:
@@ -126,7 +126,7 @@ define('GROUP_TYPE_USER', 2); // 用户个人默认分组
|
||||
|
||||
// preserve url segment
|
||||
define('PRESERVE_URI', [
|
||||
'/^(feature|doc|lang|service|about|pricing|user|users|file|avatar|boss|captcha)$/i',
|
||||
'/^(feature|doc|community|lang|service|about|pricing|user|users|file|avatar|boss|captcha)$/i',
|
||||
'/^(static|static-\d+)$/i',
|
||||
'/^(api|apiv\d+|apis)$/i',
|
||||
'/^(userInfo|userInfos)$/i',
|
||||
|
||||
@@ -186,7 +186,7 @@ class Repository_model extends CI_Model
|
||||
$data['create'] = strtotime($item['mr_created']);
|
||||
$data['update'] = strtotime($item['mr_updated']);
|
||||
$data['reviewers'] = $this->getMergeRequestReviewers($item['mr_key']);
|
||||
$data['commit'] = $this->getLastCommit($item['mr_source_r_key'], $item['u_key'], $item['mr_source_branch'], '', $item['mr_source_merged_hash']);
|
||||
$data['commit'] = $this->getLastCommit($item['mr_source_r_key'], $item['u_key'], $item['mr_source_branch'], '', $item['mr_source_merged_hash'] ? $item['mr_source_merged_hash'] : '');
|
||||
array_push($output, $data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user