mirror of
https://dev.sigpipe.me/dashie/git.txt
synced 2025-10-06 02:12:39 +02:00
Some fixes
This commit is contained in:
2
TODO.org
2
TODO.org
@@ -8,6 +8,8 @@
|
||||
* Ways of improvement
|
||||
** TODO Merge AssignUser and AssignRepository ?
|
||||
** TODO Cleanup gogs imports of unused bits
|
||||
** TODO Can't add files with filename "/some/thing/foo.bar"
|
||||
** TODO Investigate the non-working context.Flash when not using a redirect
|
||||
** DONE Correctly handle filenames with a /, like raw view
|
||||
** DONE strip '/' from filenames
|
||||
** DONE _ shouldn't be stripped from filenames
|
||||
|
@@ -160,6 +160,7 @@ func NewPost(ctx *context.Context, f form.Gitxt) {
|
||||
log.Warn("init_error_add_entry: %s", err)
|
||||
ctx.Data["HasError"] = true
|
||||
ctx.Data["ErrorMsg"] = ctx.Tr("gitxt_git.error_add_entry")
|
||||
ctx.Flash.Error(ctx.Tr("gitxt_git.error_add_entry"), true)
|
||||
ctx.Success(tmplNew)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user