Commit graph

18 commits

Author SHA1 Message Date
Yorick Peterse
235b105c91
Finish migration to the new events setup
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
2017-09-06 16:40:31 +02:00
Robin Bobbitt
649d042dbc Add option to disable project export on instance 2017-08-11 12:22:37 -04:00
Sean McGivern
9a73b634ab Add table for files in merge request diffs
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.
2017-06-16 18:30:01 +01:00
Zeger-Jan van de Weg
8df3997a92 Add Pipeline Schedules that supersedes experimental Trigger Schedule 2017-05-07 22:35:56 +00:00
Kamil Trzciński
12dd5ac221 All CI offline migrations 2017-03-17 23:06:11 +00:00
James Lopez
8409340b3b Add missing group members to export for I/E 2017-02-07 11:06:05 +01:00
James Lopez
e589c7e848 Ignore encrypted attributes in Import/Export
* Regenerates tokens for all models that have them
* Remove variables, since they are basically just storing encrypted data
* Bumped version up to 0.1.6
* Updated related docs
2017-01-30 12:34:32 +01:00
James Lopez
77b7bfd463 Fix import/export labels to cope with project and group labels. Added relevant specs. 2016-10-19 14:58:25 -02:00
James Lopez
a09e1d3dda Enable import/export back for non-admins 2016-10-03 10:53:18 +02:00
James Lopez
3c7feaf3b1 Fixed label color issue and added Import/Export versioning table 2016-09-19 09:18:37 +02:00
James Lopez
30f9596c61 Fix permissions check in controller, added relevant spec and updated docs 2016-08-11 16:59:37 +02:00
Achilleas Pipinellis
689de9c6fb Simplify feature introduction note
[ci skip]
2016-08-08 11:44:55 +03:00
Achilleas Pipinellis
51b51de77d Give images proper names 2016-06-22 11:41:50 +02:00
Achilleas Pipinellis
a41b468816 Add note about the shared directory 2016-06-22 11:31:07 +02:00
Achilleas Pipinellis
10016715c1 Add colons in item lists 2016-06-22 11:15:28 +02:00
Achilleas Pipinellis
e023e66c9f Add note about enabling import/export in existing installations 2016-06-22 11:05:34 +02:00
Achilleas Pipinellis
b2732f3af1 Refactor project import/export documentation 2016-06-21 20:07:52 +02:00
Achilleas Pipinellis
0c61fad74c Move to new location
Due to https://gitlab.com/gitlab-org/gitlab-ce/issues/3349
2016-06-21 19:28:08 +02:00