gitea/modules
mrsdizzie f2de5dc8c8 Replace linkRegex with xurls library ()
* 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:   

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 () 2019-02-25 13:56:47 -05:00
avatar Use assert in legacy unit tests () 2017-02-08 14:29:07 +08:00
base Serve audio files using HTML5 audio tag () 2018-10-30 10:17:26 +08:00
cache Fix memcache support when value is returned as string always () 2017-11-16 15:06:34 +08:00
context Fix : Check organization visibility before everything else () 2019-03-05 15:15:24 -05:00
cron Add branch overiew page () 2017-10-26 08:49:16 +08:00
generate Implements generator cli for secrets () 2018-02-18 20:14:37 +02:00
gzip Pooled and buffered gzip implementation () 2019-01-23 10:56:51 +02:00
highlight No highlighting for .txt files () 2017-06-09 19:39:16 -05:00
httplib Add sensitive headers () 2018-01-31 00:09:16 +02:00
indexer fix bug when set indexer as db and add tests () 2019-02-24 11:16:20 -05:00
lfs Allow markdown files to read from the LFS () 2019-02-12 15:09:43 +00:00
log Allow Macaron to be set to log through to gitea.log () 2019-02-05 22:06:41 -05:00
mailer Make log mailer for testing () 2019-02-02 21:06:52 -05:00
markup Replace linkRegex with xurls library () 2019-03-07 15:12:01 -05:00
metrics Prometheus endpoint () 2018-11-04 22:20:00 -05:00
minwinsvc Fix Git hooks not being executed on Windows when running as a service () 2017-03-09 09:27:43 +08:00
notification refactor issue indexer, add some testing and fix a bug () 2019-02-21 08:54:05 +08:00
options Fix typos in models/ and modules/ () 2017-03-15 08:52:01 +08:00
pprof cmd/serve: pprof cpu and memory profile dumps to disk () 2018-08-07 14:49:18 -04:00
private Fix ssh deploy and user key constraints () () 2019-02-03 23:56:53 +00:00
process Fix run command race () 2017-11-13 22:51:45 +08:00
public When redirecting clean the path to avoid redirecting to //www.othersite.com () 2019-01-09 13:39:01 -05:00
recaptcha Add Recaptcha functionality to Gitea () 2018-07-05 00:13:05 -04:00
search Global code search support () 2018-03-16 22:04:33 +08:00
setting Add more tests and docs for issue indexer, add db indexer type for searching from database () 2019-02-21 13:01:28 +08:00
ssh use native golang SSH library but ssh-keygen when enable built-in SSH server to remove dependent on that command lines () 2019-02-07 02:13:12 -05:00
structs Allow to set organization visibility (public, internal, private) () 2019-02-18 18:00:27 +02:00
sync Fix status table race condition () 2017-05-31 16:57:17 +08:00
templates Create Progressive Web App () 2018-11-27 10:18:26 -05:00
test Restrict permission check on repositories and fix some problems () 2018-11-28 19:26:14 +08:00
uploader Refactor editor upload, update and delete to use git plumbing and add LFS support () 2019-02-12 15:07:31 +02:00
user Remove check for negative length () 2018-10-20 17:25:14 -04:00
util Disallow empty titles () 2019-01-21 13:45:32 +02:00
validation Improve URL validation for external wiki and external issues () 2018-08-15 09:29:37 +03:00