697 Commits

Author SHA1 Message Date
Johan Fagerberg
8e613c5e70 style: run gofmt on image_test.go 2026-03-11 12:49:22 +01:00
Johan Fagerberg
d264648916 test: update expected testdata output 2026-03-11 12:49:22 +01:00
Johan Fagerberg
9795f74f0f feat: only attempt to parse image attachments 2026-03-11 12:49:22 +01:00
Johan Fagerberg
6f18a47ed0 feat: don't add redundant 'height' to images 2026-03-11 12:49:22 +01:00
Johan Fagerberg
ec6a718c76 feat: throw errors instead of passing unknown aligns through 2026-03-11 12:49:22 +01:00
Johan Fagerberg
99dbcd9383 chore: clean up README changes a little bit 2026-03-11 12:49:22 +01:00
Johan Fagerberg
a0e9594f50 chore: clean up over-explanations slightly 2026-03-11 12:49:22 +01:00
Johan Fagerberg
9c58c36b46 feat: use 'center' for image widths 760<x<1800 2026-03-11 12:49:22 +01:00
Johan Fagerberg
cbc7400f92 feat: align image rendering with Confluence default 2026-03-11 12:49:22 +01:00
Johan Fagerberg
4d887bde74 feat: add support for image dimensions 2026-03-11 12:49:22 +01:00
Johan Fagerberg
c32cd79dc8 feat: add support for '--image-align' 2026-03-11 12:49:22 +01:00
Johan Fagerberg
875723da90 fix: trim whitespace when parsing 'content-appearance' flag 2026-03-11 12:47:35 +01:00
Johan Fagerberg
dcd28068f3 Update README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-11 12:47:35 +01:00
Johan Fagerberg
9516939c7d feat: add support for --content-appearance 2026-03-11 12:47:35 +01:00
Manuel Rüger
d2717f031d Add Confluence task list renderer for GFM task lists
Convert GFM task list items (- [x] / - [ ]) to Confluence
ac:task-list XML format instead of HTML checkboxes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-09 23:37:36 +01:00
dependabot[bot]
529aa63d9f build(deps): bump docker/setup-buildx-action from 3 to 4
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3 to 4.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-09 21:01:17 +01:00
dependabot[bot]
3337dfd0cd build(deps): bump docker/setup-qemu-action from 3 to 4
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3 to 4.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-09 21:01:02 +01:00
dependabot[bot]
2498b83dee build(deps): bump docker/build-push-action from 6 to 7
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6 to 7.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-09 21:00:52 +01:00
dependabot[bot]
541e743d42 build(deps): bump docker/login-action from 3 to 4
Bumps [docker/login-action](https://github.com/docker/login-action) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-09 21:00:43 +01:00
dependabot[bot]
fbb0302bf5 build(deps): bump golang from 1.26.0 to 1.26.1
Bumps golang from 1.26.0 to 1.26.1.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.26.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-09 21:00:31 +01:00
dependabot[bot]
945cb9b978 build(deps): bump github.com/urfave/cli/v3 from 3.6.2 to 3.7.0
Bumps [github.com/urfave/cli/v3](https://github.com/urfave/cli) from 3.6.2 to 3.7.0.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v3.6.2...v3.7.0)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v3
  dependency-version: 3.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 19:35:23 +01:00
dependabot[bot]
8118314dea build(deps): bump goreleaser/goreleaser-action from 6 to 7
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 6 to 7.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-23 19:44:15 +01:00
dependabot[bot]
816add2709 build(deps): bump golang from 1.25.7 to 1.26.0
Bumps golang from 1.25.7 to 1.26.0.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-16 20:31:27 +01:00
dependabot[bot]
ca96113ec1 build(deps): bump golang from 1.25.6 to 1.25.7
Bumps golang from 1.25.6 to 1.25.7.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.25.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-10 11:34:53 +01:00
dependabot[bot]
597854fd37 build(deps): bump golang.org/x/text from 0.33.0 to 0.34.0
---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-10 11:32:13 +01:00
dependabot[bot]
d2f18483bc build(deps): bump github.com/bmatcuk/doublestar/v4 from 4.9.2 to 4.10.0
Bumps [github.com/bmatcuk/doublestar/v4](https://github.com/bmatcuk/doublestar) from 4.9.2 to 4.10.0.
- [Release notes](https://github.com/bmatcuk/doublestar/releases)
- [Commits](https://github.com/bmatcuk/doublestar/compare/v4.9.2...v4.10.0)

---
updated-dependencies:
- dependency-name: github.com/bmatcuk/doublestar/v4
  dependency-version: 4.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-08 01:51:57 +01:00
Manuel Rüger
8d83ec00c0 chore: Switch to maintained yaml 2026-02-08 01:51:43 +01:00
Manuel Rüger
e294a7317e Move mention macro into a goldmark-parser/renderer 2026-02-08 00:59:43 +01:00
Manuel Rüger
b85e40402c Fix lint v15.3.0 2026-01-19 11:06:06 +01:00
Manuel Rüger
1433900a29 Bump to go 1.25 2026-01-19 11:04:39 +01:00
Manuel Rüger
517a3c76a2 Add missed template to README 2026-01-19 11:03:15 +01:00
dependabot[bot]
311c10af2f build(deps): bump github.com/urfave/cli/v3 from 3.6.1 to 3.6.2
Bumps [github.com/urfave/cli/v3](https://github.com/urfave/cli) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v3.6.1...v3.6.2)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v3
  dependency-version: 3.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 10:09:26 +01:00
hypengw
c1c9a13391 parse "linenumbers" in code block 2026-01-15 12:18:28 +01:00
hypengw
5bb400cf51 add view-file template 2026-01-15 12:17:05 +01:00
dependabot[bot]
5270864d7c build(deps): bump golang.org/x/text from 0.32.0 to 0.33.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.32.0 to 0.33.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.32.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-12 13:14:11 +01:00
dependabot[bot]
30f3200c63 build(deps): bump github.com/bmatcuk/doublestar/v4 from 4.9.1 to 4.9.2
Bumps [github.com/bmatcuk/doublestar/v4](https://github.com/bmatcuk/doublestar) from 4.9.1 to 4.9.2.
- [Release notes](https://github.com/bmatcuk/doublestar/releases)
- [Commits](https://github.com/bmatcuk/doublestar/compare/v4.9.1...v4.9.2)

---
updated-dependencies:
- dependency-name: github.com/bmatcuk/doublestar/v4
  dependency-version: 4.9.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-12 13:13:54 +01:00
Nikolai Emil Damm
16f72b00bd feat: extend link resolution to support blog posts
Previously, relative markdown links only resolved to Confluence pages.
Now the lookup also searches for blog posts if a page is not found,
enabling links like [My Blog](./blog-post.md) to work correctly.
2026-01-06 15:25:59 +01:00
Nikolai Emil Damm
a334c1c1cc feat: enhance Confluence link generation by utilizing base URL from API response
Signed-off-by: Nikolai Emil Damm <ndam@tv2.dk>
2026-01-06 15:25:59 +01:00
dependabot[bot]
bb4d4e2dab build(deps): bump github.com/yuin/goldmark from 1.7.13 to 1.7.16
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.7.13 to 1.7.16.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.13...v1.7.16)

---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
  dependency-version: 1.7.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-06 15:24:44 +01:00
Nikolai Emil Damm
2784c925a2 fix: update test cases for large page IDs to reflect Confluence Cloud examples
Signed-off-by: Nikolai Emil Damm <ndam@tv2.dk>
2026-01-05 15:33:43 +01:00
Nikolai Emil Damm
6d5a9fba90 feat: implement GenerateTinyLink function and associated tests for Confluence tiny link generation
Signed-off-by: Nikolai Emil Damm <ndam@tv2.dk>
2026-01-05 15:33:43 +01:00
Nikolai Emil Damm
ef560d095c fix: resolve link space inheritance and enhance Confluence URL normalization tests
Signed-off-by: Nikolai Emil Damm <ndam@tv2.dk>
2026-01-05 15:33:43 +01:00
Nikolai Emil Damm
0dd5ea9aee Clean up comments in normalizeConfluenceWebUIPath
Removed comments from normalizeConfluenceWebUIPath function.
2026-01-05 15:33:43 +01:00
Nikolai Emil Damm
b2efff89e1 Update example path in link.go comments 2026-01-05 15:33:43 +01:00
Nikolai Emil Damm
0a821fb1c5 Update link_test.go 2026-01-05 15:33:43 +01:00
Nikolai Emil Damm
b4370c09c6 feat: add normalizeConfluenceWebUIPath function and tests for URL rewriting
Signed-off-by: Nikolai Emil Damm <ndam@tv2.dk>
2026-01-05 15:33:43 +01:00
dependabot[bot]
4c2a3c9b96 Bump DavidAnson/markdownlint-cli2-action from 21 to 22
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 21 to 22.
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases)
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/v21...v22)

---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
  dependency-version: '22'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-16 09:50:22 +01:00
Manuel Rüger
967efde9bd README.md: Update help output 2025-12-08 21:59:51 +01:00
dgudim
b3a6f1efae Update readme, add description for insecure-skip-tls-verify v15.2.0 2025-12-08 21:53:28 +01:00
dgudim
e82c425471 Rename insecure flag to insecure-skip-tls-verify 2025-12-08 21:53:28 +01:00