- Sep 13, 2019
-
-
GitLab Bot authored
-
- May 07, 2019
-
-
Removed the conditions added to Project.with_feature_available_for_user, and moved to the IssuableFinder. Now, we ensure that, in the projects retrieved in the Finder, the user has enough access for the feature.
-
- Apr 08, 2019
-
-
Oswaldo Ferreir authored
Backports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10161 (code out of ee/ folder).
-
- Feb 26, 2019
-
-
Kamil Trzcińśki authored
Ability to filter confidential issues Closes #50747 See merge request gitlab-org/gitlab-ce!24960
-
- Feb 25, 2019
-
-
Michael Kozono authored
This reverts commit d133bf84, reversing changes made to 7981c029.
-
- Feb 22, 2019
-
-
Robert Schilling authored
Use internally only boolean params.
-
- Feb 21, 2019
-
-
Robert Schilling authored
-
Robert Schilling authored
Add a new search bar filter for confidential issues. Add filtering support to the IssuesFinder.
-
- Feb 05, 2019
-
-
Hiroyuki Sato authored
-
- Jan 14, 2019
-
-
Hiroyuki Sato authored
-
- Oct 31, 2018
-
-
Douglas Barbosa Alexandre authored
-
- Oct 26, 2018
-
-
Heinrich Lee Yu authored
-
Heinrich Lee Yu authored
-
- Oct 05, 2018
-
-
Sean McGivern authored
We simplify the query generated if the user can see all confidential issues in a project context. This change applies the same simplification to group issue lists.
-
- Sep 11, 2018
-
-
gfyoung authored
Partially addresses #47424.
-
Yorick Peterse authored
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
-
- Jun 06, 2018
-
-
Sean McGivern authored
We had `item_project_ids` to help make slow queries on the dashboard faster, but this isn't necessary any more - the queries are plenty fast, and we forbid searching the dashboard without filters.
-
- May 31, 2018
-
-
- May 21, 2018
-
-
Mark Chao authored
Deprecate corresponding dash versions created-by-me and assigned-to-me
-
- Mar 05, 2018
-
-
Jacopo authored
-
- Feb 21, 2018
-
-
Sean McGivern authored
By extracting a new `filter_items` method, we can override that in the IssuesFinder and MergeRequestsFinder separately, so we don't need checks that the model is the correct one, because we can just use the class we're in to know that. We can do the same for the VALID_PARAMS constant, by making it a class method.
-
- Feb 13, 2018
-
-
Andreas Brandl authored
Rather radical but avoids n+1 queries in the rather common case we want to include information about the author.
-
- Jan 23, 2018
-
-
Jan Provaznik authored
Search query is especially slow if a user searches a generic string which matches many records, in such case search can take tens of seconds or time out. To speed up the search query, we search only for first 1000 records, if there is >1000 matching records we just display "1000+" instead of precise total count supposing that with such amount the exact count is not so important for the user. Because for issues even limited search was not fast enough, 2-phase approach is used for issues: first we use simpler/faster query to get all public issues, if this exceeds the limit, we just return the limit. If the amount of matching results is lower than limit, we re-run more complex search query (which includes also confidential issues). Re-running the complex query should be fast enough in such case because the amount of matching issues is lower than limit. Because exact total_count is now limited, this patch also switches to to "prev/next" pagination. Related #40540
-
- Sep 05, 2017
-
-
Hiroyuki Sato authored
-
- Aug 31, 2017
-
-
Sean McGivern authored
We're going to cache the total open count separately, and then just perform these counts on the list. We already do that to get the pagination information, through Kaminari, and a future change will make Kaminari reuse the query results from earlier in the request.
-
- Jul 19, 2017
-
-
Sean McGivern authored
When an issuable's state changes, or one is created, we should clear the cache counts for a user's assigned issuables, and also the project-wide caches for this user type.
-
Sean McGivern authored
These cache a hash of counts by state, so the state isn't needed in the key itself.
-
- Jun 30, 2017
-
-
Sean McGivern authored
[ci skip]
-
Sean McGivern authored
-
Sean McGivern authored
-
Sean McGivern authored
-
Sean McGivern authored
This runs a slightly slower query to get the issue and MR counts in the navigation, but caches by user type (can see all / none confidential issues) for two minutes.
-
Sean McGivern authored
When we are filtering by a single project, and the current user has access to see confidential issues on that project, we don't need to filter by confidentiality at all - just as if the user were an admin. The filter by confidentiality often picks a non-optimal query plan: for instance, AND-ing the results of all issues in the project (a relatively small set), and all issues in the states requested (a huge set), rather than just starting small and winnowing further.
-
- Jun 23, 2017
-
-
Toon Claes authored
In CE only the admin has access to all private groups & projects. In EE also an auditor can have full private access. To overcome merge conflicts, or accidental incorrect access rights, abstract this out in `User#full_private_access?`. `User#admin?` now only should be used for admin-only features. For private access-related features `User#full_private_access?` should be used. Backported from gitlab-org/gitlab-ee!2199
-
- May 04, 2017
-
-
Valery Sizov authored
-
- Apr 03, 2017
-
-
Joren De Groof authored
The MergeRequestsFinder uses the milestone_title instead of the milestone_id
-
- Mar 06, 2017
-
-
Jarka Kadlecova authored
-
- Feb 17, 2017
-
-
mhasbini authored
-
- Dec 15, 2016
-
-
Sean McGivern authored
Issue#visible_to_user moved to IssuesFinder Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/24637. See merge request !2039
-
- Sep 20, 2016
-
-
barthc authored
-