summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Added & use Gitlab::Routing for URL helpersroutingYorick Peterse2016-04-011-2/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Remove "Congratulations!" tweet button on newly-created project.connorshea2016-03-311-1/+0
|/ / / | | | | | | | | | | | | | | | | | | I’ve removed everything related to the feature based on this commit: ce08f919f34fd8849834365 Resolves #10857.
* | | Merge branch ↵Robert Speicher2016-03-292-12/+14
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 'mariusz_jachimowicz/gitlab-ce-i_14415_expose_label_description' into 'master' api - expose label description Resolves #14415 See merge request !3314
| * | api - expose label descriptionMariusz Jachimowicz2016-03-242-12/+14
| |/
* | Back dating of issues when creating throught the APIZeger-Jan van de Weg2016-03-281-6/+10
|/
* Merge branch 'master' into issue_12658Douwe Maan2016-03-213-5/+18
|\ | | | | | | | | | | | | | | | | # 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
| * Minor improvements on IssuableActionsZeger-Jan van de Weg2016-03-212-10/+4
| |
| * minor improvements and fixed specsZeger-Jan van de Weg2016-03-193-6/+5
| |
| * Dry destroy action on issuablesZeger-Jan van de Weg2016-03-191-2/+3
| |
| * Soft delete issuablesZeger-Jan van de Weg2016-03-192-2/+21
| |
* | Tweaks, refactoring, and specsDouwe Maan2016-03-201-1/+1
| |
* | Merge branch 'master' into issue_12658Douwe Maan2016-03-202-3/+5
|\ \ | |/
| * Restrict access to confidential issues through APIDouglas Barbosa Alexandre2016-03-171-1/+2
| |
| * Add missing API docs on external userAchilleas Pipinellis2016-03-171-2/+2
| | | | | | | | [ci skip]
| * API support for setting External flag on existing usersZeger-Jan van de Weg2016-03-171-1/+2
| |
* | Improve group visibility level featureZeger-Jan van de Weg2016-03-181-1/+1
| |
* | Merge 4009-external-users into issue_12658Felipe Artur2016-03-163-9/+38
|\ \ | |/
| * Merge branch 'master' into 4009-external-users4009-external-usersZeger-Jan van de Weg2016-03-151-7/+0
| |\
| | * Merge branch 'fix-commit-status-rendering' into 'master' Robert Speicher2016-03-151-7/+0
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | * Cleanup CiCommit and CiBuildKamil Trzcinski2016-03-141-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | - 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
| * | | Doc external users featureZeger-Jan van de Weg2016-03-151-0/+1
| | | |
| * | | Merge branch 'master' into 4009-external-usersZeger-Jan van de Weg2016-03-142-0/+34
| |\ \ \ | | |/ /
| | * | Merge branch 'share-project-ce' into 'master' Dmitriy Zaporozhets2016-03-142-0/+31
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | * | Bring share project with group API from EEshare-project-ceDmitriy Zaporozhets2016-03-132-0/+31
| | | |/ | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| | * | Don't remove `ProjectSnippet#expires_at` from APIrs-snippet-expires-apiRobert Speicher2016-03-091-0/+3
| | |/ | | | | | | | | | | | | | | | See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3103 This partially reverts commit 836d5930332797192094ce4a3c8083e96f7e8c53.
| * | External UsersZeger-Jan van de Weg2016-03-131-2/+3
| |/ | | | | | | | | 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.
* | Prevent projects to have higher visibility than groupsFelipe Artur2016-03-101-0/+1
|/ | | | | | Prevent Groups to have smaller visibility than projects Add default_group_visibility_level to configuration Code improvements
* Merge branch 'rs-snippets-dont-expire' into 'master' Dmitriy Zaporozhets2016-03-091-1/+1
|\ | | | | | | | | | | | | | | | | 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
| * Remove `Snippet#expires_at`rs-snippets-dont-expireRobert Speicher2016-03-051-1/+1
| | | | | | | | | | | | This was removed from the interface in https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation lingered around for two years.
* | Add fields to GET /users/* API endpoints for adminsevuez/gitlab-ce-add-info-user-apievuez2016-03-041-0/+2
|/ | | | | | | Added fields are last_sign_in_at and confirmed_at. They are available for GET /users/ and GET /users/:id for admins. Closes #840
* Use Gitlab::Git::DiffCollectionsJacob Vosmaer2016-03-032-6/+6
|
* Merge branch 'fix/commit-status-api-improvement' into 'master' Douwe Maan2016-03-011-4/+6
|\ | | | | | | | | | | | | | | | | | | 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
| * Check if commit exists first in commit status APIGrzegorz Bizon2016-03-011-1/+1
| |
| * Return empty array when commit has no statuses in APIGrzegorz Bizon2016-02-291-4/+6
| | | | | | | | | | | | | | This makes API endpoint for Commit Statuses return empty array instead of 404 when commit exists, but has no statuses. Closes #3080
* | updated internal.rb and spec based on MR feedbackJames Lopez2016-02-261-3/+3
| |
* | fix for projects ending in .wikiJames Lopez2016-02-241-1/+8
|/
* Fix API implementationKamil Trzcinski2016-02-192-4/+2
|
* Introduce API for serving the artifacts archiveKamil Trzcinski2016-02-192-0/+31
|
* Record user that erased a build through APIGrzegorz Bizon2016-02-191-1/+1
|
* Use POST method instead of DELETE when erasing a buildGrzegorz Bizon2016-02-191-3/+3
| | | | | Discussion: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2560#note_3742042
* Fix build api specs after rebaseGrzegorz Bizon2016-02-191-1/+1
|
* Fix name of build erasable, remove superfluous method from itGrzegorz Bizon2016-02-191-1/+1
|
* Move build eraseable API to proper API contextGrzegorz Bizon2016-02-191-1/+21
|
* Rename Entities::ForkedFromProject to Entities::BasicProjectDetailsTomasz Maczukin2016-02-191-3/+3
|
* Change `last_contact` to `contacted_at`Tomasz Maczukin2016-02-191-1/+1
|
* Replace Entities::RunnerProjectDetails with Entities::ForkedFromProjectTomasz Maczukin2016-02-191-7/+1
|
* iChange `name` and `path` to `name_with_namespace` and `path_with_namespace` ↵Tomasz Maczukin2016-02-191-2/+2
| | | | in `RunnerProjectDetails`
* Move :runner_id param to POST body when enabling specific runner in projectTomasz Maczukin2016-02-191-1/+3
|
* Modify and fix output of delete and update of a runnerTomasz Maczukin2016-02-191-2/+2
|
* Modify runner projects selecting method in runners APITomasz Maczukin2016-02-192-8/+4
|