Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification structure refactor #22266

Closed
Closed
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
fd9dcc7
Move notification implementations out of modules
lunny Dec 29, 2022
f4f09ee
Fix lint
lunny Dec 29, 2022
993e82f
Merge branch 'main' into lunny/move_notification_impl_services
lunny Dec 29, 2022
7f0221a
Fix lint
lunny Dec 29, 2022
f846d8a
merge main branch and merge notification
lunny Jan 1, 2023
b9e5fd6
improvement
lunny Jan 1, 2023
b7b0780
rename modules/notification -> services/notify
lunny Jan 1, 2023
172ed4b
Merge branch 'main' into lunny/move_notification_impl_services
lunny Jan 1, 2023
cf0d0c3
follow @delvh suggestion
lunny Jan 2, 2023
eab2f6e
Merge branch 'main' into lunny/move_notification_impl_services
lunny Jan 2, 2023
d76c735
Fix bugs
lunny Jan 2, 2023
79d82ee
Merge branch 'main' into lunny/move_notification_impl_services
lunny Jan 2, 2023
b6c0733
Merge branch 'lunny/move_notification_impl_services' of github.com:lu…
lunny Jan 2, 2023
acfac22
Fix test
lunny Jan 2, 2023
f9d43c8
Merge branch 'main' into lunny/move_notification_impl_services
lunny Jan 3, 2023
d55e1e8
Try to fix test
lunny Jan 3, 2023
7aab9e6
Merge branch 'main' into lunny/move_notification_impl_services
lunny Jan 3, 2023
5faece7
revert change of webhook
lunny Jan 7, 2023
8d3e234
Merge branch 'main' into lunny/move_notification_impl_services
lunny Jan 7, 2023
80f6493
Fix test
lunny Jan 7, 2023
b4c6045
merge main branch
lunny Jan 16, 2023
ba4c3c2
merge main branch
lunny Jan 29, 2023
58ce0e7
merge main branch
lunny Mar 27, 2023
73df316
merge main branch
lunny May 1, 2023
6cf06ff
register notify in Init
lunny May 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ import (
_ "code.gitea.io/gitea/modules/markup/markdown"
_ "code.gitea.io/gitea/modules/markup/orgmode"

// register supported notify types
_ "code.gitea.io/gitea/services/feed"
_ "code.gitea.io/gitea/services/indexer"

"github.com/urfave/cli"
)

Expand Down
65 changes: 0 additions & 65 deletions modules/notification/base/notifier.go

This file was deleted.

201 changes: 0 additions & 201 deletions modules/notification/base/null.go

This file was deleted.

Loading