Commit Graph
88 Commits
Author SHA1 Message Date
Umputun e5c8ac18de bad import 2019-01-08 12:44:07 -06:00
Umputun 835e82a441 add guid to rss with comment id 2019-01-08 12:41:10 -06:00
Umputun 61cf54d231 add comment id to rss 2019-01-08 03:59:15 -06:00
Umputun 781d90e98b switch to lgr 2019-01-07 22:32:50 -06:00
Umputun f76afb9af5 increase reply rss duration to 24h 2019-01-06 17:37:58 -06:00
Umputun 6c02768f5d fix rest log prefix 2019-01-06 17:08:08 -06:00
Umputun 8d978ffaf1 add post title to rss item 2019-01-06 15:31:29 -06:00
Umputun 3472475a82 add rest and batch (cleanup --title) support for title's #241 2019-01-06 14:52:43 -06:00
Umputun 0fd8657992 make title extractor optional 2019-01-05 13:22:28 -06:00
Umputun 7b54b00c01 switched to auth 0.3 2019-01-04 18:09:18 -06:00
Umputun 72a264b771 lint: error checks ignored in migrator test 2019-01-02 18:53:50 -06:00
Umputun a6d20b1563 lint: missing error check in tests 2019-01-02 11:50:36 -06:00
Umputun ca1943f909 revendor with auth:0.1.1 2018-12-31 17:47:25 -06:00
Umputun fdef63c61d make import expired test to run longer 2018-12-30 23:29:13 -06:00
Umputun 195e65ca60 adjusted tests for new auth lib 2018-12-30 13:31:03 -06:00
Umputun d33997c742 pass auth by reference 2018-12-28 00:49:46 -06:00
Umputun 09de97ffd6 resort imports 2018-12-28 00:02:35 -06:00
Umputun 59cdfc3d04 rest/api passes 2018-12-27 20:16:06 -06:00
Umputun b537f01b41 all api package compilable with auth lib 2018-12-27 14:59:45 -06:00
Umputun 09b44188cb longer import double test to trigger event 2018-12-24 15:40:35 -06:00
Umputun 440c7abfed switch local rest middlewares to go-pkgz/rest 2018-12-24 15:34:24 -06:00
UmputunandGitHub 2fc027299f Merge branch 'master' into migrator-meta 2018-12-24 00:35:09 -06:00
Umputun b8ed722b2e increase wrtie timeout to allow long exports 2018-12-24 00:19:12 -06:00
Umputun f3619b4fc3 adjust tests for v1 native format 2018-12-23 03:01:44 -06:00
Umputun 094f4c66a1 replace confusing name for native import/export provider 2018-12-21 20:01:03 -06:00
Umputun a5265bc82a lint: more shadowing 2018-12-21 00:39:26 -06:00
Umputun a0dff0a4f0 adjust export tests 2018-12-21 00:13:13 -06:00
UmputunandGitHub 2ecc08fb3e Ext cache (#236)
* remove  cache, switch to go-pkgz/rest/cache

* remove mongo cache from server test

* remove old caching code

* test tricky disqus inputs

* fix migrator test

* stacktrace dump test
2018-12-19 21:57:33 -06:00
Umputun e5afa2fb74 add check for manual RO https://github.com/umputun/remark/issues/230#issuecomment-448492041 2018-12-19 01:39:45 -06:00
Umputun b54b23c236 replace conflicted 8080 port on SSL tests 2018-12-18 09:27:14 -06:00
Umputun 6cc963a76c extract readonly check from controllers 2018-12-17 01:58:09 -06:00
Umputun f1128a74ad vote change disabled for RO posts #230 2018-12-16 23:25:50 -06:00
UmputunandGitHub 6bc0d7ee37 Import (#232)
* import with two-stages, wait api and prevnts double run for the same site #231

* lint: missing err check on tmp import file removal

* catch SIQQUIT

* add imprter comments

* add new import apis to spec

* add test for form import

* timeout for import wait api

* lint: uncecked errs
2018-12-16 23:21:01 -06:00
Anton KosourovandUmputun b3683c4f60 add tests for ssl mode (#226) 2018-12-08 22:46:10 -06:00
Anton KosourovandUmputun 8f678ad04e Feature/add autocert support (#217)
* add le support

* fix log info

* change readme for autocert mode

* rename acme location param

* add test for http challenge

* add acme-email param

* do tls config more sane
2018-11-25 13:12:07 -06:00
Umputun 1432ec44d7 add unlimited votes constant to avoid magic -1 value on the caller side 2018-11-24 12:13:07 -06:00
Aleksandr MelnikovandUmputun f8517fd6a8 fixed zero vote limit not respected and treated as unlimited (#224)
* fixed problem when zero vote limit was not respected and was treated as unlimited

* fixed TestRest_Vote
2018-11-24 12:05:02 -06:00
Umputun dec2d0062c ssl redirect test 2018-11-04 13:13:56 -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
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 dc59fc9f7b adjust test for key store 2018-09-12 00:34:36 -05:00
Umputun 6458f622d2 refactor to combine admin and key store 2018-09-11 11:58:50 -05:00
UmputunandGitHub 75a1edcff3 feature/adm_mongo (#201)
* add admin akd key mongo implementations

* wire admin and key stores to mongo

* lint: wrong comment on keys store

* typos and comments corrections

* fix failed test on avatar resizer

* get rid of ineffectual assignment in test

* add tests for encoding fallback and mongo's keys & admin

* empty encode test adjusted
2018-09-09 16:59:33 -05:00
Umputun 93347df190 Merge remote-tracking branch 'origin/master' 2018-09-06 10:35:48 -05:00
Umputun d4c36edc55 add delete flag to edit request #200 2018-09-06 10:35:31 -05:00
Umputun 061ceb4f81 lint: unused field in admin 2018-09-05 20:57:33 -05:00
Umputun 1b3904a307 populate common params to commands 2018-09-05 02:13:57 -05:00