Commit graph

20 commits

Author SHA1 Message Date
gfyoung
c8755543f0 Enable even more frozen string in lib/**/*.rb
Enables frozen string for the following files:

* lib/generators/**/*.rb
* lib/gitaly/**/*.rb
* lib/google_api/**/*.rb
* lib/haml_lint/**/*.rb
* lib/json_web_token/**/*.rb
* lib/mattermost/**/*.rb
* lib/microsoft_teams/**/*.rb
* lib/object_storage/**/*.rb
* lib/omni_auth/**/*.rb
* lib/peek/**/*.rb
* lib/rouge/**/*.rb
* lib/rspec_flaky/**/*.rb
* lib/system_check/**/*.rb

Partially addresses #47424.
2018-10-08 11:16:49 -07:00
Harrison Healey
f124b6fd11 Updated Mattermost integration to use Mattermost API v4 2018-05-28 09:18:43 -04:00
julien MILLAU
7fcf356053 Add missing delete method in mattermost session 2018-03-08 09:25:10 +00:00
Z.J. van de Weg
d7062dd042
Remove Mattermost team with GitLab group
When destroying a group, now an API call is made to the Mattermost
server to request the deletion of the project. Actual team deletion on
the Mattermost side happens async, so the runtime shouldn't increase by
more than a second.
2017-07-28 09:09:55 +02:00
Zeger-Jan van de Weg
77d0de9102 Merge branch 'master' into 'zj-create-mattermost-team'
# Conflicts:
#   db/schema.rb
2017-03-06 14:04:14 +00:00
Luke "Jared" Bennett
2cc6485518
Improved team selection
Review changes
2017-03-05 21:05:48 +00:00
Z.J. van de Weg
52c4a7866e Improve UX 2017-03-02 10:21:29 +01:00
Z.J. van de Weg
444d71e043 Transactional mattermost team creation
Before this commit, but still on this feature branch, the creation of
mattermost teams where a background job. However, it was decided it was
better that these happened as transaction so feedback could be displayed
to the user.
2017-02-20 13:41:50 +01:00
Z.J. van de Weg
1a0e54b32d Add tests for Mattermost team creation 2017-02-16 09:19:02 +01:00
Z.J. van de Weg
297dc70158 Create MM team for GitLab group 2017-02-16 09:17:40 +01:00
Z.J. van de Weg
f187cc59d6 Small update to the Mattermost API
These changes make it possible to wrap multiple API requests in one
session.
2017-01-24 11:30:47 +01:00
Kamil Trzcinski
841960f847
Fix flow 2016-12-20 00:22:10 +01:00
Kamil Trzcinski
34295036e2
Improve sources
- Add proper error handling,
- Use flash[:alert] and flash[:notice],
- Use `resource` instead of `resources`,
2016-12-19 23:56:21 +01:00
Z.J. van de Weg
921f411a41 Last fixes 2016-12-19 23:50:42 +01:00
Z.J. van de Weg
5d19723006 Merge remote-tracking branch 'origin/zj-mattermost-slash-config' into zj-mattermost-slash-config 2016-12-19 22:07:19 +01:00
Z.J. van de Weg
d21535602b Minor adjustments API Mattermost
[ci skip]
2016-12-19 21:44:15 +01:00
Z.J. van de Weg
6d14a6640f Minor adjustments API Mattermost
[ci skip]
2016-12-19 14:14:09 +01:00
Z.J. van de Weg
7363a7d3b5 Add tests for auto configure slash commands 2016-12-16 15:51:43 +01:00
Z.J. van de Weg
0045996728 Add auto configure of commands 2016-12-16 12:31:51 +01:00
Z.J. van de Weg
87d160634d Base work for auto config MM slash commands 2016-12-16 12:21:09 +01:00