bakurin and Umputun
be46e849a4
Webhook destination for notifications
2021-08-28 12:50:36 -05:00
Umputun
ad54a9450b
fix parent tg formatting
2021-07-04 00:30:11 -05:00
Umputun
b8050f817c
quote parrent comment in tg notif
2021-07-04 00:03:23 -05:00
Umputun
70245504f5
restore link to original in tg notif
2021-07-03 23:52:20 -05:00
Umputun
05a85b6bfd
reformat tg message to make it readable again
2021-07-03 23:48:00 -05:00
Dmitry Verkhoturov and Umputun
83ae758573
address review commends
2021-07-03 14:57:09 -05:00
Dmitry Verkhoturov and Umputun
200733ed03
add user telegram notifications
2021-07-03 14:57:09 -05:00
Dmitry Verkhoturov and Umputun
1847184960
clarify telegram notifications code and text
2021-06-13 19:07:56 -05:00
Dmitry Verkhoturov and Umputun
fd4c6ceb18
add UserDetailTelegram support
2021-06-13 13:18:33 -05:00
Dmitry Verkhoturov and Umputun
d6167980f4
remove ability to set telegram API, clarify params
2021-06-13 01:49:15 -05:00
Dmitry Verkhoturov and Umputun
ea15b28bf6
clarification of notify comments and code
2021-06-12 12:59:26 -05:00
Dmitry Verkhoturov and Umputun
b13fa228b6
start using the provided timeout in the telegram notify
2021-05-25 13:29:19 -05:00
Umputun and GitHub
d5246c9689
Deps bump ( #956 )
...
* remove redundant sprintf
* bump many deps
* missing vendors
2021-04-27 00:30:38 -05:00
ronan and Umputun
df4b0c80ac
Support for Slack notifications
...
Slack notifications: remove debug log
Slack notifications: code lint
Slack notifications: code lint
Slack notifications: code lint
fix according to comments
2021-04-21 12:56:14 -05:00
Dmitry Verkhoturov and Umputun
5fabbe33d9
make flapping notify drops test less sensitive
2021-03-29 12:48:37 -05:00
Dmitry Verkhoturov and Umputun
8a3f434bc1
fix flapping notify drops test, clarify debug logs
2021-03-28 14:06:58 -05:00
Umputun
d624526473
adjust email test to be less go version-specific
2021-03-26 12:51:25 -05:00
Aleksandr Veselov and GitHub
a38fd1fdc3
Encode e-mail subject to support non-ASCII chars ( #888 )
...
* Encode e-mail subject to support non-ASCII chars
* Add test for email subject with unicode
* Fix wrong test argument
* Cleanup test function
2021-02-18 16:23:53 -06:00
Umputun
a0b2bbf1ed
typo
2021-01-03 03:14:19 -06:00
Umputun
2a02a946e7
lint: make scopelint happy on test
2021-01-03 03:13:20 -06:00
Umputun
0cb0232fa1
escape [ ] ( ) from tg title #839
2021-01-03 03:09:21 -06:00
Dmitry Verkhoturov and Umputun
b447863542
add deduplication of emails in recursive notifications
2020-10-20 11:08:04 -05:00
Dmitry Verkhoturov and Umputun
4ba32141fa
add recursive email notifications up to highest parent
2020-10-20 11:08:04 -05:00
Dmitry Verkhoturov and Umputun
1ce3cf3d1f
simplify admin email notifications
2020-10-20 11:02:04 -05:00
Dmitry Verkhoturov and Umputun
6f122f93d1
extract Email.buildAndSendMessage from Email.Send
2020-10-18 17:29:44 -05:00
Dmitry Verkhoturov and Umputun
ced40b525a
move email notification logic into Email struct
2020-10-18 17:29:44 -05:00
Dmitry Verkhoturov and Umputun
c9b395f60d
separate notify.SubmitVerification from notify.Submit
2020-10-11 23:13:24 -05:00
Dmitry Verkhoturov and Umputun
1980f30666
rewrite notify.Service.do from range to select
2020-10-11 23:13:24 -05:00
Dmitry Verkhoturov and Umputun
36dce6c2ac
fix golangci-lint timeout, bump email min TLS version
2020-10-07 19:32:39 -05:00
Umputun
0895de2f7e
rename all packages from the legacy remark/ to remark42
2020-05-12 11:34:16 -05:00
Pavel Mineev and Umputun
b90d076fdf
Move html to separete files
2020-05-10 23:51:13 -05:00
Dmitry Verkhoturov and Umputun
e922fc31a2
enable gocritic linter and fix found issues
2020-04-26 17:05:34 -05:00
Dmitry Verkhoturov
3a0529e51b
enable golangci-lint for tests, fix discovered problems
2020-04-21 12:01:10 +02:00
Dmitry Verkhoturov and Umputun
513c8f353d
sticter golangci config, fix discovered issues
2020-04-19 16:21:09 -05:00
荒野無燈 and Umputun
9459a2a2f5
notify/email.go: fixup smtp.NewClient second param
2020-04-13 14:02:00 -05:00
荒野無燈 and Umputun
200f464925
smtp buildMessage(): flush quotedprintable writer buff explicitly
2020-04-13 14:01:21 -05:00
Dmitry Verkhoturov and Umputun
cab3b8a831
move admin email notifications call to rest/api module
2020-04-06 16:27:19 -05:00
Dmitry Verkhoturov and Umputun
04d3541de1
add admin email notifications on new comments
2020-04-06 16:27:19 -05:00
Dmitry Verkhoturov and Umputun
e377bceeb4
make notify.Email support multiple messages in one Send
2020-04-06 16:27:19 -05:00
Umputun and Dmitry Verkhoturov
b6ef4f393a
switch to go 1.14 #636
2020-04-04 18:38:35 +02:00
Pavel Mineev and Umputun
45f929868a
fix name line break and add styles for blockquote
2020-01-23 21:45:32 -06:00
Dmitry Verkhoturov and Umputun
f97d8232ed
Add subscription link support to notification email verification template ( #573 )
...
* add subscription link support to notification email verification template
* always show token for email subscription in verification email
* hide SubscribeURL from users
2020-01-20 18:27:23 -06:00
Dmitry Verkhoturov and Umputun
540d828ea1
fix ParentCommentDate in email template, fix #561
2020-01-17 17:19:19 -06:00
Pavel Mineev and Umputun
658279379a
Update email templates ( #550 )
...
* Update email templates
* Fix README
* fix detail
* fix typo
* Changes connected with comment at issue
https://github.com/umputun/remark/issues/494#issuecomment-570801318
* Unify styles between templates
* remove breaking words
* use the same prefix for parent and child
2020-01-15 01:22:00 -06:00
Dmitry Verkhoturov and Umputun
eeb9c72248
check user equality for email notifications only by ID
2020-01-07 14:25:27 -06:00
Dmitry Verkhoturov and Umputun
d15176f36d
Add email subscription info to User information ( #528 )
...
* replace store.Locator with SiteID where only it is used
* add EmailSubscription flag to User information
* add /user endpoint test for email subscription
2020-01-05 13:42:16 -06:00
Dmitry Verkhoturov and Umputun
b7980849b2
improve TestService_WithDrops failure output
2020-01-04 12:53:31 -06:00
Dmitry Verkhoturov and Umputun
6f9c87850a
Adjust tests timouts to work on machine with HDD ( #516 )
...
* increase timeout for TestServerAuthHooks http client
* replace assert.Equal checks for slice length with require.Equal
* unify channel name across tests
* fix panic in Test_Main
* increase TestRest_CreateWithPictures timeout for HDD slowness
* increase TestService_VoteSameIPWithDuration timeout for HDD slowness
* increase go test timeout for HDD run
* increase TestRest_CreateWithPictures timeout for HDD slowness
2020-01-01 14:46:39 -06:00
Dmitry Verkhoturov and Umputun
f416c6c5eb
Fixes for multiple tests ( #511 )
...
* improve TestServer* reliability
* improve TestService_UserReplies reliability
* increase timeout for Test_Main
* improve TestRest_CreateWithPictures readability and reliability
* introduce random port to REST over SSL tests
* tinker TestRest_InfoStreamSince to have more slack before failure
* finalize test errors check unification
* simplify prepServerApp in cmd package tests
* improve TestRest_InfoStreamCancel reliability
2019-12-30 12:09:05 -06:00
Dmitry Verkhoturov and Umputun
7bab10ab57
Replace "(Not)Nil" test checks for errors with with "(No)Error" ( #503 )
...
* replace "(Not)Nil" test checks for errors with with "(No)Error"
* unify error text checks style
* clarify error check in tests in memory_store
2019-12-29 15:42:39 -06:00