Commit Graph
133 Commits
Author SHA1 Message Date
Umputun 35f8b17ac3 fix test with closed flag 2018-11-12 03:23:45 -06:00
Umputun c60c8d3f15 make norify close flag atomic 2018-11-12 02:26:52 -06:00
Umputun cbb534d2df init repeater in send loop 2018-11-12 02:10:22 -06:00
Umputun 30225e0fd0 repeater in tg send 2018-11-12 02:08:37 -06:00
Umputun dec2d0062c ssl redirect test 2018-11-04 13:13:56 -06:00
Umputun a66886a731 add telegram init test with wrong port and fake token 2018-11-04 12:48:19 -06:00
Umputun 08ea544bdc missing wait for app completion in SSL server test 2018-11-04 12:35:16 -06:00
Umputun e96a782708 move SSL tests to cmd/server 2018-11-04 12:18:09 -06:00
Umputun 0f3243e19b close notifier in shutdown sequence 2018-11-04 11:51:08 -06:00
a.kosourov 0e84c61c96 move ssl parts to ssl.go 2018-11-04 16:15:45 +03:00
a.kosourovandakosourov 614e87d17c fix linters warnings 2018-10-28 18:16:00 +05:00
a.kosourovandakosourov 5ebfb1518a Add https support, static mode for rest server 2018-10-28 18:16:00 +05:00
Umputun 904bc11c09 add lastCommentsScope to blocking rest 2018-10-27 13:20:50 -05:00
Umputun c589b5d65c eliminate manual json marshaling in tg 2018-10-26 13:58:31 -05:00
Umputun 16411c9375 unescape tg message 2018-10-26 12:55:30 -05:00
Umputun 5dd20062e2 adjust test to tg post 2018-10-26 12:42:46 -05:00
Umputun ae5aa5c1b7 switch tg to post 2018-10-26 12:40:18 -05:00
Umputun 07f3e07871 change arrows symb 2018-10-26 10:55:08 -05:00
Umputun aac58fac1e restore icon in tg message 2018-10-26 02:57:34 -05:00
Umputun d80b2d33cb and nop notifier 2018-10-26 00:37:58 -05:00
Umputun cc3786b9e0 change dead port 2018-10-25 23:30:30 -05:00
Umputun 43b97f8d56 typo in comment linl 2018-10-25 23:21:24 -05:00
Umputun e514af76b0 unify none keys, explicit nil for failed notifier 2018-10-25 20:41:08 -05:00
Umputun 431e8f2971 more tests for unhappy tg path 2018-10-25 20:27:35 -05:00
Umputun 928f483021 don't fail app on failed notify init 2018-10-25 13:21:07 -05:00
Umputun f08144d19e unicode arrow for tg orig link 2018-10-25 13:07:57 -05:00
Umputun 0ab71de95d unicode arrow for tg from->to 2018-10-25 12:48:23 -05:00
Umputun 7db2959eb1 mack to markdown tg formatting, html is way too limited 2018-10-25 12:38:55 -05:00
Umputun bc510f8c8e replace br to \n for telegram 2018-10-25 12:22:59 -05:00
Umputun 8f90af8343 fix br to one telegram may like more 2018-10-25 12:14:10 -05:00
Umputun b1a4d9b2da p to br in telegram formatter 2018-10-25 12:05:51 -05:00
Umputun 092161ff6f show url on err message 2018-10-25 11:52:53 -05:00
Umputun 3866d8e3b9 details to failed telegram send 2018-10-25 11:41:35 -05:00
Umputun f550438236 change telegram msg to html 2018-10-25 11:29:55 -05:00
Umputun cdea2bc293 diable web page to true 2018-10-24 22:56:10 -05:00
Umputun a7b0a4bbf6 disable_web_page_preview for telegram notif 2018-10-24 22:47:00 -05:00
UmputunandGitHub 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
Umputun 8e12b00ae8 give more time to server start 2018-10-19 16:13:37 -05:00
Umputun ef5b18c3d1 add nop cache 2018-10-05 13:31:33 -05:00
Umputun 72aeadcfd1 remove legacy Avatart interface from engine 2018-09-16 12:51:09 -05:00
Umputun be00380b5a lint: spell fix 2018-09-15 14:18:28 -05:00
Umputun e610657e36 better comments for avatar store 2018-09-15 12:33:04 -05:00
UmputunandGitHub c70e060d22 Feature/avatar_bolt (#205)
* add bolt implementation of avatar store

* include bolt avatar store in main's test

* change docs with new avatart params

* lint: single line declaration

* separate bucket for avatars metas

* fix comments

* test for bolt params

* closable avatar store

* fix dbl-close
2018-09-14 20:33:40 -05:00
Umputun dc59fc9f7b adjust test for key store 2018-09-12 00:34:36 -05:00
Umputun a71907fd8e reduce frome AdminStore to KeyStore in Authenticator 2018-09-12 00:28:00 -05:00
Umputun bb0096dd3d add test for empty user in a token 2018-09-11 14:22:02 -05:00
Umputun a8b92a6039 lint: detached package comment 2018-09-11 12:08:10 -05:00
Umputun 6458f622d2 refactor to combine admin and key store 2018-09-11 11:58:50 -05:00
Umputun 396b77e4ff info messages and less verbose auth with dev 2018-09-11 00:36:46 -05:00
Umputun 79b1c47005 more dbg info on types 2018-09-10 22:18:23 -05:00