23aae3274a
Fix panic when adding long comment ( #12892 ) ( #12894 )
...
Previous PR #12881 causes out of bounds panic by working on wrong string.
2020-09-18 16:45:00 -04:00
65aef7b35f
Add size limit for content of comment on action ui ( #12881 ) ( #12890 )
...
Signed-off-by: a1012112796 <1012112796@qq.com >
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-18 19:58:49 +08:00
06cd3e03a2
[refactor] notify remove unused praram ( #9804 )
2020-01-16 17:24:20 +01:00
99d869fa63
Move push commits from models to modules/repository ( #9370 )
...
* Move push commits from models to modules/repository
* fix test
* fix test
* fix test
* fix test
* fix test
Co-authored-by: zeripath <art27@cantab.net >
2020-01-10 17:34:21 +08:00
1df701fd1a
Add ActionCommentPull action ( #9456 )
...
* Add ActionCommentPull action
Adds ActionCommentPull action to distinguish between a comment on an
issue and on a pull request
* Update modules/notification/action/action.go
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2019-12-22 08:29:26 +00:00
67b316a954
Refactor comment ( #9330 )
...
* Refactor comment
* fix test
* improve code
2019-12-15 16:57:34 -05:00
8ab35eefc4
Move mirror sync actions to notification ( #9022 )
...
* Move mirror sync actions to notification
* fix lint
2019-11-24 00:16:59 -05:00
d7ac9727bb
Move merge actions to notification ( #9024 )
...
* Move merge actions to notification
* Add missing mail notification
2019-11-21 12:08:42 -05:00
21ae9838e0
Move transfer repository and rename repository on a service package and start action notification ( #8573 )
...
* move transfer repository and rename repository on a service package and start action notification
* remove unused codes
* fix lint
* fix bugs
* fix test
* fix test
* fix test
* fix lint
* update go mod and sum
2019-11-15 16:06:11 +08:00
06a8504c78
Update dashboard context for PR reviews ( #8995 )
...
* Update dashboard context for PR reviews
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Update options/locale/locale_en-US.ini
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com >
* Only append head action if it has content or is approval/rejection
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Update options/locale/locale_en-US.ini
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com >
2019-11-15 00:52:18 +01:00
dad67cae54
Refactor pull request review ( #8954 )
...
* refactor submit review
* remove unnecessary code
* remove unused comment
* fix lint
* remove duplicated actions
* remove duplicated actions
* fix typo
* fix comment content
2019-11-14 10:57:36 +08:00
273a24f226
Move notifywatchers from models to notification ( #8907 )
2019-11-11 11:39:41 +08:00
016a5d0438
Move some actions to notification/action ( #8779 )
...
* Move some actions to notification/action
* Fix test
* fix test
2019-11-08 15:54:50 -05:00
491887d441
Move actions to notification ( #8785 )
2019-11-03 20:59:09 +00:00