Zeger-Jan van de Weg
8df3997a92
Add Pipeline Schedules that supersedes experimental Trigger Schedule
2017-05-07 22:35:56 +00:00
Kushal Pandya
a055622ae0
Update tests
2017-03-28 11:45:57 +05:30
Kamil Trzciński
12dd5ac221
All CI offline migrations
2017-03-17 23:06:11 +00:00
Douwe Maan
7ea641b6d0
Enable Style/ColonMethodCall
2017-02-23 09:31:57 -06:00
James Lopez
1a2d13c821
programmatically remove encrypted attributes. Added relevant spec.
2017-01-30 12:34:32 +01:00
James Lopez
eeb13c16d1
rename method and added note to export file spec about new encrypted attributes
2017-01-30 12:34:32 +01:00
James Lopez
bb22012675
fix spec failures
2017-01-30 12:34:32 +01:00
Robert Speicher
d7755ede24
Merge branch 'fix/rename-group-export-vuln' into 'security'
...
Fix export files not removed when a user takes over a namespace
See merge request !2051
2017-01-23 13:42:27 -05:00
Douglas Barbosa Alexandre
fed29117de
Rename SlackNotificationService back to SlackService
2016-12-20 19:42:13 -02:00
Felipe Artur
a5ccaded65
Change SlackService to SlackNotificationsService
2016-12-15 15:32:49 -02:00
Adam Niedzielski
2e411b5ea0
Test GitLab project import for a user with only their default namespace.
...
Refactor the spec file:
- remove hardcoded record IDs
- avoid top-level let if not used in all scenarios
- prefer expect { ... }.to change { ... }.from(0).to(1) over checking
that there are no records at the beginning of the test
2016-10-20 15:22:04 +02:00
James Lopez
891e5f4851
Update specs to cope with new label types and priorities
...
Fixed all related specs and also changed the logic to handle edge cases. This includes exporting and exporting of group labels, which will get associated with the new group (if any) or they will become normal project labels otherwise.
Found other issues to do with not being able to import all labels at once in the beginning of the JSON - code was much simpler when we import all labels and milestones associated to a project first, then the associations will find the already created labels instead of creating them from the associations themselves.
2016-10-19 14:58:28 -02:00
James Lopez
848a146fc3
Fix import test
2016-10-19 14:58:25 -02:00
Douglas Barbosa Alexandre
fd0ba37276
Update project test file for project import integration test
2016-10-19 14:58:25 -02:00
Rémy Coutable
d51bb99a7e
Merge commit 'dev/security' into 'master'
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-06 08:33:11 +02:00
James Lopez
a09e1d3dda
Enable import/export back for non-admins
2016-10-03 10:53:18 +02:00
James Lopez
958d9f11e8
fix export project file permissions issue
2016-09-30 16:10:48 +02:00
James Lopez
ce48a595b0
fixing security specs after merge
2016-09-21 14:36:28 +02:00
Dmitriy Zaporozhets
c2a7e7b8ac
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
2016-09-21 12:22:02 +03:00
James Lopez
e74b7d665b
squashed - Fix DB exceptions raised importing some specific projects.
...
Better import of labels, milestones and protected branches. Updated relevant specs.
Loose pipeline validation on importing, so it does not fail when there are missing fields, which are not validated at DB level. Also, updated spec with relevant test.
2016-09-19 09:18:37 +02:00
James Lopez
0f15e971fc
more spec refactoring based on feedback
2016-09-09 14:56:10 +02:00
James Lopez
668ebfcaae
fix wording
2016-09-09 14:56:10 +02:00
James Lopez
621b4eaf22
fixing a couple of bugs and lots of refactoring of the export file spec
2016-09-09 14:56:10 +02:00
James Lopez
8ca963bd96
more refactoring of the specs
2016-09-09 14:56:10 +02:00
James Lopez
7323d30f44
refactored specs based on feedback
2016-09-09 14:56:10 +02:00
James Lopez
ad14944be7
fix specs so they work in EE straight away
2016-09-09 14:56:10 +02:00
James Lopez
ff1d6477da
Export integration test and attribute change spec - squashed
...
Export file integration test that checks for sensitive info.
Also added spec to check new added attributes to models that
can be exported.
2016-09-09 14:56:10 +02:00
Felipe Artur
892dea6771
Project tools visibility level
2016-09-01 11:47:59 -03:00
James Lopez
30f9596c61
Fix permissions check in controller, added relevant spec and updated docs
2016-08-11 16:59:37 +02:00
James Lopez
32d8aa6d5e
fix repo hooks missing on import
...
fix spec and added changelog
2016-07-28 17:41:17 +02:00
James Lopez
96572bd006
fix spec - unused var
2016-07-20 17:54:50 +02:00
James Lopez
70023c2179
fix spec
2016-07-20 17:12:18 +02:00
James Lopez
f0603e4cb7
added spec, fixed wording
2016-07-20 16:09:43 +02:00
James Lopez
f67984626b
added test
2016-07-07 16:12:28 +02:00
James Lopez
d6d0a35598
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/import-export-events
2016-07-01 14:52:38 +02:00
Grzegorz Bizon
9798ac77ed
Enable Style/SpaceAfterColon Rubocop cops
2016-06-29 15:16:04 +02:00
James Lopez
29b78800b5
updated integration test file
2016-06-29 13:59:21 +02:00
James Lopez
4bde59341f
lots of refactoring again based on feedback. Changed the UI slightly and also fixed a small bug
2016-06-15 17:31:00 +02:00
James Lopez
cbd0201fdb
fixing specs and some code cleanup
2016-06-15 10:37:17 +02:00
James Lopez
fc5f6943f8
yay finally importing working with the new services structure
2016-06-14 21:41:40 +02:00
James Lopez
becd9bfdc6
updated spec file
2016-05-19 16:42:41 +02:00
James Lopez
dac1d0d812
updated test project file
2016-05-18 18:15:28 +02:00
James Lopez
ee2993040c
updated test file with DB config
2016-05-18 11:20:38 +02:00
James Lopez
7ea68d006e
updated file import spec
2016-05-16 15:17:44 +02:00
James Lopez
c487e6d311
updated spec file
2016-05-13 16:24:32 +02:00
James Lopez
ae53840723
updated export file for spec
2016-05-11 15:02:55 +02:00
James Lopez
17ce63a5e1
updated spec export file
2016-05-10 13:11:21 +02:00
James Lopez
bd0c8ce405
fixed space
2016-05-09 18:07:29 +02:00
James Lopez
2a135866a2
added more tests to integration spec
2016-05-05 16:24:09 +02:00
James Lopez
4b1fdfd6eb
updated export file for testing
2016-05-05 13:14:43 +02:00