1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 13:49:13 -05:00
forgejo/vendor/github.com
mrsdizzie f2de5dc8c8 Replace linkRegex with xurls library (#6261)
* Replace linkRegex with xurls library

Rather than maintaining a complicated regex to match URLs for
autolinking, gitea can use this existing go library that takes care of
the matching with very little code change to gitea itself. After
spending a while trying to find the perfect regex for all cases this library
still works better as it is more flexible than a single regex ever will be.

This will also fix the following issues: #5844 #3095 #3381

This passes all our current tests and I've added new ones mentioned in
those issues as well.

* Use xurls.StrictMatchingScheme instead of xurls.Strict

This is much faster and we only care about https? links to preserve
existing behavior.
2019-03-07 15:12:01 -05:00
..
andybalholm/cascadia
beorn7/perks Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
blevesearch Update bleve dependency to latest master revision (#6100) 2019-02-17 19:50:26 -05:00
boombuler/barcode
bradfitz/gomemcache
BurntSushi/toml add other session providers (#5963) 2019-02-05 11:52:51 -05:00
chaseadamsio/goorgeous
couchbase Update bleve dependency to latest master revision (#6100) 2019-02-17 19:50:26 -05:00
couchbaselabs/go-couchbase add other session providers (#5963) 2019-02-05 11:52:51 -05:00
davecgh/go-spew LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
denisenkom/go-mssqldb
dgrijalva/jwt-go
edsrzf/mmap-go
elazarl/go-bindata-assetfs
emirpasic/gods Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
etcd-io/bbolt Update bleve dependency to latest master revision (#6100) 2019-02-17 19:50:26 -05:00
ethantkoenig/rupture
facebookgo
glycerine/go-unsnap-stream
go-macaron add other session providers (#5963) 2019-02-05 11:52:51 -05:00
go-sql-driver/mysql upgrade go-sql-driver/mysql to fix invalid connection error (#5748) 2019-01-17 06:07:23 +00:00
go-xorm Fixing #5728: (#5747) 2019-01-16 16:24:09 -05:00
gogits
golang Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
gorilla
issue9/identicon
jaytaylor/html2text
jbenet/go-context Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
kballard/go-shellquote
kevinburke/ssh_config Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
keybase/go-crypto
klauspost
lafriks/xormstore
lib/pq
lunny Refactor issue indexer (#5363) 2019-02-19 09:39:39 -05:00
markbates/goth Discord Oauth2 support (#4476) 2019-01-13 14:06:22 -05:00
mattn/go-sqlite3 Update vendor/github.com/mattn/go-sqlite3 (#5162) 2018-10-24 16:18:51 +08:00
matttproud/golang_protobuf_extensions Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
mcuadros/go-version
microcosm-cc/bluemonday
mitchellh/go-homedir Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
mrjones/oauth
mschoch/smat
msteinert/pam
mvdan/xurls Replace linkRegex with xurls library (#6261) 2019-03-07 15:12:01 -05:00
nfnt/resize
pelletier/go-buffruneio Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
philhofer/fwd
pkg/errors add other session providers (#5963) 2019-02-05 11:52:51 -05:00
pmezard/go-difflib
pquerna/otp
prometheus Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
PuerkitoBio/goquery
RoaringBitmap/roaring
russross/blackfriday
satori/go.uuid
sergi/go-diff
shurcooL/sanitized_anchor_name
siddontang/go-snappy add other session providers (#5963) 2019-02-05 11:52:51 -05:00
src-d/gcfg Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
steveyen/gtreap
stretchr/testify LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
syndtr/goleveldb add other session providers (#5963) 2019-02-05 11:52:51 -05:00
tinylib/msgp
tstranex/u2f
Unknwon
urfave/cli
willf/bitset
xanzy/ssh-agent Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
yohcop/openid-go