Files
gitlabhq/lib/gitlab
Rémy CoutableandRobert Speicher 6e8864132e Merge branch 'fix/import-export-events' into 'master'
Fixing problems with events for import/export

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/19202

A couple of issues related to target being missing in exported `Events` (as being polymorphic and not have `ActiveRecord` relationships is a bit more tricky than normal models) plus as the export was in JSON, the import retrieves hashed fields as stringified hashes and not symbolized - so fixed that as well, which was the cause of https://gitlab.com/gitlab-org/gitlab-ce/issues/19202

Also fixed / refactored tests
:simpl
Import/Export Version has been bumped to 0.1.1 as theses changes to events won't work very well with old exports - forcing users to generate a new export in the new version.

See merge request !4987
(cherry picked from commit c368cb605b)
2016-07-06 12:43:23 -04:00
..
2016-06-06 17:40:26 +02:00
2016-05-31 19:33:46 -03:00
2015-11-30 18:36:34 +02:00
2015-12-15 00:53:52 -02:00
2014-09-29 12:05:17 +03:00
2016-06-12 21:05:58 -04:00
2015-11-18 13:31:18 +01:00
2014-10-06 00:14:46 +02:00
2016-06-10 14:51:16 +02:00
2016-06-01 12:10:08 +02:00
2015-02-24 15:07:24 +01:00
2016-04-13 13:12:05 +03:00
2014-10-06 00:14:46 +02:00
2016-06-15 14:59:37 +02:00
2016-04-28 21:28:39 +02:00
2014-10-31 17:22:16 -07:00
2016-05-26 13:58:01 +02:00
2014-10-06 00:14:46 +02:00
2015-03-24 18:35:57 -07:00
2014-10-06 00:14:46 +02:00
2016-06-14 13:04:21 +02:00
2016-06-03 10:37:09 -06:00
2014-10-06 00:14:46 +02:00
2015-08-26 11:30:38 -07:00
2016-05-23 09:11:21 +02:00
2016-03-10 12:37:14 +01:00
2013-06-06 10:10:51 +09:00
2016-06-15 14:59:37 +02:00