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.
wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf d4e35b9dc6
Hide 'New Project board' button for users that are not signed in (#12547)
* hide: 'New Project board' button

* there is no reason to show the button for users that are not signed in

* update template: specifies the condition together with another one

as per lafriks' suggestion in the comment

* chore: add proper user authorization check

* chore: also hide button if repo is archived

* chore: show project board edit/delete menu to authorized users only

* chore: drop the redundant IsSigned check

* CanWriteIssues and CanWritePulls implies (and requires) signed in user

* Add CanWriteProjects and properly assert permissions

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
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 Add a storage layer for attachments (#11387) 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