You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zeripath 1bf7b8d7c1
Fix signing.wont_sign.%!s(<nil>) if Require Signing commits but not signed in (#12581)
signing.wont_sign.%!s(<nil>) will be displayed if the repository needs signed
commits but the user is not logged in.

This is displayed because of complicated logic in the the template repo/issue/view_content/pull.tmpl
and a shortcut in the code of routers/repo/issue.go

This PR adds a default value of notsignedin if users are not signed in, which
although our templates will not show will prevent custom templates from showing
the above.

It also fixes the template to avoid showing signing errors if the user is not
authorized to sign.

Replaces #12564
Close #12564

Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
..
activity.go Add top author stats to activity page (#9615) 5 years ago
attachment.go Add a storage layer for attachments (#11387) 4 years ago
blame.go Ensure BlameReaders close at end of request (#12102) 4 years ago
branch.go Handle more pathological branch and tag names (#11843) 4 years ago
commit.go Render the git graph on the server (#12333) 4 years ago
compare.go Fix typos (#12542) 4 years ago
download.go Add a storage layer for attachments (#11387) 4 years ago
editor.go Fix numbr of files, total additions, and deletions (#11614) 4 years ago
editor_test.go Add Close() method to gogitRepository (#8901) 5 years ago
http.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
issue.go Fix signing.wont_sign.%!s(<nil>) if Require Signing commits but not signed in (#12581) 4 years ago
issue_dependency.go Fix wrong permissions check when issues/prs shared operations (#9885) 5 years ago
issue_label.go Move jquery-minicolors to npm/webpack (#12305) 4 years ago
issue_label_test.go fix go vet error (#3740) 6 years ago
issue_lock.go Implement "conversation lock" for issue comments (#5073) 5 years ago
issue_stopwatch.go Automatically clear stopwatch on merging a PR (#4327) 5 years ago
issue_timetrack.go [API] Extend times API (#9200) 5 years ago
issue_watch.go Fix PR/issue redirects when having external tracker (#9339) 5 years ago
lfs.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
middlewares.go Add gitea-vet (#10948) 4 years ago
milestone.go Kanban board (#8346) 4 years ago
projects.go Hide 'New Project board' button for users that are not signed in (#12547) 4 years ago
pull.go Add a storage layer for attachments (#11387) 4 years ago
pull_review.go Add a way to mark Conversation (code comment) resolved (#11037) 4 years ago
release.go Add a storage layer for attachments (#11387) 4 years ago
release_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo.go Global default branch setting (#11918) 4 years ago
search.go Add detected file language to code search (#10256) 4 years ago
setting.go Kanban board (#8346) 4 years ago
setting_protected_branch.go Prevent merge of outdated PRs on protected branches (#11012) 4 years ago
settings_test.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
topic.go Add API endpoint for accessing repo topics (#7963) 5 years ago
view.go Server-side syntax highlighting for all code (#12047) 4 years ago
webhook.go Don't use legacy method to send Matrix Webhook (#12348) 4 years ago
wiki.go Allow different HardBreaks settings for documents and comments (#11515) 4 years ago
wiki_test.go Fix wiki raw view on sub path (#10002) 4 years ago