Commit Graph
161 Commits
Author SHA1 Message Date
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
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 d4c36edc55 add delete flag to edit request #200 2018-09-06 10:35:31 -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
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 6cb4881039 add info about local build procedure 2018-08-12 14:54:40 -05:00
Umputun 92ef9882a8 simplify readme a little bit 2018-08-11 11:46:48 -05:00
Umputun f15af0c7dc fix table 2018-08-09 01:58:30 -05:00
Umputun 08e902e785 add table of contents 2018-08-09 01:57:18 -05:00
Umputun b17e545773 same placeholder in compose as in widget 2018-08-06 10:52:35 -05:00
Umputun c22ed2300b clear link in md 2018-08-06 10:50:31 -05:00
Umputun af3208ac09 add info about SITE env 2018-08-06 10:49:44 -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
Umputun a22521ab92 allow mongo with URL only, update readme for different stores 2018-07-13 14:16:03 -05:00
UmputunandGitHub de013c7d5a feature/mongo (#165)
* WIP: start mongo engine

* WIP: mongo accessor and admin

* integrate mongo store to main

* disable mongo tests by default, only in CI

* connection with constructor

* add mongo buffered writer

* buffered mongo writer

* fix nil responses on an empty list from mongo

* missing mongo index for scores

* cancelable store

* add gridfs implementation of avatar store

* fix race on mongo session copy

* gridfs avatars without tmp files

* move avatar store

* minor comments and refactoring for avatar store

* merged from current master

* simplify gridfs reader

* lint: fix minor warns

* test mongo against env defined url

* pass MONGO_REMARK_TEST to docker and travis

* set dockerfile env for mongo test url

* increase connect timeout in mongo tests

* pass MONGO_REMARK_TEST to drone build

* add MONGO_REMARK_TEST to branch stage of drone

* mass mongo test url via build_args_from_env

* populate mongo IP to docker build hosts

* test env

* pass mongo ip via .mongo

* remove .mongo temp from git

* add .mongo -> env to linter step

* allow more time to autoflush writer test

* default mongo tests to "mongo" if not in env

* merge fresh master into

* add test for mongo cleanup

* msg for a failed test

* lazy fix for failed test

* add an ability to skip all mongo tests

* add backend dev instructions

* remove unused code from mongo server

* move mongo testing to connection_test

* restore testing.go

* lint: minor warns for testing code
2018-07-13 12:27:11 -05:00
Aleksei GurianovandGitHub a544aff6ac improve and document developer setup (#161)
japanese commit
fixes #158
2018-07-13 09:54:12 +04:00
Aleksei GurianovandGitHub 2c570c2530 reveal node_modules in separate container (#123)
This allows reusing docker fs layer with node_modules
in case if there were no changes in package*.json
As a result, it decreases dependency on network
during rebuilds at least in a local environment.
2018-07-10 01:03:27 +04:00
Umputun 0ee7a6940a increase last to 1000 for reply rss, add to readme 2018-07-08 23:54:00 -05:00
UmputunandGitHub 43092bb644 skip build steps with ARG and compose #143 (#144) 2018-07-08 18:43:58 -05:00
UmputunandGitHub 2fea4151de update testing section with info about other users 2018-06-29 16:00:36 -05:00
igoradamenko 5baa9e83ac add part about testing frontend & backend using local server 2018-06-29 22:14:40 +03:00
Umputun 822ef7df34 fix auth url spec 2018-06-27 19:32:01 -05:00
UmputunandGitHub 7a6eca56b1 feature/jwtcleanup (#113)
* remove extra dmin check, add blocking check via jwt and auth middleware
* short jwt and refresh for expired
* lint: missing comment on UserFlager
* simplify user management in auth refresh
* allow custom max cookie age
* test blocked user
* reset cookie for blocked user
* move admin perm detection to data service
* customizable ttl with opts as a part of auth group
* add local auth provider dev
* main minimal test for dev auth mode
* add comments and update docs with current params
* add admin and auth_dev flags
* comments for dev compose
* lint: shadow err
2018-06-27 01:43:13 -05:00
UmputunandGitHub c316b27fe1 feature/block ttl (#108)
* add ttl to blocking #88

* remove unused parsing code

* add comments explaining TTL for blocking
2018-06-24 15:43:32 -05:00
Umputun 9965111371 add new userinfo api to docs 2018-06-22 15:55:40 -05:00
Umputun 21b0d0f7fd change image in docs and examples to :latest 2018-06-19 15:32:16 -05:00
Umputun 1a817566de change env keys in tech details section 2018-06-19 15:10:39 -05:00
Umputun 863ffe5beb remove status section 2018-06-19 12:23:13 -05:00
Umputun 8db933f9c7 lint: minor warns on tests 2018-06-18 15:31:58 -05:00
Umputun a287df0233 change docs for grouped options 2018-06-17 12:40:34 -05:00
Anatoly MilkovandUmputun 835606c5cf add avatar resizing #78 (#83)
* add avatar resizing #78

* remove bytes slices, use io.TeeReader #78

* resize() refactoring #78
2018-06-17 02:28:00 -05:00
Umputun 3e60e57b75 set verified status retroactively 2018-06-11 09:24:32 -05:00
Umputun 95e22a251d rename image 2018-06-11 00:41:09 -05:00
Umputun 5102186ad6 adjust container name and match nginx sample file 2018-06-10 16:42:47 -05:00
Umputun ec411baf57 info about USER env 2018-06-10 16:39:18 -05:00
Umputun ac9f751436 remove dups 2018-06-10 16:35:12 -05:00
Umputun 3b195070a4 add cli details 2018-06-10 16:33:53 -05:00
Umputun 681cd47e63 reformat params table 2018-06-10 16:27:35 -05:00
igoradamenko 5fe785490e add property max_shown_comments to settings object 2018-06-10 23:15:30 +03:00
Umputun c3cd7877ef structured flags as alternative to config #76 2018-06-10 02:27:37 -05:00
Umputun fff845a2cf add params config, more param tests 2018-06-07 10:39:16 -05:00
Umputun fec6268983 admin support for one-click deleteme activation 2018-06-06 12:56:16 -05:00
Umputun 154bee6a6e add privacy section to readme 2018-06-05 12:15:46 -05:00
Umputun a46b244bab add max cache size info to readme 2018-06-04 15:39:45 -05:00
Anatoly Milkov 24fc291c4f add Yandex OAuth provider, refactor GitHub provider #34 2018-06-04 14:56:21 -05:00
Umputun f751e4b1fe fix user data export 2018-06-03 01:21:20 -05:00
Umputun 194ece1fa0 add /deleteme request #47 2018-06-03 00:49:37 -05:00
Umputun 12b9ab4c98 add info about session param in login 2018-06-02 13:48:37 -05:00
Umputun 4ba7fb20ae add rest to export all user-related data #47 2018-06-01 23:27:30 -05:00
Umputun aa997d5ca0 add description of backup file format 2018-06-01 00:15:12 -05:00