summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Satisfy Rubocopworkhorse-helpersDouwe Maan2016-06-101-2/+2
|
* Merge branch 'master' into workhorse-helpersDouwe Maan2016-06-104-5/+5
|\
| * 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
| * | 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
| * | | Use correct auth finderJacob Vosmaer2016-05-021-6/+1
| | | |
| * | | Make CI/Oauth/rate limiting reusableJacob Vosmaer2016-04-291-2/+6
| | | |
* | | | Add send_git_diff helperDouwe Maan2016-06-083-8/+8
|\ \ \ \ | | |_|/ | |/| |
| * | | 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
| * | \ \ \ 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
| | |\ \ \ \
| * | | | | | 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
| * | | | | | 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
| | |_|_|_|/ | |/| | | |
* | | | | | Add workhorse controller and API helpersDouwe Maan2016-06-062-7/+13
| |_|_|/ / |/| | | |
* | | | | 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 '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
|\ \ \ \ | | |/ / | |/| |
| * | | 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.
| * | 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
* | | Incorportate feedbackZ.J. van de Weg2016-06-011-0/+2
| | |
* | | Merge branch 'master' into awardablesZJ van de Weg2016-05-301-2/+1
|\ \ \ | |/ /
| * | Fix groups API to list only user's accessible projectsStan Hu2016-05-241-2/+1
| | | | | | | | | | | | Closes #17496
* | | Merge branch 'master' into awardablesZJ van de Weg2016-05-255-2/+41
|\ \ \ | |/ /
| * | 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 '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
| * | 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
| | * | Move note helper method to notes entity fileissue_17302Felipe Artur2016-05-172-6/+8
| | | |
| | * | Fix single note api requestFelipe Artur2016-05-162-5/+9
| | | |
| | * | Fix notes API calls symbol convertionsFelipe Artur2016-05-101-3/+3
| | | |
| | * | Fix api leaking notes when user is not authorized to read noteableFelipe Artur2016-05-091-13/+18
| | | |
| * | | Merge branch 'docker-registry' into 'master' Douwe Maan2016-05-162-1/+7
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added authentication service for docker registry This adds a simple authentication service for docker which uses current user credentials to authenticate pulls and pushes. I have only one concern. Since the `.docker/config` is unencrypted, thus the password for user stored there is unencrypted, maybe we should from the start implement function to generate/provide a separate password just for the purposes of accessing docker registry? What do you think @jacobvosmaer @sytses @marin? cc @marin See merge request !3787
| | * \ \ Merge remote-tracking branch 'origin/master' into docker-registryKamil Trzcinski2016-05-1310-250/+256
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # config/initializers/1_settings.rb
| | * | | | Remove unused partsKamil Trzcinski2016-05-092-188/+0
| | | | | |
| | * | | | Rename `images` to `container_registry`Kamil Trzcinski2016-05-092-6/+6
| | | | | |
| | * | | | Revert "Eager load `lib/api`"Kamil Trzcinski2016-05-092-138/+138
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 0a280158efeb7f681589ae7af24f0ed9052de809.
| | * | | | Merge remote-tracking branch 'origin/master' into docker-registryKamil Trzcinski2016-05-094-7/+42
| | |\ \ \ \