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
2019-11-29Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-06Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-11Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-17Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-02Tidy up conditional messagecharlieablett
2019-09-02Handle projectless `help` commands to chatopscharlieablett
- Pass in a nil project to Gitlab::SlashCommands::ApplicationHelp.new if the chatops command is help. - Modify the Gitlab::SlashCommands::Presenters::Help message to skip printing out project information.
2019-09-01Merge branch 'improve-chatops-help' into 'master'Nick Thomas
Improve chatops help output See merge request gitlab-org/gitlab-ce!32208
2019-08-29Add a close issue slack slash commandSarah Yasonik
Adds a slash command in slach for closing issues. See https://docs.gitlab.com/ee/integration/slash_commands.html for documentation on the wider feature set.
2019-08-29Improve chatops help outputYorick Peterse
This improves the output produced when running an unknown command, running the "help" command, and when trying to run a command you are not allowed to run. The new help output includes links to the project of the chatops integration, and a link to the chatops documentation.
2019-05-05Run rubocop -a on CE filesStan Hu
2019-02-21Move ChatOps to CoreJames Fargher
ChatOps used to be in the Ultimate tier.
2018-11-20Enable even more frozen string for lib/gitlabgfyoung
Enables frozen string for the following: * lib/gitlab/patch/**/*.rb * lib/gitlab/popen/**/*.rb * lib/gitlab/profiler/**/*.rb * lib/gitlab/project_authorizations/**/*.rb * lib/gitlab/prometheus/**/*.rb * lib/gitlab/query_limiting/**/*.rb * lib/gitlab/quick_actions/**/*.rb * lib/gitlab/redis/**/*.rb * lib/gitlab/request_profiler/**/*.rb * lib/gitlab/search/**/*.rb * lib/gitlab/sherlock/**/*.rb * lib/gitlab/sidekiq_middleware/**/*.rb * lib/gitlab/slash_commands/**/*.rb * lib/gitlab/sql/**/*.rb * lib/gitlab/template/**/*.rb * lib/gitlab/testing/**/*.rb * lib/gitlab/utils/**/*.rb * lib/gitlab/webpack/**/*.rb Partially addresses gitlab-org/gitlab-ce#47424.
2018-11-01Fix typos in comments and specsGeorge Tsiolis
2018-09-11Disable existing offenses for the CodeReuse copsYorick Peterse
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
2018-06-27Correct "autorize" typosRobert Speicher
2018-06-04Backport EE SlashCommand RefactorMark Chao
2018-03-15Add slash command for moving an issueSean McGivern
Carried over from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8857
2018-03-08[CE] Add Naming/FileName rule checking expected class/module per filenameGabriel Mazetto
2018-03-07Use Project#full_name instead of name_with_namespaceDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-02-23Expose ChatName objects to slash commandsYorick Peterse
Instead of only exposing a User to slash commands we now also expose the ChatName object that the User object is retrieved from. This is necessary for GitLab Chatops as we need for example the user ID of the chat user.
2017-11-17Use StrongMemoize and enable/disable cops properlyLin Jen-Shin
2017-09-18Allow simple ivar ||= form. Update accordinglyLin Jen-Shin
2017-09-18Add cop to make sure we don't use ivar in a moduleLin Jen-Shin
2017-08-15Enable Layout/TrailingWhitespace cop and auto-correct offensesRobert Speicher
2017-07-28Improve wording related to deploy chatops commandGrzegorz Bizon
2017-07-28Improve deploy environment chatops slash commandGrzegorz Bizon
We now match deployment actions better. If there is more than one deployment action matched, we check if there is an action which name equals to environment name, instead of raising an error about too many actions defined.
2017-07-24Support both internal and external issue trackersJarka Kadlecova
2017-07-07Include new URL helpers retroactively into includers of Gitlab::RoutingDouwe Maan
2017-06-15Rename "Slash commands" to "Quick actions"Eric Eastwood
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27070 Deprecate "chat commands" in favor of "slash commands" We looked for things like: - `slash commmand` - `slash_command` - `slash-command` - `SlashCommand`
2017-06-07Backport Fix '/unassign' slash commandValery Sizov
2017-05-04Display slash commands outcome when previewing MarkdownRares Sfirlogea
Remove slash commands from Markdown preview and display their outcome next to the text field. Introduce new "explanation" block to our slash commands DSL. Introduce optional "parse_params" block to slash commands DSL that allows to process a parameter before it is passed to "explanation" or "command" blocks. Pass path for previewing Markdown as "data" attribute instead of setting a variable on "window".
2017-02-17Allow slashes in slash command argumentsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-18Fix behavior around commands with optional argumentsDouwe Maan
2016-08-18Address feedbackDouwe Maan
2016-08-18Fix specs and implement fixes based on failing specsDouwe Maan
2016-08-17Fixed specs and fixes based on failing specsDouwe Maan
2016-08-13Refactor slash command definitionDouwe Maan
2016-08-13Simplify the slash commands DSL to store action blocks instead of creating ↵Rémy Coutable
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-13Accept blocks for `.desc` and `.condition` slash commands DSLRémy Coutable
Also, pass options as instance variables, making the DSL more user-friendly / natural. Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13Make slash commands contextualRémy Coutable
- Return only slash commands that make sense for the current noteable - Allow slash commands decription to be dynamic Other improvements: - Add permission checks in slash commands definition - Use IssuesFinder and MergeRequestsFinder - Use next if instead of a unless block, and use splat operator instead of flatten Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13Add support for no-op slash commands that appear in autocompleteRémy Coutable
The first one is /cc Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13Don't extract slash commands inside blockcode, blockquote or HTML tagsRémy Coutable
Improve slash command descriptions, support /due tomorrow Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13Support slash commands in noteable description and notesRémy Coutable
Some important things to note: - commands are removed from noteable.description / note.note - commands are translated to params so that they are treated as normal params in noteable Creation services - the logic is not in the models but in the Creation services, which is the right place for advanced logic that has nothing to do with what models should be responsible of! - UI/JS needs to be updated to handle notes which consist of commands only - the `/merge` command is not handled yet Other improvements: - Don't process commands in commit notes and display a flash is note is only commands - Add autocomplete for slash commands - Add description and params to slash command DSL methods - Ensure replying by email with a commands-only note works - Use :subscription_event instead of calling noteable.subscribe - Support :todo_event in IssuableBaseService Signed-off-by: Rémy Coutable <remy@rymai.me>