53 Commits

Author SHA1 Message Date
dependabot[bot]
b7cb1824ae Bump golang.org/x/tools from 0.19.0 to 0.20.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.19.0...v0.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-11 19:29:11 +02:00
dependabot[bot]
a324dae511 Bump github.com/yuin/goldmark from 1.7.0 to 1.7.1
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.0...v1.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-11 17:59:36 +02:00
dependabot[bot]
ea60ad3170 Bump golang.org/x/tools from 0.18.0 to 0.19.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.18.0...v0.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 12:35:35 +01:00
dependabot[bot]
e3d713939b Bump github.com/dreampuf/mermaid.go from 0.0.15 to 0.0.16
Bumps [github.com/dreampuf/mermaid.go](https://github.com/dreampuf/mermaid.go) from 0.0.15 to 0.0.16.
- [Release notes](https://github.com/dreampuf/mermaid.go/releases)
- [Commits](https://github.com/dreampuf/mermaid.go/compare/v0.0.15...v0.0.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 11:13:36 +01:00
dependabot[bot]
b7d64ce03a Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 18:11:31 +01:00
dependabot[bot]
093d62e6d1 Bump golang.org/x/tools from 0.17.0 to 0.18.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.17.0...v0.18.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 21:06:14 +01:00
dependabot[bot]
dc99e34373 Bump github.com/yuin/goldmark from 1.6.0 to 1.7.0
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.6.0...v1.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 00:19:22 +01:00
Manuel Rüger
a04f41161f Bump goldmark 1.6.0 and go 1.21 2024-01-26 16:03:25 +01:00
dependabot[bot]
0073834e85 Bump github.com/dreampuf/mermaid.go from 0.0.14 to 0.0.15
Bumps [github.com/dreampuf/mermaid.go](https://github.com/dreampuf/mermaid.go) from 0.0.14 to 0.0.15.
- [Release notes](https://github.com/dreampuf/mermaid.go/releases)
- [Commits](https://github.com/dreampuf/mermaid.go/compare/v0.0.14...v0.0.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 11:30:37 +01:00
dependabot[bot]
3ef2a244d9 Bump golang.org/x/tools from 0.16.1 to 0.17.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.16.1...v0.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 11:29:59 +01:00
dependabot[bot]
cfc76d87ce Bump github.com/urfave/cli/v2 from 2.26.0 to 2.27.1
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.26.0 to 2.27.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/v2.26.0...v2.27.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 11:24:40 +01:00
dependabot[bot]
21d76ec25a
Bump golang.org/x/tools from 0.16.0 to 0.16.1 (#402)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.16.0...v0.16.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 18:28:52 +01:00
dependabot[bot]
a8d762ab83
Bump github.com/reconquest/karma-go from 1.3.1 to 1.4.0 (#400)
Bumps [github.com/reconquest/karma-go](https://github.com/reconquest/karma-go) from 1.3.1 to 1.4.0.
- [Commits](https://github.com/reconquest/karma-go/compare/v1.3.1...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/reconquest/karma-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 14:27:12 +01:00
dependabot[bot]
d64bece68d
Bump golang.org/x/tools from 0.15.0 to 0.16.0 (#396)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.15.0...v0.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-03 20:08:08 +01:00
dependabot[bot]
da25cf19d2
Bump github.com/urfave/cli/v2 from 2.25.7 to 2.26.0 (#395)
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.25.7 to 2.26.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/v2.25.7...v2.26.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-03 20:07:57 +01:00
Oliver Radwell
ab1b3c2e60
feat: Support for double star (**) globbing (#392)
* feat: Support for double star (**) globbing

* fixup: use FilepathGlob instead of Glob
2023-12-01 13:31:09 +01:00
dependabot[bot]
b752586ff3 Bump github.com/reconquest/karma-go from 1.2.0 to 1.3.1
Bumps [github.com/reconquest/karma-go](https://github.com/reconquest/karma-go) from 1.2.0 to 1.3.1.
- [Commits](https://github.com/reconquest/karma-go/compare/v1.2.0...v1.3.1)

---
updated-dependencies:
- dependency-name: github.com/reconquest/karma-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 17:52:15 +01:00
dependabot[bot]
15d9295781 Bump golang.org/x/tools from 0.14.0 to 0.15.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.14.0...v0.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 18:32:02 +01:00
dependabot[bot]
4c865b4546 Bump github.com/dreampuf/mermaid.go from 0.0.13 to 0.0.14
Bumps [github.com/dreampuf/mermaid.go](https://github.com/dreampuf/mermaid.go) from 0.0.13 to 0.0.14.
- [Release notes](https://github.com/dreampuf/mermaid.go/releases)
- [Commits](https://github.com/dreampuf/mermaid.go/compare/v0.0.13...v0.0.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 17:36:51 +01:00
dependabot[bot]
b0124f74a1 Bump golang.org/x/tools from 0.12.0 to 0.14.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.12.0 to 0.14.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.12.0...v0.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 19:43:03 +02:00
dependabot[bot]
c5134d926a Bump github.com/dreampuf/mermaid.go from 0.0.12 to 0.0.13
Bumps [github.com/dreampuf/mermaid.go](https://github.com/dreampuf/mermaid.go) from 0.0.12 to 0.0.13.
- [Release notes](https://github.com/dreampuf/mermaid.go/releases)
- [Commits](https://github.com/dreampuf/mermaid.go/compare/v0.0.12...v0.0.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 19:42:47 +02:00
Manuel Rüger
737b9239f8 feat: Allow scaling of mermaid rendering 2023-08-30 15:15:13 +02:00
Manuel Rüger
b426d5c6b1 Define parent pages from CLI 2023-08-10 08:02:38 +02:00
Manuel Rüger
3c7512b7e1 Bump dependencies 2023-07-31 10:06:31 +02:00
Manuel Rüger
ac982f3077 Add panel macro 2023-07-05 15:48:11 +02:00
Manuel Rüger
494ddce3d1 go.mod: Update dependencies 2023-06-21 18:43:14 +02:00
Manuel Rüger
22bf46026b Fix user mentioning 2023-06-08 22:49:15 +02:00
Manuel Rüger
278488ed88 Update mermaid to v10.2.0 2023-05-26 11:26:44 +02:00
Manuel Rüger
cb5e4aa28a Bump dependencies 2023-05-23 07:33:11 +02:00
Manuel Rüger
2b756daf37 Add debug output for config 2023-05-03 18:30:47 +02:00
Dreampuf
d9d560eda0 Add support for mermaid via library
Implementation is largely based on: https://github.com/kovetskiy/mark/pull/167

Co-Authored-By: Manuel Rueger <manuel@rueg.eu>
2023-04-25 23:59:17 +02:00
Manuel Rüger
262853f6c0 Simplify config handling
* Switch to urfave/cli/v2
* Add more environment variables
2023-04-20 14:34:55 +02:00
Manuel Rüger
eade059cad Update to go 1.20 2023-04-03 13:21:40 +02:00
Manuel Rüger
a3dc8bed05 Replace blackfriday with goldmark
This change replaces the unmaintained blackfriday markdown renderer with the
goldmark renderer.
The goal is to have wider support for more markdown extensions and ideally
have a better solution for mermaid transformation via extensions as well.
2023-03-27 20:36:43 +02:00
Lucas Oskorep
30b0785fae feat: moving to IsTextFile for file type detection 2023-03-22 19:14:34 -04:00
Manuel Rüger
ca2dbe5fc4 Dockerfile: Freeze builder image versions 2023-02-21 14:46:42 +01:00
Manuel Rüger
cd08a70ba9 .github: Build with go 1.19 2023-01-27 11:40:46 +01:00
Manuel Rüger
fb8213bc0d go.mod: Update dependencies 2023-01-26 09:49:40 +01:00
Manuel Rüger
78345736d5
go.mod: Update dependencies (#211)
Also switch to yaml.v3
2022-10-19 20:43:12 +06:00
Will Gorman
5d2c1b0d84
Fix builds on go 1.18 (#206)
Avoids errors like "../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200116001909-b77594299b42/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable"
2022-06-21 10:30:22 +06:00
Egor Kovetskiy
1bd022b065 replace \r\n with \n, fix #42 2021-11-08 20:15:59 +06:00
Florent Monbillard
cc98590e9d
Update golang crypto library to fix CVE-2020-29652 (#131) 2021-11-03 11:41:51 +06:00
Egor Kovetskiy
11e7e82671 do not skip tls cert verification by default 2021-08-11 10:16:37 +03:00
Egor Kovetskiy
bf4bbbe20a use my fork of blackfriday
Turns out the PR to the upstream is not merged and looks like the
maintainers didn't have a chance to merge it. The `replace` directive
causes some problems: https://github.com/kovetskiy/mark/issues/71
2021-03-11 09:00:45 +03:00
Egor Kovetskiy
3d95418d9f use fork of blackfriday until the upstream is fixed 2021-02-09 06:55:49 +03:00
Egor Kovetskiy
c22c6c1e43 tidy up go modules 2021-02-02 17:45:36 +03:00
Egor Kovetskiy
7f6466a882 upgrade to blackfriday v2, fixes #53 and #61, add tests 2021-02-02 17:44:56 +03:00
Egor Kovetskiy
e190cdfb34 rollback #53 because of #63, add tests 2021-02-02 17:44:56 +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
055af49f89 update api dependencies 2020-11-05 13:44:12 +03:00