diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-20 16:49:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-20 16:49:51 +0300 |
commit | 71786ddc8e28fbd3cb3fcc4b3ff15e5962a1c82e (patch) | |
tree | 6a2d93ef3fb2d353bb7739e4b57e6541f51cdd71 /spec/fixtures | |
parent | a7253423e3403b8c08f8a161e5937e1488f5f407 (diff) |
Add latest changes from gitlab-org/gitlab@15-9-stable-eev15.9.0-rc42
Diffstat (limited to 'spec/fixtures')
28 files changed, 915 insertions, 224 deletions
diff --git a/spec/fixtures/api/schemas/entities/codequality_degradation.json b/spec/fixtures/api/schemas/entities/codequality_degradation.json index 863b9f0c77e..ac772873daf 100644 --- a/spec/fixtures/api/schemas/entities/codequality_degradation.json +++ b/spec/fixtures/api/schemas/entities/codequality_degradation.json @@ -21,7 +21,10 @@ }, "web_url": { "type": "string" + }, + "engine_name": { + "type": "string" } }, "additionalProperties": false -}
\ No newline at end of file +} diff --git a/spec/fixtures/api/schemas/graphql/packages/package_details.json b/spec/fixtures/api/schemas/graphql/packages/package_details.json index 1f3de0e0ff5..f66f5eb35b5 100644 --- a/spec/fixtures/api/schemas/graphql/packages/package_details.json +++ b/spec/fixtures/api/schemas/graphql/packages/package_details.json @@ -9,6 +9,7 @@ "version", "packageType", "project", + "publicPackage", "tags", "pipelines", "versions", @@ -31,13 +32,20 @@ "type": "string" }, "version": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "canDestroy": { - "type": ["boolean"] + "type": [ + "boolean" + ] }, "packageType": { - "type": ["string"], + "type": [ + "string" + ], "enum": [ "MAVEN", "NPM", @@ -56,66 +64,126 @@ "type": "object", "additionalProperties": false, "properties": { - "count": { "type": "integer" }, - "pageInfo": { "type": "object" }, - "edges": { "type": "array" }, - "nodes": { "type": "array" } + "count": { + "type": "integer" + }, + "pageInfo": { + "type": "object" + }, + "edges": { + "type": "array" + }, + "nodes": { + "type": "array" + } } }, "project": { "type": "object" }, + "publicPackage": { + "type": "boolean" + }, "pipelines": { "type": "object", "additionalProperties": false, "properties": { - "pageInfo": { "type": "object" }, - "count": { "type": "integer" }, - "edges": { "type": "array" }, - "nodes": { "type": "array" } + "pageInfo": { + "type": "object" + }, + "count": { + "type": "integer" + }, + "edges": { + "type": "array" + }, + "nodes": { + "type": "array" + } } }, "versions": { "type": "object", "additionalProperties": false, "properties": { - "count": { "type": "integer" }, - "pageInfo": { "type": "object" }, - "edges": { "type": "array" }, - "nodes": { "type": "array" } + "count": { + "type": "integer" + }, + "pageInfo": { + "type": "object" + }, + "edges": { + "type": "array" + }, + "nodes": { + "type": "array" + } } }, "metadata": { "anyOf": [ - { "$ref": "./package_composer_metadata.json" }, - { "$ref": "./package_conan_metadata.json" }, - { "$ref": "./package_maven_metadata.json" }, - { "$ref": "./package_nuget_metadata.json" }, - { "$ref": "./package_pypi_metadata.json" }, - { "type": "null" } + { + "$ref": "./package_composer_metadata.json" + }, + { + "$ref": "./package_conan_metadata.json" + }, + { + "$ref": "./package_maven_metadata.json" + }, + { + "$ref": "./package_nuget_metadata.json" + }, + { + "$ref": "./package_pypi_metadata.json" + }, + { + "type": "null" + } ] }, "packageFiles": { "type": "object", "additionalProperties": false, "properties": { - "count": { "type": "integer" }, - "pageInfo": { "type": "object" }, - "edges": { "type": "array" }, - "nodes": { "type": "array" } + "count": { + "type": "integer" + }, + "pageInfo": { + "type": "object" + }, + "edges": { + "type": "array" + }, + "nodes": { + "type": "array" + } } }, "status": { - "type": ["string"], - "enum": ["DEFAULT", "HIDDEN", "PROCESSING", "ERROR"] + "type": [ + "string" + ], + "enum": [ + "DEFAULT", + "HIDDEN", + "PROCESSING", + "ERROR" + ] }, "dependencyLinks": { "type": "object", "additionalProperties": false, "properties": { - "pageInfo": { "type": "object" }, - "edges": { "type": "array" }, - "count": { "type": "integer" }, + "pageInfo": { + "type": "object" + }, + "edges": { + "type": "array" + }, + "count": { + "type": "integer" + }, "nodes": { "type": "array", "items": { @@ -143,8 +211,12 @@ }, "metadata": { "anyOf": [ - { "$ref": "./package_nuget_dependency_link_metadata.json" }, - { "type": "null" } + { + "$ref": "./package_nuget_dependency_link_metadata.json" + }, + { + "type": "null" + } ] } } @@ -177,14 +249,20 @@ "type": "string" }, "lastDownloadedAt": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "_links": { "type": "object", "additionalProperties": false, "properties": { "webPath": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } } diff --git a/spec/fixtures/api/schemas/public_api/v4/job.json b/spec/fixtures/api/schemas/public_api/v4/job.json index f6b12d3a1c0..6265fbcff69 100644 --- a/spec/fixtures/api/schemas/public_api/v4/job.json +++ b/spec/fixtures/api/schemas/public_api/v4/job.json @@ -11,6 +11,7 @@ "created_at", "started_at", "finished_at", + "erased_at", "duration", "queued_duration", "user", @@ -35,6 +36,7 @@ "created_at": { "type": "string" }, "started_at": { "type": ["null", "string"] }, "finished_at": { "type": ["null", "string"] }, + "erased_at": { "type": ["null", "string"] }, "duration": { "type": ["null", "number"] }, "queued_duration": { "type": ["null", "number"] }, "user": { "$ref": "user/basic.json" }, diff --git a/spec/fixtures/blockquote_fence_after.md b/spec/fixtures/blockquote_fence_after.md index 18500d94c7a..c60daf49f3d 100644 --- a/spec/fixtures/blockquote_fence_after.md +++ b/spec/fixtures/blockquote_fence_after.md @@ -130,6 +130,35 @@ Double `>>>` inside HTML inside blockquote: > Quote +Blockquote inside an unordered list + +- Item one + + + > Foo and + > bar + + + - Sub item + + + > Foo + + +Blockquote inside an ordered list + +1. Item one + + + > Bar + + + 1. Sub item + + + > Foo + + Requires a leading blank line >>> Not a quote diff --git a/spec/fixtures/blockquote_fence_before.md b/spec/fixtures/blockquote_fence_before.md index 895bff73404..1f4b8196def 100644 --- a/spec/fixtures/blockquote_fence_before.md +++ b/spec/fixtures/blockquote_fence_before.md @@ -130,6 +130,35 @@ Quote Quote >>> +Blockquote inside an unordered list + +- Item one + + >>> + Foo and + bar + >>> + + - Sub item + + >>> + Foo + >>> + +Blockquote inside an ordered list + +1. Item one + + >>> + Bar + >>> + + 1. Sub item + + >>> + Foo + >>> + Requires a leading blank line >>> Not a quote diff --git a/spec/fixtures/build_artifacts/dotenv_utf16_le.txt b/spec/fixtures/build_artifacts/dotenv_utf16_le.txt Binary files differnew file mode 100644 index 00000000000..6ff398f70c5 --- /dev/null +++ b/spec/fixtures/build_artifacts/dotenv_utf16_le.txt diff --git a/spec/fixtures/database.sql.gz b/spec/fixtures/database.sql.gz Binary files differnew file mode 100644 index 00000000000..a98aa7c53f2 --- /dev/null +++ b/spec/fixtures/database.sql.gz diff --git a/spec/fixtures/emails/html_only.eml b/spec/fixtures/emails/html_only.eml new file mode 100644 index 00000000000..22a1a431771 --- /dev/null +++ b/spec/fixtures/emails/html_only.eml @@ -0,0 +1,45 @@ +Delivered-To: reply@discourse.org +Return-Path: <walter.white@googlemail.com> +MIME-Version: 1.0 +In-Reply-To: <topic/22638/86406@meta.discourse.org> +References: <topic/22638@meta.discourse.org> + <topic/22638/86406@meta.discourse.org> +Date: Fri, 28 Nov 2014 12:36:49 -0800 +Subject: Re: [Discourse Meta] [Lounge] Testing default email replies +From: Walter White <walter.white@googlemail.com> +To: Discourse Meta <reply@discourse.org> +Content-Type: multipart/related; boundary=001a11c2e04e6544f30508f138ba + +--001a11c2e04e6544f30508f138ba +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +<div dir=3D"ltr"><div>### This is a reply from standard GMail in Google Chr= +ome.</div><div><br></div><div>The quick brown fox jumps over the lazy dog. = +The quick brown fox jumps over the lazy dog. The quick brown fox jumps over= + the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown= + fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. = +The quick brown fox jumps over the lazy dog. The quick brown fox jumps over= + the lazy dog.=C2=A0</div><div><br></div><div>Here's some **bold** text= +, <strong>strong</strong> text and <em>italic</em> in Markdown.</div><div><= +br></div><div>Here's a link <a href=3D"http://example.com">http://examp= +le.com</a></div></div><div class=3D"gmail_extra"><br>Here's an img <i= +mg class="header__logoSize_110px" src="http://img.png" hspace="0" vspac= +e="0" border="0" style="display:block; width:138px; max-width:138px;" width= +="138" alt="Miro"><details><summary>One</summary> Some details</details> +<details><summary>Two</summary> Some details</details></div> + +<table style=3D"margin-bottom:25px" cellspacing=3D"0" cellpadding=3D"0" bor= +der=3D"0"> + <tbody> + <tr> + <td style=3D"padding-top:5px" colspan=3D"2"> + <p style=3D"margin-top:0;border:0">Test reply.</p> + <p style=3D"margin-top:0;border:0">First paragraph.</p> + <p style=3D"margin-top:0;border:0">Second paragraph.</p> + </td> + </tr> + </tbody> +</table> + +--001a11c2e04e6544f30508f138ba-- diff --git a/spec/fixtures/emails/html_table_and_blockquote.eml b/spec/fixtures/emails/html_table_and_blockquote.eml new file mode 100644 index 00000000000..554d17def50 --- /dev/null +++ b/spec/fixtures/emails/html_table_and_blockquote.eml @@ -0,0 +1,41 @@ +MIME-Version: 1.0 +Received: by 10.25.161.144 with HTTP; Tue, 7 Oct 2014 22:17:17 -0700 (PDT) +X-Originating-IP: [117.207.85.84] +In-Reply-To: <5434c8b52bb3a_623ff09fec70f049749@discourse-app.mail> +References: <topic/35@discourse.techapj.com> + <5434c8b52bb3a_623ff09fec70f049749@discourse-app.mail> +Date: Wed, 8 Oct 2014 10:47:17 +0530 +Delivered-To: arpit@techapj.com +Message-ID: <CAOJeqne=SJ_LwN4sb-0Y95ejc2OpreVhdmcPn0TnmwSvTCYzzQ@mail.gmail.com> +Subject: Re: [Discourse] [Meta] Welcome to techAPJ's Discourse! +From: Arpit Jalan <arpit@techapj.com> +To: Discourse <mail+e1c7f2a380e33840aeb654f075490bad@arpitjalan.com> +Content-Type: multipart/related; boundary=001a114119d8f4e46e0504e26d5b + +--001a114119d8f4e46e0504e26d5b +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +<table> + <tr> + <th>Company</th> + <th>Contact</th> + <th>Country</th> + </tr> + <tr> + <td>Alfreds Futterkiste</td> + <td>Maria Anders</td> + <td>Germany</td> + </tr> + <tr> + <td>Centro comercial Moctezuma</td> + <td>Francisco Chang</td> + <td>Mexico</td> + </tr> +</table> + +<blockquote cite="https://www.huxley.net/bnw/four.html"> + <p>Words can be like X-rays, if you use them properly—they’ll go through anything. You read and you’re pierced.</p> +</blockquote> + +--001a114119d8f4e46e0504e26d5b-- diff --git a/spec/fixtures/lib/gitlab/email/basic.html b/spec/fixtures/lib/gitlab/email/basic.html new file mode 100644 index 00000000000..807b23c46e3 --- /dev/null +++ b/spec/fixtures/lib/gitlab/email/basic.html @@ -0,0 +1,72 @@ +<html> + <title>Ignored Title</title> + <body> + <h1>Hello, World!</h1> + + This is some e-mail content. + Even though it has whitespace and newlines, the e-mail converter + will handle it correctly. + + <p><em>Even</em> mismatched tags.</p> + + <div>A div</div> + <div>Another div</div> + <div>A div<div><strong>within</strong> a div</div></div> + + <p>Another line<br />Yet another line</p> + + <a href="http://foo.com">A link</a> + + <p><details><summary>One</summary>Some details</details></p> + + <p><details><summary>Two</summary>Some details</details></p> + + <img class="header__logoSize_110px" src="http://img.png" hspace="0" vspace="0" border="0" + style="display:block; width:138px; max-width:138px;" width="138" alt="Miro"> + + <table> + <thead> + <tr> + <th>Col A</th> + <th>Col B</th> + </tr> + </thead> + <tbody> + <tr> + <td> + Data A1 + </td> + <td> + Data B1 + </td> + </tr> + <tr> + <td> + Data A2 + </td> + <td> + Data B2 + </td> + </tr> + <tr> + <td> + Data A3 + </td> + <td> + Data B4 + </td> + </tr> + </tbody> + <tfoot> + <tr> + <td> + Total A + </td> + <td> + Total B + </td> + </tr> + </tfoot> + </table> + </body> +</html> diff --git a/spec/fixtures/lib/gitlab/import_export/complex/project.json b/spec/fixtures/lib/gitlab/import_export/complex/project.json index 88439965cf3..0bca7b0f494 100644 --- a/spec/fixtures/lib/gitlab/import_export/complex/project.json +++ b/spec/fixtures/lib/gitlab/import_export/complex/project.json @@ -18,7 +18,9 @@ "template": false, "description": "", "type": "ProjectLabel", - "priorities": [] + "priorities": [ + + ] }, { "id": 3, @@ -202,7 +204,9 @@ "author": { "name": "User 4" }, - "events": [], + "events": [ + + ], "award_emoji": [ { "id": 1, @@ -235,7 +239,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 353, @@ -257,7 +263,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 354, @@ -279,7 +287,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 355, @@ -301,7 +311,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 356, @@ -323,7 +335,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 357, @@ -345,7 +359,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 358, @@ -367,7 +383,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ], "resource_label_events": [ @@ -448,7 +466,9 @@ "confidential": false, "due_date": null, "moved_to_id": null, - "issue_assignees": [], + "issue_assignees": [ + + ], "milestone": { "id": 1, "title": "test milestone", @@ -493,7 +513,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 360, @@ -515,7 +537,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 361, @@ -537,7 +561,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 362, @@ -559,7 +585,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 363, @@ -581,7 +609,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 364, @@ -603,7 +633,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 365, @@ -625,7 +657,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 366, @@ -647,7 +681,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ] }, @@ -709,7 +745,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 368, @@ -731,7 +769,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 369, @@ -753,7 +793,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 370, @@ -775,7 +817,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 371, @@ -797,7 +841,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 372, @@ -819,7 +865,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 373, @@ -841,7 +889,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 374, @@ -863,7 +913,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ] }, @@ -904,7 +956,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 376, @@ -926,7 +980,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 377, @@ -948,7 +1004,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 378, @@ -970,7 +1028,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 379, @@ -992,7 +1052,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 380, @@ -1014,7 +1076,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 381, @@ -1036,7 +1100,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 382, @@ -1058,7 +1124,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ] }, @@ -1099,7 +1167,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 384, @@ -1121,7 +1191,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 385, @@ -1143,7 +1215,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 386, @@ -1165,7 +1239,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 387, @@ -1187,7 +1263,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 388, @@ -1209,7 +1287,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 389, @@ -1231,7 +1311,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 390, @@ -1253,7 +1335,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ] }, @@ -1294,7 +1378,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 392, @@ -1316,7 +1402,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 393, @@ -1338,7 +1426,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 394, @@ -1360,7 +1450,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 395, @@ -1382,7 +1474,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 396, @@ -1404,7 +1498,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 397, @@ -1426,7 +1522,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 398, @@ -1448,7 +1546,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ] }, @@ -1489,7 +1589,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 400, @@ -1511,7 +1613,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 401, @@ -1533,7 +1637,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 402, @@ -1555,7 +1661,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 403, @@ -1577,7 +1685,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 404, @@ -1599,7 +1709,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 405, @@ -1621,7 +1733,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 406, @@ -1643,7 +1757,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ] }, @@ -1684,7 +1800,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 408, @@ -1706,7 +1824,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 409, @@ -1728,7 +1848,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 410, @@ -1750,7 +1872,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 411, @@ -1772,7 +1896,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 412, @@ -1794,7 +1920,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 413, @@ -1816,7 +1944,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 414, @@ -1838,7 +1968,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ] }, @@ -1879,7 +2011,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 416, @@ -1901,7 +2035,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 417, @@ -1923,7 +2059,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 418, @@ -1945,7 +2083,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 419, @@ -1967,7 +2107,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 420, @@ -1989,7 +2131,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 421, @@ -2011,7 +2155,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 422, @@ -2033,7 +2179,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ] }, @@ -2084,7 +2232,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 424, @@ -2106,7 +2256,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 425, @@ -2128,7 +2280,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 426, @@ -2150,7 +2304,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 427, @@ -2172,7 +2328,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 428, @@ -2194,7 +2352,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 429, @@ -2216,7 +2376,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 430, @@ -2238,7 +2400,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ] } @@ -2378,7 +2542,9 @@ "author": { "name": "Random name" }, - "events": [], + "events": [ + + ], "award_emoji": [ { "id": 12, @@ -2652,7 +2818,9 @@ "author": { "name": "User 4" }, - "award_emoji": [], + "award_emoji": [ + + ], "system_note_metadata": { "id": 4789, "commit_count": 3, @@ -2660,8 +2828,12 @@ "created_at": "2020-03-28T12:47:33.461Z", "updated_at": "2020-03-28T12:47:33.461Z" }, - "events": [], - "suggestions": [] + "events": [ + + ], + "suggestions": [ + + ] }, { "id": 670, @@ -2691,7 +2863,9 @@ "author": { "name": "User 4" }, - "award_emoji": [], + "award_emoji": [ + + ], "system_note_metadata": { "id": 4790, "commit_count": null, @@ -2699,8 +2873,12 @@ "created_at": "2020-03-28T12:48:36.951Z", "updated_at": "2020-03-28T12:48:36.951Z" }, - "events": [], - "suggestions": [] + "events": [ + + ], + "suggestions": [ + + ] }, { "id": 671, @@ -2724,7 +2902,9 @@ "author": { "name": "User 4" }, - "events": [], + "events": [ + + ], "award_emoji": [ { "id": 1, @@ -2757,7 +2937,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 673, @@ -2779,7 +2961,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 674, @@ -2801,7 +2985,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [], + "events": [ + + ], "suggestions": [ { "id": 1, @@ -2837,7 +3023,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 676, @@ -2859,7 +3047,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 677, @@ -2881,7 +3071,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 678, @@ -2903,7 +3095,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ], "resource_label_events": [ @@ -3332,7 +3526,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 680, @@ -3354,7 +3550,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 681, @@ -3376,7 +3574,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 682, @@ -3398,7 +3598,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 683, @@ -3420,7 +3622,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 684, @@ -3442,7 +3646,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 685, @@ -3464,7 +3670,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 686, @@ -3486,7 +3694,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ], "merge_request_diff": { @@ -3553,9 +3763,15 @@ "author_id": 1 } ], - "merge_request_assignees": [], - "merge_request_reviewers": [], - "approvals": [] + "merge_request_assignees": [ + + ], + "merge_request_reviewers": [ + + ], + "approvals": [ + + ] }, { "id": 15, @@ -3602,7 +3818,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 778, @@ -3624,7 +3842,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 779, @@ -3646,7 +3866,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 780, @@ -3668,7 +3890,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 781, @@ -3690,7 +3914,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 782, @@ -3712,7 +3938,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 783, @@ -3734,7 +3962,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 784, @@ -3756,7 +3986,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ], "merge_request_diff": { @@ -3869,7 +4101,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 786, @@ -3891,7 +4125,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 787, @@ -3913,7 +4149,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 788, @@ -3935,7 +4173,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 789, @@ -3957,7 +4197,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 790, @@ -3979,7 +4221,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 791, @@ -4001,7 +4245,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 792, @@ -4023,7 +4269,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ], "merge_request_diff": { @@ -4656,7 +4904,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 795, @@ -4678,7 +4928,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 796, @@ -4700,7 +4952,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 797, @@ -4722,7 +4976,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 798, @@ -4744,7 +5000,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 799, @@ -4766,7 +5024,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 800, @@ -4788,7 +5048,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ], "merge_request_diff": { @@ -5203,7 +5465,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 802, @@ -5225,7 +5489,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 803, @@ -5247,7 +5513,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 804, @@ -5269,7 +5537,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 805, @@ -5291,7 +5561,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 806, @@ -5313,7 +5585,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 807, @@ -5335,7 +5609,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 808, @@ -5357,7 +5633,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ], "merge_request_diff": { @@ -5727,7 +6005,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 810, @@ -5749,7 +6029,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 811, @@ -5771,7 +6053,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 812, @@ -5793,7 +6077,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 813, @@ -5815,7 +6101,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 814, @@ -5837,7 +6125,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 815, @@ -5859,7 +6149,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 816, @@ -5881,14 +6173,20 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ], "merge_request_diff": { "id": 11, "state": "empty", - "merge_request_diff_commits": [], - "merge_request_diff_files": [], + "merge_request_diff_commits": [ + + ], + "merge_request_diff_files": [ + + ], "merge_request_id": 11, "created_at": "2016-06-14T15:02:23.772Z", "updated_at": "2016-06-14T15:02:23.833Z", @@ -5963,7 +6261,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 818, @@ -5985,7 +6285,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 819, @@ -6007,7 +6309,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 820, @@ -6029,7 +6333,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 821, @@ -6051,7 +6357,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 822, @@ -6073,7 +6381,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 823, @@ -6095,7 +6405,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 824, @@ -6117,7 +6429,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ], "merge_request_diff": { @@ -6716,7 +7030,9 @@ "author": { "name": "User 4" }, - "events": [] + "events": [ + + ] }, { "id": 826, @@ -6738,7 +7054,9 @@ "author": { "name": "User 3" }, - "events": [] + "events": [ + + ] }, { "id": 827, @@ -6760,7 +7078,9 @@ "author": { "name": "User 0" }, - "events": [] + "events": [ + + ] }, { "id": 828, @@ -6782,7 +7102,9 @@ "author": { "name": "Ottis Schuster II" }, - "events": [] + "events": [ + + ] }, { "id": 829, @@ -6804,7 +7126,9 @@ "author": { "name": "Rhett Emmerich IV" }, - "events": [] + "events": [ + + ] }, { "id": 830, @@ -6826,7 +7150,9 @@ "author": { "name": "Burdette Bernier" }, - "events": [] + "events": [ + + ] }, { "id": 831, @@ -6848,7 +7174,9 @@ "author": { "name": "Ari Wintheiser" }, - "events": [] + "events": [ + + ] }, { "id": 832, @@ -6870,7 +7198,9 @@ "author": { "name": "Administrator" }, - "events": [] + "events": [ + + ] } ], "merge_request_diff": { @@ -7474,7 +7804,9 @@ "started_at": null, "finished_at": null, "duration": null, - "stages": [] + "stages": [ + + ] }, { "id": 20, @@ -7492,7 +7824,9 @@ "started_at": null, "finished_at": null, "duration": null, - "stages": [], + "stages": [ + + ], "source": "external_pull_request_event", "external_pull_request": { "id": 3, @@ -7535,8 +7869,12 @@ "keep_n": 100, "enabled": false }, - "deploy_keys": [], - "hooks": [], + "deploy_keys": [ + + ], + "hooks": [ + + ], "protected_branches": [ { "id": 1, @@ -7791,7 +8129,9 @@ "description": null, "group_id": null, "type": "ProjectLabel", - "priorities": [] + "priorities": [ + + ] } }, { @@ -7847,4 +8187,4 @@ "commit_committer_check": true, "regexp_uses_re2": true } -}
\ No newline at end of file +} diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/custom_variable_full_syntax.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/custom_variable_full_syntax.json index c40befcf8ce..0d9c217afd1 100644 --- a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/custom_variable_full_syntax.json +++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/custom_variable_full_syntax.json @@ -7,7 +7,7 @@ "properties": { "type": { "enum": ["custom"] }, "label": { "type": "string" }, - "options": { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/custom_variable_options.json" } + "options": { "$ref": "custom_variable_options.json" } }, "additionalProperties": false } diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/custom_variable_options.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/custom_variable_options.json index de72b947eed..bb78294e43e 100644 --- a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/custom_variable_options.json +++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/custom_variable_options.json @@ -5,7 +5,7 @@ "properties": { "values": { "type": "array", - "items": { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/custom_variable_values.json" } + "items": { "$ref": "custom_variable_values.json" } } }, "additionalProperties": false diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/dashboard.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/dashboard.json index 40453c61a65..f38f74ae13f 100644 --- a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/dashboard.json +++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/dashboard.json @@ -11,10 +11,10 @@ "priority": { "type": "number" }, "panel_groups": { "type": "array", - "items": { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panel_groups.json" } + "items": { "$ref": "panel_groups.json" } }, - "templating": { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/templating.json" }, - "links": { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/links.json" } + "templating": { "$ref": "templating.json" }, + "links": { "$ref": "links.json" } }, "additionalProperties": false } diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/embedded_dashboard.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/embedded_dashboard.json index b47b81fc103..a5228bc0888 100644 --- a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/embedded_dashboard.json +++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/embedded_dashboard.json @@ -6,7 +6,7 @@ "panel_groups": { "type": "array", "items": { - "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/embedded_panel_groups.json" + "$ref": "embedded_panel_groups.json" } } }, diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/embedded_panel_groups.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/embedded_panel_groups.json index 063016c22fd..b1c34ba1b86 100644 --- a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/embedded_panel_groups.json +++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/embedded_panel_groups.json @@ -5,7 +5,7 @@ "properties": { "panels": { "type": "array", - "items": { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panels.json" } + "items": { "$ref": "panels.json" } } }, "additionalProperties": false diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/metric_label_values_variable_full_syntax.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/metric_label_values_variable_full_syntax.json index 145cc476d64..742708e60bd 100644 --- a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/metric_label_values_variable_full_syntax.json +++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/metric_label_values_variable_full_syntax.json @@ -15,8 +15,8 @@ "type": "string" }, "options": { - "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/metric_label_values_variable_options.json" + "$ref": "metric_label_values_variable_options.json" } }, "additionalProperties": false -}
\ No newline at end of file +} diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panel_groups.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panel_groups.json index 392aa0e4480..a5a4428f2f3 100644 --- a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panel_groups.json +++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panel_groups.json @@ -9,7 +9,7 @@ "group": { "type": "string" }, "panels": { "type": "array", - "items": { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panels.json" } + "items": { "$ref": "panels.json" } }, "has_custom_metrics": { "type": "boolean" } }, diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panels.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panels.json index 3224e7cfe3f..78369a7a055 100644 --- a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panels.json +++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panels.json @@ -11,11 +11,11 @@ "id": { "type": "string" }, "type": { "type": "string" }, "y_label": { "type": "string" }, - "y_axis": { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/axis.json" }, + "y_axis": { "$ref": "axis.json" }, "max_value": { "type": "number" }, "metrics": { "type": "array", - "items": { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/metrics.json" } + "items": { "$ref": "metrics.json" } } }, "additionalProperties": false diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/templating.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/templating.json index 439f7b6b044..c339edec128 100644 --- a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/templating.json +++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/templating.json @@ -3,7 +3,7 @@ "type": "object", "required": ["variables"], "properties": { - "variables": { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/variables.json" } + "variables": { "$ref": "variables.json" } }, "additionalProperties": false } diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/text_variable_full_syntax.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/text_variable_full_syntax.json index c4382326854..37ff4fdba5f 100644 --- a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/text_variable_full_syntax.json +++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/text_variable_full_syntax.json @@ -7,7 +7,7 @@ "properties": { "type": { "enum": ["text"] }, "label": { "type": "string" }, - "options": { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/text_variable_options.json" } + "options": { "$ref": "text_variable_options.json" } }, "additionalProperties": false } diff --git a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/variables.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/variables.json index 1cf5ae2eaa4..73841d5bd82 100644 --- a/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/variables.json +++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/variables.json @@ -4,14 +4,14 @@ "patternProperties": { "^[a-zA-Z0-9_]*$": { "anyOf": [ - { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/text_variable_full_syntax.json" }, + { "$ref": "text_variable_full_syntax.json" }, { "type": "string" }, { "type": "array", "items": { "type": "string" } }, - { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/custom_variable_full_syntax.json" }, - { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/metric_label_values_variable_full_syntax.json" } + { "$ref": "custom_variable_full_syntax.json" }, + { "$ref": "metric_label_values_variable_full_syntax.json" } ] } }, diff --git a/spec/fixtures/mail_room/encrypted_secrets/incoming_email.yaml.enc b/spec/fixtures/mail_room/encrypted_secrets/incoming_email.yaml.enc new file mode 100644 index 00000000000..c11722e6847 --- /dev/null +++ b/spec/fixtures/mail_room/encrypted_secrets/incoming_email.yaml.enc @@ -0,0 +1 @@ +v7dkZ/3zpOBsA6XhOq99ai5S4czZlkdLUmNcH8AYOw56b7PgEMmtLHu39Fcyd4ZvERJNMIqyLuCwooqvJKfUeFRi9HpY0Q==--GldddWssSV3R/Ood--1XlQ63E4XCVqcfZVAd+NGQ==
\ No newline at end of file diff --git a/spec/fixtures/mail_room/encrypted_secrets/service_desk_email.yaml.enc b/spec/fixtures/mail_room/encrypted_secrets/service_desk_email.yaml.enc new file mode 100644 index 00000000000..bad1f2bbce1 --- /dev/null +++ b/spec/fixtures/mail_room/encrypted_secrets/service_desk_email.yaml.enc @@ -0,0 +1 @@ +nWE1RNp/i+RzboK4SqbQBI52cFP14G3hduqIOdus2Ffgul8n0vL/bKHMHaiCttq2hzGnzw5zcMGUWxJu3RkAhR0jnLAgbpBrYsxKTH72cqkJfw==--5FtWCIPwB8DldWkY--FLjDkVAsCzDM9VY1x7yifg==
\ No newline at end of file diff --git a/spec/fixtures/mail_room/secrets.yml.erb b/spec/fixtures/mail_room/secrets.yml.erb new file mode 100644 index 00000000000..fce7ff3180e --- /dev/null +++ b/spec/fixtures/mail_room/secrets.yml.erb @@ -0,0 +1,11 @@ +--- +production: + an_unread_key: 'this key will not be in the secrets' +shared: + a_shared_key: 'this key is shared' + an_overriden_shared_key: 'this key is overwritten by merge' +test: + an_environment_specific_key: 'test environment value' + an_overriden_shared_key: 'the merge overwrote this key' + erb_env_key: <%= ENV['KEY'] %> + encrypted_settings_key_base: <%= '0123456789abcdef' * 8 %> diff --git a/spec/fixtures/markdown.md.erb b/spec/fixtures/markdown.md.erb index 38b2a8381bb..979e96e6e8e 100644 --- a/spec/fixtures/markdown.md.erb +++ b/spec/fixtures/markdown.md.erb @@ -400,6 +400,8 @@ Bob -> Sara : Hello ] ``` -### Image Attributes +### Image/Video Attributes ![Sized Image](app/assets/images/touch-icon-ipad.png){width=75% height=100} + +![Sized Video](/assets/videos/gitlab-demo.mp4){width=75% height=100} diff --git a/spec/fixtures/structure.sql b/spec/fixtures/structure.sql new file mode 100644 index 00000000000..49061dfa8ea --- /dev/null +++ b/spec/fixtures/structure.sql @@ -0,0 +1,20 @@ +CREATE INDEX missing_index ON events USING btree (created_at, author_id); + +CREATE UNIQUE INDEX wrong_index ON table_name (column_name, column_name_2); + +CREATE UNIQUE INDEX "index" ON achievements USING btree (namespace_id, lower(name)); + +CREATE INDEX index_namespaces_public_groups_name_id ON namespaces USING btree (name, id) WHERE (((type)::text = 'Group'::text) AND (visibility_level = 20)); + +CREATE UNIQUE INDEX index_on_deploy_keys_id_and_type_and_public ON keys USING btree (id, type) WHERE (public = true); + +CREATE INDEX index_users_on_public_email_excluding_null_and_empty ON users USING btree (public_email) WHERE (((public_email)::text <> ''::text) AND (public_email IS NOT NULL)); + +ALTER TABLE ONLY bulk_import_configurations + ADD CONSTRAINT fk_rails_536b96bff1 FOREIGN KEY (bulk_import_id) REFERENCES bulk_imports(id) ON DELETE CASCADE; + +CREATE TABLE ci_project_mirrors ( + id bigint NOT NULL, + project_id integer NOT NULL, + namespace_id integer NOT NULL +); diff --git a/spec/fixtures/svg_without_attr.svg b/spec/fixtures/svg_without_attr.svg new file mode 100644 index 00000000000..0864c6009ef --- /dev/null +++ b/spec/fixtures/svg_without_attr.svg @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg viewBox="0 0 50 48" fill="none" xmlns="http://www.w3.org/2000/svg"> + <!-- Generator: Sketch 3.3.2 (12043) - http://www.bohemiancoding.com/sketch --> + <title>Slice 1</title> + <desc>Created with Sketch.</desc> + <script>alert('FAIL')</script> + <defs></defs> + <path d="m49.014 19-.067-.18-6.784-17.696a1.792 1.792 0 0 0-3.389.182l-4.579 14.02H15.651l-4.58-14.02a1.795 1.795 0 0 0-3.388-.182l-6.78 17.7-.071.175A12.595 12.595 0 0 0 5.01 33.556l.026.02.057.044 10.32 7.734 5.12 3.87 3.11 2.351a2.102 2.102 0 0 0 2.535 0l3.11-2.352 5.12-3.869 10.394-7.779.029-.022a12.595 12.595 0 0 0 4.182-14.554Z" + fill="#E24329"/> + <path d="m49.014 19-.067-.18a22.88 22.88 0 0 0-9.12 4.103L24.931 34.187l9.485 7.167 10.393-7.779.03-.022a12.595 12.595 0 0 0 4.175-14.554Z" + fill="#FC6D26"/> + <path d="m15.414 41.354 5.12 3.87 3.11 2.351a2.102 2.102 0 0 0 2.535 0l3.11-2.352 5.12-3.869-9.484-7.167-9.51 7.167Z" + fill="#FCA326"/> + <path d="M10.019 22.923a22.86 22.86 0 0 0-9.117-4.1L.832 19A12.595 12.595 0 0 0 5.01 33.556l.026.02.057.044 10.32 7.734 9.491-7.167L10.02 22.923Z" + fill="#FC6D26"/> +</svg> + |