1. 27 7月, 2017 5 次提交
  2. 26 7月, 2017 2 次提交
  3. 20 7月, 2017 1 次提交
    • T
      Handle errors while a project is being deleted asynchronously. · 72a85ae9
      Timothy Andrew 提交于
      1. Rescue all errors that `Projects::DestroyService` might throw, to prevent the
         worker from leaving things in an inconsistent state
      
      2. Unmark the project as `pending_delete`
      
      3. Add a `delete_error` text column to `projects`, and save the error message in
         there, to be shown to the project masters/owners.
      72a85ae9
  4. 18 7月, 2017 5 次提交
  5. 13 7月, 2017 1 次提交
    • R
      Fixes needed when GitLab sign-in is not enabled · 672a68d3
      Robin Bobbitt 提交于
      When sign-in is disabled:
       - skip password expiration checks
       - prevent password reset requests
       - don’t show Password tab in User Settings
       - don’t allow login with username/password for Git over HTTP requests
       - render 404 on requests to Profiles::PasswordsController
      672a68d3
  6. 08 7月, 2017 1 次提交
  7. 07 7月, 2017 4 次提交
    • F
      Native group milestones · b5f596c3
      Felipe Artur 提交于
      b5f596c3
    • S
      Basic BE change · 5b095475
      Shinya 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
      5b095475
    • R
    • S
      Add table for merge request commits · aff5c9f3
      Sean McGivern 提交于
      This is an ID-less table with just three columns: an association to the merge
      request diff the commit belongs to, the relative order of the commit within the
      merge request diff, and the commit SHA itself.
      
      Previously we stored much more information about the commits, so that we could
      display them even when they were deleted from the repo. Since 8.0, we ensure
      that those commits are kept around for as long as the target repo itself is, so
      we don't need to duplicate that data in the database.
      aff5c9f3
  8. 06 7月, 2017 1 次提交
    • Y
      Add many foreign keys to the projects table · c63e3221
      Yorick Peterse 提交于
      This removes the need for relying on Rails' "dependent" option for data
      removal, which is _incredibly_ slow (even when using :delete_all) when
      deleting large amounts of data. This also ensures data consistency is
      enforced on DB level and not on application level (something Rails is
      really bad at).
      
      This commit also includes various migrations to add foreign keys to
      tables that eventually point to "projects" to ensure no rows get
      orphaned upon removing a project.
      c63e3221
  9. 05 7月, 2017 2 次提交
  10. 04 7月, 2017 1 次提交
  11. 26 6月, 2017 1 次提交
  12. 23 6月, 2017 1 次提交
  13. 22 6月, 2017 2 次提交
  14. 21 6月, 2017 2 次提交
  15. 17 6月, 2017 1 次提交
    • S
      Add table for files in merge request diffs · 9a73b634
      Sean McGivern 提交于
      This adds an ID-less table containing one row per file, per merge request
      diff. It has a column for each attribute on Gitlab::Git::Diff that is serialised
      currently, with the advantage that we can easily query the attributes of this
      new table.
      
      It does not migrate existing data, so we have fallback code when the legacy
      st_diffs column is present instead. For a merge request diff to be valid, it
      should have at most one of:
      
      * Rows in this new table, with the correct merge_request_diff_id.
      * A non-NULL st_diffs column.
      
      It may have neither, if the diff is empty.
      9a73b634
  16. 16 6月, 2017 1 次提交
  17. 15 6月, 2017 2 次提交
    • S
      Deserialise existing custom notification settings · e94c1028
      Sean McGivern 提交于
      Create a post-deployment migration to update all existing notification settings
      with at least one custom level enabled to the new format. Also handle the same
      conversion when updating settings, to catch any stragglers.
      e94c1028
    • S
      Add columns for custom notification settings · f4b5fcbc
      Sean McGivern 提交于
      Add columns for each custom notification level, defaulting to null. Read from
      those columns if non-null, otherwise fall back to the serialized column. Writing
      will write to the new column if `events` isn't manually set.
      f4b5fcbc
  18. 14 6月, 2017 1 次提交
  19. 08 6月, 2017 2 次提交
    • D
      Bring in security changes from the 9.2.5 release · 565ead61
      DJ 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
      565ead61
    • D
      Bring in security changes from the 9.2.5 release · 1d1363e2
      DJ 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
      1d1363e2
  20. 07 6月, 2017 1 次提交
  21. 06 6月, 2017 1 次提交
  22. 05 6月, 2017 1 次提交
  23. 03 6月, 2017 1 次提交