Commit Graph
96 Commits
Author SHA1 Message Date
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
Umputun 7934d9af73 add cli for AvatarCmd 2018-09-10 20:48:36 -05:00
Umputun a231054424 lint: gfs ID mismatch 2018-09-10 12:41:49 -05:00
Umputun 9a6ceda003 add migrator between avatar stores 2018-09-10 12:38:00 -05:00
Umputun 5b204e509e add List to avatars and allow put without encoding 2018-09-10 12:19:52 -05:00
Umputun a856fd9c7d pass revision as common opts instead of package global 2018-09-10 10:44:22 -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 3ab05490b4 lint: warn on basic auth and non-handled err in gridfs avatar 2018-09-07 14:48:58 -05:00
Umputun 96e4116d60 fix typo in comment 2018-09-07 02:43:34 -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 add715a111 move common options to shared cmd 2018-09-05 16:42:46 -05:00
Umputun ba4cc38e40 lint: missing comment 2018-09-05 02:19:03 -05:00
Umputun 1b3904a307 populate common params to commands 2018-09-05 02:13:57 -05:00
UmputunandGitHub 84e7770359 Feature/admin-migrator (#198)
* auth with a secret as admin

* get rid of separate migrator service

* clean sanitize dbg prints

* fix dbg logging and set migrator routes
2018-09-03 23:13:29 -05:00
Umputun 3cc6762ebf add comments 2018-09-02 23:14:29 -05:00
UmputunandGitHub 0cd76dfd2f Feature/admin_store (#197)
* generalize admins and email info with store interface

* lint: missing group comment

* fix admin group with shared substruct
2018-09-02 13:00:20 -05:00
Umputun 78c27caa7d remove dbg print 2018-08-30 01:53:02 -05:00
Umputun 8b3821e797 simplify cmds 2018-08-30 00:23:36 -05:00
Umputun dfa80d46e1 missed check for server.Execute status 2018-08-26 21:57:34 -05:00
UmputunandGitHub ba6bab5b91 Feature/cmd (#195)
* support flags commands, move to cmd

* fix target name

* test for happy path importer

* add export cmd

* fix wrong import, lint warns

* increase test timeout

* add sellp to allow main test server to start

* implement all cmds

* handle backup/restore errors

* fix import status check, hide secret from logs

* backup cmd err tests

* randimize test port

* avoid dup code in Last controller

* add target to make all bin archives

* remove container in make

* add smiple scripts to simplify commands, update readme

* add docs on dockerless, enforce app user

* add restore info

* move last to lastCommentsScope const
2018-08-26 21:45:04 -05:00
Umputun a6277d764a add CommentConverterFunc to simplify injection of custom converters 2018-08-18 23:09:17 -05:00
Umputun 031a25ad92 Merge branch 'master' of github.com:umputun/remark 2018-08-18 22:38:13 -05:00
Umputun f3880aa302 add a test for \n handling in wp, fix incorrect curl param caused removal of \n #156 2018-08-17 16:12:02 -05:00
Umputun 03eb57ef81 too many backticks by mistake 2018-08-16 18:57:41 -05:00
Umputun 8d9622cfd0 shutdown after import test 2018-08-16 18:48:34 -05:00
Umputun a05b0b81c0 add test for reported MD case https://github.com/umputun/remark/issues/156#issuecomment-413548318 2018-08-16 18:37:57 -05:00
Umputun 8503e31f64 reformat imports 2018-08-15 22:14:30 -05:00
Umputun 4e2895aa2d simplify wp converter, no need in special struct 2018-08-13 21:47:39 -05:00
Umputun 8ed75439ee fix typo in formatter name 2018-08-13 21:42:37 -05:00
Anton KosourovandUmputun d5a75cfc00 Use comment formatter for wp importer (#192)
* use comment formater in wp importer

* remove debug code

* change name to formatter
2018-08-13 21:33:00 -05:00
UmputunandGitHub 30ff1dacde feature/artifact (#190)
* embed assets for web with separate dockerfile

* add artifact dockerfile

* add artifacts upload to github release

* fix statik params and add make for local builds

* fix docker image name to match compose

* fix typos
2018-08-12 14:24:46 -05:00
Umputun c459b31aa8 fix typos in struct names 2018-08-11 11:29:31 -05:00
UmputunandGitHub 2ff955edf1 feature/comment-formater (#186)
* extract comment formatter functuionality to allow md in #156

* add abilty to pass multiple convertors to formater
2018-08-10 19:35:45 -05:00
UmputunandGitHub 1b9ee3d763 feature/keystore (#185)
* add keyStore and switch all secret usage to this store

- implement static ks
- add shared secret

* lint: shadow in jwt and missing comment

* rename static key group to shared and use top-level shared secret

* move siteID extraction (from token) to internal func

* lint: merge var and assign for key test
2018-08-08 14:33:18 -05:00
Anton KosourovandUmputun 39e426bd4b Add wordpress importer (#182)
* add wordpress, test

* add wp migrator to rest

* add readme, fix test, fix error handling
2018-08-02 22:05:53 -05:00
UmputunandGitHub e79b95de0c Feature/cors (#183)
* add cors internally #160

* revendor
2018-08-02 19:26:34 -05:00