Commit Graph
143 Commits
Author SHA1 Message Date
Umputun 9d7212e74a add opts group for cache 2018-06-17 12:34:53 -05:00
Umputun b347ad8e5e add opts group for avatars 2018-06-17 12:22:41 -05:00
Umputun 4fb50668aa merge from latest master 2018-06-17 02:38:36 -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 ebbf76ab2d structured store opts 2018-06-14 21:41:18 -05:00
Umputun c26aa359f5 Merge branch 'master' of github.com:umputun/remark 2018-06-11 20:40:46 -05:00
Umputun a555bf6346 reformat imports 2018-06-11 20:40:38 -05:00
Umputun 3000cd0b6c separate memory cache 2018-06-11 14:18:24 -05:00
Umputun 6cce01390c elimintate .git/objects from build context 2018-06-10 20:29:31 -05:00
Umputun 1151d4982e compact options 2018-06-10 02:36:05 -05:00
Umputun 7f11c861e3 missing error check in env reset 2018-06-10 02:31:28 -05:00
Umputun c3cd7877ef structured flags as alternative to config #76 2018-06-10 02:27:37 -05:00
Umputun 4be58e2c9f pass dataservice by ref 2018-06-09 20:24:48 -05:00
Umputun 67baf50b6e lint: minor warn 2018-06-08 14:18:09 -05:00
Umputun 94734ed4cb externalize avatar store with interface 2018-06-08 02:28:09 -05:00
Umputun fff845a2cf add params config, more param tests 2018-06-07 10:39:16 -05:00
Umputun 12bf50bb96 add admin email #73 2018-06-06 14:26:04 -05:00
Umputun fec6268983 admin support for one-click deleteme activation 2018-06-06 12:56:16 -05:00
Anatoly Milkov 24fc291c4f add Yandex OAuth provider, refactor GitHub provider #34 2018-06-04 14:56:21 -05:00
Umputun 0185aa4ada add control of total cached memory size 2018-06-04 13:41:46 -05:00
Umputun ba42e804f7 remove unused code 2018-05-30 18:19:38 -05:00
Umputun b00a49eaf7 lint: confusing mix between var names and same packages 2018-05-30 13:58:55 -05:00
UmputunandGitHub 0363fc4cd9 feature/verified (#61)
* add store methods for verification

* add verify rest and auth

* lint: fix double conversion of userID key

* test for middleware, fix log without auth info

* make all scripts with -e
2018-05-29 23:07:50 -05:00
UmputunandGitHub 6aee34bb1e feature/ts - read-only support (#57)
* extend post info with ts and add info implemenation to engine

* info controller

* remove unused

* docker froendly new test

* tree find to include post info struct

* remove leftovers from codeconv

* test for empty tree request

* add func name to error rest report

* test with disabled proxy

* add read only age and reject updates on old posts

* lint: shaddow err

* make info calls fast. needs migration!

* fix backup restore script

* increase limiter timeout

* add local exporter

* migrate list to new info

* fix rest list tests

* add manual backup script

* default backup path

* fix eait on sec change failing rss tests

* add RO status bucket and rest

* add admin RO controller test
2018-05-28 14:57:36 -05:00
Umputun 08be684d76 cache to separate package 2018-05-25 02:08:54 -05:00
Umputun e1f19c22d9 put auth flag to jwt, dbl check in auth 2018-05-24 18:43:24 -05:00
Umputun 5f6a329609 move avatar proxy to rest 2018-05-23 12:07:45 -05:00
Umputun dab4eeb33f add integration tests 2018-05-22 22:46:01 -05:00
Umputun 3883d6414b make application methods as a part of struct 2018-05-22 21:32:39 -05:00
Umputun d7d90eeb4e lint: bunch of minor warnings 2018-05-22 20:56:52 -05:00
Umputun bb4a54ff71 main split to setup and run stages, with graceful shutdown 2018-05-22 20:44:02 -05:00
Umputun 6ab30fc9b6 lint: duration conv 2018-05-21 23:06:35 -05:00
Umputun 27ab745521 add jwt refresh 2018-05-21 22:59:01 -05:00
Umputun 07ea6e5b4e switch session store to jwt, no refresh yet #30 2018-05-21 19:16:16 -05:00
Umputun dcbe184f55 missing remark bas url in img proxy 2018-05-18 10:45:32 -05:00
Umputun 3e04384cd7 fix img routing 2018-05-18 02:20:53 -05:00
Umputun d66960e8b0 renanm proxy params 2018-05-18 02:01:14 -05:00
Umputun 8b1ebfdf4f add optional img proxy 2018-05-18 01:52:29 -05:00
Umputun 3875791ccc add low and critical score thresholds #37 2018-05-17 14:22:44 -05:00
Umputun dc0e1fd266 allow to pass cache sizes via params/env #24 2018-05-17 13:39:27 -05:00
Umputun 85cbda509c limit max size of cache, number of items and size of value #24 2018-05-17 13:25:19 -05:00
Umputun 9638d95279 refactor store to isolate service and engine levels 2018-05-16 18:03:08 -05:00
Umputun f45aac17b3 fix env SECRET key name 2018-05-13 20:29:50 -05:00
Umputun 7fa1e0d37e rename to SECRET and add to import as well 2018-05-13 20:24:13 -05:00
Umputun 6b43fef9ee restore long caching for rss 2018-05-13 19:55:31 -05:00
Umputun 96577439ae shorter caching for rss 2018-05-13 19:48:57 -05:00
Umputun e8bc7e7137 extract avatar proxy to separate package 2018-05-13 19:19:47 -05:00
Umputun 639f89064b customizable max comment size 2018-05-06 19:15:36 -05:00
Umputun a507f7864b add restore backuo script 2018-05-03 01:58:29 -05:00
Umputun a691210fd6 simplify interfaces for migrator, switch back to dataStore 2018-05-02 23:13:50 -05:00