Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-20Add latest changes from gitlab-org/gitlab@16-1-stable-eev16.1.0-rc42GitLab Bot
2023-02-20Add latest changes from gitlab-org/gitlab@15-9-stable-eev15.9.0-rc42GitLab Bot
2023-01-18Add latest changes from gitlab-org/gitlab@15-8-stable-eev15.8.0-rc42GitLab Bot
2022-10-20Add latest changes from gitlab-org/gitlab@15-5-stable-eev15.5.0-rc42GitLab Bot
2022-08-18Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.0-rc42GitLab Bot
2022-07-27Add latest changes from gitlab-org/security/gitlab@15-2-stable-eeGitLab Bot
2022-06-20Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42GitLab Bot
2022-05-19Add latest changes from gitlab-org/gitlab@15-0-stable-eev15.0.0-rc42GitLab Bot
2022-04-20Add latest changes from gitlab-org/gitlab@14-10-stable-eev14.10.0-rc42GitLab Bot
2022-03-18Add latest changes from gitlab-org/gitlab@14-9-stable-eev14.9.0-rc42GitLab Bot
2022-01-20Add latest changes from gitlab-org/gitlab@14-7-stable-eev14.7.0-rc42GitLab Bot
2021-12-20Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.0-rc42GitLab Bot
2021-11-18Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42GitLab Bot
2021-05-19Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot
2021-02-18Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab Bot
2020-11-19Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot
2020-10-21Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2019-12-14Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-30Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-08-21Renaming AwardedEmojiFinder to a ServiceLuke Duncalfe
This finder class acts more as a service, as it only returns mapped data. Renaming this class allows us to create a new AwardEmojiFinder without the ambiguity of there being two similarly-named finders. https://gitlab.com/gitlab-org/gitlab-ce/issues/63372
2019-08-01Add can_merge option to autocomplete responseIgor
It's used only if merge_request_iid param is provided
2019-03-09Filter merge requests by target branchHiroyuki Sato
2018-10-18Make getting a user by the username case insensitiveWilliam George
2018-09-19Enable frozen string in app/controllers/**/*.rbgfyoung
Enables frozen string for the following: * app/controllers/*.rb * app/controllers/admin/**/*.rb * app/controllers/boards/**/*.rb * app/controllers/ci/**/*.rb * app/controllers/concerns/**/*.rb Partially addresses #47424.
2018-08-20Refactor AutocompleteControllerYorick Peterse
This refactors the AutocompleteController according to the guidelines and boundaries discussed in https://gitlab.com/gitlab-org/gitlab-ce/issues/49653. Specifically, ActiveRecord logic is moved to different finders, which are then used in the controller. View logic in turn is moved to presenters, instead of directly using ActiveRecord's "to_json" method. The finder MoveToProjectFinder is also adjusted according to the abstraction guidelines and boundaries, resulting in a much more simple finder. By using finders (and other abstractions) more actively, we can push a lot of logic out of the controller. We also remove the need for various "before_action" hooks, though this could be achieved without using finders as well. The various finders related to AutcompleteController have also been moved into a namespace. This removes the need for calling everything "AutocompleteSmurfFinder", instead you can use "Autocomplete::SmurfFinder".
2017-12-20Use UserSerializer instead of `User.to_json`Robert Speicher
2017-11-16Adds Rubocop rule for line break after guard clauseJacopo
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-09-10move `find_users` method into finder and add `load_group` methodMaxim Rydkin
2017-09-10rename yet_another_users_finder into autocomplete_users_finderMaxim Rydkin
2017-09-10extract finder and add first testMaxim Rydkin
2017-09-04Move "Move to different project" to sidebarEric Eastwood
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/34261
2017-08-30Fix MySQL failure for emoji autocompleteSean McGivern
Postgres lets you treat `count` as another alias for `COUNT(*)` apparently, even if that's not the actual alias used.
2017-08-30Add filter by my reactionHiroyuki Sato
2017-07-14Fixes the user order being overriden in the autocomplete controllerTiago Botelho
2017-06-08Merge branch 'dz-restrict-autocomplete' into 'security-9-1'DJ Mountney
Allow users autocomplete by author_id only for authenticated users See merge request !2100
2017-05-26Add per page to user autocompleteClement Ho
2017-05-10Enable the Style/TrailingCommaInLiteral copRémy Coutable
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-10Fix autocomplete in EE when permissions are sentSean McGivern
In EE, `@users` can be an array at the point where we remove the current user, because it can do a permissions check on the users for project mirroring. Fix this in CE by only using array methods, not AR methods. We can't use `delete` because that uses `Object#equal?`, which isn't true in this case.
2017-01-27Don't call `#uniq` on a relationSean McGivern
When there was no project, no search, and no current user or author param, the AutocompleteController would call `#uniq!` on a relation instead of an array. This performed the less-efficient `SELECT DISTINCT` when it wasn't even needed (because the query wouldn't return duplicates anyway - duplicates were only added by putting a user on top of the list).
2017-01-17Shows current user on top of filtered dropdown listPhil Hughes
2016-11-30Do not raise error in AutocompleteController#users when not authorizedSemyon Pupkov
https://gitlab.com/gitlab-org/gitlab-ce/issues/25031
2016-11-18Improved Ruby code in autocomplete user searchPhil Hughes
2016-11-17Include author in assignee dropdown searchPhil Hughes
When searching for the author in the assignee dropdown it now correctly returns the user Closes #22905
2016-11-04Fix: Todos Filter Shows All UsersValery Sizov
2016-08-17Move to project dropdown with infinite scroll for better performancePaco Guzman
Use just SQL to check is a user can admin_issue on a project Tradeoff - we duplicate how we check admin_issue in a SQL relation in the Ability class
2016-08-16Fix a missed `before_action` for `AutocompleteController`.Timothy Andrew
- `#find_users` depends on a project being loaded. - Missed adding this in 2193ae222b3337f03c18dd7d27408a1b138c2f92
2016-08-16Backport `AutocompleteController#load_project` from EE!581.Timothy Andrew
- This is an optimization that was made in !581, and it needs to be backported to CE to avoid merge conflicts in the future.
2016-07-27Allow skipping users in autocompleteSean McGivern
Pass an array of user IDs in the `skip_users` param to have them excluded from the results (unless they are explicitly included through the `current_user` or `author_id` params).