Dmitriy Zaporozhets
3fa2dd1107
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-6-7-rc
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
Gemfile.lock
VERSION
lib/gitlab/git_access.rb
2014-03-21 12:22:43 +02:00
Robert Speicher
1897fb00b8
Make use of project factory traits
2014-03-19 05:15:24 -04:00
Dmitriy Zaporozhets
e502d785f9
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into code-from-ce-6-7
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
VERSION
app/controllers/application_controller.rb
app/models/user.rb
app/views/groups/members.html.haml
app/views/groups/show.html.haml
config/gitlab.yml.example
db/schema.rb
features/steps/project/project_browse_branches.rb
lib/api/projects.rb
lib/gitlab/ldap/access.rb
lib/gitlab/ldap/adapter.rb
lib/gitlab/ldap/person.rb
lib/gitlab/upgrader.rb
2014-03-18 11:15:01 +02:00
Dmitriy Zaporozhets
928b7f3bff
Add tests for API project permissions info
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-17 15:14:27 +02:00
Dmitriy Zaporozhets
7c60713e82
Move project members api to separate file
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-17 13:44:54 +02:00
Greg Messner
f84d846223
Added tests of Create and Update MR description.
2014-03-10 12:39:29 -07:00
Dmitriy Zaporozhets
cf413ffb75
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce_6_6
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
LICENSE
VERSION
db/schema.rb
features/steps/group/group.rb
lib/api/internal.rb
2014-02-19 14:55:07 +02:00
Dmitriy Zaporozhets
6cf39fe10d
Extract commits API to separate file
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-18 12:41:21 +02:00
Dmitriy Zaporozhets
ddbe978041
Complete api files CRUD
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-18 12:27:02 +02:00
Dmitriy Zaporozhets
903726c846
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into upstream-ce
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
Gemfile
VERSION
app/models/group.rb
app/views/groups/edit.html.haml
db/schema.rb
doc/install/installation.md
doc/update/5.4-to-6.0.md
2014-02-11 10:15:13 +02:00
Dmitriy Zaporozhets
28e13634dc
Merge branch 'improve/mr_diff'
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
features/steps/project/project_fork.rb
features/steps/project/project_forked_merge_requests.rb
features/steps/project/project_issue_tracker.rb
features/steps/project/project_markdown_render.rb
features/steps/shared/project.rb
2014-01-23 14:38:23 +02:00
Dmitriy Zaporozhets
cee68dec8a
Fix api merge request specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-01-22 21:59:09 +02:00
Dmitriy Zaporozhets
c227aa44f9
Make changes to tests
...
* project_with_code -> project
* project -> ermpty_project
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-01-22 21:03:52 +02:00
Dmitriy Zaporozhets
2df9a76042
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into 6_5_ce
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
VERSION
app/assets/stylesheets/generic/common.scss
app/views/projects/edit.html.haml
config.ru
db/schema.rb
doc/install/installation.md
doc/update/6.0-to-6.1.md
doc/update/6.1-to-6.2.md
lib/gitlab/upgrader.rb
2014-01-21 18:15:49 +02:00
skv
a3f645ef51
Remove deprecated finders
2014-01-19 23:39:56 +04:00
Jason Hollingsworth
7cc2520541
Add support for various archive formats.
...
Used mime-types gem instead of hardcoding content types.
Allow multiple extensions in archive route (.tar.gz, .tar.bz2).
Change content disposition from infile(?) to attachment for api.
Fixed api would return “archive” instead of {project}-{hash}.{ext}
2014-01-02 10:18:56 -06:00
Thom Gerdes
27912f9c21
Add api support for raw blob search
...
See issue
http://feedback.gitlab.com/forums/176466-general/suggestions/4566001-expose-raw-object-search-via-the-gitlab-api
2013-12-26 08:54:13 -05: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
Steven Thonus
37383966ef
Archiving old projects; archived projects aren't shown on dashboard
...
features for archive projects
abilities for archived project
other abilities for archive projects
only limit commits and merges for archived projects
ability changed to prohibited actions on archived projects
added spec and feature tests for archive projects
changed search bar not to include archived projects
2013-12-16 14:39:14 +01:00
skv
d89527839e
fix most of warnings
2013-12-15 00:05:10 +04:00
Dmitriy Zaporozhets
21f4e5d3ac
ProjectHook API supports new event fields
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-04 13:37:39 +02:00
Dmitriy Zaporozhets
822dac87ec
Extract tests for project hooks API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-04 13:37:39 +02:00
Dmitriy Zaporozhets
4e77b0b52d
Merge branch '6-3-stable' of dev.gitlab.org:gitlab/gitlabhq into release/6-3
...
Conflicts:
Gemfile.lock
VERSION
app/assets/javascripts/api.js.coffee
app/models/user.rb
app/views/help/index.html.haml
doc/install/installation.md
doc/update/5.4-to-6.0.md
doc/update/6.0-to-6.1.md
doc/update/6.1-to-6.2.md
lib/api/api.rb
lib/api/entities.rb
lib/gitlab/ldap/user.rb
lib/tasks/gitlab/check.rake
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-29 10:01:43 +02:00
Jason Hollingsworth
d9bb4230cc
Adding authenticated public mode (internal).
...
Added visibility_level icons to project view (rather than just text).
Added public projects to search results.
Added ability to restrict visibility levels standard users can set.
2013-11-26 22:22:07 -06:00
Dmitriy Zaporozhets
02d8c00323
Fix session spec because of password length
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-25 22:33:04 +02:00
Dmitriy Zaporozhets
3bab1bd4c1
Improve consistency: use file_path for API create/update/delete files
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-20 10:03:50 +02:00
Dmitriy Zaporozhets
a185cce5d3
Tests for delete file by API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-19 16:36:11 +02:00
Dmitriy Zaporozhets
ba169cc52d
API: projects/all tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-18 16:42:56 +02:00
Dmitriy Zaporozhets
9340d4887f
Namespaces api specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-15 15:29:53 +02:00
Dmitriy Zaporozhets
c77d957b36
API: Edit file in repository
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-11 14:58:06 +02:00
Dmitriy Zaporozhets
e8bb32e623
Specs for Create file API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-07 18:53:35 +02:00
Dmitriy Zaporozhets
cfa15d0846
Remove default_branch support from API project creation
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-06 19:14:11 +02: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
d636ad49bf
API: set gitlab-ci service for project
2013-10-29 16:39:46 +02:00
Angus MacArthur
aefe2e952f
Fixing unsafe use of Thread.current variable :current_user
2013-10-16 01:20:53 -04:00
Dmitriy Zaporozhets
12800e5445
Extend API Issues, MergeRequets, Milestones with iid field
2013-10-14 16:39:54 +03:00
Izaak Alpert
72bf6a47e0
Remove file compairson
...
Change-Id: Id2cae87c8cd383bc6cbcbdecf0f77c161bb82eab
2013-10-10 09:19:28 -04:00
Izaak Alpert
7cad12f77f
Added more tests for archive api
...
Change-Id: I2b0752bc2593a944d42dde0ffe0ef9ce408228a5
2013-10-10 09:19:28 -04:00
Izaak Alpert
ce21d8688d
feature API call to download repo archive
...
defaults to HEAD
Conflicts:
spec/requests/api/repositories_spec.rb
Change-Id: Id114aca6c59d75f18e49bf9f33809a04e010bfb6
2013-10-10 09:19:28 -04:00
Dmitriy Zaporozhets
4416be54a9
API: specs for remove project
2013-10-09 14:41:54 +03:00
Dmitriy Zaporozhets
1a18e778f5
Remove group api specs
2013-10-07 13:18:37 +03:00
Dmitriy Zaporozhets
1eba936681
New API: share project with group
...
Share project with group using API.
You must be a master or owner of project in order to do it.
POST /projects/:id/share
Parameters:
id (required) - The ID of a project
group_id (required) - The ID of a group
group_access (required) - Level of permissions for sharing
2013-10-03 10:15:50 +03:00
Dmitriy Zaporozhets
8744b88d53
LDAP groups api
2013-10-01 10:58:20 +03:00
Dmitriy Zaporozhets
51f9c05fb7
Fix Api session spec
2013-09-30 09:55:48 +03:00
Dmitriy Zaporozhets
836104b41a
Merge pull request #5213 from bladealslayer/feature/user_api_extended
...
Extended User API to expose admin and can_create_group for user creation...
2013-09-29 23:03:46 -07:00
Boyan Tabakov
5b657a65d4
Added test cases to verify admin status of users created via API.
2013-09-29 19:55:09 +03:00
Dmitriy Zaporozhets
726fa6c76a
Respect authorization in Repository API
...
* dont allow protect/unprotect branches for users without master permissions
* dont allow access to Repository api for guests
2013-09-29 16:04:57 +03:00
Boyan Tabakov
479631aafc
Extended User API to expose admin and can_create_group for user creation/updating.
...
Also, is_admin and can_create_group are exposed in the user information.
Fixed attributes_for_keys to process properly keys with boolean values (since false.present? is false).
2013-09-29 11:47:29 +03:00
Dmitriy Zaporozhets
0a2a34a4d1
Ignore owner_id for Group in tests
2013-09-26 14:52:17 +03:00