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
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).
2016-06-15Fixed issue with move dropdown not being searchablePhil Hughes
Closes #18634
2016-05-25Updated RubyPhil Hughes
2016-05-20Correctly sends project IDPhil Hughes
2016-05-16Loads move issue dropdown asyncPhil Hughes
Closes #16563
2016-04-15Merge branch 'master' into assign-to-issuable-openerZeger-Jan van de Weg
2016-03-29Merge branch 'master' into assign-to-issuable-openerZeger-Jan van de Weg
2016-03-20Use the configured Kaminari "per page" defaultRobert Speicher
2016-02-22Revert authors ability to assign anyoneZeger-Jan van de Weg
2016-02-22Fix loading data when no author_id is passedZeger-Jan van de Weg
2016-02-22Issuable can be assigned to authorZeger-Jan van de Weg
Closes #9014 The only difference with #9014 is that I thoughed the author should also be able to assign the issue. If this is unwanted behavior Ill revert it.
2015-11-22Update autocomplete_controller to be more readableFelipe Orlando
2015-11-20Reduce method complexity in AutocompleteControllerDouwe Maan
2015-09-16Sorted autocomplete users list by nameAllister Antosik
2015-08-21Fix bug preventing invite by e-mailStan Hu
This was broken in 70f5291808 as a result of introducing the ability to filter by current user. Closes #2320
2015-08-06Always add current user to autocomplete controller to support filter by "Me"Stan Hu
Partial fix #2202
2015-07-11Better handle unknown projects and groups for autocompleteStan Hu
2015-07-11Fix user autocomplete for unauthenticated users accessing public projectsStan Hu
Closes #1955
2015-03-27Add autocomplete controllerDmitriy Zaporozhets