#1593 fix repo name router bug

pull/197/head
Unknwon 9 years ago
parent 645d4d0c5b
commit 56eb252098
  1. 2
      cmd/web.go
  2. 26
      conf/locale/locale_en-US.ini
  3. 4
      modules/bindata/bindata.go

@ -545,7 +545,7 @@ func runWeb(ctx *cli.Context) {
m.Group("/:username", func() { m.Group("/:username", func() {
m.Group("/:reponame", func() { m.Group("/:reponame", func() {
m.Get("", repo.Home) m.Get("", repo.Home)
m.Get(".git", repo.Home) m.Get("\\.git", repo.Home)
}, ignSignIn, middleware.RepoAssignment(true, true), middleware.RepoRef()) }, ignSignIn, middleware.RepoAssignment(true, true), middleware.RepoRef())
m.Group("/:reponame", func() { m.Group("/:reponame", func() {

@ -773,9 +773,9 @@ users.admin = Admin
users.repos = Repos users.repos = Repos
users.created = Created users.created = Created
users.edit = Edit users.edit = Edit
users.auth_source = Authorization Source users.auth_source = Authentication Source
users.local = Local users.local = Local
users.auth_login_name = Authorization Login Name users.auth_login_name = Authentication Login Name
users.update_profile_success = Account profile has been updated successfully. users.update_profile_success = Account profile has been updated successfully.
users.edit_account = Edit Account users.edit_account = Edit Account
users.is_activated = This account is activated users.is_activated = This account is activated
@ -799,14 +799,14 @@ repos.watches = Watches
repos.stars = Stars repos.stars = Stars
repos.issues = Issues repos.issues = Issues
auths.auth_manage_panel = Authorization Manage Panel auths.auth_manage_panel = Authentication Manage Panel
auths.new = Add New Authorization Source auths.new = Add New Authentication Source
auths.name = Name auths.name = Name
auths.type = Type auths.type = Type
auths.enabled = Enabled auths.enabled = Enabled
auths.updated = Updated auths.updated = Updated
auths.auth_type = Authorization Type auths.auth_type = Authentication Type
auths.auth_name = Authorization Name auths.auth_name = Authentication Name
auths.domain = Domain auths.domain = Domain
auths.host = Host auths.host = Host
auths.port = Port auths.port = Port
@ -819,7 +819,7 @@ auths.attribute_mail = E-mail attribute
auths.filter = User Filter auths.filter = User Filter
auths.admin_filter = Admin Filter auths.admin_filter = Admin Filter
auths.ms_ad_sa = Ms Ad SA auths.ms_ad_sa = Ms Ad SA
auths.smtp_auth = SMTP Authorization Type auths.smtp_auth = SMTP Authentication Type
auths.smtphost = SMTP Host auths.smtphost = SMTP Host
auths.smtpport = SMTP Port auths.smtpport = SMTP Port
auths.enable_tls = Enable TLS Encryption auths.enable_tls = Enable TLS Encryption
@ -827,13 +827,13 @@ auths.skip_tls_verify = Skip TLS Verify
auths.pam_service_name = PAM Service Name auths.pam_service_name = PAM Service Name
auths.enable_auto_register = Enable Auto Registration auths.enable_auto_register = Enable Auto Registration
auths.tips = Tips auths.tips = Tips
auths.edit = Edit Authorization Setting auths.edit = Edit Authentication Setting
auths.activated = This authentication has activated auths.activated = This authentication has activated
auths.update_success = Authorization setting has been updated successfully. auths.update_success = Authentication setting has been updated successfully.
auths.update = Update Authorization Setting auths.update = Update Authentication Setting
auths.delete = Delete This Authorization auths.delete = Delete This Authentication
auths.delete_auth_title = Authorization Deletion auths.delete_auth_title = Authentication Deletion
auths.delete_auth_desc = This authorization is going to be deleted, do you want to continue? auths.delete_auth_desc = This authentication is going to be deleted, do you want to continue?
config.server_config = Server Configuration config.server_config = Server Configuration
config.app_name = Application Name config.app_name = Application Name

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save