An error occurred fetching the project authors.
  1. 04 Nov, 2019 1 commit
  2. 22 Oct, 2019 1 commit
  3. 18 Sep, 2019 1 commit
  4. 11 Aug, 2019 1 commit
    • Stan Hu's avatar
      Properly save suggestions in project exports · 26107e93
      Stan Hu authored
      Previously imports would fail if a merge request note included a
      suggestion with an
      `ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection`
      exception.
      
      This was happening because suggestions were listed as a descendant of
      merge requests, but this doesn't work because suggestions are directly
      associated with notes, not merge requests, and that association is lost.
      Rails also disallows creating intializing a has_many association through
      a different object.
      
      We fix this by making `suggestions` a child of `notes` within a merge
      request. This doesn't fix previously broken exported project exports,
      but new exports will work.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65880
      26107e93
  5. 02 Aug, 2019 1 commit
    • Jason Colyer's avatar
      Make issue boards importable · 87235d00
      Jason Colyer authored
      - Added Importable to models/list.rb
      - Did unless: :importable? on board validation
      - Created changelog
      - Modified haml to show issue boards are importable
      - Added needed spec tests
      - Modified project.json to include board information
      - Added relevant models to all_models
      - Added relevant models to import_export
      - Added relevant models to safe_model_attributes
      87235d00
  6. 22 Jul, 2019 1 commit
  7. 15 Jul, 2019 2 commits
  8. 28 Jun, 2019 1 commit
  9. 11 Jun, 2019 1 commit
  10. 28 May, 2019 1 commit
  11. 30 Apr, 2019 1 commit
  12. 23 Apr, 2019 1 commit
  13. 10 Apr, 2019 1 commit
  14. 18 Feb, 2019 1 commit
  15. 08 Feb, 2019 1 commit
  16. 15 Nov, 2018 1 commit
  17. 24 Sep, 2018 2 commits
  18. 07 Sep, 2018 1 commit
  19. 23 May, 2018 1 commit
  20. 14 May, 2018 1 commit
  21. 05 Apr, 2018 3 commits
  22. 14 Mar, 2018 1 commit
    • Bob Van Landuyt's avatar
      Import multiple issue assignees from GitLab export · ca8f1ed9
      Bob Van Landuyt authored
      When importing from a GitLab archive, an admin can carry over the
      assignations. Other users can not.
      
      When a regular user is importing an issue with multiple assignees, the
      assignee is replaced with the current user, meaning we would try to
      insert current user as an assignee multiple times.
      
      By filtering the array before storing it, the import becomes more
      robust.
      ca8f1ed9
  23. 05 Mar, 2018 1 commit
  24. 26 Jan, 2018 1 commit
  25. 08 Jan, 2018 1 commit
  26. 05 Jan, 2018 1 commit
  27. 04 Jan, 2018 1 commit
  28. 28 Nov, 2017 1 commit
    • Sean McGivern's avatar
      Remove serialised diff and commit columns · 4ebbfe5d
      Sean McGivern authored
      The st_commits and st_diffs columns on merge_request_diffs historically held the
      YAML-serialised data for a merge request diff, in a variety of formats.
      
      Since 9.5, these have been migrated in the background to two new tables:
      merge_request_diff_commits and merge_request_diff_files. That has the advantage
      that we can actually query the data (for instance, to find out how many commits
      we've stored), and that it can't be in a variety of formats, but must match the
      new schema.
      
      This is the final step of that journey, where we drop those columns and remove
      all references to them. This is a breaking change to the importer, because we
      can no longer import diffs created in the old format, and we cannot guarantee
      the export will be in the new format unless it was generated after this commit.
      4ebbfe5d
  29. 06 Nov, 2017 1 commit
  30. 31 Oct, 2017 2 commits
  31. 06 Sep, 2017 1 commit
    • Yorick Peterse's avatar
      Finish migration to the new events setup · 235b105c
      Yorick Peterse authored
      This finishes the procedure for migrating events from the old format
      into the new format. Code no longer uses the old setup and the database
      tables used during the migration process are swapped, with the old table
      being dropped.
      
      While the database migration can be reversed this will 1) take a lot of
      time as data has to be coped around 2) won't restore data in the
      "events.data" column as we have no way of restoring this.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37241
      235b105c
  32. 21 Aug, 2017 1 commit
  33. 07 Aug, 2017 1 commit
  34. 06 Jul, 2017 1 commit
    • Sean McGivern's avatar
      Add table for merge request commits · aff5c9f3
      Sean McGivern authored
      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
  35. 16 Jun, 2017 1 commit
    • Sean McGivern's avatar
      Add table for files in merge request diffs · 9a73b634
      Sean McGivern authored
      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