mirror of
https://gitea.com/gitea/tea.git
synced 2024-12-18 15:15:05 +01:00
d2295828d0
Path-only URLs need an absolute reference to be resolved against for printing in markdown Previously we resolved against the URL to the resource we were operating on (eg comment or issue URL). The markdown renderer in the web UI resolves all such URLs relative to the repo base URL. This PR adopts this behaviour in tea, by trimming the URL to a repo base URL via regex. This makes a custom patch to our markdown renderer `glamour` obsolete, which turned out to be an incorrect patch, meaning we can make use of upstream glamour again. Co-authored-by: Norwin <git@nroo.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/401 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io>
268 lines
10 KiB
Plaintext
268 lines
10 KiB
Plaintext
# code.gitea.io/gitea-vet v0.2.1
|
|
code.gitea.io/gitea-vet
|
|
code.gitea.io/gitea-vet/checks
|
|
# code.gitea.io/sdk/gitea v0.15.0
|
|
code.gitea.io/sdk/gitea
|
|
# gitea.com/noerw/unidiff-comments v0.0.0-20201219085024-64aec5658f2b
|
|
gitea.com/noerw/unidiff-comments
|
|
gitea.com/noerw/unidiff-comments/types
|
|
# github.com/AlecAivazis/survey/v2 v2.3.1
|
|
github.com/AlecAivazis/survey/v2
|
|
github.com/AlecAivazis/survey/v2/core
|
|
github.com/AlecAivazis/survey/v2/terminal
|
|
# github.com/Microsoft/go-winio v0.5.0
|
|
github.com/Microsoft/go-winio
|
|
github.com/Microsoft/go-winio/pkg/guid
|
|
# github.com/ProtonMail/go-crypto v0.0.0-20210707164159-52430bf6b52c
|
|
github.com/ProtonMail/go-crypto/bitcurves
|
|
github.com/ProtonMail/go-crypto/brainpool
|
|
github.com/ProtonMail/go-crypto/eax
|
|
github.com/ProtonMail/go-crypto/internal/byteutil
|
|
github.com/ProtonMail/go-crypto/ocb
|
|
github.com/ProtonMail/go-crypto/openpgp
|
|
github.com/ProtonMail/go-crypto/openpgp/aes/keywrap
|
|
github.com/ProtonMail/go-crypto/openpgp/armor
|
|
github.com/ProtonMail/go-crypto/openpgp/ecdh
|
|
github.com/ProtonMail/go-crypto/openpgp/elgamal
|
|
github.com/ProtonMail/go-crypto/openpgp/errors
|
|
github.com/ProtonMail/go-crypto/openpgp/internal/algorithm
|
|
github.com/ProtonMail/go-crypto/openpgp/internal/ecc
|
|
github.com/ProtonMail/go-crypto/openpgp/internal/encoding
|
|
github.com/ProtonMail/go-crypto/openpgp/packet
|
|
github.com/ProtonMail/go-crypto/openpgp/s2k
|
|
# github.com/acomagu/bufpipe v1.0.3
|
|
github.com/acomagu/bufpipe
|
|
# github.com/adrg/xdg v0.3.3
|
|
github.com/adrg/xdg
|
|
# github.com/alecthomas/chroma v0.9.2
|
|
github.com/alecthomas/chroma
|
|
github.com/alecthomas/chroma/formatters
|
|
github.com/alecthomas/chroma/formatters/html
|
|
github.com/alecthomas/chroma/formatters/svg
|
|
github.com/alecthomas/chroma/lexers
|
|
github.com/alecthomas/chroma/lexers/a
|
|
github.com/alecthomas/chroma/lexers/b
|
|
github.com/alecthomas/chroma/lexers/c
|
|
github.com/alecthomas/chroma/lexers/circular
|
|
github.com/alecthomas/chroma/lexers/d
|
|
github.com/alecthomas/chroma/lexers/e
|
|
github.com/alecthomas/chroma/lexers/f
|
|
github.com/alecthomas/chroma/lexers/g
|
|
github.com/alecthomas/chroma/lexers/h
|
|
github.com/alecthomas/chroma/lexers/i
|
|
github.com/alecthomas/chroma/lexers/internal
|
|
github.com/alecthomas/chroma/lexers/j
|
|
github.com/alecthomas/chroma/lexers/k
|
|
github.com/alecthomas/chroma/lexers/l
|
|
github.com/alecthomas/chroma/lexers/m
|
|
github.com/alecthomas/chroma/lexers/n
|
|
github.com/alecthomas/chroma/lexers/o
|
|
github.com/alecthomas/chroma/lexers/p
|
|
github.com/alecthomas/chroma/lexers/q
|
|
github.com/alecthomas/chroma/lexers/r
|
|
github.com/alecthomas/chroma/lexers/s
|
|
github.com/alecthomas/chroma/lexers/t
|
|
github.com/alecthomas/chroma/lexers/v
|
|
github.com/alecthomas/chroma/lexers/w
|
|
github.com/alecthomas/chroma/lexers/x
|
|
github.com/alecthomas/chroma/lexers/y
|
|
github.com/alecthomas/chroma/lexers/z
|
|
github.com/alecthomas/chroma/quick
|
|
github.com/alecthomas/chroma/styles
|
|
# github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de
|
|
github.com/araddon/dateparse
|
|
# github.com/aymerick/douceur v0.2.0
|
|
github.com/aymerick/douceur/css
|
|
github.com/aymerick/douceur/parser
|
|
# github.com/charmbracelet/glamour v0.3.0
|
|
github.com/charmbracelet/glamour
|
|
github.com/charmbracelet/glamour/ansi
|
|
# github.com/cpuguy83/go-md2man/v2 v2.0.1
|
|
github.com/cpuguy83/go-md2man/v2/md2man
|
|
# github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964
|
|
github.com/danwakefield/fnmatch
|
|
# github.com/davecgh/go-spew v1.1.1
|
|
github.com/davecgh/go-spew/spew
|
|
# github.com/dlclark/regexp2 v1.4.0
|
|
github.com/dlclark/regexp2
|
|
github.com/dlclark/regexp2/syntax
|
|
# github.com/emirpasic/gods v1.12.0
|
|
github.com/emirpasic/gods/containers
|
|
github.com/emirpasic/gods/lists
|
|
github.com/emirpasic/gods/lists/arraylist
|
|
github.com/emirpasic/gods/trees
|
|
github.com/emirpasic/gods/trees/binaryheap
|
|
github.com/emirpasic/gods/utils
|
|
# github.com/enescakir/emoji v1.0.0
|
|
github.com/enescakir/emoji
|
|
# github.com/go-git/gcfg v1.5.0
|
|
github.com/go-git/gcfg
|
|
github.com/go-git/gcfg/scanner
|
|
github.com/go-git/gcfg/token
|
|
github.com/go-git/gcfg/types
|
|
# github.com/go-git/go-billy/v5 v5.3.1
|
|
github.com/go-git/go-billy/v5
|
|
github.com/go-git/go-billy/v5/helper/chroot
|
|
github.com/go-git/go-billy/v5/helper/polyfill
|
|
github.com/go-git/go-billy/v5/memfs
|
|
github.com/go-git/go-billy/v5/osfs
|
|
github.com/go-git/go-billy/v5/util
|
|
# github.com/go-git/go-git/v5 v5.4.2
|
|
github.com/go-git/go-git/v5
|
|
github.com/go-git/go-git/v5/config
|
|
github.com/go-git/go-git/v5/internal/revision
|
|
github.com/go-git/go-git/v5/internal/url
|
|
github.com/go-git/go-git/v5/plumbing
|
|
github.com/go-git/go-git/v5/plumbing/cache
|
|
github.com/go-git/go-git/v5/plumbing/color
|
|
github.com/go-git/go-git/v5/plumbing/filemode
|
|
github.com/go-git/go-git/v5/plumbing/format/config
|
|
github.com/go-git/go-git/v5/plumbing/format/diff
|
|
github.com/go-git/go-git/v5/plumbing/format/gitignore
|
|
github.com/go-git/go-git/v5/plumbing/format/idxfile
|
|
github.com/go-git/go-git/v5/plumbing/format/index
|
|
github.com/go-git/go-git/v5/plumbing/format/objfile
|
|
github.com/go-git/go-git/v5/plumbing/format/packfile
|
|
github.com/go-git/go-git/v5/plumbing/format/pktline
|
|
github.com/go-git/go-git/v5/plumbing/object
|
|
github.com/go-git/go-git/v5/plumbing/protocol/packp
|
|
github.com/go-git/go-git/v5/plumbing/protocol/packp/capability
|
|
github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband
|
|
github.com/go-git/go-git/v5/plumbing/revlist
|
|
github.com/go-git/go-git/v5/plumbing/storer
|
|
github.com/go-git/go-git/v5/plumbing/transport
|
|
github.com/go-git/go-git/v5/plumbing/transport/client
|
|
github.com/go-git/go-git/v5/plumbing/transport/file
|
|
github.com/go-git/go-git/v5/plumbing/transport/git
|
|
github.com/go-git/go-git/v5/plumbing/transport/http
|
|
github.com/go-git/go-git/v5/plumbing/transport/internal/common
|
|
github.com/go-git/go-git/v5/plumbing/transport/server
|
|
github.com/go-git/go-git/v5/plumbing/transport/ssh
|
|
github.com/go-git/go-git/v5/storage
|
|
github.com/go-git/go-git/v5/storage/filesystem
|
|
github.com/go-git/go-git/v5/storage/filesystem/dotgit
|
|
github.com/go-git/go-git/v5/storage/memory
|
|
github.com/go-git/go-git/v5/utils/binary
|
|
github.com/go-git/go-git/v5/utils/diff
|
|
github.com/go-git/go-git/v5/utils/ioutil
|
|
github.com/go-git/go-git/v5/utils/merkletrie
|
|
github.com/go-git/go-git/v5/utils/merkletrie/filesystem
|
|
github.com/go-git/go-git/v5/utils/merkletrie/index
|
|
github.com/go-git/go-git/v5/utils/merkletrie/internal/frame
|
|
github.com/go-git/go-git/v5/utils/merkletrie/noder
|
|
# github.com/gorilla/css v1.0.0
|
|
github.com/gorilla/css/scanner
|
|
# github.com/hashicorp/go-version v1.3.0
|
|
github.com/hashicorp/go-version
|
|
# github.com/imdario/mergo v0.3.12
|
|
github.com/imdario/mergo
|
|
# github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
|
|
github.com/jbenet/go-context/io
|
|
# github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
|
|
github.com/kballard/go-shellquote
|
|
# github.com/kevinburke/ssh_config v1.1.0
|
|
github.com/kevinburke/ssh_config
|
|
# github.com/lucasb-eyer/go-colorful v1.2.0
|
|
github.com/lucasb-eyer/go-colorful
|
|
# github.com/mattn/go-colorable v0.1.8
|
|
github.com/mattn/go-colorable
|
|
# github.com/mattn/go-isatty v0.0.13
|
|
github.com/mattn/go-isatty
|
|
# github.com/mattn/go-runewidth v0.0.13
|
|
github.com/mattn/go-runewidth
|
|
# github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
|
|
github.com/mgutz/ansi
|
|
# github.com/microcosm-cc/bluemonday v1.0.15
|
|
github.com/microcosm-cc/bluemonday
|
|
github.com/microcosm-cc/bluemonday/css
|
|
# github.com/mitchellh/go-homedir v1.1.0
|
|
github.com/mitchellh/go-homedir
|
|
# github.com/muesli/reflow v0.3.0
|
|
github.com/muesli/reflow/ansi
|
|
github.com/muesli/reflow/indent
|
|
github.com/muesli/reflow/padding
|
|
github.com/muesli/reflow/wordwrap
|
|
# github.com/muesli/termenv v0.9.0
|
|
github.com/muesli/termenv
|
|
# github.com/olekukonko/tablewriter v0.0.5
|
|
github.com/olekukonko/tablewriter
|
|
# github.com/pmezard/go-difflib v1.0.0
|
|
github.com/pmezard/go-difflib/difflib
|
|
# github.com/rivo/uniseg v0.2.0
|
|
github.com/rivo/uniseg
|
|
# github.com/russross/blackfriday/v2 v2.1.0
|
|
github.com/russross/blackfriday/v2
|
|
# github.com/sergi/go-diff v1.2.0
|
|
github.com/sergi/go-diff/diffmatchpatch
|
|
# github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
|
|
github.com/skratchdot/open-golang/open
|
|
# github.com/stretchr/testify v1.7.0
|
|
github.com/stretchr/testify/assert
|
|
# github.com/urfave/cli/v2 v2.3.0
|
|
github.com/urfave/cli/v2
|
|
# github.com/xanzy/ssh-agent v0.3.1
|
|
github.com/xanzy/ssh-agent
|
|
# github.com/yuin/goldmark v1.4.0
|
|
github.com/yuin/goldmark
|
|
github.com/yuin/goldmark/ast
|
|
github.com/yuin/goldmark/extension
|
|
github.com/yuin/goldmark/extension/ast
|
|
github.com/yuin/goldmark/parser
|
|
github.com/yuin/goldmark/renderer
|
|
github.com/yuin/goldmark/renderer/html
|
|
github.com/yuin/goldmark/text
|
|
github.com/yuin/goldmark/util
|
|
# github.com/yuin/goldmark-emoji v1.0.1
|
|
github.com/yuin/goldmark-emoji
|
|
github.com/yuin/goldmark-emoji/ast
|
|
github.com/yuin/goldmark-emoji/definition
|
|
# golang.org/x/crypto v0.0.0-20210817164053-32db794688a5
|
|
golang.org/x/crypto/blowfish
|
|
golang.org/x/crypto/cast5
|
|
golang.org/x/crypto/chacha20
|
|
golang.org/x/crypto/curve25519
|
|
golang.org/x/crypto/curve25519/internal/field
|
|
golang.org/x/crypto/ed25519
|
|
golang.org/x/crypto/ed25519/internal/edwards25519
|
|
golang.org/x/crypto/internal/subtle
|
|
golang.org/x/crypto/poly1305
|
|
golang.org/x/crypto/ssh
|
|
golang.org/x/crypto/ssh/agent
|
|
golang.org/x/crypto/ssh/internal/bcrypt_pbkdf
|
|
golang.org/x/crypto/ssh/knownhosts
|
|
golang.org/x/crypto/ssh/terminal
|
|
# golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d
|
|
golang.org/x/net/context
|
|
golang.org/x/net/html
|
|
golang.org/x/net/html/atom
|
|
golang.org/x/net/internal/socks
|
|
golang.org/x/net/proxy
|
|
# golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf
|
|
golang.org/x/sys/cpu
|
|
golang.org/x/sys/execabs
|
|
golang.org/x/sys/internal/unsafeheader
|
|
golang.org/x/sys/plan9
|
|
golang.org/x/sys/unix
|
|
golang.org/x/sys/windows
|
|
# golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b
|
|
golang.org/x/term
|
|
# golang.org/x/text v0.3.7
|
|
golang.org/x/text/transform
|
|
golang.org/x/text/width
|
|
# golang.org/x/tools v0.1.5
|
|
golang.org/x/tools/go/analysis
|
|
golang.org/x/tools/go/analysis/internal/analysisflags
|
|
golang.org/x/tools/go/analysis/internal/facts
|
|
golang.org/x/tools/go/analysis/unitchecker
|
|
golang.org/x/tools/go/ast/astutil
|
|
golang.org/x/tools/go/types/objectpath
|
|
golang.org/x/tools/internal/analysisinternal
|
|
golang.org/x/tools/internal/lsp/fuzzy
|
|
golang.org/x/tools/internal/typeparams
|
|
# gopkg.in/warnings.v0 v0.1.2
|
|
gopkg.in/warnings.v0
|
|
# gopkg.in/yaml.v2 v2.4.0
|
|
gopkg.in/yaml.v2
|
|
# gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
|
|
gopkg.in/yaml.v3
|