Skip to content

Commit 31fae37

Browse files
fix: Confluence include page title when partitioning (#401)
* Use h1 instead of title html tag for confluence page title * Version and changelog update: include confluence page title for partition * Update confluence integration tests fixtures * Update google-drive e2e fixtures
1 parent 7382250 commit 31fae37

File tree

29 files changed

+2836
-102
lines changed

29 files changed

+2836
-102
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.5.9-dev0
2+
3+
### Fixes
4+
5+
* **Fix Confluence Source page title not being processed during partition**
6+
17
## 0.5.8
28

39
### Fixes

test/integration/connectors/expected_results/confluence/downloads/MFS/1540126.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<body class="Document">
2-
<title>
2+
<h1>
33
Template - Project plan
4-
</title>
4+
</h1>
55
<div class="table-wrap">
66
<table class="confluenceTable" data-layout="default" data-local-id="2ceb427c-7784-4683-a0c6-b787b6b134b3">
77
<colgroup>
@@ -417,7 +417,7 @@ <h2 id="Template-Projectplan-Timeline">
417417
}
418418
</style>
419419
<div class="roadmap-macro-view" data-roadmap-macro-view='{"id":1540126, "version":1, "hash":"bf72b0d2e5ea24888f6179cf74c6606f", "canUserEditPage":true}'>
420-
<svg color-interpolation="auto" color-rendering="auto" data-roadmap-id="85793a18-2c56-4c68-8686-cd44986f7c2b" fill="black" fill-opacity="1" font-family="'Dialog'" font-size="12px" font-style="normal" font-weight="normal" height="447" image-rendering="auto" shape-rendering="auto" stroke="black" stroke-dasharray="none" stroke-dashoffset="0" stroke-linecap="square" stroke-linejoin="miter" stroke-miterlimit="10" stroke-opacity="1" stroke-width="1" text-rendering="auto" width="1007" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
420+
<svg color-interpolation="auto" color-rendering="auto" data-roadmap-id="3a4696c0-8e38-4789-b9df-19485d434a66" fill="black" fill-opacity="1" font-family="'Dialog'" font-size="12px" font-style="normal" font-weight="normal" height="447" image-rendering="auto" shape-rendering="auto" stroke="black" stroke-dasharray="none" stroke-dashoffset="0" stroke-linecap="square" stroke-linejoin="miter" stroke-miterlimit="10" stroke-opacity="1" stroke-width="1" text-rendering="auto" width="1007" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
421421
<!--Generated by the Batik Graphics2D SVG Generator-->
422422
<defs id="genericDefs">
423423
</defs>

test/integration/connectors/expected_results/confluence/downloads/MFS/1605928.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<body class="Document">
2-
<title>
2+
<h1>
33
Template - Meeting notes
4-
</title>
4+
</h1>
55
<h2 id="Template-Meetingnotes-Date">
66
\uD83D\uDDD3 Date
77
</h2>

test/integration/connectors/expected_results/confluence/downloads/MFS/1605942.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<body class="Document">
2-
<title>
2+
<h1>
33
Template - Weekly status report
4-
</title>
4+
</h1>
55
<div class="confluence-information-macro confluence-information-macro-information conf-macro output-block" data-hasbody="true" data-macro-id="8928fdb7-38bf-4b1d-ab0a-eff2fdea25f3" data-macro-name="info">
66
<span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon">
77
</span>

test/integration/connectors/expected_results/confluence/downloads/MFS/1605956.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<body class="Document">
2-
<title>
2+
<h1>
33
Get the most out of your team space
4-
</title>
4+
</h1>
55
<div class="contentLayout2">
66
<div class="columnLayout fixed-width" data-layout="fixed-width">
77
<div class="cell normal" data-type="normal">

