Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 18:56:11 +01:00
forgejo/templates
Brad Albright 82be59e633
issue search on my related repositories (#9758)
* adding search capability to user's issues dashboard

* global issue search

* placement of search bar on issues dashboard

* fixed some bugs in the issue dashboard search

* added unit test because IssueIDs option was added to UserIssueStatsOptions

* some renaming of fields in the issue dashboard code to be more clear; also trying to fix issue of searching the right repos based on the filter

* added unit test fro GetRepoIDsForIssuesOptions; fixed search lost on pagination; using shown issue status for open/close count; removed some debugging

* fix issue with all count showing incorrectly

* removed todo comment left in by mistake

* typo pulling wrong count

* fxied all count being off when selecting repositories

* setting the opts.IsClosed after pulling repos to search, this is done so that the list of repo ids to serach for the keyword is not limited, we need to get all the issue ids for the shown issue stats

* added "accessibleRepositoryCondition" check on the query to pull the repo ids to search for issues, this is an added protection to ensure we don't search repos the user does not have access to

* added code so that in the issues search, we won't use an in clause of issues ids that goes over 1000

* fixed unit test

* using 950 as the limit for issue search, removed unneeded group by in GetRepoIDsForIssuesOptions, showing search on pulls dashboard page too (not just issues)

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-02-29 03:52:05 -03:00
..
admin Fix admin notices (#10480) 2020-02-26 10:25:54 -06:00
base head.tmpl og:image picture location (#10531) 2020-02-28 19:30:23 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Fixed wrong AppSubUrl in multiple templates (#10447) 2020-02-25 09:58:37 -06:00
mail Style blockquote for default issue mail template (#10024) 2020-01-27 22:35:34 +00:00
org Org action fixes and form cleanup (#10512) 2020-02-27 16:00:13 -06:00
pwa move vue and vue-calendar-heatmap to webpack (#10188) 2020-02-23 21:34:28 +00:00
repo Set correct content_type value for Gogs/Gitea webhooks (#9504) (#10456) 2020-02-28 14:33:52 +00:00
status Improve 404 error message (#10214) 2020-02-10 21:23:35 +02:00
swagger adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437) 2020-02-29 03:19:32 -03:00
user issue search on my related repositories (#9758) 2020-02-29 03:52:05 -03:00
home.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
install.tmpl Add support for database schema in PostgreSQL (#8819) 2020-01-20 16:45:14 +01:00