Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-20 | Add latest changes from gitlab-org/gitlab@16-1-stable-eev16.1.0-rc42 | GitLab Bot | |
2023-02-20 | Add latest changes from gitlab-org/gitlab@15-9-stable-eev15.9.0-rc42 | GitLab Bot | |
2023-01-18 | Add latest changes from gitlab-org/gitlab@15-8-stable-eev15.8.0-rc42 | GitLab Bot | |
2022-10-20 | Add latest changes from gitlab-org/gitlab@15-5-stable-eev15.5.0-rc42 | GitLab Bot | |
2022-08-18 | Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.0-rc42 | GitLab Bot | |
2022-07-27 | Add latest changes from gitlab-org/security/gitlab@15-2-stable-ee | GitLab Bot | |
2022-06-20 | Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42 | GitLab Bot | |
2022-05-19 | Add latest changes from gitlab-org/gitlab@15-0-stable-eev15.0.0-rc42 | GitLab Bot | |
2022-04-20 | Add latest changes from gitlab-org/gitlab@14-10-stable-eev14.10.0-rc42 | GitLab Bot | |
2022-03-18 | Add latest changes from gitlab-org/gitlab@14-9-stable-eev14.9.0-rc42 | GitLab Bot | |
2022-01-20 | Add latest changes from gitlab-org/gitlab@14-7-stable-eev14.7.0-rc42 | GitLab Bot | |
2021-12-20 | Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.0-rc42 | GitLab Bot | |
2021-11-18 | Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42 | GitLab Bot | |
2021-05-19 | Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42 | GitLab Bot | |
2021-02-18 | Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42 | GitLab Bot | |
2020-11-19 | Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42 | GitLab Bot | |
2020-10-21 | Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42 | GitLab Bot | |
2020-07-20 | Add latest changes from gitlab-org/gitlab@13-2-stable-ee | GitLab Bot | |
2019-12-14 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-11-30 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-09-13 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-08-21 | Renaming AwardedEmojiFinder to a Service | Luke 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-01 | Add can_merge option to autocomplete response | Igor | |
It's used only if merge_request_iid param is provided | |||
2019-03-09 | Filter merge requests by target branch | Hiroyuki Sato | |
2018-10-18 | Make getting a user by the username case insensitive | William George | |
2018-09-19 | Enable frozen string in app/controllers/**/*.rb | gfyoung | |
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-20 | Refactor AutocompleteController | Yorick 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-20 | Use UserSerializer instead of `User.to_json` | Robert Speicher | |
2017-11-16 | Adds Rubocop rule for line break after guard clause | Jacopo | |
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses. | |||
2017-09-10 | move `find_users` method into finder and add `load_group` method | Maxim Rydkin | |
2017-09-10 | rename yet_another_users_finder into autocomplete_users_finder | Maxim Rydkin | |
2017-09-10 | extract finder and add first test | Maxim Rydkin | |
2017-09-04 | Move "Move to different project" to sidebar | Eric Eastwood | |
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/34261 | |||
2017-08-30 | Fix MySQL failure for emoji autocomplete | Sean McGivern | |
Postgres lets you treat `count` as another alias for `COUNT(*)` apparently, even if that's not the actual alias used. | |||
2017-08-30 | Add filter by my reaction | Hiroyuki Sato | |
2017-07-14 | Fixes the user order being overriden in the autocomplete controller | Tiago Botelho | |
2017-06-08 | Merge 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-26 | Add per page to user autocomplete | Clement Ho | |
2017-05-10 | Enable the Style/TrailingCommaInLiteral cop | Rémy Coutable | |
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-03-10 | Fix autocomplete in EE when permissions are sent | Sean 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-27 | Don't call `#uniq` on a relation | Sean 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-17 | Shows current user on top of filtered dropdown list | Phil Hughes | |
2016-11-30 | Do not raise error in AutocompleteController#users when not authorized | Semyon Pupkov | |
https://gitlab.com/gitlab-org/gitlab-ce/issues/25031 | |||
2016-11-18 | Improved Ruby code in autocomplete user search | Phil Hughes | |
2016-11-17 | Include author in assignee dropdown search | Phil Hughes | |
When searching for the author in the assignee dropdown it now correctly returns the user Closes #22905 | |||
2016-11-04 | Fix: Todos Filter Shows All Users | Valery Sizov | |
2016-08-17 | Move to project dropdown with infinite scroll for better performance | Paco 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-16 | Fix a missed `before_action` for `AutocompleteController`. | Timothy Andrew | |
- `#find_users` depends on a project being loaded. - Missed adding this in 2193ae222b3337f03c18dd7d27408a1b138c2f92 | |||
2016-08-16 | Backport `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-27 | Allow skipping users in autocomplete | Sean 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). |