Valery Sizov
45ec0d255d
Merge remote-tracking branch 'ee/master' into ce_non_conflict
...
Conflicts:
app/helpers/oauth_helper.rb
app/helpers/projects_helper.rb
2015-02-05 22:01:05 -08:00
Dmitriy Zaporozhets
50e8e5943f
Merge branch 'redirect-sign_up' into 'master'
...
Redirect signup page to signin page.
Resolves #1916 .
See merge request !1468
2015-02-05 16:47:11 +00:00
Douwe Maan
ab22caa97e
Redirect signup page to signin page.
...
Resolves #1916 .
2015-02-05 15:56:28 +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
Dmitriy Zaporozhets
fc13ea7137
Merge pull request #8712 from jvanbaarsen/add-merge-request-files-endpoint
...
Added a way to retrieve MR files
2015-02-04 14:46:54 -08:00
Jeroen van Baarsen
b60d06eb2c
Added a way to retrieve MR files
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2015-02-04 10:24:25 +01:00
jubianchi
4e97f26649
Acces groups with their path in API
2015-02-03 13:42:38 +01:00
Marin Jankovski
3e875b05b4
Merge remote-tracking branch 'ce/master' into merge_ce
...
Conflicts:
Gemfile
Gemfile.lock
app/assets/javascripts/project_new.js.coffee
app/controllers/projects_controller.rb
app/models/group.rb
app/models/project.rb
app/models/project_services/jira_service.rb
app/models/project_team.rb
app/models/user.rb
app/services/files/create_service.rb
app/views/layouts/nav/_admin.html.haml
config/routes.rb
db/schema.rb
spec/models/jira_service_spec.rb
spec/requests/api/projects_spec.rb
2015-01-29 11:34:43 -08:00
Dmitriy Zaporozhets
7155507af5
Merge pull request #8609 from jubianchi/issues/6289-api-handle-error-project-repo
...
Handle errors on API when a project does not have a repository
2015-01-27 12:51:18 -08:00
Dmitriy Zaporozhets
e49b636497
Merge branch 'feature_api_project_edit' into 'master'
...
API: Implement edit via API for projects
I've picked up https://github.com/gitlabhq/gitlabhq/pull/8055 fixed the few hound warnings and replaced all double quotes in the spec file where possible.
# From the original PR:
Implements edit via API for projects. Edit was part of missing features in feature request Full CRUD operations via API for projects.
http://feedback.gitlab.com/forums/176466-general/suggestions/3904506-full-crud-operations-via-api-for-projects
Feature is implemented using existing UpdateService for projects. Permission to change visibility level and name are checked in addition to check for permission to administer project.
Doesn't allow updating project namespace id, because there was existing API-method for transferring project to a group.
Documentation added to doc/api/projects.md. Uses API request PUT /projects/:id .
Tests included for:
1. Success for changing path
2. Success for changing name
3. Success for changing visibility level
4. Success for changing all other attributes
5. Success for changing name & path to existing name & path but in different namespace
6. Failure if not authenticated
7. Failure if path exists in project's namespace
8. Failure if name exists in project's namespace
9. Failure if not sufficient permission to change name
10. Failure if not sufficient permission to change visibility level
11. Failure if not sufficient permission to change other attributes
Allows updating following parameters:
* name
* path
* visibility_level
* public
* default_branch
* issues_enabled
* wiki_enabled
* snippets_enabled
* merge_requests_enabled
* description
See merge request !310
2015-01-22 23:02:50 +00:00
Hannes Rosenögger
47625ab75e
Fix tests and CHANGELOG entry for project edit via API
2015-01-22 17:46:34 +01:00
Mika Mäenpää and Hannes Rosenögger
7dd5656a5b
Implement edit via API for projects
2015-01-22 16:58:01 +01:00
Hannes Rosenögger
e03f1af00a
Fix the test and add documentation for the "per-milestone issues API call"
2015-01-22 12:14:53 +01:00
Justin Whear and Hannes Rosenögger
9d271538a8
Add per-milestone issues API call
2015-01-22 12:08:45 +01:00
jubianchi
39e54e21cb
Handle errors on API when a project does not have a repository ( Closes #6289 )
2015-01-19 14:13:30 +01:00
Valery Sizov
badfdf6634
Merge remote-tracking branch 'ee/master' into ce-non-conflict
...
Conflicts:
app/controllers/projects/merge_requests_controller.rb
app/helpers/projects_helper.rb
db/schema.rb
2015-01-13 18:22:38 -08:00
Marin Jankovski
ef0cf7b42d
Fix the api project ordering spec.
2015-01-12 11:49:07 +01:00
Marin Jankovski
8689ce1efe
Add search filter option on project api for authorized projects.
2015-01-12 11:08:53 +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
Dmitriy Zaporozhets
939c046a98
Fix feature and tests
2015-01-08 13:21:00 -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
Dmitriy Zaporozhets
a9cf84e5ac
Merge pull request #7675 from yglukhov/patch_notes_api
...
Implemented notes (body) patching in API.
2014-12-29 21:06:49 +02:00
Dmitriy Zaporozhets
fd1f54b8ab
Merge branch 'master' into ee-from-ce
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
Gemfile
app/controllers/application_controller.rb
app/views/admin/groups/_form.html.haml
app/views/groups/edit.html.haml
app/views/groups/show.html.haml
app/views/layouts/nav/_admin.html.haml
app/views/projects/_settings_nav.html.haml
db/schema.rb
doc/install/installation.md
doc/update/6.x-or-7.x-to-7.6.md
2014-12-26 15:05:43 +02:00
uran and yglukhov
1fbc010241
Implemented notes (body) patching in API.
2014-12-25 14:28:40 +02:00
Valery Sizov
e41dadcb33
Doorkeeper integration
2014-12-24 15:38:07 +02:00
Dmitriy Zaporozhets
f775809910
Fix test
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-22 19:11:15 +02:00
Marin Jankovski
3257f8fcce
Do not allow adding users via api if member lock is enabled.
2014-12-15 13:25:31 +01:00
Dmitriy Zaporozhets
3bd66989de
Merge branch 'master' into ee-master
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
Gemfile
Gemfile.lock
VERSION
app/models/project.rb
app/models/user.rb
db/schema.rb
doc/install/installation.md
doc/update/6.x-or-7.x-to-7.5.md
doc/update/7.4-to-7.5.md
lib/gitlab/git_access.rb
spec/factories.rb
spec/lib/gitlab/git_access_spec.rb
2014-12-05 13:28:32 +02:00
Valery Sizov
3a5ed5260b
Supporting for multiple omniauth provider for the same user
2014-12-04 13:03:55 +02:00
Dmitriy Zaporozhets
612b8806dd
Fix internal API for missing project or key
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-01 16:55:33 +02:00
Valery Sizov
53bf52f191
Better message for failed pushes because of git hooks
...
Conflicts:
lib/gitlab/git_access.rb
spec/lib/gitlab/git_access_spec.rb
2014-11-18 13:10:07 +02:00
Valery Sizov
3058059c0a
Better message for failed pushes because of git hooks
2014-11-17 12:34:37 +02:00
Valery Sizov
3fcd75a911
Merge CE master into EE master
...
Conflicts:
Gemfile
VERSION
app/assets/javascripts/project.js.coffee
app/assets/javascripts/users_select.js.coffee
app/controllers/projects/services_controller.rb
app/models/project.rb
app/views/groups/edit.html.haml
features/project/service.feature
features/steps/project/services.rb
spec/models/concerns/mentionable_spec.rb
2014-11-13 17:05:12 +02:00
Dmitriy Zaporozhets
940ed58e76
Merge branch 'commit-comments' of https://gitlab.com/jeroenj/gitlab-ce into jeroenj/gitlab-ce-commit-comments
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
2014-11-12 13:19:35 +02:00
Dmitriy Zaporozhets
1dc99b4cbb
Merge pull request #8251 from cirosantilli/factor-regex-message-spec
...
Factor regex error messages with spec API tests
2014-11-12 12:16:59 +02:00
Valery Sizov
3aa59d369e
Merge branch '7-4-stable-ee' into ee_master
...
Conflicts:
CHANGELOG-EE
VERSION
2014-11-11 11:35:18 +02:00
Ciro Santilli
e4a38e4471
Factor using Repository#path_to_repo
2014-11-05 17:51:49 +01:00
Ciro Santilli
98db90c4c9
Factor regex error messages with spec API tests
2014-11-05 15:49:35 +01:00
Marin Jankovski
d59f8abea5
Fix tests after change to regex validation message.
2014-11-05 13:58:51 +01:00
Valeriy Sizov
24276ed836
Merge pull request #8224 from liammonahan/master
...
Expose projects_limit through users API if UserFull.
2014-11-04 17:33:20 +02:00
Marin Jankovski
2ff68bfc23
Create project git hook spec.
2014-11-03 14:45:24 +01:00
Dmitriy Zaporozhets
e1c48f1431
Merge branch 'master' into jastkand/gitlab-ce-fix-api-auth
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
2014-11-03 14:10:53 +02:00
Liam Monahan
2edf212a8b
Expose projects_limit through users API if UserFull.
2014-11-02 18:51:34 -05:00
Dmitriy Zaporozhets
ef9f8677e6
Expose author username in project events API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-31 12:08:45 +02:00
Dmitriy Zaporozhets
aa75a755ee
Merge branch 'api-delete-branch-json' into 'master'
...
Api delete branch json
Fixes gitlab/gitlabhq#1478
See merge request !1233
2014-10-31 09:38:24 +00:00
Andrey Krivko and Dmitriy Zaporozhets
bafd30f92c
Session API: Use case-insensitive authentication like in UI
2014-10-30 18:29:18 +02:00
Dmitriy Zaporozhets
961a6bfcc2
API delete branch: render branch name json instead of true
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-30 17:28:59 +02:00
Dmitriy Zaporozhets
f0dd16d53e
Merge branch 'master' of github.com:gitlabhq/gitlabhq
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
2014-10-30 16:17:36 +02:00
Sean Edge
822d9aa6ba
Create RepoTag Grape entity and present it when doing stuff with tags via API. Update API doc for repositories. Add tag message to tag list page in UI. Update Changelog. Update spec to set .gitconfig identity, required for annotated tags.
2014-10-30 09:48:23 -04:00