gitea/modules
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
..
auth Increase Username and Orgname MaxSize 35 -> 40 (#6178) 2019-02-25 13:56:47 -05:00
avatar
base
cache
context Fix #6234 : Check organization visibility before everything else (#6235) 2019-03-05 15:15:24 -05:00
cron
generate
gzip
highlight
httplib
indexer fix bug when set indexer as db and add tests (#6173) 2019-02-24 11:16:20 -05:00
lfs Allow markdown files to read from the LFS (#5787) 2019-02-12 15:09:43 +00:00
log
mailer
markup Replace linkRegex with xurls library (#6261) 2019-03-07 15:12:01 -05:00
metrics
minwinsvc
notification refactor issue indexer, add some testing and fix a bug (#6131) 2019-02-21 08:54:05 +08:00
options
pprof
private
process
public
recaptcha
search
setting Add more tests and docs for issue indexer, add db indexer type for searching from database (#6144) 2019-02-21 13:01:28 +08:00
ssh
structs Allow to set organization visibility (public, internal, private) (#1763) 2019-02-18 18:00:27 +02:00
sync
templates
test
uploader
user
util
validation