0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 00:14:17 +01:00
gitea/modules
guillep2k 01a4a7cb14 Auto-subscribe user to repository when they commit/tag to it (#7657)
* Add support for AUTO_WATCH_ON_CHANGES and AUTO_WATCH_ON_CLONE

* Update models/repo_watch.go

Co-Authored-By: Lauris BH <lauris@nix.lv>

* Round up changes suggested by lafriks

* Added changes suggested from automated tests

* Updated deleteUser to take RepoWatchModeDont into account, corrected inverted DefaultWatchOnClone and DefaultWatchOnChanges behaviour, updated and added tests.

* Reinsert import "github.com/Unknwon/com" on http.go

* Add migration for new column `watch`.`mode`

* Remove serv code

* Remove WATCH_ON_CLONE; use hooks, add integrations

* Renamed watch_test.go to repo_watch_test.go

* Correct fmt

* Add missing EOL

* Correct name of test function

* Reword cheat and ini descriptions

* Add update to migration to ensure column value

* Clarify comment

Co-Authored-By: zeripath <art27@cantab.net>

* Simplify if condition
2019-11-10 09:22:19 +00:00
..
auth Add team option to grant rights for all organization repositories (#8688) 2019-11-06 11:37:14 +02:00
avatar
base
cache
charset
context
convert Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08:00
cron
generate
git Adjust error reporting from merge failures and use LC_ALL=C for git (#8548) 2019-11-10 08:42:51 +00:00
graceful
gzip
highlight
httplib
indexer
lfs
log
markup
metrics
migrations Update Github migration test (#8893) 2019-11-09 15:13:35 -05:00
minwinsvc
notification Move some actions to notification/action (#8779) 2019-11-08 15:54:50 -05:00
options
password
pprof
private
process
public
recaptcha
references Enable punctuations ending mentions (#8889) 2019-11-09 17:12:05 -05:00
repofiles Auto-subscribe user to repository when they commit/tag to it (#7657) 2019-11-10 09:22:19 +00:00
search
secret
session
setting Auto-subscribe user to repository when they commit/tag to it (#7657) 2019-11-10 09:22:19 +00:00
ssh
structs Add team option to grant rights for all organization repositories (#8688) 2019-11-06 11:37:14 +02:00
sync
task Fix bug when migrate from API (#8631) 2019-11-08 17:21:00 -05:00
templates Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
test
timeutil
upload
user
util
validation
webhook Webhook support custom proxy (#8760) 2019-11-08 16:25:53 -05:00