gitea/templates/repo
John Olheiser e84326aaec Add git hooks and webhooks to template repositories; move to services ()
* Add git hooks and webhooks to template options

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Update models/repo.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Add tooltip if the user can't edit git hooks

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Close repositories after copying git hooks

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Wording

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Restructure for services

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Return errors

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Move GenerateRepository to using a DBContext

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Wrap with models.WithTx

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Remove debug print

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Move if-error-delete-repo outside WithTx

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Return nil if no repo generated

Signed-off-by: jolheiser <john.olheiser@gmail.com>
..
branch Button tooltip formatting under Branches ()
diff Context menus for comments ()
editor Allow committing / adding empty files using the web ui () ()
issue Context menus for comments ()
pulls Refuse merge until all required status checks success ()
release Add extra user information when migrating release ()
settings Show repository size in repo home page and settings ()
wiki wiki - add 'write' 'preview' buttons to wiki edit like in issues ()
activity.tmpl Add additional periods to activity page ()
blame.tmpl keep blame view buttons sequence consistent with normal view when view a file ()
branch_dropdown.tmpl Escape branch name in dropdown menu ()
commit_page.tmpl Sign merges, CRUD, Wiki and Repository initialisation with gpg key ()
commit_status.tmpl UI: Fix overflow issues in repo ()
commits.tmpl Responsive view ()
commits_list.tmpl Fix: remove duplicated signed commit icons ()
commits_table.tmpl Unifies commit list in repository commit table and wiki revision page ()
create.tmpl Add git hooks and webhooks to template repositories; move to services ()
empty.tmpl Feature: Archive repos ()
forks.tmpl always use relative avatar link in the template
graph.tmpl Add pagination to commit graph page ()
header.tmpl Template Repositories ()
home.tmpl Template Repositories ()
migrate.tmpl Improve migrations to support migrating milestones/labels/issues/comments/pullrequests ()
migrating.tmpl [assets] configurable URL for static resources ()
search.tmpl Don't warn users about *every* dirty form ()
sub_menu.tmpl Show repository size in repo home page and settings ()
user_cards.tmpl Unifies pagination template usage () ()
view_file.tmpl Respect LFS File Lock on UI ()
view_list.tmpl Project files table style update ()
watchers.tmpl APIs: Users Followers