1. 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
  2. 05 7月, 2017 1 次提交
  3. 04 7月, 2017 1 次提交
  4. 26 6月, 2017 1 次提交
  5. 23 6月, 2017 1 次提交
  6. 22 6月, 2017 2 次提交
  7. 21 6月, 2017 2 次提交
  8. 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
  9. 16 6月, 2017 1 次提交
  10. 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
  11. 14 6月, 2017 1 次提交
  12. 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
  13. 07 6月, 2017 1 次提交
  14. 06 6月, 2017 1 次提交
  15. 05 6月, 2017 1 次提交
  16. 03 6月, 2017 2 次提交
  17. 01 6月, 2017 4 次提交
  18. 31 5月, 2017 3 次提交
  19. 27 5月, 2017 3 次提交
  20. 26 5月, 2017 2 次提交
  21. 25 5月, 2017 4 次提交
  22. 24 5月, 2017 1 次提交
  23. 19 5月, 2017 2 次提交