Dmitriy Zaporozhets
80e30a9262
Add system note when user approves merge request
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-12 16:18:40 +02:00
Dmitriy Zaporozhets
f840903112
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/helpers/tab_helper.rb
app/models/merge_request.rb
app/views/layouts/nav/_project_settings.html.haml
app/views/projects/merge_requests/show/_mr_accept.html.haml
doc/api/groups.md
2015-06-12 11:16:28 +02:00
Dmitriy Zaporozhets
946b4ceda3
Improve variables in mr widget
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-11 18:45:12 +02:00
Dmitriy Zaporozhets
8893ac4ba4
Fix rubocop
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-11 18:35:43 +02:00
Dmitriy Zaporozhets
00600a592b
Extract merge request widget JS to separate class
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-11 18:27:03 +02:00
Dmitriy Zaporozhets
d2d8037b1a
Refactor merge request widget step 2
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-11 15:14:50 +02:00
Dmitriy Zaporozhets
747f66559e
Merge branch 'mr-approves'
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
db/schema.rb
2015-06-10 16:51:07 +02:00
Dmitriy Zaporozhets
15b17b3f6a
Implement approve button
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-09 16:12:52 +02:00
Nicolas
ebe4963871
Move Project Members link from Settings to main menu.
...
Addresses #2278 .
2015-06-09 14:45:38 +02:00
Douwe Maan
844cca4a1e
Add Git hook to validate maximum file size.
2015-06-09 10:23:38 +02:00
Dmitriy Zaporozhets
a83d0034e3
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/services/files/base_service.rb
app/services/files/create_service.rb
app/services/files/delete_service.rb
app/services/files/update_service.rb
doc/workflow/README.md
2015-06-08 18:24:34 +02:00
Dmitriy Zaporozhets
dfccb06dda
Refactor web editor
...
* fix problem with editing non-master branch
* before commit make sure branch exists
* dont allow user change file in one branch and commit to another existing branch
* remove a lot of code duplication
* remove outdated statellite errors
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-05 15:01:38 +02:00
Dmitriy Zaporozhets
935fc796d1
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
VERSION
app/controllers/admin/application_settings_controller.rb
app/controllers/omniauth_callbacks_controller.rb
app/controllers/projects/project_members_controller.rb
app/helpers/application_settings_helper.rb
app/models/user.rb
app/services/files/base_service.rb
app/views/profiles/accounts/show.html.haml
db/schema.rb
doc/install/installation.md
doc/update/6.x-or-7.x-to-7.11.md
doc/workflow/README.md
lib/gitlab/markdown/external_issue_reference_filter.rb
lib/gitlab/reference_extractor.rb
lib/gitlab/upgrader.rb
2015-06-05 11:40:36 +02:00
Robert Speicher
6e5473f930
Remove show actions from Admin and Project DeployKeys
2015-06-03 18:03:04 -04:00
Dmitriy Zaporozhets
2afa5fcb52
Add ability to leave project
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-05-29 16:23:36 +02:00
Robert Speicher
f46b367068
Add MergeRequests#commits action and route
...
/:namespace_id/:project_id/merge_requests/:id/commits(.:format)
2015-05-29 00:09:28 -04:00
Stan Hu
deeff56967
Add support for Webhook note events
...
Closes https://github.com/gitlabhq/gitlabhq/issues/6745
2015-05-21 23:48:16 -04:00
Nikita Verkhovin
241f5971ba
Add search issues/MR by number
2015-05-18 13:09:13 +06:00
Dmitriy Zaporozhets
b2d45bb544
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Conflicts:
app/controllers/uploads_controller.rb
app/helpers/application_helper.rb
app/models/note.rb
app/services/test_hook_service.rb
db/schema.rb
spec/models/note_spec.rb
2015-05-13 14:10:14 +03:00
Douwe Maan
8f75ab21d0
Link Commits tab to current branch from Compare page.
2015-05-09 22:25:52 +02:00
Douwe Maan
68ac20604b
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ce-to-ee
...
# Conflicts:
# app/controllers/groups/application_controller.rb
# app/services/test_hook_service.rb
# app/views/admin/groups/show.html.haml
# app/views/groups/_settings_nav.html.haml
# app/views/groups/show.html.haml
# app/views/layouts/_head.html.haml
# app/views/projects/_settings_nav.html.haml
# db/schema.rb
# features/project/project.feature
# features/steps/project/project.rb
2015-05-05 10:18:27 +02:00
Douwe Maan
e9e79fdfdf
Merge branch 'fix-escaped-branches-in-compare' into 'master'
...
Unescape branch names in compare commit
The upgrade in GitLab v7.9 to Rails v4.1.9 caused all branch names in the compare commit mode to be escaped (e.g. `/` to `%2F`). The compare mode would not always work when comparing against branch names with a forward slash.
Opted to unescape the branch name rather than use a wildcard segment to prevent escaping slashes because it seems like a more sensible URL. The slashes in this case aren't really represented by a tree structure (e.g. /compare/one/two/branch..another/branch/here).
* Closes #1399
* Closes https://github.com/gitlabhq/gitlabhq/issues/9105
See merge request !582
2015-05-04 06:58:56 +00:00
Stan Hu
ee92dd1683
Unescape branch names in compare commit
...
Closes #1399
Closes https://github.com/gitlabhq/gitlabhq/issues/9105
2015-04-30 12:44:46 -07:00
Douwe Maan
26ad250989
Add a page title to every page.
2015-04-30 19:12:15 +02:00
Douwe Maan
7e0eb486ed
Don't allow a merge request to be merged when its title starts with "WIP".
2015-04-30 15:46:36 +02:00
Chulki Lee
57c724558d
Add api version property on hipchat service
2015-04-27 21:14:04 +09:00
Dmitriy Zaporozhets
2e243fc321
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
README.md
VERSION
app/controllers/projects/services_controller.rb
app/controllers/projects/uploads_controller.rb
app/services/test_hook_service.rb
db/schema.rb
features/steps/admin/settings.rb
lib/gitlab/reference_extractor.rb
spec/models/note_spec.rb
2015-04-27 11:53:31 +03:00
Dominik Sander
3c3b43b0a0
Add notify and color options to HipchatService
...
When notify is set to true send messages will trigger a notification for
all room members.
Color changes the background color of the message.
2015-04-26 22:00:51 +02:00
Douwe Maan
439b9f50af
Merge branch 'fix-slack-channel-in-admin-settings' into 'master'
...
Fix bug where Slack service channel was not saved in admin template settings
Consolidate allowed parameters in one place to avoid these kinds of bugs in the future.
Closes https://github.com/gitlabhq/gitlabhq/issues/9181
Closes #1501
See merge request !574
2015-04-24 16:32:09 +00:00
Robert Speicher
ea9089647c
Merge branch 'rs-simplify-uploads-controller' into 'master'
...
Simplify the `skip_before_action` logic for UploadsController
See merge request !547
2015-04-24 16:26:32 +00:00
Stan Hu
2f04599751
Fix bug where Slack service channel was not saved in admin template settings.
...
Consolidate allowed parameters in one place to avoid these kinds of bugs in the future.
Closes https://github.com/gitlabhq/gitlabhq/issues/9181
2015-04-24 08:33:24 -07: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
Dmitriy Zaporozhets
9148819323
Rename before_filter to before_action
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-04-24 12:53:33 +03:00
Dmitriy Zaporozhets
f502b293e5
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
db/schema.rb
spec/helpers/gitlab_markdown_helper_spec.rb
2015-04-24 11:22:54 +03:00
Robert Speicher
10053b173d
Simplify the skip_before_filter logic for UploadsController
2015-04-23 13:15:47 -04:00
Dmitriy Zaporozhets
5b10796235
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/models/project.rb
db/schema.rb
2015-04-20 19:19:27 +03:00
Jeroen van Baarsen
5a4ebfb47a
Fixed the Rails/ActionFilter cop
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2015-04-20 15:39:37 +02:00
Dmitriy Zaporozhets
a4006a6b48
Merge branch 'better-commit-mentions' into 'master'
...
Clean up code around commit mentions.
Builds upon !527 .
See merge request !528
2015-04-20 12:42:31 +00:00
Douwe Maan
779f05ef0e
Explain skip_before_filter workaround.
2015-04-17 12:49:20 +02:00
Douwe Maan
305725f8d5
Correctly handle blocked users.
2015-04-17 11:33:53 +02:00
Dmitriy Zaporozhets
1a22f0a2b1
Fix audit logging for project deploy keys
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-04-16 13:58:07 +03:00
Hannes Rosenögger
7bba2a19ab
remove access control for images
...
This commit removes the access control for uploaded images.
This is needed to display the images in emails again.
2015-04-16 12:37:19 +02:00
Dmitriy Zaporozhets
d01d0c02b7
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/controllers/admin/application_settings_controller.rb
app/controllers/groups/group_members_controller.rb
app/controllers/projects/deploy_keys_controller.rb
app/controllers/projects/project_members_controller.rb
app/models/concerns/mentionable.rb
app/models/project.rb
app/models/project_team.rb
app/models/service.rb
app/views/admin/application_settings/_form.html.haml
app/views/admin/groups/show.html.haml
app/views/groups/group_members/_new_group_member.html.haml
config/initializers/1_settings.rb
db/schema.rb
lib/gitlab/reference_extractor.rb
spec/lib/gitlab/reference_extractor_spec.rb
2015-04-15 19:22:57 +03:00
Douwe Maan
959ebbcade
Clean up code around commit mentions.
2015-04-15 17:57:31 +02:00
Douwe Maan
cb5362e7ce
Follow newline guidelines.
2015-04-14 15:16:00 +02:00
Dmitriy Zaporozhets
ef8d96e5de
Merge branch 'ce-to-ee-2' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
LICENSE
app/assets/javascripts/dispatcher.js.coffee
app/controllers/help_controller.rb
app/models/user.rb
app/views/groups/group_members/_new_group_member.html.haml
config/gitlab.yml.example
config/routes.rb
features/groups.feature
features/steps/dashboard/help.rb
2015-04-14 15:08:19 +03:00
Douwe Maan
0013ea5130
Remove duplication between Group and ProjectMember.
2015-04-14 12:41:19 +02:00
Douwe Maan
1b5c483d89
Consistently use "invitation" rather than "invite" in text.
2015-04-14 12:25:16 +02:00
Douwe Maan
453340d449
Let membership invitations be resent.
2015-04-14 12:08:10 +02:00