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.
forgejo/modules
Brad Albright 887a8fe242 Allow cross-repository dependencies on issues (#7901)
* in progress changes for #7405, added ability to add cross-repo dependencies

* removed unused repolink var

* fixed query that was breaking ci tests; fixed check in issue dependency add so that the id of the issue and dependency is checked rather than the indexes

* reverted removal of string in local files becasue these are done via crowdin, not updated manually

* removed 'Select("issue.*")' from getBlockedByDependencies and getBlockingDependencies based on comments in PR review

* changed getBlockedByDependencies and getBlockingDependencies to use a more xorm-like query, also updated the sidebar as a result

* simplified the getBlockingDependencies and getBlockedByDependencies methods; changed the sidebar to show the dependencies in a different format where you can see the name of the repository

* made some changes to the issue view in the dependencies (issue name on top, repo full name on separate line). Change view of issue in the dependency search results (also showing the full repo name on separate line)

* replace call to FindUserAccessibleRepoIDs with SearchRepositoryByName. The former was hardcoded to use isPrivate = false on the repo search, but this code needed it to be true. The SearchRepositoryByName method is used more in the code including on the user's dashboard

* some more tweaks to the layout of the issues when showing dependencies and in the search box when you add new dependencies

* added Name to the RepositoryMeta struct

* updated swagger doc

* fixed total count for link header on SearchIssues

* fixed indentation

* fixed aligment of remove icon on dependencies in issue sidebar

* removed unnecessary nil check (unnecessary because issue.loadRepo is called prior to this block)

* reverting .css change, somehow missed or forgot that less is used

* updated less file and generated css; updated sidebar template with styles to line up delete and issue index

* added ordering to the blocked by/depends on queries

* fixed sorting in issue dependency search and the depends on/blocks views to show issues from the current repo first, then by created date descending; added a "all cross repository dependencies" setting to allow this feature to be turned off, if turned off, the issue dependency search will work the way it did before (restricted to the current repository)

* re-applied my swagger changes after merge

* fixed split string condition in issue search

* changed ALLOW_CROSS_REPOSITORY_DEPENDENCIES description to sound more global than just the issue dependency search; returning 400 in the cross repo issue search api method if not enabled; fixed bug where the issue count did not respect the state parameter

* when adding a dependency to an issue, added a check to make sure the issue and dependency are in the same repo if cross repo dependencies is not enabled

* updated sortIssuesSession call in PullRequests, another commit moved this method from pull.go to pull_list.go so I had to re-apply my change here

* fixed incorrect setting of user id parameter in search repos call
5 years ago
..
auth Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
avatar Improve handling of non-square avatars (#7025) 5 years ago
base Use gitea forked macaron (#7933) 5 years ago
cache Use gitea forked macaron (#7933) 5 years ago
charset Reduce test sensibility (#8393) 5 years ago
context Use AppSubUrl for more redirections (#8647) 5 years ago
cron Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 5 years ago
generate Integrate OAuth2 Provider (#5378) 5 years ago
git Add basic repository lfs management (#7199) 5 years ago
graceful Graceful fixes (#8645) 5 years ago
gzip Use gitea forked macaron (#7933) 5 years ago
highlight Add a lot of extension to language mappings for syntax highlights (#7741) 5 years ago
httplib Add golangci (#6418) 5 years ago
indexer Allow cross-repository dependencies on issues (#7901) 5 years ago
lfs Add basic repository lfs management (#7199) 5 years ago
log Fix data race (#8204) 5 years ago
markup Rewrite markdown rendering to blackfriday v2 and rewrite orgmode rendering to go-org (#8560) 5 years ago
metrics Prometheus endpoint (#5256) 6 years ago
migrations Fix bug on pull requests when transfer head repository (#8564) 5 years ago
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 7 years ago
notification Move webhook codes from service to webhook notification (#8712) 5 years ago
options Use gitea forked macaron (#7933) 5 years ago
password Fix password complexity regex for special characters (on master) (#8525) 5 years ago
pprof Add golangci (#6418) 5 years ago
private Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
process Restore functionality for early gits (#7775) 5 years ago
public Use gitea forked macaron (#7933) 5 years ago
recaptcha Allow Recaptcha service url to be configured (#6820) 5 years ago
references Configurable close and reopen keywords for PRs (#8120) 5 years ago
repofiles Add basic repository lfs management (#7199) 5 years ago
search Global code search support (#3664) 6 years ago
secret Integrate OAuth2 Provider (#5378) 5 years ago
session Use gitea forked macaron (#7933) 5 years ago
setting Allow cross-repository dependencies on issues (#7901) 5 years ago
ssh Restore Graceful Restarting & Socket Activation (#7274) 5 years ago
structs Allow cross-repository dependencies on issues (#7901) 5 years ago
sync Use gitea forked macaron (#7933) 5 years ago
task Move migrating repository from frontend to backend (#6200) 5 years ago
templates [assets] configurable URL for static resources (#7911) 5 years ago
test Use gitea forked macaron (#7933) 5 years ago
timeutil Use gitea forked macaron (#7933) 5 years ago
upload Fix upload file type check (#7890) 5 years ago
user Add golangci (#6418) 5 years ago
util Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 5 years ago
validation Implement webhook branch filter (#7791) 5 years ago