Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 18:56:11 +01: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 Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
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 Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
bradfitz/gomemcache Added all required dependencies 2016-11-04 08:43:11 +01:00
BurntSushi/toml add other session providers (#5963) 2019-02-05 11:52:51 -05:00
chaseadamsio/goorgeous Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
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 Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
dgrijalva/jwt-go Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
edsrzf/mmap-go Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
elazarl/go-bindata-assetfs Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
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 Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
facebookgo Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
glycerine/go-unsnap-stream Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
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 Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
golang Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
gorilla Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
issue9/identicon Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
jaytaylor/html2text Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
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 Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
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 Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
klauspost Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
lafriks/xormstore Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
lib/pq Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
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 Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
microcosm-cc/bluemonday Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
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 Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
mschoch/smat Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
msteinert/pam Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
mvdan/xurls Replace linkRegex with xurls library (#6261) 2019-03-07 15:12:01 -05:00
nfnt/resize Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
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 Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
pkg/errors add other session providers (#5963) 2019-02-05 11:52:51 -05:00
pmezard/go-difflib Update code.gitea.io/git (#3137) 2017-12-11 10:23:34 +08:00
pquerna/otp Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
prometheus Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
PuerkitoBio/goquery Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
RoaringBitmap/roaring Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
russross/blackfriday Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
satori/go.uuid Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
sergi/go-diff Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
shurcooL/sanitized_anchor_name Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
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 Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
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 Update to last common bleve (#3986) 2018-05-19 20:49:46 +08:00
tstranex/u2f Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
Unknwon Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
urfave/cli Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
willf/bitset Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
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 Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00