Commit Graph

24 Commits

Author SHA1 Message Date
Jan Provaznik 8a5ad3ca00 Fix project team members count
In Rails 5 `project.team.members` returns a CollectionProxy instead of
array, which causes that `.flatten` fails. Although we could update the
call to get distinct count directly with sql query, in this case it's
better to re-use the list of members which is being loaded anyway.
2018-05-29 11:34:24 +02:00
Mario de la Ossa 5c2078838b
Backport of 4084-epics-username-autocomplete 2018-05-04 11:33:09 -06:00
Dmitriy Zaporozhets 2c55fd0019 Add GFM support to nested groups
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-02-13 22:30:10 +02:00
hogewest c1d235418f Fix broken url on group avatar 2017-01-06 05:18:29 +09:00
Nur Rony eaef94533d shows user avatar in mention autocomplete in editor
adds entry in CHANGELOG

no uninitialized variable and unnecessary if statement

formatting issue in CHANGELOG

resolves scss lint warings

cleanup: unnecessary css classes

adds css class that cleaned up by mistake

replaces snake_case variables name with camelCase

removes unnecessary css class and adds white color border for avatar

moves changelog entry from 8.13 to 8.14

remove bottom margin from avatar-inline

resolves lint warnings

rebased and moves changelog entry to 8.14

fixes avatar shifting on hover

adds entry at top of 8.14 section in CHANGELOG.md

calls sanitization for gl.utils

syncing changelog with master and created changelog files using cli

changes changelog title
2016-11-16 00:03:24 +06:00
Douwe Maan 5a07b760df Refactor slash command definition 2016-08-12 20:17:18 -05:00
Rémy Coutable f393f2dde0
Simplify the slash commands DSL to store action blocks instead of creating methods
Other improvements:
- Ensure slash commands autocomplete doesn't break when noteable_type is not given
- Slash commands: improve autocomplete behavior and /due command
- We don't display slash commands for note edit forms.
- Add tests for reply by email with slash commands
- Be sure to execute slash commands after the note creation in Notes::CreateService

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13 00:36:47 +02:00
Alfredo Sumaran a96dc94428 Memoize target 2016-04-16 07:21:28 -04:00
Alfredo Sumaran 1eeabdc6a5 Change variable name 2016-04-16 07:21:28 -04:00
Alfredo Sumaran 05628e0c2f Fixes failing spec 2016-04-16 07:21:28 -04:00
Alfredo Sumaran ad48ecacae Update method name and remove unneeded params 2016-04-16 07:21:28 -04:00
Alfredo Sumaran 562c9652d6 Put owner and participating people first 2016-04-16 07:21:28 -04:00
Douwe Maan 4ae67fcaef Show warning when a comment will add 10 or more people to the discussion. 2015-06-05 12:07:13 +02:00
Douwe Maan 27af24c1c9 No longer needed to pass project argument to commit methods. 2015-04-24 12:29:36 +02:00
Douwe Maan 8ed7ac9d44 Use project.commit convenience method. 2015-04-24 12:29:36 +02:00
Douwe Maan 630e879066 Clean up code somewhat. 2015-04-17 11:03:33 +02:00
Douwe Maan 959ebbcade Clean up code around commit mentions. 2015-04-15 17:57:31 +02:00
Douwe Maan c5d7660000 Fix errors. 2015-04-02 22:36:54 +02:00
Douwe Maan e62b5a2b07 Only allow user to see participants from groups they have access to. 2015-04-02 10:57:01 +02:00
Douwe Maan 31fc73f0a9 Use `project_member` instead of `team_member`. 2015-03-15 13:50:38 +01:00
Douwe Maan a672b46883 Include number of affected people in all/group mention autocomplete item. 2015-02-25 17:34:01 +01:00
Douwe Maan 9910b7ff99 Allow groups to be mentioned.
Resolves #1673.
2015-02-05 19:10:52 +01:00
Dmitriy Zaporozhets 647ff6240e Rubocop: Style/ElseAlignment enabled 2015-02-02 21:38:50 -08:00
Marin Jankovski 4c575b72d5 Move checking of recepients to a service. 2014-06-23 15:44:49 +02:00