summaryrefslogtreecommitdiff
path: root/lib/api/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Projects and groups badges APIFrancisco Javier López2018-03-051-0/+28
|
* Persist runner IP address on contact (#43489)Dylan Griffith2018-02-281-6/+12
|
* Allow including custom attributes in API responsesMarkus Koller2018-02-081-0/+28
|
* Merge branch '41763-search-api' into 'master'Sean McGivern2018-02-071-4/+13
|\ | | | | | | | | | | | | Search API Closes #41763 See merge request gitlab-org/gitlab-ce!16878
| * Return only limited pagination headers for search API endpointsJarka Kadlecová2018-02-061-4/+13
| |
* | Merge branch ↵Kamil Trzciński2018-02-071-19/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '38265-stuckcijobsworker-wrongly-detects-cancels-stuck-builds-when-per-job-timeout-is-more-than-an-hour' into 'master' Resolve "StuckCiJobsWorker wrongly detects, cancels 'stuck' builds when per-job timeout is more than an hour" Closes #38265, #42196, and #42750 See merge request gitlab-org/gitlab-ce!16756
| * \ Merge branch 'master' into ↵Matija Čupić2018-02-041-4/+2
| |\ \ | | |/ | | | | | | 38265-stuckcijobsworker-wrongly-detects-cancels-stuck-builds-when-per-job-timeout-is-more-than-an-hour
| * | Refactor runner attribute caching implementationMatija Čupić2018-02-041-1/+1
| | |
| * | Move info update implementation to Ci::Runner modelMatija Čupić2018-01-291-26/+1
| | |
| * | Update runner info on all authenticated requestsMatija Čupić2018-01-291-0/+2
| | |
| * | Extend Runner API helpers with cache info storageMatija Čupić2018-01-291-5/+11
| | |
* | | Moves project creationg to git access check for git pushTiago Botelho2018-02-061-12/+8
| | |
* | | Abstracts ProjectMoved and ProjectCreated into a BaseProjectTiago Botelho2018-02-061-2/+6
| | |
* | | Move new project on push logic to a serviceTiago Botelho2018-02-061-22/+7
| | |
* | | Add specsTiago Botelho2018-02-061-3/+14
| | |
* | | Adds remote messsage when project is created in a push over SSH or HTTPTiago Botelho2018-02-061-0/+16
| |/ |/|
* | use Gitlab::UserSettings directly as a singleton instead of ↵Mario de la Ossa2018-02-021-4/+2
|/ | | | including/extending it
* Default to Gitaly for 'git push' HTTP/SSH, and make Gitaly mandatory for SSH ↵Jacob Vosmaer (GitLab)2018-01-221-7/+8
| | | | pull
* [API] Fix creating issue when assignee_id is empty42025-fix-issue-apiValery Sizov2018-01-151-2/+4
| | | | see https://gitlab.com/gitlab-org/gitlab-ce/issues/42025
* Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-12-151-0/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (671 commits) Make rubocop happy Use guard clause Improve language Prettify Use temp branch Pass info about who started the job and which job triggered it Docs: add indexes for monitoring and performance monitoring clearer-documentation-on-inline-diffs Add docs for commit diff discussion in merge requests sorting for tags api Clear BatchLoader after each spec to prevent holding onto records longer than necessary Include project in BatchLoader key to prevent returning blobs for the wrong project moved lfs_blob_ids method into ExtractsPath module Converted JS modules into exported modules spec fixes Bump gitlab-shell version to 5.10.3 Clear caches before updating MR diffs Use new Ruby version 2.4 in GitLab QA images moved lfs blob fetch from extractspath file Update GitLab QA dependencies ...
| * Added default order to UserFinderFrancisco Javier López2017-12-041-0/+10
| |
* | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-301-4/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (170 commits) support ordering of project notes in notes api Redirect to an already forked project if it exists Reschedule the migration to populate fork networks Create fork networks for forks for which the source was deleted. Fix item name and namespace text overflow in Projects dropdown Minor backport from EE fix link that was linking to `html` instead of `md` Backport epic tasklist Add timeouts for Gitaly calls SSHUploadPack over Gitaly is now OptOut fix icon colors in commit list Fix star icon color/stroke Backport border inline edit Add checkboxes to automatically run AutoDevops pipeline BE for automatic pipeline when enabling Auto DevOps I am certainly weary of debugging sidekiq but I don't think that's what was meant Ensure MRs always use branch refs for comparison Fix issue comment submit button disabled on GFM paste Lock seed-fu at the correct version in Gemfile.lock Improve indexes on merge_request_diffs ...
| * SSHUploadPack over Gitaly is now OptOutgitaly-ssh-upload-pack-opt-outKim "BKC" Carlbäcker2017-11-291-4/+4
| | | | | | | | - Better gitaly-handling in /api/internal/allowed specs
* | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-222-0/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (126 commits) Update VERSION to 10.3.0-pre Update CHANGELOG.md for 10.2.0 default fill color for SVGs ignore hashed repos (for now) when using `rake gitlab:cleanup:repos` Use Redis cache for branch existence checks Update CONTRIBUTING.md: Link definition of done to criteria Use `make install` for Gitaly setups in non-test environments FileUploader should check for hashed_storage?(:attachments) to use disk_path Set the default gitlab-shell timeout to 3 hours Update composite pipelines index to include "id" Use arrays in Pipeline#latest_builds_with_artifacts Fix blank states using old css Skip confirmation user api Custom issue tracker Revert "check for `read_only?` first before seeing if request is disallowed" add `#with_metadata` scope to remove a N+1 from the notes' API Fix promoting milestone updating all issuables without milestone Batchload blobs for diff generation check for `read_only?` first before seeing if request is disallowed use `Gitlab::Routing.url_helpers` instead of `Rails.application.routes.url_helpers` ...
| * Merge branch '18040-rubocop-line-break-after-guard-clause' into 'master'Rémy Coutable2017-11-202-0/+2
| |\ | | | | | | | | | | | | | | | | | | Adds Rubocop rule for line break after guard clause Closes #18040 See merge request gitlab-org/gitlab-ce!15188
| | * Adds Rubocop rule for line break after guard clauseJacopo2017-11-162-0/+2
| | | | | | | | | | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
* | | Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin2017-11-221-6/+6
| | | | | | | | | | | | | | | And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude.
* | | Use StrongMemoize and enable/disable cops properlyLin Jen-Shin2017-11-181-6/+5
| | |
* | | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-171-0/+12
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (507 commits) Add dropdowns documentation Convert migration to populate latest merge request ID into a background migration Set 0.69.0 instead of latest for codeclimate image De-duplicate background migration matchers defined in spec/support/migrations_helpers.rb Update database_debugging.md Update database_debugging.md Move installation of apps higher Change to Google Kubernetes Cluster and add internal links Add Ingress description from official docs Add info on creating your own k8s cluster from the cluster page Add info about the installed apps in the Cluster docs Resolve "lock/confidential issuable sidebar custom svg icons iteration" Update HA README.md to clarify GitLab support does not troubleshoot DRBD. Update license_finder to 3.1.1 Make sure NotesActions#noteable returns a Noteable in the update action Cache the number of user SSH keys Adjust openid_connect_spec to use `raise_error` Resolve "Clicking on GPG verification badge jumps to top of the page" Add changelog for container repository path update Update container repository path reference ...
| * | Use relative git object paths to construct absolute ones before setting Envfix/git-env-repo-pathsAhmad Sherif2017-11-141-0/+12
| |/
* | Allow simple ivar ||= form. Update accordinglyLin Jen-Shin2017-09-192-6/+4
| |
* | Add cop to make sure we don't use ivar in a moduleLin Jen-Shin2017-09-182-0/+3
|/
* Return a value to check if redis is available on /internal/checkAlejandro Rodríguez2017-09-051-0/+9
|
* Merge branch 'gitaly-shell-redis' into 'master'Dmitriy Zaporozhets2017-09-011-0/+4
|\ | | | | | | | | Implement /internal/post_receive unified endpoint for PostReceive tasks See merge request !13916
| * Implement /internal/post_receive unified endpoint for PostReceive tasksgitaly-shell-redisAlejandro Rodríguez2017-08-311-0/+4
| |
* | `current_application_settings` belongs on `Gitlab::CurrentSettings`Sean McGivern2017-08-311-0/+2
|/ | | | | | | | | | | | | | | | The initializers including this were doing so at the top level, so every object loaded after them had a `current_application_settings` method. However, if someone had rack-attack enabled (which was loaded before these initializers), it would try to load the API, and fail, because `Gitlab::CurrentSettings` didn't have that method. To fix this: 1. Don't include `Gitlab::CurrentSettings` at the top level. We do not need `Object.new.current_application_settings` to work. 2. Make `Gitlab::CurrentSettings` explicitly `extend self`, as we already use it like that in several places. 3. Change the initializers to use that new form.
* Total Pages should be at least onetc-git-tower-pagination-linksToon Claes2017-08-171-6/+11
| | | | And the link to the last page cannot be `page=0`.
* don't add next page link if current page is out of rangeJordan Patterson2017-08-171-1/+1
|
* Re-enable SqlInjection and CommandInjectionBrian Neel2017-08-081-1/+3
|
* Ensure Gitlab::Application.routes.default_url_options are set correctly in ↵Rémy Coutable2017-07-281-1/+1
| | | | | | Capybara + :js specs Signed-off-by: Rémy Coutable <remy@rymai.me>
* Resolve "More RESTful API: include resource URLs in responses"Oswaldo Ferreira2017-07-251-0/+28
|
* Send Gitaly Repository with /api/internal/allowedgitaly-internal-allowed-send-repoKim "BKC" Carlbäcker2017-07-071-6/+29
| | | | | - Make single gitaly payload - Add feature-flag specs to verify payload
* Fix current feature related specsTiago Botelho2017-06-281-1/+2
|
* Add “Project moved” error to Git-over-SSHMichael Kozono2017-06-161-1/+6
|
* Refactor construction of responseMichael Kozono2017-06-051-0/+16
|
* fix for Follow-up from "Backport of Multiple Assignees featurefixes_for_multiple_issue_assigneesValery Sizov2017-05-111-4/+4
|
* Merge branch ↵Sean McGivern2017-05-051-38/+14
|\ | | | | | | | | | | | | | | | | '29925-gitlab-shell-hooks-can-no-longer-send-absolute-paths-to-gitlab-ce' into 'master' Generate and handle a gl_repository param to pass around components Closes #29925 See merge request !10992
| * Generate and handle a gl_repository param to pass around componentsAlejandro Rodríguez2017-05-031-38/+14
| | | | | | | | | | | | | | | | | | This new param allows us to share project information between components that don't share or don't have access to the same filesystem mountpoints, for example between Gitaly and Rails or between Rails and Gitlab-Shell hooks. The previous parameters are still supported, but if found, gl_repository is prefered. The old parameters should be deprecated once all components support the new format.
* | Backport of multiple_assignees_feature [ci skip]Valery Sizov2017-05-041-0/+13
|/
* Remove unused user activities codeSean McGivern2017-04-141-2/+1
|