forgejo/modules
Lanre Adelowo 9d8178b3ac Add option to close issues via commit on a non master branch (#5992)
* fixes #5957

* add tests to make sure config option is respected

* use already defined struct

* - use migration to make the flag repo wide not for the entire gitea instance
Also note that the config value can still be set so as to be able to control the value for new repositories that are to be created

- fix copy/paste error in copyright header year and rearrange import

- use repo config instead of server config value to determine if a commit should close an issue

- update testsuite

* use global config only when creating a new repository

* allow repo admin toggle feature via UI

* fix typo and improve testcase

* fix fixtures

* add DEFAULT prefix to config value

* fix test
2019-02-10 21:27:19 +02:00
..
auth Add option to close issues via commit on a non master branch (#5992) 2019-02-10 21:27:19 +02:00
avatar
base
cache
context Provide better panic handling (#5902) 2019-01-30 17:00:00 -05:00
cron
generate
gzip Pooled and buffered gzip implementation (#5722) 2019-01-23 10:56:51 +02:00
highlight
httplib
indexer fix indexer reindex bug when gitea restart (#5563) 2018-12-19 16:37:48 +08:00
lfs Fix bug when read public repo lfs file (#5912) 2019-01-31 13:36:57 +00:00
log Allow Macaron to be set to log through to gitea.log (#5667) 2019-02-05 22:06:41 -05:00
mailer Make log mailer for testing (#5893) 2019-02-02 21:06:52 -05:00
markup Recover panic in orgmode.Render if bad orgfile (#4982) (#5903) 2019-01-30 17:17:43 -05:00
metrics
minwinsvc
notification Refactor notification for indexer (#5111) 2019-01-17 22:23:22 +08:00
options
pprof
private Fix ssh deploy and user key constraints (#1357) (#5939) 2019-02-03 23:56:53 +00:00
process
public When redirecting clean the path to avoid redirecting to //www.othersite.com (#5669) 2019-01-09 13:39:01 -05:00
recaptcha
search
setting Add option to close issues via commit on a non master branch (#5992) 2019-02-10 21:27:19 +02:00
ssh use native golang SSH library but ssh-keygen when enable built-in SSH server to remove dependent on that command lines (#5976) 2019-02-07 02:13:12 -05:00
sync
templates
test Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
user
util Disallow empty titles (#5785) 2019-01-21 13:45:32 +02:00
validation