test/integration/connectors/expected_results/confluence/downloads/MFS/229477.html

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<body class="Document">
2-
<title>
2+
<h1>
33
My first space
4-
</title>
4+
</h1>
55
<div class="contentLayout2">
66
<style>
7-
[data-colorid=tlraoeh52e]{color:#97a0af} html[data-color-mode=dark] [data-colorid=tlraoeh52e]{color:#505968}[data-colorid=vr469hsoyq]{color:#97a0af} html[data-color-mode=dark] [data-colorid=vr469hsoyq]{color:#505968}[data-colorid=zxz662m2ib]{color:#97a0af} html[data-color-mode=dark] [data-colorid=zxz662m2ib]{color:#505968}[data-colorid=xfq30ky07r]{color:#97a0af} html[data-color-mode=dark] [data-colorid=xfq30ky07r]{color:#505968}[data-colorid=xhqazsewur]{color:#97a0af} html[data-color-mode=dark] [data-colorid=xhqazsewur]{color:#505968}[data-colorid=y0bk9svm6v]{color:#97a0af} html[data-color-mode=dark] [data-colorid=y0bk9svm6v]{color:#505968}[data-colorid=iihvmm56lo]{color:#97a0af} html[data-color-mode=dark] [data-colorid=iihvmm56lo]{color:#505968}[data-colorid=n6uhw7vi0q]{color:#97a0af} html[data-color-mode=dark] [data-colorid=n6uhw7vi0q]{color:#505968}[data-colorid=rxwh5ir71o]{color:#97a0af} html[data-color-mode=dark] [data-colorid=rxwh5ir71o]{color:#505968}[data-colorid=celzr66jnf]{color:#97a0af} html[data-color-mode=dark] [data-colorid=celzr66jnf]{color:#505968}[data-colorid=h7vitp4et2]{color:#97a0af} html[data-color-mode=dark] [data-colorid=h7vitp4et2]{color:#505968}[data-colorid=bw5t8sx3bj]{color:#97a0af} html[data-color-mode=dark] [data-colorid=bw5t8sx3bj]{color:#505968}[data-colorid=tu4fd08pm4]{color:#97a0af} html[data-color-mode=dark] [data-colorid=tu4fd08pm4]{color:#505968}[data-colorid=qgyayvrihl]{color:#97a0af} html[data-color-mode=dark] [data-colorid=qgyayvrihl]{color:#505968}[data-colorid=asnk7frcgp]{color:#97a0af} html[data-color-mode=dark] [data-colorid=asnk7frcgp]{color:#505968}[data-colorid=u25fodfywu]{color:#97a0af} html[data-color-mode=dark] [data-colorid=u25fodfywu]{color:#505968}[data-colorid=evnd8ahef4]{color:#97a0af} html[data-color-mode=dark] [data-colorid=evnd8ahef4]{color:#505968}[data-colorid=fwuzr0x86c]{color:#97a0af} html[data-color-mode=dark] [data-colorid=fwuzr0x86c]{color:#505968}[data-colorid=orxjqa868c]{color:#97a0af} html[data-color-mode=dark] [data-colorid=orxjqa868c]{color:#505968}[data-colorid=oitng7vrc6]{color:#97a0af} html[data-color-mode=dark] [data-colorid=oitng7vrc6]{color:#505968}[data-colorid=ydnef82gy2]{color:#97a0af} html[data-color-mode=dark] [data-colorid=ydnef82gy2]{color:#505968}[data-colorid=fjqu188ebr]{color:#97a0af} html[data-color-mode=dark] [data-colorid=fjqu188ebr]{color:#505968}
7+
[data-colorid=r199p3gs6n]{color:#97a0af} html[data-color-mode=dark] [data-colorid=r199p3gs6n]{color:#505968}[data-colorid=g6ci8l4mpm]{color:#97a0af} html[data-color-mode=dark] [data-colorid=g6ci8l4mpm]{color:#505968}[data-colorid=b10cr8p7vo]{color:#97a0af} html[data-color-mode=dark] [data-colorid=b10cr8p7vo]{color:#505968}[data-colorid=oxmo0r5xcc]{color:#97a0af} html[data-color-mode=dark] [data-colorid=oxmo0r5xcc]{color:#505968}[data-colorid=fzgqoxzynm]{color:#97a0af} html[data-color-mode=dark] [data-colorid=fzgqoxzynm]{color:#505968}[data-colorid=niy2ce5tzg]{color:#97a0af} html[data-color-mode=dark] [data-colorid=niy2ce5tzg]{color:#505968}[data-colorid=obr25rgnli]{color:#97a0af} html[data-color-mode=dark] [data-colorid=obr25rgnli]{color:#505968}[data-colorid=us6eyv3ty5]{color:#97a0af} html[data-color-mode=dark] [data-colorid=us6eyv3ty5]{color:#505968}[data-colorid=yudukp5pqe]{color:#97a0af} html[data-color-mode=dark] [data-colorid=yudukp5pqe]{color:#505968}[data-colorid=dr2jx05pft]{color:#97a0af} html[data-color-mode=dark] [data-colorid=dr2jx05pft]{color:#505968}[data-colorid=bfg5si0jxf]{color:#97a0af} html[data-color-mode=dark] [data-colorid=bfg5si0jxf]{color:#505968}[data-colorid=mfi1ovaw5g]{color:#97a0af} html[data-color-mode=dark] [data-colorid=mfi1ovaw5g]{color:#505968}[data-colorid=b710c83xz0]{color:#97a0af} html[data-color-mode=dark] [data-colorid=b710c83xz0]{color:#505968}[data-colorid=newerwzjio]{color:#97a0af} html[data-color-mode=dark] [data-colorid=newerwzjio]{color:#505968}[data-colorid=dvoixzflgt]{color:#97a0af} html[data-color-mode=dark] [data-colorid=dvoixzflgt]{color:#505968}[data-colorid=z0rymu0pw8]{color:#97a0af} html[data-color-mode=dark] [data-colorid=z0rymu0pw8]{color:#505968}[data-colorid=ehd27hnxve]{color:#97a0af} html[data-color-mode=dark] [data-colorid=ehd27hnxve]{color:#505968}[data-colorid=qvami7d35u]{color:#97a0af} html[data-color-mode=dark] [data-colorid=qvami7d35u]{color:#505968}[data-colorid=hf2eptjuvq]{color:#97a0af} html[data-color-mode=dark] [data-colorid=hf2eptjuvq]{color:#505968}[data-colorid=g8iqwld8e7]{color:#97a0af} html[data-color-mode=dark] [data-colorid=g8iqwld8e7]{color:#505968}[data-colorid=gii2aycdth]{color:#97a0af} html[data-color-mode=dark] [data-colorid=gii2aycdth]{color:#505968}[data-colorid=pnnmsvz5j5]{color:#97a0af} html[data-color-mode=dark] [data-colorid=pnnmsvz5j5]{color:#505968}
88
</style>
99
<div class="columnLayout fixed-width" data-layout="fixed-width">
1010
<div class="cell normal" data-type="normal">
@@ -59,7 +59,7 @@ <h3 id="Myfirstspace-About">
5959
</h3>
6060
<p>
6161
<em>
62-
<span data-colorid="tu4fd08pm4">
62+
<span data-colorid="g8iqwld8e7">
6363
What is your team all about?
6464
</span>
6565
</em>
@@ -69,7 +69,7 @@ <h3 id="Myfirstspace-Missionandvision">
6969
</h3>
7070
<p>
7171
<em>
72-
<span data-colorid="xhqazsewur">
72+
<span data-colorid="pnnmsvz5j5">
7373
What is your team's mission? What is your vision?
7474
</span>
7575
</em>
@@ -79,7 +79,7 @@ <h3 id="Myfirstspace-Meettheteam">
7979
</h3>
8080
<p>
8181
<em>
82-
<span data-colorid="asnk7frcgp">
82+
<span data-colorid="bfg5si0jxf">
8383
Add team members to your space.
8484
</span>
8585
</em>
@@ -94,17 +94,17 @@ <h3 id="Myfirstspace-Meettheteam">
9494
<img class="confluence-embedded-image image-center" data-base-url="https://unstructured-ingest-test.atlassian.net/wiki" data-height="264" data-image-src="https://unstructured-ingest-test.atlassian.net/wiki/download/attachments/229477/angie.svg?version=1&amp;modificationDate=1688145926387&amp;cacheVersion=1&amp;api=v2" data-linked-resource-container-id="229477" data-linked-resource-container-version="1" data-linked-resource-content-type="image/svg+xml" data-linked-resource-default-alias="angie.svg" data-linked-resource-id="229502" data-linked-resource-type="attachment" data-linked-resource-version="1" data-media-id="74d2abe2-81ee-4a73-9a2c-545eff5a4626" data-media-type="file" data-unresolved-comment-count="0" data-width="264" loading="lazy" src="https://unstructured-ingest-test.atlassian.net/wiki/download/thumbnails/229477/angie.svg?version=1&amp;modificationDate=1688145926387&amp;cacheVersion=1&amp;api=v2&amp;width=256&amp;height=257" srcset="https://unstructured-ingest-test.atlassian.net/wiki/download/thumbnails/229477/angie.svg?version=1&amp;modificationDate=1688145926387&amp;cacheVersion=1&amp;api=v2&amp;width=256&amp;height=257 2x, https://unstructured-ingest-test.atlassian.net/wiki/download/thumbnails/229477/angie.svg?version=1&amp;modificationDate=1688145926387&amp;cacheVersion=1&amp;api=v2&amp;width=256&amp;height=257 1x" width="442"/>
9595
</span>
9696
<h3 id="Myfirstspace-Teammember" style="text-align: center;">
97-
<span data-colorid="tlraoeh52e">
97+
<span data-colorid="gii2aycdth">
9898
Team member
9999
</span>
100100
</h3>
101101
<p style="text-align: center;">
102-
<span data-colorid="vr469hsoyq">
102+
<span data-colorid="us6eyv3ty5">
103103
Role
104104
</span>
105105
</p>
106106
<p style="text-align: center;">
107-
<span data-colorid="rxwh5ir71o">
107+
<span data-colorid="z0rymu0pw8">
108108
Responsibility
109109
</span>
110110
</p>
@@ -116,17 +116,17 @@ <h3 id="Myfirstspace-Teammember" style="text-align: center;">
116116
<img class="confluence-embedded-image image-center" data-base-url="https://unstructured-ingest-test.atlassian.net/wiki" data-height="264" data-image-src="https://unstructured-ingest-test.atlassian.net/wiki/download/attachments/229477/gael.svg?version=1&amp;modificationDate=1688145927077&amp;cacheVersion=1&amp;api=v2" data-linked-resource-container-id="229477" data-linked-resource-container-version="1" data-linked-resource-content-type="image/svg+xml" data-linked-resource-default-alias="gael.svg" data-linked-resource-id="229507" data-linked-resource-type="attachment" data-linked-resource-version="1" data-media-id="25a12ef7-1cf7-4aa8-a298-1f75e1a7462a" data-media-type="file" data-unresolved-comment-count="0" data-width="264" loading="lazy" src="https://unstructured-ingest-test.atlassian.net/wiki/download/thumbnails/229477/gael.svg?version=1&amp;modificationDate=1688145927077&amp;cacheVersion=1&amp;api=v2&amp;width=256&amp;height=257" srcset="https://unstructured-ingest-test.atlassian.net/wiki/download/thumbnails/229477/gael.svg?version=1&amp;modificationDate=1688145927077&amp;cacheVersion=1&amp;api=v2&amp;width=256&amp;height=257 2x, https://unstructured-ingest-test.atlassian.net/wiki/download/thumbnails/229477/gael.svg?version=1&amp;modificationDate=1688145927077&amp;cacheVersion=1&amp;api=v2&amp;width=256&amp;height=257 1x" width="442"/>
117117
</span>
118118
<h3 id="Myfirstspace-Teammember.1" style="text-align: center;">
119-
<span data-colorid="u25fodfywu">
119+
<span data-colorid="newerwzjio">
120120
Team member
121121
</span>
122122
</h3>
123123
<p style="text-align: center;">
124-
<span data-colorid="evnd8ahef4">
124+
<span data-colorid="b10cr8p7vo">
125125
Role
126126
</span>
127127
</p>
128128
<p style="text-align: center;">
129-
<span data-colorid="fwuzr0x86c">
129+
<span data-colorid="ehd27hnxve">
130130
Responsibility
131131
</span>
132132
</p>
@@ -138,17 +138,17 @@ <h3 id="Myfirstspace-Teammember.1" style="text-align: center;">
138138
<img class="confluence-embedded-image image-center" data-base-url="https://unstructured-ingest-test.atlassian.net/wiki" data-height="264" data-image-src="https://unstructured-ingest-test.atlassian.net/wiki/download/attachments/229477/claudia.svg?version=1&amp;modificationDate=1688145927764&amp;cacheVersion=1&amp;api=v2" data-linked-resource-container-id="229477" data-linked-resource-container-version="1" data-linked-resource-content-type="image/svg+xml" data-linked-resource-default-alias="claudia.svg" data-linked-resource-id="229512" data-linked-resource-type="attachment" data-linked-resource-version="1" data-media-id="2f2d9b14-9e63-471d-89dd-d26b15903c50" data-media-type="file" data-unresolved-comment-count="0" data-width="264" loading="lazy" src="https://unstructured-ingest-test.atlassian.net/wiki/download/thumbnails/229477/claudia.svg?version=1&amp;modificationDate=1688145927764&amp;cacheVersion=1&amp;api=v2&amp;width=256&amp;height=257" srcset="https://unstructured-ingest-test.atlassian.net/wiki/download/thumbnails/229477/claudia.svg?version=1&amp;modificationDate=1688145927764&amp;cacheVersion=1&amp;api=v2&amp;width=256&amp;height=257 2x, https://unstructured-ingest-test.atlassian.net/wiki/download/thumbnails/229477/claudia.svg?version=1&amp;modificationDate=1688145927764&amp;cacheVersion=1&amp;api=v2&amp;width=256&amp;height=257 1x" width="442"/>
139139
</span>
140140
<h3 id="Myfirstspace-Teammember.2" style="text-align: center;">
141-
<span data-colorid="h7vitp4et2">
141+
<span data-colorid="r199p3gs6n">
142142
Team member
143143
</span>
144144
</h3>
145145
<p style="text-align: center;">
146-
<span data-colorid="zxz662m2ib">
146+
<span data-colorid="qvami7d35u">
147147
Role
148148
</span>
149149
</p>
150150
<p style="text-align: center;">
151-
<span data-colorid="y0bk9svm6v">
151+
<span data-colorid="b710c83xz0">
152152
Responsibility
153153
</span>
154154
</p>
@@ -171,7 +171,7 @@ <h3 id="Myfirstspace-Contactus">
171171
</h3>
172172
<p>
173173
<em>
174-
<span data-colorid="orxjqa868c">
174+
<span data-colorid="dvoixzflgt">
175175
How can someone reach out to your team?
176176
</span>
177177
</em>
@@ -180,29 +180,29 @@ <h3 id="Myfirstspace-Contactus">
180180
<li>
181181
<p>
182182
<a class="external-link" href="mailto:[email protected]" rel="nofollow">
183-
<span data-colorid="qgyayvrihl">
183+
<span data-colorid="oxmo0r5xcc">
184184
185185
</span>
186186
</a>
187187
</p>
188188
</li>
189189
<li>
190190
<p>
191-
<span data-colorid="ydnef82gy2">
191+
<span data-colorid="dr2jx05pft">
192192
Tickets
193193
</span>
194194
</p>
195195
</li>
196196
<li>
197197
<p>
198-
<span data-colorid="iihvmm56lo">
198+
<span data-colorid="niy2ce5tzg">
199199
Jira board
200200
</span>
201201
</p>
202202
</li>
203203
<li>
204204
<p>
205-
<span data-colorid="fjqu188ebr">
205+
<span data-colorid="hf2eptjuvq">
206206
#channel
207207
</span>
208208
</p>
@@ -217,7 +217,7 @@ <h3 id="Myfirstspace-ImportantPages">
217217
</h3>
218218
<p>
219219
<em>
220-
<span data-colorid="n6uhw7vi0q">
220+
<span data-colorid="g6ci8l4mpm">
221221
List them here
222222
</span>
223223
</em>
@@ -258,7 +258,7 @@ <h3 id="Myfirstspace-OnboardingFAQs" style="text-align: center;">
258258
</h3>
259259
<p style="text-align: center;">
260260
<em>
261-
<span data-colorid="xfq30ky07r">
261+
<span data-colorid="obr25rgnli">
262262
Add resources for new hires
263263
</span>
264264
</em>
@@ -275,7 +275,7 @@ <h3 id="Myfirstspace-Meetingnotes" style="text-align: center;">
275275
</h3>
276276
<p style="text-align: center;">
277277
<em>
278-
<span data-colorid="bw5t8sx3bj">
278+
<span data-colorid="mfi1ovaw5g">
279279
Add links to meeting notes
280280
</span>
281281
</em>
@@ -292,7 +292,7 @@ <h3 id="Myfirstspace-Teamgoals" style="text-align: center;">
292292
</h3>
293293
<p style="text-align: center;">
294294
<em>
295-
<span data-colorid="oitng7vrc6">
295+
<span data-colorid="fzgqoxzynm">
296296
List them here
297297
</span>
298298
</em>
@@ -308,7 +308,7 @@ <h2 id="Myfirstspace-Teamnews">
308308
</h2>
309309
<p>
310310
<em>
311-
<span data-colorid="celzr66jnf">
311+
<span data-colorid="yudukp5pqe">
312312
Create a blog post to share team news. It will automatically appear here once it's published.
313313
</span>
314314
</em>

0 commit comments

Comments
 (0)