Umputun and Dmitry Verkhoturov
b6ef4f393a
switch to go 1.14 #636
2020-04-04 18:38:35 +02: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
Dmitry Verkhoturov and Umputun
b40cb7866b
Email sender implementation ( #471 )
...
* email sender initial implementation
* add VerificationMetadata into notify.Request
* multiple review fixes
- customizable verification notification message subject
- clarify autoFlush nature in its commentary
- defer writer.Close in Email.sendEmail instead of calling it manually,
potentially missing the call if error happened between the creation and
closing.
* add explanatory commentary to notify.Request structure
* fix TCP connection timout commentary typo
* improve table tests presence
* introduce parallelism to tests
* abstract smtpClientWithMaker away
* fix incorrect Email reference in Email.sendMessages
* naming fixes, remove t.Parallel() from tests
* consistent space in commentary
* rename sendEmail to smtpSend, rearrange variables definitions
* switch Email to create new connection for every Send request
* fix tests for connection-per-submit email sending
* fix tests
* simplify sender object
2019-12-02 18:59:32 -06:00
Dmitry Verkhoturov
6c73a38c49
switch notify.Submit to receive notify.Request instead of store.Comment
2019-11-23 13:24:57 +01:00
Umputun
bc714480d4
lint: multiple shadowed errors, missed comments for exported methods
2019-03-19 20:54:05 -05:00
Umputun
2c988aa226
fix tg send test
2019-01-21 13:34:42 -06:00
Umputun
1a78c6eec6
add @ prefix for non-integer tg channelID #255
2019-01-21 13:28:03 -06:00
Umputun
492f92e660
minor fixes for #247
2019-01-13 15:02:44 -06:00
Sergey
c08a31809c
moving back assert.equal
2019-01-12 01:22:08 +05:00
Sergey
dd9b7d46ac
telegram: increase coverage
2019-01-12 01:15:50 +05:00
Umputun
781d90e98b
switch to lgr
2019-01-07 22:32:50 -06:00
Umputun
c9ce07c2e8
repeat telegram init attempt #225
2018-11-30 11:43:58 -06:00
Umputun
5dd20062e2
adjust test to tg post
2018-10-26 12:42:46 -05:00
Umputun
cc3786b9e0
change dead port
2018-10-25 23:30:30 -05:00
Umputun
431e8f2971
more tests for unhappy tg path
2018-10-25 20:27:35 -05:00
Umputun and GitHub
8c5531b178
Notify ( #211 )
...
* add notify service with no destinations
* change to request for destinations
* add telegram notify and wire to main
* lint: missed err checks
* fix notify factory
* externalize timeout for notify
* fix race in notifier mock
* lint: check notify send status in tests
* lint: write warn
* lint: wrong assignment
* lint: two more writes in tests
* missing notif timeout default
2018-10-24 22:28:56 -05:00