1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/modules/setting
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
..
cache.go
cors.go
cron.go Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 2019-10-14 09:10:42 +03:00
database_sqlite.go
database_test.go
database.go Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) 2019-10-21 22:20:47 +01:00
git.go
indexer_test.go
indexer.go Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
log.go Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
mailer.go
markup.go
repository.go Configurable close and reopen keywords for PRs (#8120) 2019-10-30 14:43:59 +02:00
service.go Auto-subscribe user to repository when they commit/tag to it (#7657) 2019-11-10 09:22:19 +00:00
session.go
setting.go [assets] configurable URL for static resources (#7911) 2019-10-22 20:11:01 +08:00
task.go
webhook.go Webhook support custom proxy (#8760) 2019-11-08 16:25:53 -05:00