forgejo/modules/structs
John Olheiser 74a6add4d9 Template Repositories (#8768)
* Start work on templates

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

* Continue work

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

* Fix IsTemplate vs IsGenerated

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

* Fix tabs vs spaces

* Tabs vs Spaces

* Add templates to API & start adding tests

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

* Fix integration tests

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

* Remove unused User

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

* Move template tests to existing repos

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

* Minor re-check updates and cleanup

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

* make fmt

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

* Test cleanup

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

* Fix optionalbool

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

* make fmt

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

* Test fixes and icon change

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

* Add new user and repo for tests

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

* Fix tests (finally)

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

* Update meta repo with env variables

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

* Move generation to create page

Combine with repo create template
Modify API search to prioritize owner for repo

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

* Fix tests and coverage

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

* Fix swagger and JS lint

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

* Fix API searching for own private repos

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

* Change wording

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

* Fix repo search test. User had a private repo that didn't show up

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

* Another search test fix

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

* Clarify git content

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

* Feedback updates

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

* Add topics WIP

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

* Finish adding topics

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

* Update locale

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2019-11-11 23:15:29 +08:00
..
admin_user.go
attachment.go Revert "make modules/structs as a spereate go mod (#7127)" (#7175) 2019-06-10 15:55:58 -04:00
doc.go
fork.go
git_blob.go
git_hook.go
hook.go Improve webhooks (#8583) 2019-10-18 23:42:04 +01:00
issue.go Fix API deadline removal (#8759) 2019-11-03 22:46:32 +08:00
issue_comment.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
issue_label.go Add missing description of label on API (#7159) 2019-06-16 20:39:52 +08:00
issue_milestone.go
issue_tracked_time.go
lfs_lock.go
miscellaneous.go API method to list all commits of a repository (#6408) 2019-08-26 16:09:10 +02:00
org.go Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
org_member.go
org_team.go Add team option to grant rights for all organization repositories (#8688) 2019-11-06 11:37:14 +02:00
org_type.go Fixes #7023 - API Org Visibility (#7028) 2019-05-30 13:57:55 -04:00
pull.go Fix API deadline removal (#8759) 2019-11-03 22:46:32 +08:00
release.go
repo.go Template Repositories (#8768) 2019-11-11 23:15:29 +08:00
repo_branch.go
repo_collaborator.go
repo_commit.go
repo_file.go Be more strict with git arguments (#7715) 2019-08-05 21:39:39 +01:00
repo_key.go
repo_refs.go
repo_tag.go Fixes #2738 - Adds the /git/tags API endpoint (#7138) 2019-06-08 17:31:11 +03:00
repo_topic.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
repo_tree.go
repo_watch.go
status.go
task.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
user.go Add LastLogin to the User API (#7196) 2019-06-15 23:28:32 -04:00
user_app.go
user_email.go
user_gpgkey.go
user_key.go
utils.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00