Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-03Merge commit 'ca3c5c295ed653b483fe81c3918ffe60f46666b9' into rename-ci-commitKamil Trzcinski
* 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
2016-06-03Use pipelines in context of ProjectKamil Trzcinski
2016-06-03Rename Ci::Build commit to pipelineKamil Trzcinski
2016-06-02Rename Ci::Commit to Ci::Pipeline and rename some of the ci_commit to pipelineKamil Trzcinski
2016-06-01Add `sha` parameter to MR accept APISean McGivern
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.
2016-06-01Merge branch 'issue_15557' into 'master' Rémy Coutable
Fix error 500 when sorting issues by milestone due date and filtering by labels fixes #15557 See merge request !4327
2016-06-01Add leading comment space copFelipe Artur
2016-05-29Update specs for creating new note without accessGrzegorz Bizon
2016-05-25Merge branch 'fix-issue-17496' into 'master' Douwe Maan
Fix groups API to list only user's accessible projects Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/17496 See merge request !1966
2016-05-25Fix groups API to list only user's accessible projectsStan Hu
Closes #17496
2016-05-24Enable RSpec/NotToNot cop and auto-correct offensesRobert Speicher
Also removes the note from the development/testing.md guide
2016-05-23Fix some specs which would have broken in 2017 to not break anymore by using ↵Connor Shea
a dynamic year value.
2016-05-23Fix the CI login to Container Registry (the gitlab-ci-token user)Kamil Trzcinski
2016-05-20Update API and fetching taskZeger-Jan van de Weg
2016-05-20Backend for a gitignores dropdownZeger-Jan van de Weg
2016-05-19Minor runner-related code refactoringsGrzegorz Bizon
2016-05-19Set run untagged option when registering a runnerGrzegorz Bizon
2016-05-19Refactor CI API specs for creating runnerGrzegorz Bizon
2016-05-19Extend runner options that are configurable via APIGrzegorz Bizon
2016-05-19Add CI API tests for runner config and untagged jobsGrzegorz Bizon
2016-05-18Merge branch 'issue_17302' into 'master' Rémy Coutable
Fix api leaking notes when user is not authorized to read noteable fixes #17302 See merge request !4102
2016-05-16Fix single note api requestFelipe Artur
2016-05-15Update JwtController specsKamil Trzcinski
2016-05-15Added specs for JwtControllerKamil Trzcinski
2016-05-13Codestyle: make sure we have space around operatorsGabriel Mazetto
2016-05-12Add API endpoints for un/subscribing from/to a labelAhmad Sherif
Closes #15638
2016-05-11Merge branch '17249-starred' into 'master' Robert Speicher
Restrict starred projects to viewable ones `User#starred_projects` doesn't perform any visibility checks. This has a couple of problems: 1. It assumes a user can always view all of their starred projects in perpetuity (project not changed to private, access revoked, etc.). 2. It assumes that we'll only ever allow a user to star a project they can view. This is currently the case, but bugs happen. Add `User#viewable_starred_projects` to filter the starred projects by those the user either has explicit access to, or are public or internal. Then use that in all places where we list the user's starred projects. Closes #17249. See merge request !4108
2016-05-10Fix notes API calls symbol convertionsFelipe Artur
2016-05-10Restrict starred projects to viewable onesSean McGivern
`User#starred_projects` doesn't perform any visibility checks. This has a couple of problems: 1. It assumes a user can always view all of their starred projects in perpetuity (project not changed to private, access revoked, etc.). 2. It assumes that we'll only ever allow a user to star a project they can view. This is currently the case, but bugs happen. Add `User#viewable_starred_projects` to filter the starred projects by those the user either has explicit access to, or are public or internal. Then use that in all places where we list the user's starred projects.
2016-05-10Fix a few places where autoloading would failRémy Coutable
- Fix naming of API::CommitStatuses - Ensure we use require_dependency instead of require - Ensure the namespace is right in lib/api/api.rb, otherwise, we might require Grape::API::Helpers which defines the `#params` method. This is to avoid requiring a file multiple times and getting an "Already initialized constant" error. Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-05-10Fix api leaking notes when user is not authorized to read noteableFelipe Artur
2016-05-09Expose MergeRequest#user_notes_count in the API and use the method in issues ↵Rémy Coutable
list Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-05-09API: Expose Issue#user_notes_countcnam-dep
2016-05-04Merge branch 'use-rugged-to-create-tag' into 'master' Rémy Coutable
Use Rugged's TagCollection#create instead of gitlab-shell's Repository#add_tag for better performance This was originally opened at !1757 by @pcarranza but I changed it to use Rugged instead of gitlab_git, following @DouweM's request. Once this is merged, https://gitlab.com/gitlab-org/gitlab-shell/merge_requests/26 will be mergeable too. See merge request !3745
2016-05-04Merge branch 'pacoguzman/gitlab-ce-15001-since-and-until-operators-api-commits'Douwe Maan
# Conflicts: # Gemfile.lock
2016-05-04Use Rugged's TagCollection#create instead of gitlab-shell's ↵Rémy Coutable
Repository#add_tag for better performance Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-29API support for the 'since' and 'until' operators on commit requestsPaco Guzman
- Parameter validation as ISO8601 format
2016-04-26Prevent privilege escalation via notes APIRobert Speicher
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15577
2016-04-26Merge branch '15579-filter-milestone-confidential-issues-api' into 'master' Robert Speicher
Prevent information disclosure via milestone API Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15579 See merge request !1961
2016-04-25Prevent private snippets in public/internal projects from being leaked via APIStan Hu
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15580
2016-04-25Improve Milestones API specsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-25Filter confidential issues from milestones API if user does not have accessStan Hu
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15579
2016-04-25Prevent users from deleting Webhooks via API they do not ownStan Hu
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15576
2016-04-21Merge branch 'ci-commit-as-pipeline' into 'master' Kamil Trzciński
Ci::Commit becomes a Pipeline object 1. Ci::Commit receives context: ref, :tag. 1. One Ci::Commit describes a one Pipeline 1. Pipeline is created from `.gitlab-ci.yml` 1. Pipeline is a ordered group of builds 1. We test MR against Pipeline 1. Pipelines have a separate view (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703) 1. Pipeline can be triggered from UI (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703) 1. Later we change `Trigger -> TriggerRequest -> Build` to `Trigger -> Pipeline` (future) 1. We add a Pipeline Hook that will be triggered on Pipeline status change (future) 1. We extend notifications to use `Pipeline Hook` to send summary on pipeline changes (future) After merging that I'll prepare a separate MR that will unify naming, database columns, table names: ``` Ci::Commit -> Pipeline Ci::Build -> Build CommitStatus -> Job GenericCommitStatus -> ExternalJob ci_commits -> pipelines ci_builds -> jobs ``` This MR implements first 5 points. This is made to solve this issue https://gitlab.com/gitlab-org/gitlab-ce/issues/14149. See merge request !3653
2016-04-20Make sure that appending is done on a valid lengthTomasz Maczukin
2016-04-20Add range checkingTomasz Maczukin
2016-04-20Add incremental build trace update APITomasz Maczukin
2016-04-20Merge branch 'license-templates-and-api-12804' into 'master' Robert Speicher
License templates when creating/editing a LICENSE file Closes #12804 See merge request !3660
2016-04-19Merge remote-tracking branch 'origin/master' into ci-commit-as-pipelineKamil Trzcinski
# Conflicts: # db/schema.rb
2016-04-19Merge branch 'api-fix-annotated-tags' into 'master' Rémy Coutable
API: Present an array of Gitlab::Git::Tag instead of array of rugged tags The annotated message was always `null` because the wrong array was presented. The entity requires an array of `Gitlab::Git::Tags` instead an array of raw rugged tags was presented. Since a rugged tag does not respond to `message` to get the annotated message, this was always `null`. See merge request !3764