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
2017-07-28Merge branch 'merge-issuable-reopened-into-opened-state' into 'master'Sean McGivern
Merge issuable "reopened" state into "opened" See merge request !12972
2017-07-28Merge branch 'remove-default-access-levels' into 'master'Rémy Coutable
Make access level for protected tag factories more compatible with EE See merge request !13133
2017-07-28Merge issuable "reopened" state into "opened"Yorick Peterse
Having two states that essentially mean the same thing is very much like having a boolean "true" and boolean "mostly-true": it's rather silly. This commit merges the "reopened" state into the "opened" state while taking care of system notes still showing messages along the lines of "Alice reopened this issue". A big benefit from having only two states (opened and closed) is that indexing and querying becomes simpler and more performant. For example, to get all the opened queries we no longer have to query both states: SELECT * FROM issues WHERE project_id = 2 AND state IN ('opened', 'reopened'); Instead we can query a single state directly, which can be much faster: SELECT * FROM issues WHERE project_id = 2 AND state = 'opened'; Further, only having two states makes indexing easier as we will only ever filter (and thus scan an index) using a single value. Partial indexes could help but aren't supported on MySQL, complicating the development process and not being helpful for MySQL.
2017-07-28Make access level more compatible with EELin Jen-Shin
So the behaviour would be similar in CE and EE
2017-07-28initShinya Maeda
2017-07-27update invalid gpg signatures when key is createdAlexis Reigel
2017-07-27notification email on add new gpg keyAlexis Reigel
2017-07-27add second gpg key for specsAlexis Reigel
2017-07-27add emails method to GgpKeyAlexis Reigel
2017-07-27Fix the :project factory by not copying the test repo twiceRémy Coutable
Also, fixing some calls to the :project factory with the :test_repo trait since this trait is already included in the :project factory. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-20Wrong data type when testing webhooksAlexander Randa
2017-07-20Merge branch 'feature/gb/auto-retry-failed-ci-job' into 'master'Kamil Trzciński
Make it possible to auto retry a failed CI/CD job Closes #3442 See merge request !12909
2017-07-18Update specs for new upload pathBob Van Landuyt
2017-07-17Cache Note#notable for commits and fix testsLin Jen-Shin
2017-07-17Make it possible to count a number of job retriesGrzegorz Bizon
2017-07-13Remove trigger_schedule_attributes and factory :ci_trigger_for_trigger_scheduleShinya Maeda
2017-07-07Merge branch ↵Kamil Trzciński
'feature/intermediate/32568-adding-variables-to-pipelines-schedules' into 'master' Add variables to pipelines schedules Closes #32568 See merge request !12372
2017-07-07Native group milestonesFelipe Artur
2017-07-07Merge from master(Fix conflicts)Shinya Maeda
2017-07-07merge from masterShinya Maeda
2017-07-07Basic BE changeShinya Maeda
Fix static-snalysis Move the precedence of group secure variable before project secure variable. Allow project_id to be null. Separate Ci::VariableProject and Ci::VariableGroup Add the forgotton files Add migration file to update type of ci_variables Fix form_for fpr VariableProject Fix test Change the table structure according to the yorik advice Add necessary migration files. Remove unnecessary migration spec. Revert safe_model_attributes.yml Fix models Fix spec Avoid self.variable. Use becomes for correct routing. Use unique index on group_id and key Add null: false for t.timestamps Fix schema version Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable Rename the rest of them Add the rest of files Basic BE change Fix static-snalysis Move the precedence of group secure variable before project secure variable. Allow project_id to be null. Separate Ci::VariableProject and Ci::VariableGroup Add the forgotton files Add migration file to update type of ci_variables Fix form_for fpr VariableProject Fix test Change the table structure according to the yorik advice Add necessary migration files. Remove unnecessary migration spec. Revert safe_model_attributes.yml Fix models Fix spec Avoid self.variable. Use becomes for correct routing. Use unique index on group_id and key Add null: false for t.timestamps Fix schema version Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable Rename the rest of them Add the rest of files Implement CURD Rename codes related to VariableGroup and VariableProject FE part Remove unneccesary changes Make Fe code up-to-date Add protected flag to migration file Protected group variables essential package Update schema Improve doc Fix logic and spec for models Fix logic and spec for controllers Fix logic and spec for views(pre feature) Add feature spec Fixed bugs. placeholder. reveal button. doc. Add changelog Remove unnecessary comment godfat nice catches Improve secret_variables_for arctecture Fix spec Fix StaticAnlysys & path_regex spec Revert "Improve secret_variables_for arctecture" This reverts commit c3216ca212322ecf6ca534cb12ce75811a4e77f1. Use ayufan suggestion for secret_variables_for Use find instead of find_by Fix spec message for variable is invalid Fix spec remove variable.group_id = group.id godffat spec nitpicks Use include Gitlab::Routing.url_helpers for presenter spec
2017-07-06Update CI runner factories to not use invalid IDsYorick Peterse
These IDs point to non-existing rows, causing the foreign key constraints to fail.
2017-07-06Merge branch '33772-readonly-gitlab-ci-cache' into 'master'Kamil Trzciński
Introduce cache policies for CI jobs Closes #33772 See merge request !12483
2017-07-05Merge branch '23036-replace-snippets-spinach' into 'master'Rémy Coutable
Replace 'snippets/snippets.feature' spinach with rspec See merge request !12385
2017-07-05Introduce cache policies for CI jobsNick Thomas
2017-07-05Replace 'snippets/snippets.feature' spinach with rspecAlexander Randa
2017-07-05pipeline_schedule_variables model/dbShinya Maeda
2017-06-30Improve support for external issue referencesAdam Niedzielski
2017-06-22Merge remote-tracking branch 'upstream/master' into ↵Pawel Chojnacki
28717-additional-metrics-review-branch
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-06-19If migrations are pending, make CurrentSettings use existing values and ↵Stan Hu
populate missing columns with defaults master was failing because `ApplicationSetting.create_from_defaults` attempted to write to a column that did not exist in the database. This occurred in a `rake db:migrate` task, which was unable to perform the migration that would have added the missing column in the first place. In 9.3 RC2, we also had a bug where password sign-ins were disabled because there were many pending migrations. The problem occurred because `fake_application_settings` was being returned with an OpenStruct that did not include the predicate method `signup_enabled?`. As a result, the value would erroneously return `nil` instead of `true`. This commit uses the values of the defaults to mimic this behavior. This commit also refactors some of the logic to be clearer.
2017-06-16Merge remote-tracking branch 'upstream/master' into ↵Pawel Chojnacki
28717-additional-metrics-review-branch
2017-06-12Send new configuration options with job's payloadTomasz Maczukin
2017-06-08Bring in security changes from the 9.2.5 releaseDJ Mountney
Ran: - git format-patch v9.2.2..v9.2.5 --stdout > patchfile.patch - git checkout -b 9-2-5-security-patch origin/v9.2.2 - git apply patchfile.patch - git commit - [Got the sha ref for the commit] - git checkout -b upstream-9-2-security master - git cherry-pick <SHA of the patchfile commit> - [Resolved conflicts] - git cherry-pick --continue
2017-06-07Merge branch 'expand-backlog-closed-lists-issue-boards' into 'master'Douwe Maan
Expand/collapse close & backlog lists in issue boards Closes #23917 See merge request !11820
2017-06-07Merge branch 'feature/gb/persist-pipeline-stages' into 'master'Kamil Trzciński
Persist stages in the database Closes #26481 See merge request !11790
2017-06-07Merge branch '12910-snippets-description' into 'master'Phil Hughes
Support descriptions for snippets Closes #31894 See merge request !11071
2017-06-07Merge remote-tracking branch 'upstream/master' into ↵Pawel Chojnacki
28717-additional-metrics-review-branch # Conflicts: # app/models/project_services/prometheus_service.rb # app/views/projects/services/_form.html.haml
2017-06-06Merge branch 'feature/gb/migrate-pipeline-stages' into ↵Grzegorz Bizon
feature/gb/persist-pipeline-stages * feature/gb/migrate-pipeline-stages: (76 commits) redesign caching of application settings Fix binary encoding error on MR diffs Fix missing tooltip and ARIA labels for accessibility Add info on using self-signed certs with Registry Actually clean gitlab-test path when TestEnv.set_repo_refs fails Introduce optimistic locking support via optional parameter last_commit_id on File Update API Move issuable bulk edit form into a new sidebar. Add PowerShell to CI variable docs Responsive environment tables Accept a username for User-level Events API Introduce an Events API Update GitLab Pages to v0.4.3 Allow numeric pages domain Remove references to old settings location Resolve "API: Environment info missed" Fix Projects API spec Resolve "When changing project visibility setting, change other dropdowns automatically" Update explanation of job-level variable override to fit example change headings to improve SEO backports changed import logic from pull mirroring feature into CE ...
2017-06-06Merge branch 'pull-mirror-overhaul-ce-backport' into 'master'Douwe Maan
backports changed import logic from pull mirroring feature into CE See merge request !11850
2017-06-06backports changed import logic from pull mirroring feature into CETiago Botelho
2017-06-05Merge branch 'master' into feature/gb/persist-pipeline-stagesGrzegorz Bizon
* master: (524 commits) Improve user experience around slash commands in instant comments Fix LFS timeouts when trying to save large files retryable? is now available for CommitStatus Resolve "Documentation of `.gitlab-ci.yml` states incorrect example for variables" Fix test failures Add slugify project path to CI enviroment variables Fixed typo: craeted -> created 32118 Make New environment empty state btn lowercase Expose import_status in Projects API 32832 Remove overflow from comment form for confidential issues and vertically aligns confidential issue icon Fix test failures Allow manual bypass of auto_sign_in_with_provider Fix keys seed Allow users to be hard-deleted from the API fixup some classnames and media queries Enable the Style/PreferredHashMethods cop Lint our factories creation in addition to their build Don’t schedule workers from inside transactions Allow scheduling from after_commit hooks Forbid Sidekiq scheduling in transactions ... Conflicts: app/serializers/pipeline_entity.rb db/schema.rb spec/factories/ci/stages.rb spec/lib/gitlab/import_export/safe_model_attributes.yml spec/services/ci/create_pipeline_service_spec.rb spec/spec_helper.rb
2017-06-05Merge branch '30469-convdev-index' into 'master'Sean McGivern
ConvDev Index Closes #30469 See merge request !11377
2017-06-05Merge branch '25680-CI_ENVIRONMENT_URL' into 'master'Kamil Trzciński
Add `$CI_ENVIRONMENT_URL` as a job variable Closes #25680 See merge request !11695
2017-06-02Merge branch '33139-lint-our-factories' into 'master'Grzegorz Bizon
Lint our factories creation in addition to their build Closes #33139 See merge request !11823
2017-06-02Lint our factories creation in addition to their buildRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-02Merge branch '31511-jira-settings' into 'master'Sean McGivern
Simplify test&save actions when setting a service integration Closes #31511 See merge request !11599
2017-06-01Merge remote-tracking branch 'upstream/master' into 25680-CI_ENVIRONMENT_URLLin Jen-Shin
* upstream/master: (39 commits) Resolve "Improve Container Registry description" Add username parameter to gravatar URL Fix replying to a commit discussion displayed in the context of an MR Add fog-aliyun as backup storage provider Add missing specs Make sure protected can't be null; Test protected! Update session cookie key name to be unique to instance in development Just mention which GitLab version is required Fix data inconsistency issue for old artifacts by moving them to a currently used path Fix N+1 queries for non-members in comment threads Fix rubocop in spec/helpers/diff_helper_spec.rb Merge two items into one in the doc Only remove FK if it exists Maintain notes avatar at smaller breakpoint Fix pipeline schedule value name in documentation Add test for Project#protected_for? Update diff discussion position per discussion instead of per note Display Shared Runner status in Admin Dashboard Make sure we're loading the fresh variables Now secret_variables_for would return the variables ...
2017-06-01Add Conversational Development Index page to admin panelTaurie Davis, Simon Knox and Adam Niedzielski
2017-06-01Just use the url from options, not saving it as a columnLin Jen-Shin