summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Give 409 Conflict whenever the runner was already enabledprefer-assign_toLin Jen-Shin2016-06-141-2/+5
|
* Prefer Runner#assign_to instead of creating directlyLin Jen-Shin2016-06-141-1/+1
|
* Merge branch 'gitlab-auth-method-names' into 'master' Douwe Maan2016-06-131-1/+1
|\ | | | | | | | | | | | | | | | | | | Improve Gitlab::Auth method names Auth.find was a very generic name for a very specific method. Auth.find_in_gitlab_or_ldap was inaccurate in GitLab EE where it also looks in Kerberos. See merge request !4589
| * Improve Gitlab::Auth method namesJacob Vosmaer2016-06-101-1/+1
| | | | | | | | | | | | Auth.find was a very generic name for a very specific method. Auth.find_in_gitlab_or_ldap was inaccurate in GitLab EE where it also looks in Kerberos.
* | Fix Error 500 when using closes_issues API with an external issue trackerStan Hu2016-06-113-1/+14
| | | | | | | | Closes #18484
* | Merge branch 'workhorse-helpers' into 'master' Robert Speicher2016-06-102-7/+13
|\ \ | | | | | | | | | | | | | | | | | | Add workhorse controller and API helpers Adds `send_git_blob` and `send_git_archive` controller and API helpers to reduce duplication and make Workhorse easier for a developer to work with. See merge request !4486
| * | Satisfy Rubocopworkhorse-helpersDouwe Maan2016-06-101-2/+2
| | |
| * | Merge branch 'master' into workhorse-helpersDouwe Maan2016-06-104-5/+5
| |\ \ | | |/
| * | Add send_git_diff helperDouwe Maan2016-06-083-8/+8
| |\ \
| * | | Add workhorse controller and API helpersDouwe Maan2016-06-062-7/+13
| | | |
* | | | Improve initial implementation of the ↵Rémy Coutable2016-06-101-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'only_allow_merge_if_build_succeeds.rb' feature Based on the feedback from reviewers. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Allow or not merge MR with failed buildRui Anderson2016-06-101-1/+1
| |_|/ |/| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Allow custom text on 'almost there' pageSean McGivern2016-06-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add a new application setting, after_sign_up_text. This is text to be rendered as Markdown and shown on the 'almost there' page after a user signs up, but before they've confirmed their account. Tweak the styles for that page so that centered lists look reasonable.
* | | Fix pseudo n+1 queries with Note and Note Authors in issuables APIsAlejandro Rodríguez2016-06-082-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | This was not a clear cut n+1 query, given that if you're directly subscribed to all issues that the API is returning you never really need to check for the notes. However, if you're subscribed to _all_ of them, then for each issuable you need to go once to `notes`, and once to `users` (for the authors). By preemtively loading notes and authors, at worst you have 1 extra query, and at best you saved 2n extra queries. We also took advantage of this preloading of notes when counting user notes.
* | | Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Jacob Vosmaer2016-06-085-15/+22
|\ \ \ | | |/ | |/| | | | | | | | | | | | | git-http-controller Conflicts: lib/gitlab/workhorse.rb
| * | Merge branch 'rename-ci-commit-phase-2' into rename-ci-commit-phase-3Kamil Trzcinski2016-06-061-1/+1
| |\ \
| | * \ Merge remote-tracking branch 'origin/master' into rename-ci-commitKamil Trzcinski2016-06-061-1/+1
| | |\ \ | | | |/ | | | | | | | | | | | | # Conflicts: # spec/features/builds_spec.rb
| | | * Add a `U2fRegistrations` table/model.Timothy Andrew2016-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - To hold registrations from U2F devices, and to authenticate them. - Previously, `User#two_factor_enabled` was aliased to the `otp_required_for_login` column on `users`. - This commit changes things a bit: - `User#two_factor_enabled` is not a method anymore - `User#two_factor_enabled?` checks both the `otp_required_for_login` column, as well as `U2fRegistration`s - Change all instances of `User#two_factor_enabled` to `User#two_factor_enabled?` - Add the `u2f` gem, and implement registration/authentication at the model level.
| * | | Merge branch 'rename-ci-commit-phase-2' into rename-ci-commit-phase-3Kamil Trzcinski2016-06-062-6/+8
| |\ \ \ | | |/ /
| | * | Merge remote-tracking branch 'origin/master' into rename-ci-commitKamil Trzcinski2016-06-062-6/+8
| | |\ \ | | | |/
| | | * Merge branch 'rubocop/enable-ambiguous-operator-rubocop-lint' into 'master' Robert Speicher2016-06-051-3/+3
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable Lint/AmbiguousOperator rubocop cop Enforce using parentheses if ambiguous operators are detected, like `header *some_method` or `array.select &:even?`. See #17478 See merge request !4454
| | | | * Enable Lint/AmbiguousOperator rubocop coprubocop/enable-ambiguous-operator-rubocop-lintGrzegorz Bizon2016-06-031-3/+3
| | | | | | | | | | | | | | | | | | | | See #17478
| | | * | Merge branch 'master' into awardablesawardablesZ.J. van de Weg2016-06-034-8/+14
| | | |\ \
| | | * | | Incorportate feedbackZ.J. van de Weg2016-06-011-0/+2
| | | | | |
| | | * | | Merge branch 'master' into awardablesZJ van de Weg2016-05-301-2/+1
| | | |\ \ \
| | | * \ \ \ Merge branch 'master' into awardablesZJ van de Weg2016-05-255-2/+41
| | | |\ \ \ \
| | | * \ \ \ \ Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into awardablesFatih Acet2016-05-1810-100/+122
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # app/controllers/projects/merge_requests_controller.rb # app/models/note.rb # db/schema.rb # spec/models/note_spec.rb
| | | * | | | | | Incorporate feedbackZeger-Jan van de Weg2016-05-111-2/+1
| | | | | | | | |
| | | * | | | | | Merge branch 'master' into awardablesZeger-Jan van de Weg2016-05-114-170/+173
| | | |\ \ \ \ \ \
| | | * \ \ \ \ \ \ Merge branch 'master' into awardablesZeger-Jan van de Weg2016-05-1113-22/+149
| | | |\ \ \ \ \ \ \
| | | * | | | | | | | Create table for award emojiZeger-Jan van de Weg2016-05-061-3/+4
| | | | | | | | | | |
| * | | | | | | | | | Rename all ci_commit[s] in application code to pipeline[s]Kamil Trzcinski2016-06-031-5/+5
| |/ / / / / / / / /
| * | | | | | | | | Merge commit 'ca3c5c295ed653b483fe81c3918ffe60f46666b9' into rename-ci-commitKamil Trzcinski2016-06-031-0/+5
| |\ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ca3c5c295ed653b483fe81c3918ffe60f46666b9': Let contributors know where to start Ensure branch cleanup regardless of whether the import process succeeds Fix failing todo tests Reorder the todos because the use of the project finder attempts to order them differently Update target todo test to use a public project Use the project finder in the todos finder to limit todos to just ones within projects you have access to. Move filtering todos by projects not pending deletion into a scope on the todo model Reduce the filters on the todos joins project query by being explicit about the join Ensure we don't show TODOS for projects pending delete Fix deprecation warnings in spec/services/issues/bulk_update_service_spec.rb Remove unused Issuable#is_assigned? method fixup! Don't allow merges with new commits fixup! Add `sha` parameter to MR accept API Reduce Namespace queries in UserReferenceFilter Added ReferenceFilter#nodes Returning enums in ReferenceFilter#each_node Don't allow merges with new commits Add `sha` parameter to MR accept API
| | * | | | | | | | fixup! Add `sha` parameter to MR accept APISean McGivern2016-06-021-1/+1
| | | | | | | | | |
| | * | | | | | | | Add `sha` parameter to MR accept APISean McGivern2016-06-011-0/+5
| | | |_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `sha` parameter is optional, and when present, must match the current HEAD SHA of the source branch. Otherwise, the API call fails with a 409 Conflict and a message containing the current HEAD for the source branch. Also tidy up some doc wording.
| * | | | | | | | Fix other places where we still use commit attribute of BuildKamil Trzcinski2016-06-031-3/+3
| | | | | | | | |
| * | | | | | | | Use pipelines in context of ProjectKamil Trzcinski2016-06-032-3/+3
| | | | | | | | |
| * | | | | | | | Rename Ci::Commit to Ci::Pipeline and rename some of the ci_commit to pipelineKamil Trzcinski2016-06-022-2/+2
| |/ / / / / / /
* | | | | | | | Rename finder to find_in_gitlab_or_ldapJacob Vosmaer2016-06-021-1/+1
| | | | | | | |
* | | | | | | | Merge branch 'master' into git-http-controllerJacob Vosmaer2016-06-0222-296/+487
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: config/routes.rb
| * | | | | | | Add Application Setting to configure Container Registry token expire delay ↵Kamil Trzcinski2016-05-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (default 5min)
| * | | | | | | Merge branch 'style/enable-rubocop-indent-assignment-cop' into 'master' Robert Speicher2016-05-301-7/+7
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable Style/IndentAssignment Rubocop style cop Checks the indentation of the first line of the right-hand-side of a multi-line assignment. See #17478 See merge request !4348
| | * | | | | | | Enable Style/IndentAssignment Rubocop style copstyle/enable-rubocop-indent-assignment-copGrzegorz Bizon2016-05-301-7/+7
| | | |_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | See #17478
| * | | | | | | Enable Style/RedundantParentheses rubocop coprubocop/enable-redundant-parentheses-copGrzegorz Bizon2016-05-301-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | See #17478
| * | | | | | Fix groups API to list only user's accessible projectsStan Hu2016-05-241-2/+1
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Closes #17496
| * | | | | Enable Style/DefWithParentheses cop and fix single offenseRobert Speicher2016-05-231-1/+1
| | | | | |
| * | | | | Dropdown implementationzj-gitignore-dropdownAlfredo Sumaran2016-05-201-5/+5
| | | | | |
| * | | | | Backend for a gitignores dropdownZeger-Jan van de Weg2016-05-203-0/+38
| | | | | |
| * | | | | Extend runner options that are configurable via APIGrzegorz Bizon2016-05-192-1/+2
| | |_|_|/ | |/| | |
| * | | | Merge branch 'issue_17302' into 'master' Rémy Coutable2016-05-181-18/+29
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix api leaking notes when user is not authorized to read noteable fixes #17302 See merge request !4102