Robert Schilling
62b6963255
Expose user location in API
2016-04-06 15:53:17 +02:00
Robert Schilling
7f287c9136
API: Ability to retrieve a single tag
2016-04-06 13:59:50 +02:00
Douwe Maan
df725aec98
Merge branch 'add-ability-to-archive-a-project-via-api-14296' into 'master'
...
Add endpoints for archiving and unarchiving
Closes #14296
See merge request !3372
2016-04-03 13:19:25 +00:00
Robert Speicher
5627542fd4
Merge branch 'routing' into 'master'
...
Added & use Gitlab::Routing for URL helpers
Extracted from !3389
See merge request !3486
2016-04-01 16:51:20 +00:00
Yorick Peterse
84b0ab7766
Added & use Gitlab::Routing for URL helpers
...
Rails' "url_helpers" method creates an anonymous Module (which a bunch
of methods) on every call. By caching the output of this method in a
dedicated method we can shave off about 10 seconds of loading time for
an issue with around 200 comments.
2016-04-01 11:13:48 +02:00
connorshea
85cc172959
Remove "Congratulations!" tweet button on newly-created project.
...
I’ve removed everything related to the feature based on this commit:
ce08f919f34fd8849834365
Resolves #10857 .
2016-03-31 17:09:36 -06:00
Robert Speicher
999ae7f76b
Merge branch 'mariusz_jachimowicz/gitlab-ce-i_14415_expose_label_description' into 'master'
...
api - expose label description
Resolves #14415
See merge request !3314
2016-03-29 16:21:16 -04:00
Zeger-Jan van de Weg
b231742687
Merge branch 'master' into add-ability-to-archive-a-project-via-api-14296
2016-03-29 16:14:59 +02:00
Zeger-Jan van de Weg
473b261261
Back dating of issues when creating throught the API
2016-03-28 16:45:36 +02:00
Mariusz Jachimowicz
c8be7f1cf0
api - expose label description
2016-03-24 18:44:52 +00:00
Zeger-Jan van de Weg
3549d7c1d4
PUT becomes POST on archiving endpoints
...
Also the specs have a minor improvement. Mainly the access right spec.
Changes are reflected in the docs
2016-03-24 18:58:42 +01:00
Zeger-Jan van de Weg
2c5bcf2e1b
Add endpoints for archiving and unarchiving
2016-03-23 22:36:35 +01:00
Douwe Maan
ae7b2ef62c
Merge branch 'master' into issue_12658
...
# Conflicts:
# app/models/issue.rb
# app/views/projects/_home_panel.html.haml
# app/views/shared/projects/_project.html.haml
# db/schema.rb
# spec/models/project_spec.rb
2016-03-21 23:22:21 +01:00
Zeger-Jan van de Weg
3b088fc5b5
Minor improvements on IssuableActions
2016-03-21 16:59:35 +01:00
Douwe Maan
8db1292139
Tweaks, refactoring, and specs
2016-03-20 21:04:07 +01:00
Douwe Maan
2eb19ea3ea
Merge branch 'master' into issue_12658
2016-03-20 14:57:25 +01:00
Zeger-Jan van de Weg
1d77822816
minor improvements and fixed specs
2016-03-19 21:24:05 +01:00
Zeger-Jan van de Weg
7342a4566c
Dry destroy action on issuables
2016-03-19 21:24:05 +01:00
Zeger-Jan van de Weg
212e83bab3
Soft delete issuables
2016-03-19 21:23:03 +01:00
Zeger-Jan van de Weg and Felipe Artur
b959ae553b
Improve group visibility level feature
2016-03-18 16:58:04 -03:00
Douglas Barbosa Alexandre
e4f1c001e6
Restrict access to confidential issues through API
2016-03-17 20:55:59 -03:00
Achilleas Pipinellis
956e914307
Add missing API docs on external user
...
[ci skip]
2016-03-17 12:21:12 +02:00
Zeger-Jan van de Weg
51300d9b2a
API support for setting External flag on existing users
2016-03-17 09:36:00 +01:00
Felipe Artur
44c127447b
Merge 4009-external-users into issue_12658
2016-03-16 20:16:42 -03:00
Zeger-Jan van de Weg
59064aeeef
Merge branch 'master' into 4009-external-users
2016-03-15 19:16:16 +01:00
Zeger-Jan van de Weg
aaf4434b0e
Doc external users feature
2016-03-15 18:50:58 +01:00
Robert Speicher
c4b35a6230
Merge branch 'fix-commit-status-rendering' into 'master'
...
Cleanup Ci::Commit, Ci::Build and CommitStatus views
This MR tries to do first sweep of cleanups to Ci::Commit and
Ci::Build objects removing all view-related functions and fixing the
API from other side.
Fixes: https://gitlab.com/gitlab-org/gitlab-ce/issues/6046
See merge request !2760
2016-03-15 00:51:43 +00:00
Zeger-Jan van de Weg
88f8d3a4d6
Merge branch 'master' into 4009-external-users
2016-03-14 20:08:02 +01:00
Dmitriy Zaporozhets
d324bf8434
Merge branch 'share-project-ce' into 'master'
...
Bring from EE: Share Project with Group
- [x] Models and migrations
- [x] Logic, UI
- [x] Tests
- [x] Documentation
- [x] Share with group lock
- [x] Api feature
- [x] Api docs
- [x] Api tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
For #12831
cc @DouweM @rspeicher @vsizov
See merge request !3186
2016-03-14 16:38:52 +00:00
Kamil Trzcinski
0672258915
Cleanup CiCommit and CiBuild
...
- Remove all view related methods from Ci::Build and CommitStatus
- Remove unused Ci::Commit and Ci::Build methods
- Use polymorphism to render different types of CommitStatus
2016-03-14 13:20:35 +01:00
Zeger-Jan van de Weg
42fcd3881f
External Users
...
The user has the rights of a public user execpt it can never create a project,
group, or team. Also it cant view internal projects.
2016-03-13 19:08:04 +01:00
Dmitriy Zaporozhets
e8b3b92dde
Bring share project with group API from EE
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2016-03-13 11:52:43 +01:00
Felipe Artur
c3e70280df
Prevent projects to have higher visibility than groups
...
Prevent Groups to have smaller visibility than projects
Add default_group_visibility_level to configuration
Code improvements
2016-03-10 10:38:36 -03:00
Robert Speicher
befa7a9c17
Don't remove ProjectSnippet#expires_at from API
...
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3103
This partially reverts commit 836d593033 .
2016-03-09 16:56:42 -05:00
Dmitriy Zaporozhets
bc14d81af0
Merge branch 'rs-snippets-dont-expire' into 'master'
...
Remove `Snippet#expires_at`
This was removed from the interface in
https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation
lingered around for two years.
See merge request !3103
2016-03-09 09:02:17 +00:00
Robert Speicher
836d593033
Remove Snippet#expires_at
...
This was removed from the interface in
https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation
lingered around for two years.
2016-03-05 18:12:17 -05:00
evuez and Rémy Coutable
b0d24ab1b5
Add fields to GET /users/* API endpoints for admins
...
Added fields are last_sign_in_at and confirmed_at.
They are available for GET /users/ and GET /users/:id for admins.
Closes #840
2016-03-04 11:59:43 +01:00
Jacob Vosmaer
1764e1b7cb
Use Gitlab::Git::DiffCollections
2016-03-03 18:38:44 +01:00
Douwe Maan
9b3c1a8c4f
Merge branch 'fix/commit-status-api-improvement' into 'master'
...
Return empty array when commit has no statuses in API
This makes API endpoint for Commit Statuses return empty array instead
of 404 when commit exists, but has no statuses.
Closes #3080
See merge request !3010
2016-03-01 16:50:23 +00:00
Grzegorz Bizon
85a461e096
Check if commit exists first in commit status API
2016-03-01 11:11:50 +01:00
Grzegorz Bizon
dcc67ac1fd
Return empty array when commit has no statuses in API
...
This makes API endpoint for Commit Statuses return empty array instead
of 404 when commit exists, but has no statuses.
Closes #3080
2016-02-29 13:54:33 +01:00
James Lopez
c401e8338b
updated internal.rb and spec based on MR feedback
2016-02-26 10:40:30 +01:00
James Lopez
d377948931
fix for projects ending in .wiki
2016-02-24 15:54:36 +01:00
Kamil Trzcinski
46fd485c58
Fix API implementation
2016-02-19 18:30:43 +01:00
Kamil Trzcinski
921cfb66e6
Introduce API for serving the artifacts archive
2016-02-19 18:30:13 +01:00
Grzegorz Bizon
73c9d80bdc
Record user that erased a build through API
2016-02-19 17:24:59 +01:00
Grzegorz Bizon
7d5a182624
Use POST method instead of DELETE when erasing a build
...
Discussion:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2560#note_3742042
2016-02-19 17:24:59 +01:00
Grzegorz Bizon
287cc838ce
Fix build api specs after rebase
2016-02-19 17:24:59 +01:00
Grzegorz Bizon
293999cabb
Fix name of build erasable, remove superfluous method from it
2016-02-19 17:24:59 +01:00
Grzegorz Bizon and Grzegorz Bizon
13f92521c2
Move build eraseable API to proper API context
2016-02-19 17:24:59 +01:00