You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/repofiles
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
5 years ago
..
action.go Move repofiles webhooks to notification (#8807) 5 years ago
action_test.go Add file status on API (#7671) 6 years ago
blob.go Move sdk structs to modules/structs (#6905) 6 years ago
blob_test.go Move sdk structs to modules/structs (#6905) 6 years ago
commit.go Number of commits ahead/behind in branch overview (#6695) 6 years ago
commit_status.go Add commit statuses reports on pull request view (#6845) 6 years ago
content.go Fix #8582 by handling empty repos (#8587) 5 years ago
content_test.go Fix #8582 by handling empty repos (#8587) 5 years ago
delete.go Fix duplicate call of webhook (#7821) 6 years ago
diff.go Move git diff codes from models to services/gitdiff (#7889) 6 years ago
diff_test.go Move git diff codes from models to services/gitdiff (#7889) 6 years ago
file.go Fixes #7292 - API File Contents bug (#7301) 6 years ago
file_test.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 5 years ago
repofiles.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 6 years ago
repofiles_test.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 6 years ago
temp_repo.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 5 years ago
tree.go Add golangci (#6418) 6 years ago
tree_test.go Move sdk structs to modules/structs (#6905) 6 years ago
update.go Auto-subscribe user to repository when they commit/tag to it (#7657) 5 years ago
upload.go Prevent upload (overwrite) of lfs locked file (#8769) 5 years ago
verification.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 5 years ago