Skip to content

Fix install.tmpl input default value#611

Merged
lunny merged 3 commits into
go-gitea:masterfrom
vcaesar:f1-pr
Jan 9, 2017
Merged

Fix install.tmpl input default value#611
lunny merged 3 commits into
go-gitea:masterfrom
vcaesar:f1-pr

Conversation

@vcaesar
Copy link
Copy Markdown
Contributor

@vcaesar vcaesar commented Jan 8, 2017

  • Fix install.tmpl input default value(index.js 212-215)

@lunny lunny added this to the 1.1.0 milestone Jan 8, 2017
@lunny lunny added the type/enhancement An improvement of existing functionality label Jan 8, 2017
Comment thread public/js/index.js Outdated
}

$('#db_host').val("127.0.0.1:3306");
$('#db_user').val("root");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe gitea as default user is a better choice

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of the default user for the database is root,I think root is a better choice.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's only true for MySQL/MariaDB not for PostgreSQL & MSSQL. Besides that I don't think that we should encourage users to use a root account "just because it's there".

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see,"just because it's there" is not good and PostgreSQL & MSSQL is other,I updated.

@tboerger
Copy link
Copy Markdown
Member

tboerger commented Jan 8, 2017

I think there was already a pr that resolves that

@tboerger tboerger added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jan 8, 2017
@vcaesar
Copy link
Copy Markdown
Contributor Author

vcaesar commented Jan 8, 2017

@tboerger Because of format index.js,I resubmit.

@Bwko
Copy link
Copy Markdown
Member

Bwko commented Jan 8, 2017

LGTM

@tboerger tboerger added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jan 8, 2017
@lunny
Copy link
Copy Markdown
Member

lunny commented Jan 9, 2017

Default value has been added via #455

@vcaesar
Copy link
Copy Markdown
Contributor Author

vcaesar commented Jan 9, 2017

@lunny This is not the same problem.

@lunny
Copy link
Copy Markdown
Member

lunny commented Jan 9, 2017

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jan 9, 2017
@lunny lunny merged commit 19570f2 into go-gitea:master Jan 9, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/enhancement An improvement of existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants