summaryrefslogtreecommitdiff
path: root/lib/api/helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make getting a user by the username case insensitiveWilliam George2018-10-181-7/+1
|
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-1/+4
| | | | | | | | | | Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190
* Merge branch 'rubocop-code-reuse' into 'master'Robert Speicher2018-09-131-0/+18
|\ | | | | | | | | Add RuboCop cops to enforce code reusing rules See merge request gitlab-org/gitlab-ce!21391
| * Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+18
| | | | | | | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* | Resolve "500 Internal Server Error: Deleting branch of deleted project"🙈 jacopo beschi 🙉2018-09-121-3/+5
|/
* Fix rubocopRobert Schilling2018-09-081-5/+3
|
* API: Use find_branch! in all placesRobert Schilling2018-09-081-0/+8
|
* Add min_access_level filter to projects APIMarko, Peter2018-07-231-0/+1
| | | | Signed-off-by: Marko, Peter <peter.marko@siemens.com>
* Fix archived parameter for projects APIMarko, Peter2018-07-161-1/+7
|
* Rails5 fix no implicit conversion of Hash into String. ↵Jasper Maes2018-06-131-1/+2
| | | | ActionController::Parameters no longer returns an hash in Rails 5
* Merge request and commit discussions APIJan Provaznik2018-05-011-0/+4
|
* Validate project path prior to hitting the database.Andreas Brandl2018-04-131-2/+2
| | | | Closes #45247.
* Merge branch 'jramsay-38830-tarball' into 'master'Douwe Maan2018-04-061-2/+2
|\ | | | | | | | | | | | | Add alternative archive route Closes #38830 See merge request gitlab-org/gitlab-ce!17225
| * Add option to suppress archive commit shaJames Ramsay2018-04-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Repository archives are always named `<project>-<ref>-<sha>` even if the ref is a commit. A consequence of always including the sha even for tags is that packaging a release is more difficult because both the ref and sha must be known by the packager. - add append_sha option (defaults true) to provide a method for toggling this feature. Support added to GitLab Workhorse by gitlab-org/gitlab-workhorse!232
* | Merge branch 'direct-upload-of-artifacts' into 'master'Grzegorz Bizon2018-04-051-22/+0
|\ \ | | | | | | | | | | | | Direct upload of artifacts See merge request gitlab-org/gitlab-ce!18160
| * | Add `direct_upload` setting for artifactsdirect-upload-of-artifactsKamil Trzciński2018-04-051-22/+0
| |/
* | Allow assigning and filtering issuables by ancestor group labelsFelipe Artur2018-04-041-6/+7
|/
* Add proxy_download to perform proxied sending of all filesMicaël Bergeron2018-03-091-8/+8
|
* Merge remote-tracking branch 'origin/master' into ↵object-storage-ee-to-ce-backportKamil Trzciński2018-02-281-1/+1
|\ | | | | | | object-storage-ee-to-ce-backport
| * Port `read_cross_project` ability from EEBob Van Landuyt2018-02-221-1/+1
| |
* | Merge commit '8af23def1d6' into object-storage-ee-to-ce-backportKamil Trzciński2018-02-281-0/+8
|\ \ | |/
| * Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
| |
| * Save user ID and username in Grape API log (api_json.log)sh-store-user-in-api-logsStan Hu2018-01-081-0/+7
| | | | | | | | | | | | This will enable admins to identify who actually made the API request. Relates to #36960
* | Merge branch 'use-send-url-for-incompatible-runners' into 'master'Grzegorz Bizon2018-02-281-2/+6
| | | | | | | | | | | | Support SendURL for performing indirect download of artifacts if clients does… See merge request gitlab-org/gitlab-ee!4401
* | Merge commit '4b92efd90cedaa0aff218d11fdce279701128bea' into ↵Kamil Trzciński2018-02-281-5/+22
|\ \ | |/ | | | | object-storage-ee-to-ce-backport
| * Merge branch 'backport-issue_3413' into 'master'Sean McGivern2018-01-051-3/+12
| |\ | | | | | | | | | | | | [EE-backport] Add group boards API endpoint See merge request gitlab-org/gitlab-ce!16194
| | * EE-BACKPORT group boardsFelipe Artur2018-01-041-3/+12
| | |
| * | Fix API endpoints to edit wiki pages where project belongs to a grouprd-api-request-to-edit-wiki-page-fails-when-project-belongs-to-groupRubén Dávila2018-01-031-1/+1
| |/ | | | | | | | | | | | | | | In some cases is prefered to manually create a ProjectWiki over using Project#wiki. This is because Project#wiki always uses the #owner (which is a User sometimes) as the author of the wiki changes but sometimes the owner is a Group and it doesn't respond to #username
| * Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-301-0/+22
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
| * \ Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-221-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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` ...
| * | | Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin2017-11-221-5/+5
| | | | | | | | | | | | | | | | | | | | 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-2/+8
| | | |
| * | | Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-171-0/+10
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
| * \ \ \ Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-061-59/+25
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (1723 commits) Resolve "Editor icons" Refactor issuable destroy action Ignore routes matching legacy_*_redirect in route specs Gitlab::Git::RevList and LfsChanges use lazy popen Gitlab::Git::Popen can lazily hand output to a block Merge branch 'master-i18n' into 'master' Remove unique validation from external_url in Environment Expose `duration` in Job API entity Add TimeCop freeze for DST and Regular time Harcode project visibility update a changelog Put a condition to old migration that adds fast_forward column to MRs Expose project visibility as CI variable fix flaky tests by removing unneeded clicks and focus actions fix flaky test in gfm_autocomplete_spec.rb Use Gitlab::Git operations for repository mirroring Encapsulate git operations for mirroring in Gitlab::Git Create a Wiki Repository's raw_repository properly Add `Gitlab::Git::Repository#fetch` command Fix Gitlab::Metrics::System#real_time and #monotonic_time doc ...
| * | | | | Allow simple ivar ||= form. Update accordinglyLin Jen-Shin2017-09-191-1/+3
| | | | | |
| * | | | | Add cop to make sure we don't use ivar in a moduleLin Jen-Shin2017-09-181-0/+1
| | | | | |
* | | | | | Merge commit '7fabc892f251740dbd9a4755baede662e6854870' into ↵Kamil Trzciński2018-02-281-1/+32
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | object-storage-ee-to-ce-backport
| * | | | | Introduce :read_namespace access policy for namespace and groupTomasz Maczukin2017-11-231-1/+1
| | | | | |
| * | | | | Allow request namespace by ID or pathTomasz Maczukin2017-11-231-0/+22
| | |_|_|/ | |/| | |
| * | | | Moved Exceptions to Gitlab::AuthFrancisco Lopez2017-11-171-1/+1
| | | | |
| * | | | Moving exceptions to UserAuthFindersFrancisco Lopez2017-11-171-1/+1
| | |_|/ | |/| |
| * | | Add administrative endpoint to list all pages domainsTravis Miller2017-11-131-0/+9
| | | |
* | | | Merge commit 'f2f58a60b76acd479e37bdbc9246ec9f9b2bea82' into ↵Kamil Trzciński2018-02-281-61/+17
|\ \ \ \ | |/ / / | | | | | | | | object-storage-ee-to-ce-backport
| * | | Support custom attributes on projectsMarkus Koller2017-11-061-0/+1
| | |/ | |/|
| * | Update specs for sudo behaviorDouwe Maan2017-11-021-5/+2
| | |
| * | Add sudo API scopeDouwe Maan2017-11-021-8/+12
| | |
| * | Add pages domains API implementationTravis Miller2017-10-221-0/+4
| | |
| * | Move all API authentication code to APIGuardDouwe Maan2017-10-121-51/+1
| | |
* | | Merge commit '11c67e7c2f992299ff5918ce67995b73d1e0be6d' into ↵Kamil Trzciński2018-02-281-14/+26
|\ \ \ | |/ / | | | | | | object-storage-ee-to-ce-backport
| * | Send API parameters as extra data for sentry errorsapi-sentry-extraAlejandro Rodríguez2017-10-051-1/+1
| | |