27 Commits

Author SHA1 Message Date
Bernd Ahlers
9e656ece15
Add Content-Appearance header
Allows switching between the "full-width" and "fixed" page layouts.

The "fixed" layout renders the page in a narrow column. (Confluence
default)

If not configured, it defaults to "full-width".
2023-03-06 10:09:28 +01:00
Jay Stillman
4d16a1f606 bugfix: Remove forced default width, forced full-width without editor config #175 2023-02-06 01:18:34 -05:00
Manuel Rüger
8deecfd67a Lint 2023-01-05 11:37:42 +01:00
Zackery Griesinger
90d8729a7d
Fix for jira.com hosted sites (#231) 2023-01-03 17:54:30 +00:00
Manuel Rüger
3e558ac2e3
Replace deprecated io/ioutils (#230) 2023-01-03 17:54:04 +00:00
recrtl
49c25c2c29
fix 178: update breaks on more than 50 attachments (#220) 2022-10-19 20:38:49 +06:00
Joel Andritsch
5ad1a4abe5
bugfix: Force pages to default width. (#175)
This change is to compensate for an API bug in Confluence where newly
create pages end up getting a random width of either "fixed" or "full".

Fixes #173
2022-04-22 15:16:46 +06:00
Pommier Vincent
c8709eecd1
feat: Add support of confluence server. (#154) 2022-02-02 16:01:26 +06:00
Egor Kovetskiy
9cde833a18 fix updating attachments when confluence returns a short response object 2021-12-09 11:46:57 +06:00
Hugo Cisneiros
97313e59e1
allow space home update and its children pages (#101)
* allow space home update and its children pages

* fix coding styling

* fix coding styling

* codestyle: fix checking isHomepage

* codestyle: fix checking skipHomeAncestry

Co-authored-by: Hugo Cisneiros (Eitch) <hugo.cisneiros@ifood.com.br>
Co-authored-by: Egor Kovetskiy <e.kovetskiy@gmail.com>
2021-08-23 12:42:31 +06:00
David Laing
07aa3700eb Add Type metadata header to enable support for Confluence Blog Posts 2021-03-31 17:49:01 +01:00
Egor Kovetskiy
c17a3d02d0 fix regression after #60 2021-02-04 12:18:28 +03:00
Rolf Ahrenberg
1d8e43add2 Add --minor-edit command-line flag 2021-01-04 16:18:38 +02:00
Rolf Ahrenberg
f86dd2723a Add label support 2021-01-04 15:23:12 +02:00
elgreco247
8018b54627
Fix RestrictPageUpdatesServer (#45) 2020-12-08 11:53:15 +03:00
Juho Saarinen
63fe97beaa
Support for relative links (#33)
* Support for relative links

Fixes #25

* Error logging fixes

* Better regexp
2020-11-30 10:47:46 +03:00
Egor Kovetskiy
ec4b258635 trace level is very verbose now 2020-11-03 17:14:33 +03:00
Stefano Teodorani
eda2e4704d
Added support for v2 Confluence page format (#29)
* Added support for v2 pge format

* Added toc macro

* Added toc to documentation

Co-authored-by: Stefano Teodorani <teopost@sviluppo06.apex-net.it>
2020-10-19 17:46:52 +03:00
Stanislav Seletskiy
07a8e3f9d7
implement macros & includes 2019-08-06 16:38:47 +03:00
Stanislav Seletskiy
240aeddf08
api: use different restrict api for cloud
https://developer.atlassian.com/cloud/confluence/rest/#api-content-id-restriction-post
2019-07-23 22:49:14 +03:00
Stanislav Seletskiy
94f925d796
api: fix invalid json annotation 2019-05-01 16:56:07 +03:00
Egor Kovetskiy
319faede07 fix context for cloud confluence when creating attach 2019-04-22 14:01:01 +03:00
Egor Kovetskiy
6b080ecf7f fix context for cloud confluence 2019-04-22 13:52:10 +03:00
Egor Kovetskiy
51f28f8f06 add pseudo protocol attachment:// 2019-04-20 10:24:30 +03:00
Egor Kovetskiy
2abc2f122b create/update attachment 2019-04-19 17:35:05 +03:00
Egor Kovetskiy
76ddde31ab wip: attachments 2019-04-19 10:31:41 +03:00
Egor Kovetskiy
ada6f828ff separate mark into packages 2019-04-08 22:44:27 +03:00