summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove the User#is_admin? methodblackst0ne2017-04-091-3/+3
|
* Merge branch 'master' into '18471-restrict-tag-pushes-protected-tags'Kushal Pandya2017-04-061-1/+2
|\ | | | | | | | | # Conflicts: # app/assets/javascripts/dispatcher.js # app/assets/stylesheets/pages/projects.scss
| * Merge branch '22303-symbolic-in-tree' into 'master' Douwe Maan2017-04-031-1/+1
| |\ | | | | | | | | | | | | | | | | | | #22303 fix mode representation git::tree ( in base 8 ) Closes #22303 See merge request !9780
| | * Fix symlink icon in project treemhasbini2017-04-021-1/+1
| | |
| * | Introduce "polling_interval_multiplier" as application settingAdam Niedzielski2017-04-031-0/+1
| |/ | | | | | | | | Implement module for setting "Poll-Interval" response header. Return 429 in ETag caching middleware when polling is disabled.
* | Fixed developers_can_push in RepoBranch API entityJames Edwards-Jones2017-04-041-6/+2
| |
* | Moved Project#protected_branch? to ProtectedBranch, similar for tagsJames Edwards-Jones2017-04-031-1/+1
| |
* | Extract ProtectedRef ConcernJames Edwards-Jones2017-04-031-2/+2
|/
* Send only defined dependenciesTomasz Maczukin2017-03-201-1/+1
| | | | | | | | | | | | | | In APIv1 we've been sending all jobs from previous stages and a `dependencies` list with names of jobs that user want to download artifacts from. This was selected on Runners side. In APIv1 we've planned to send only jobs that were defined (if any; and all previous jobs by default). However I've missed the fact that it was Runner who selected jobs, not GitLab. And now current version of APIV4 sends all jobs everytime. This commit fixes this. If user will define `dependencies` in his job, then GitLab will send only selected jobs.
* Send token of depenent jobTomasz Maczukin2017-03-201-1/+1
| | | | | | | | | | | | Artifacts download for authorization is using a job token of job to which the artifact belongs. In APIv1 the token was sent with dependent jobs details and in APIv4 it was designed to also contain it. However I forgot about this parameter while working on `/api/v4/jobs/request` endpoint. This commit adds a missing parameter which is required for APIv4 to work properly.
* Merge remote-tracking branch ↵Douwe Maan2017-03-071-0/+16
|\ | | | | | | 'origin/personal_access_token_api_and_impersonation_token'
| * applies relevant changes to the code and code structureTiago Botelho2017-02-281-3/+6
| |
| * add impersonation tokenSimon Vocella2017-02-281-0/+1
| |
| * manage personal_access_tokens through apiSimon Vocella2017-02-281-0/+12
| |
* | Merge branch 'feature/runner-jobs-v4-api' into 'master' Kamil Trzciński2017-03-071-0/+78
|\ \ | | | | | | | | | | | | | | | | | | Feature/runner jobs v4 api Closes #28513 See merge request !9273
| * | Update step data namingTomasz Maczukin2017-03-021-1/+1
| | |
| * | Refactor JobRequest response structureTomasz Maczukin2017-03-021-27/+67
| | |
| * | Add jobs requesting APITomasz Maczukin2017-03-021-0/+38
| | |
* | | Narrow environment payload by using basic project details resource28598-narrow-environment-payload-by-using-basic-projectOswaldo Ferreira2017-03-061-1/+1
| | |
* | | Merge branch 'zj-builds-to-jobs-api' into 'master' Kamil Trzciński2017-03-061-10/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Rename builds to jobs in the API Closes #28515 See merge request !9463
| * | | Add changelog entryZ.J. van de Weg2017-03-061-1/+1
| | | | | | | | | | | | | | | | [ci skip]
| * | | Update entities, rename from builds to jobsZ.J. van de Weg2017-03-061-9/+5
| | | | | | | | | | | | | | | | | | | | This commit only renames the commits, the cascading effects will be dealt with later.
| * | | Rename Builds to Jobs in the APIZ.J. van de Weg2017-03-061-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | Fixes gitlab-org/gitlab-ce#28515 [ci skip]
* | | | Remove "subscribed" field from API responses returning list of issues or ↵api-drop-subscribedAdam Niedzielski2017-03-061-8/+14
|/ / / | | | | | | | | | merge requests
* | | Update documentation and expose IDKamil Trzcinski2017-03-051-0/+1
| | |
* | | Introduce tests for pipeline triggersKamil Trzcinski2017-03-051-1/+3
| | |
* | | Update triggers APIKamil Trzcinski2017-03-051-4/+0
| | |
* | | Use string based `visibility` getter & setterToon Claes2017-03-021-4/+2
| | | | | | | | | | | | | | | | | | Add `visibility` & `visibility=` methods to the `Gitlab::VisibilityLevel` module so the `visibility_level` can be get/set with a string value.
* | | Expose ApplicationSetting visibility settings as StringToon Claes2017-03-021-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | Use strings for the ApplicationSetting properties: - restricted_visibility_levels - default_project_visibility - default_snippet_visibility - default_group_visibility
* | | Expose Group VisibilityLevel as StringToon Claes2017-03-021-1/+2
| | | | | | | | | | | | | | | Instead of exposing the VisibilityLevel as Integer, expose it as String `visibility`.
* | | Expose Project's & ProjectSnippet's VisibilityLevel as StringToon Claes2017-03-021-2/+2
|/ / | | | | | | | | | | | | | | | | | | Instead of exposing the VisibilityLevel as Integer, expose it as String `visibility` for Project and ProjectSnippet. Filter queries also accept the `visibility` as String instead of `visibility_level` as Integer. Also remove the `public` boolean.
* | Merge branch 'fix/mwbs-to-mwps' into 'master' Douwe Maan2017-03-011-2/+2
|\ \ | | | | | | | | | | | | | | | | | | Rename MWBS to MWPS Closes #24707 See merge request !9335
| * | Update occurrences of MWBS to MWPSfix/mwbs-to-mwpsJames Lopez2017-03-011-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename column in the database Rename fields related to import/export feature Rename API endpoints Rename documentation links Rename the rest of occurrences in the code Replace the images that contain the words "build succeeds" and docs referencing to them Make sure pipeline is green and nothing is missing. updated doc images renamed only_allow_merge_if_build_succeeds in projects and fixed references more updates fix some spec failures fix rubocop offences fix v3 api spec fix MR specs fixed issues with partials fix MR spec fix alignment add missing v3 to v4 doc wip - refactor v3 endpoints fix specs fix a few typos fix project specs copy entities fully to V3 fix entity error more fixes fix failing specs fixed missing entities in V3 API remove comment updated code based on feedback typo fix spec
* | Merge branch '22951-fix-todos-api-endpoint-error-for-commits' into 'master' Sean McGivern2017-03-011-1/+2
|\ \ | |/ |/| | | | | | | | | Fix todos API endpoint application error Closes #22951 See merge request !9351
| * Add spec for todo with target_type CommitGeorge Andrinopoulos2017-02-211-5/+2
| |
| * Fix todos API endpoint application errorGeorge Andrinopoulos2017-02-171-1/+5
| |
* | Merge branch 'feature/runners-v4-api' into 'master' Kamil Trzciński2017-02-271-0/+4
|\ \ | | | | | | | | | | | | Add Runner registration/deletion API See merge request !9246
| * | Add Runner registration/deletion APITomasz Maczukin2017-02-161-0/+4
| |/
* | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-241-3/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (247 commits) Switched CONTRIBUTING.md style guide recommendation for method chaining Fix new offenses Stylistic tweaks Fix OAuth/SAML user blocking behavior Revert "Enable Style/DotPosition" Revert "Prefer leading style for Style/DotPosition" Revert "Enable Style/BarePercentLiterals" Manually correct autocorrect Move up delegate calls Exclude migrations from Style/MutableConstant ActiveSupport delegation is preferred over Forwardable Update haml_lint to work with newest rubocop Add explanations to cops Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Order cops alphabetically Don’t exclude some file in lib from rubocop Fix new offenses Enable Rails/Delegate Enable Style/WordArray ...
| * | Remove deprecated `upvotes` and `downvotes` from the notes APIRobert Schilling2017-02-221-3/+0
| | |
* | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-211-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (234 commits) Improve performance of User Agent Detail Fix some grammar in the API docs Remove shared example for pagination API: Use POST to (un)block a user API: Moved `DELETE /projects/:id/star` to `POST /projects/:id/unstar` Use grape validation for dates Change wording for LDAP doc that was moved to a new location API: Remove `DELETE projects/:id/deploy_keys/:key_id/disable` Download snippets with LF line-endings by default utilize pre-minified Vue in production since no CJS distribution is available Prevent project team from being truncated too early during project destruction loading icon sometimes toggled alongside MR pipeline contents fix failed spec because haml_lint fix incorrect sidekiq concurrency count in admin background page exclude rpc_pipefs from system disc info Fix wrong line ending [ci-skip] fix overlooked window binding in spec files remove imports loader replace implicit this == window with explicit binding Todo done clicking is kind of unusable. ...
| * | Remove all instances of theme_id; require downtimeAnnabel Dunstone Gray2017-02-151-1/+1
| |/
* | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-161-19/+20
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (37 commits) Show merge errors in merge request widget Clarify that stage is needed to stop environments Fix broken link in university docs allow clicking on text or icon to trigger expand style links on system notes to look clickable Clean up terms used for issues. Use New instead of Add. Fix most of broken docs links Set `Auto-Submitted: auto-generated` header to emails Fix Rubocop offense Fix regression where cmd-click stopped working for todos and merge request tabs Remove changelog entries for 8.16.5 release Merge branch 'fix-github-import-MR-wrong-project' into 'security' Merge branch 'svg-xss-fix' into 'security' Merge branch 'fix-rdoc-xss' into 'security' Merge branch 'asciidoctor-xss-patch' into 'security' Specify that only project owners can transfer a project only load istanbul plugin in development mode Make Karma output look nicer for CI (!9165) Centers loading icon vertically and horizontally in pipelines table in commit view Rename builds to jobs in docs ...
| * Merge branch 'add-missing-api-entities' into 'master'Rémy Coutable2017-02-151-17/+18
| |\ | | | | | | | | | | | | | | | | | | Add missing api entities Closes #23895 See merge request !7138
| | * entities: use the RepoCommit entity for branch commitsBen Boeckel2017-02-141-17/+18
| | | | | | | | | | | | Fixes #23895.
| * | Merge branch 'dz-nested-groups-improvements-3' into 'master' Dmitriy Zaporozhets2017-02-151-1/+1
| |\ \ | | | | | | | | | | | | | | | | Nested groups improvements pt 3 See merge request !9227
| | * | Expose Namespace#full_path in namespaces APIDmitriy Zaporozhets2017-02-141-1/+1
| | |/ | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Make it possible to pass coverage value to commit status APIwendy04022017-02-141-1/+1
| |/
* | Fix tests and disallow 0 to make it consistent with .gitlab-ci.ymlLin Jen-Shin2017-02-151-0/+1
|/
* Merge branch 'zj-drop-ruby-21-tests' into 'master' Rémy Coutable2017-02-131-3/+1
|\ | | | | | | | | Update Rubocop to Ruby 2.3 See merge request !8994