664 Commits

Author SHA1 Message Date
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
Danila Gudim
b36d7aa135 feature: Add --insecure flag for ignoring tls errors 2025-12-08 21:53:28 +01:00
Manuel Rüger
be4ff0d58a Use mimesniffing to detect text files 2025-12-08 21:36:28 +01:00
dependabot[bot]
8fbf355e33 Bump golang.org/x/text from 0.31.0 to 0.32.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.31.0...v0.32.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 21:31:53 +01:00
dependabot[bot]
76850d1128 Bump github.com/dreampuf/mermaid.go from 0.0.38 to 0.0.39
Bumps [github.com/dreampuf/mermaid.go](https://github.com/dreampuf/mermaid.go) from 0.0.38 to 0.0.39.
- [Release notes](https://github.com/dreampuf/mermaid.go/releases)
- [Commits](https://github.com/dreampuf/mermaid.go/compare/v0.0.38...v0.0.39)

---
updated-dependencies:
- dependency-name: github.com/dreampuf/mermaid.go
  dependency-version: 0.0.39
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 18:09:33 +01:00
Manuel Rüger
817c9684ce fix: Include scale into the hash
Should fix https://github.com/kovetskiy/mark/issues/683
2025-12-08 17:14:16 +01:00
dependabot[bot]
1c708414dd Bump golang from 1.25.4 to 1.25.5
Bumps golang from 1.25.4 to 1.25.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 16:53:34 +01:00
Manuel Rüger
71668cac21 Fix issue with leading/trailing spaces in title
See also #672
2025-12-06 23:57:51 +01:00
Manuel Rüger
888d5de655 fix: Panic on empty link v15.1.0 2025-11-28 14:35:32 +01:00
Manuel Rüger
a7390d8b33 Use strconv.Unqoute 2025-11-28 14:21:04 +01:00
Aldo Mateli
5a70073a01 fix tests 2025-11-28 14:21:04 +01:00
Aldo Mateli
0583aaa7ce Strip double quotes from admonition titles 2025-11-28 14:21:04 +01:00
Manuel Rüger
5fd79b897e ci: Bump markdownlint 2025-11-28 14:18:41 +01:00
dependabot[bot]
dd67c43fa6 Bump golang.org/x/text from 0.30.0 to 0.31.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.30.0 to 0.31.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.30.0...v0.31.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 14:06:59 +01:00
dependabot[bot]
09552af3fd Bump github.com/urfave/cli/v3 from 3.6.0 to 3.6.1
Bumps [github.com/urfave/cli/v3](https://github.com/urfave/cli) from 3.6.0 to 3.6.1.
- [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.0...v3.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 14:04:49 +01:00
dependabot[bot]
8d08f1bfeb Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 14:04:27 +01:00
dependabot[bot]
79d7f252f4 Bump golangci/golangci-lint-action from 8 to 9
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 8 to 9.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v8...v9)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 19:41:07 +01:00
dependabot[bot]
3517a26f85 Bump github.com/urfave/cli/v3 from 3.5.0 to 3.6.0
Bumps [github.com/urfave/cli/v3](https://github.com/urfave/cli) from 3.5.0 to 3.6.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.5.0...v3.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 19:40:58 +01:00
dependabot[bot]
aaa2da238d Bump golang from 1.25.3 to 1.25.4
Bumps golang from 1.25.3 to 1.25.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 00:13:12 +01:00
dependabot[bot]
204d35e37b Bump github.com/dreampuf/mermaid.go from 0.0.34 to 0.0.38
Bumps [github.com/dreampuf/mermaid.go](https://github.com/dreampuf/mermaid.go) from 0.0.34 to 0.0.38.
- [Release notes](https://github.com/dreampuf/mermaid.go/releases)
- [Commits](https://github.com/dreampuf/mermaid.go/compare/v0.0.34...v0.0.38)

---
updated-dependencies:
- dependency-name: github.com/dreampuf/mermaid.go
  dependency-version: 0.0.38
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-25 20:02:30 +02:00
dependabot[bot]
4eb24f33a6 Bump github.com/urfave/cli/v3 from 3.4.1 to 3.5.0
Bumps [github.com/urfave/cli/v3](https://github.com/urfave/cli) from 3.4.1 to 3.5.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.4.1...v3.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-25 09:48:52 +02:00
dependabot[bot]
1932cf0c29 Bump golang from 1.25.2 to 1.25.3
Bumps golang from 1.25.2 to 1.25.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-21 11:10:10 +09:00
dependabot[bot]
283f827bd7 Bump github.com/chromedp/chromedp from 0.14.1 to 0.14.2
Bumps [github.com/chromedp/chromedp](https://github.com/chromedp/chromedp) from 0.14.1 to 0.14.2.
- [Release notes](https://github.com/chromedp/chromedp/releases)
- [Commits](https://github.com/chromedp/chromedp/compare/v0.14.1...v0.14.2)

---
updated-dependencies:
- dependency-name: github.com/chromedp/chromedp
  dependency-version: 0.14.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-14 07:55:44 +09:00
dependabot[bot]
8f7d31e033 Bump golang from 1.25.1 to 1.25.2
Bumps golang from 1.25.1 to 1.25.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-14 07:55:19 +09:00
dependabot[bot]
8f6c95f241 Bump golang.org/x/text from 0.29.0 to 0.30.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.29.0 to 0.30.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.29.0...v0.30.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-14 07:52:27 +09:00
dependabot[bot]
2fa2dfee87 Bump github.com/urfave/cli-altsrc/v3 from 3.0.1 to 3.1.0
Bumps [github.com/urfave/cli-altsrc/v3](https://github.com/urfave/cli-altsrc) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/urfave/cli-altsrc/releases)
- [Commits](https://github.com/urfave/cli-altsrc/compare/v3.0.1...v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-07 03:16:11 +09:00
dependabot[bot]
5f1352c6f0 Bump github.com/dreampuf/mermaid.go from 0.0.33 to 0.0.34
Bumps [github.com/dreampuf/mermaid.go](https://github.com/dreampuf/mermaid.go) from 0.0.33 to 0.0.34.
- [Release notes](https://github.com/dreampuf/mermaid.go/releases)
- [Commits](https://github.com/dreampuf/mermaid.go/compare/v0.0.33...v0.0.34)

---
updated-dependencies:
- dependency-name: github.com/dreampuf/mermaid.go
  dependency-version: 0.0.34
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 17:01:30 +02:00
Manuel Rüger
d0e302cccc Fix sigsegv v15.0.0 2025-09-15 19:01:21 +02:00
MatyiFKBT
f08991137e refactor: check for Server var in template 2025-09-15 15:39:12 +02:00
MatyiFKBT
bb32afdf09 feature: add Server param to Jira ticket template 2025-09-15 15:39:12 +02:00
dependabot[bot]
a299177a7e Bump golang.org/x/tools from 0.36.0 to 0.37.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.36.0...v0.37.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 14:10:27 +02:00
Dennis Verheijden
7f7494f26e Run markdown-cli2 2025-09-15 11:07:30 +02:00
Dennis Verheijden
781e30bbbe Undo unrelated formatting changes 2025-09-15 11:07:30 +02:00
Dennis Verheijden
5516809c41 Update the documentation with a section about automatic page titles 2025-09-15 11:07:30 +02:00