Valery Sizov
b7cc9bb531
Abiliy to disable 'Share with Group' feature
2015-10-01 09:47:30 +03:00
Dmitriy Zaporozhets
243bf65124
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-08-26 17:15:12 +02:00
Stan Hu
19f478e00d
Fix Error 500 in API when accessing a group that has an avatar
...
Closes #2340
2015-08-24 07:46:06 -07:00
Dmitriy Zaporozhets
0fd7d3ebe0
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-08-10 16:01:53 +02:00
Robert Speicher
fb6dc1f07d
Add Group#add_* convenience methods
...
Encapsulates the logic for `Gitlab::Access::WHATEVER` levels.
2015-08-07 00:20:02 -04:00
Robert Speicher
41e64d3ce1
Fix Rubocop warnings
2015-07-02 11:53:53 -04:00
Dmitriy Zaporozhets
dd32818441
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
VERSION
app/assets/javascripts/project_new.js.coffee
app/helpers/appearances_helper.rb
app/helpers/application_helper.rb
app/helpers/groups_helper.rb
app/helpers/oauth_helper.rb
app/models/user.rb
app/views/admin/application_settings/_form.html.haml
app/views/layouts/nav/_group.html.haml
app/views/layouts/nav/_project_settings.html.haml
app/views/profiles/accounts/show.html.haml
doc/integration/README.md
features/steps/project/merge_requests.rb
features/support/env.rb
spec/controllers/import/github_controller_spec.rb
spec/helpers/oauth_helper_spec.rb
spec/lib/gitlab/ldap/access_spec.rb
spec/lib/gitlab/upgrader_spec.rb
spec/models/project_team_spec.rb
spec/routing/admin_routing_spec.rb
spec/services/git_push_service_spec.rb
spec/services/test_hook_service_spec.rb
2015-07-02 17:07:02 +02:00
Dmitriy Zaporozhets
f40b99d02e
Merge branch 'master' into rubocop-for-tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
spec/features/issues_spec.rb
spec/models/forked_project_link_spec.rb
spec/models/hooks/service_hook_spec.rb
spec/models/hooks/web_hook_spec.rb
spec/models/project_services/hipchat_service_spec.rb
spec/requests/api/project_members_spec.rb
spec/requests/api/projects_spec.rb
spec/requests/api/system_hooks_spec.rb
spec/services/archive_repository_service_spec.rb
spec/support/matchers.rb
spec/tasks/gitlab/backup_rake_spec.rb
2015-06-23 10:44:03 +02:00
Robert Speicher
94eff65569
Fix Style/SpaceInsideHashLiteralBraces cop violations
...
These fixes were performed automatically by Rubocop's `-a` flag.
2015-06-22 14:41:00 -04:00
Robert Speicher and Dmitriy Zaporozhets
5a9ede4721
Update mock and stub syntax for specs
2015-06-22 12:13:46 +02:00
Alex Lossent
61e1ea700a
Add API support for adding and removing LDAP group links
2015-05-26 19:30:48 +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
Robert Schilling and Jakub Jirutka
9769c2d7fd
Fix #6417 : users with group permission should be able to create groups via API
2015-03-31 18:32:24 +02:00
Marin Jankovski
7d9ef1124e
Merge remote-tracking branch 'ce/master' into merge_ce
...
Conflicts:
README.md
app/assets/javascripts/project.js.coffee
app/models/concerns/mentionable.rb
app/models/project.rb
app/models/project_services/jira_service.rb
app/models/service.rb
app/models/user.rb
app/services/git_push_service.rb
config/initializers/1_settings.rb
config/routes.rb
db/schema.rb
doc/integration/README.md
doc/integration/external-issue-tracker.md
doc/integration/github.md
spec/controllers/import/github_controller_spec.rb
spec/helpers/merge_requests_helper.rb
spec/lib/gitlab/upgrader_spec.rb
spec/models/note_spec.rb
spec/requests/api/groups_spec.rb
spec/services/git_push_service_spec.rb
2015-02-16 11:50:30 -08:00
Jeroen van Baarsen
0c4a70a306
Updated rspec to rspec 3.x syntax
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2015-02-12 19:17:35 +01:00
Dmitriy Zaporozhets
9b140b22fb
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-into-ee
...
Conflicts:
Gemfile.lock
app/helpers/tab_helper.rb
config/routes.rb
db/schema.rb
2015-02-04 18:19:22 -08:00
jubianchi
4e97f26649
Acces groups with their path in API
2015-02-03 13:42:38 +01:00
Dmitriy Zaporozhets
3a9682a3d7
Merge dev.gitlab.org:gitlab/gitlabhq into upstream-ce
...
Conflicts:
VERSION
app/helpers/selects_helper.rb
app/models/project.rb
app/views/devise/sessions/new.html.haml
app/views/groups/_settings_nav.html.haml
app/views/layouts/nav/_admin.html.haml
app/views/profiles/keys/_key.html.haml
app/views/profiles/keys/index.html.haml
app/views/profiles/keys/show.html.haml
app/views/projects/merge_requests/show/_mr_accept.html.haml
config/routes.rb
db/schema.rb
doc/api/projects.md
features/steps/shared/paths.rb
2015-01-08 20:37:35 -08:00
Marin Jankovski
8dd672776e
Fix failing tests due to updates on the return messages.
2015-01-07 11:39:20 +01:00
Marin Jankovski
0da5154b5a
Fix api tests.
2014-12-30 15:40:11 +01:00
Valery Sizov
1a97c3c4aa
Merge branch '7-4-stable-ee' into 7-4-stable_non_conflict
...
Conflicts:
CHANGELOG
VERSION
2014-10-29 16:13:36 +02:00
Dmitriy Zaporozhets and Valery Sizov
995d198419
Split group members api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-29 16:00:46 +02:00
Dmitriy Zaporozhets and Valery Sizov
43fba7f0c5
Add failing test that should be green after group members api get fixed
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-29 16:00:38 +02:00
Dmitriy Zaporozhets
f6491508fe
Split group members api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-29 13:31:23 +02:00
Dmitriy Zaporozhets
f3c120d25a
Add failing test that should be green after group members api get fixed
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-28 16:00:03 +02:00
Dmitriy Zaporozhets
a5972170ad
Merge remote-tracking branch 'origin/master' into ee-7-4
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/controllers/projects/team_members_controller.rb
app/finders/projects_finder.rb
app/models/group.rb
app/models/project_team.rb
app/models/users_group.rb
config/gitlab.yml.example
config/initializers/1_settings.rb
config/routes.rb
db/schema.rb
doc/integration/ldap.md
features/steps/group.rb
features/steps/project/project.rb
2014-10-02 13:24:59 +03:00
Dmitriy Zaporozhets
c69b8e0459
Huge replace of old users_project and users_group references
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-14 19:32:51 +03:00
Jan-Willem van der Meer
c982a8f050
Add backwards compatibility for creating groups with a LDAP connection
2014-08-15 18:59:58 +02:00
Jan-Willem van der Meer
1807368cb6
Update api/groups spec
2014-08-15 16:40:17 +02:00
Dmitriy Zaporozhets
b165b097f5
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-7-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
LICENSE
VERSION
app/controllers/omniauth_callbacks_controller.rb
app/helpers/application_helper.rb
app/helpers/merge_requests_helper.rb
app/models/group.rb
app/models/project.rb
app/models/project_team.rb
app/views/admin/groups/edit.html.haml
app/views/groups/_projects.html.haml
app/views/groups/edit.html.haml
db/schema.rb
doc/install/installation.md
doc/integration/README.md
lib/gitlab/git_access.rb
lib/gitlab/markdown.rb
spec/helpers/merge_requests_helper.rb
spec/models/merge_request_spec.rb
2014-06-17 10:53:44 +03:00
Dmitriy Zaporozhets
14f78d067d
Modify specs for new project transfer code
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-28 19:04:18 +03:00
Dmitriy Zaporozhets
c4e713a5b6
Merge remote-tracking branch 'origin/master' into 6-8-ce-to-ee
...
Conflicts:
VERSION
db/schema.rb
doc/install/installation.md
2014-04-22 11:58:11 +02:00
Jeroen van Baarsen
5dd2f36ae1
Added API testing group
2014-04-11 21:45:56 +02:00
Dmitriy Zaporozhets
1f43fa20d3
Merge branch '6-4-stable' of dev.gitlab.org:gitlab/gitlabhq into 6-4-from-ce
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
Gemfile
Gemfile.lock
VERSION
app/controllers/application_controller.rb
db/schema.rb
doc/install/installation.md
doc/update/6.2-to-6.3.md
2013-12-23 12:57:22 +02:00
skv
d89527839e
fix most of warnings
2013-12-15 00:05:10 +04:00
Dmitriy Zaporozhets
c9a2765515
Merge branch '6-2-stable' of dev.gitlab.org:gitlab/gitlabhq into upstream/6-2-stable
...
Conflicts:
VERSION
app/models/group.rb
app/views/groups/edit.html.haml
db/schema.rb
doc/api/groups.md
doc/api/projects.md
doc/install/installation.md
lib/api/projects.rb
spec/requests/api/groups_spec.rb
spec/requests/api/projects_spec.rb
2013-10-31 14:29:48 +02:00
Dmitriy Zaporozhets
23ade0074b
Expose ldap_cn and ldap_access group attributes through API
2013-10-30 15:06:46 +02:00
Dmitriy Zaporozhets
1a18e778f5
Remove group api specs
2013-10-07 13:18:37 +03:00
Dmitriy Zaporozhets
0a2a34a4d1
Ignore owner_id for Group in tests
2013-09-26 14:52:17 +03:00
Izaak Alpert
fadcc25189
Fixes for @randx
...
Change-Id: I3b15ae34c0957a0f4026e1886c92a9770e9d170e
2013-09-05 10:41:57 -04:00
Izaak Alpert
8248e1f2b8
Add group membership api
...
Change-Id: I5b174bba02856ede788dcb51ec9b0d598ea7d0df
2013-09-04 13:17:17 -04:00
Dmitriy Zaporozhets
634cbd7138
Refactor API classes. So api classes like Gitlab::Issues become API::Issues
2013-05-14 15:33:31 +03:00
Andrey Kumanyaev
b1b354b0f8
remove trailing spaces
2013-05-05 18:02:02 +04:00
Andrey Kumanyaev
67ccc8b52a
Replace old hashes with new 1.9 ruby hashes (rebase)
2013-05-05 18:01:10 +04:00
Sebastian Ziebell
3374027e3a
Merge branch 'master' into fixes/api, code clean up and tests fixed
...
Conflicts:
doc/api/projects.md
spec/requests/api/projects_spec.rb
2013-03-07 14:51:56 +01:00
Angus MacArthur and Angus MacArthur
61ffcab60f
Additional Admin APIs
2013-03-05 10:38:43 -05:00
Sebastian Ziebell
873db06255
API: groups documentation updated, functions return different status codes
...
Updates the API documentation of groups with infos to return codes. The function calls
in the groups API have updated documentation and return `400 Bad Request` status code
if a required attribute is missing.
2013-02-27 12:34:45 +01:00
Christian Simon
6dba727cb2
Add test for duplicate group paths
2013-02-01 18:58:53 +01:00
Christian Simon
fc0c692870
Add docs/tests for groups api
2013-02-01 14:59:22 +01:00