Commit Graph
1268 Commits
Author SHA1 Message Date
UmputunandGitHub dbd1d4069f feature/ext-mongo (#177)
* externalize mongo wrapper

* remove mongo env from drone

* export mongo test for coverage report
2018-07-22 22:46:25 -04:00
Aleksei GurianovandUmputun fdf161850b Close DataStore on cleanup in tests (#173)
Windows fs can't remove testDb until file still used.
Therefore we need to close datastore on cleanup.
2018-07-19 09:33:40 -05:00
Umputun 1a423a464b add tests 2018-07-19 00:25:51 -05:00
Umputun b2775d92b0 chnage flatlf to panic from MustGetUserInfo 2018-07-19 00:09:32 -05:00
Umputun 7e00d40596 simplify user parsing with MustGetUserInfo 2018-07-19 00:08:13 -05:00
Umputun 0ae7f226af extend jwt claim with flags 2018-07-18 21:05:51 -05:00
Umputun 3abe4146b1 add deleteme flag to jwt token
it should prevent misuse of laked token to request user's data removal
2018-07-18 16:56:23 -05:00
Alexandr KandAleksei Gurianov c1e2616764 Input fix for Edge issue 169 (#171) 2018-07-19 00:16:37 +04:00
Aleksey Gurianov 8f3b8e11e1 Fix crossdomain clickoutside listener 2018-07-18 23:37:00 +04:00
Aleksei GurianovandUmputun 10e79cdd90 another flaky ttl block test (#172)
see #120
2018-07-18 13:27:56 -05:00
Aleksey Gurianov b27489e918 Logout user on deleteme request 2018-07-17 23:21:11 +04:00
Aleksey Gurianov 9b5c784bdc Admin page to approve deleteme request 2018-07-17 23:21:11 +04:00
Eldar AmantayandAleksei Gurianov 1d267f5db6 ISSUE-73: UI support for DeleteMe request
Closes #73

* Add the API post request deleteMe
* Add a trigger button
* Add an utils/email module with the template and window opener
* Add a dropdown component
* Add a button component
* Hide the user-id text and a logout bout in the dropdown
* Add a noop empty function to pass a default handler callback to components
2018-07-17 23:21:11 +04:00
Umputun 592def143a clarify comments 2018-07-15 12:11:48 -05:00
Umputun e278da3cd0 no need to skip in dockerfile, handled in testing.go 2018-07-14 13:45:04 -05:00
Umputun f9ba969464 another attempt to fix unexpected mongo tests 2018-07-14 13:42:00 -05:00
Umputun e2360eafe1 set mongo url to skip in order to allow PR builds 2018-07-14 12:13:24 -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
Efremov AlexeyandAleksei Gurianov 4cca80e3c1 restyle close button, add close animation (#152)
closes #98
2018-07-13 11:46:22 +04:00
Jack & BurgerandAleksei Gurianov 905d41af7e Option to disable comments manually (#154) 2018-07-13 11:41:12 +04:00
Aleksei GurianovandGitHub a544aff6ac improve and document developer setup (#161)
japanese commit
fixes #158
2018-07-13 09:54:12 +04:00
Umputun 62a5d7196e add comments to dev oauth 2018-07-11 15:27:18 -05:00
Aleksey Gurianov f74f9e462c improve ux of login flow #157 2018-07-12 00:20:05 +04:00
Aleksey Gurianov 25c75011f4 tweak CI detect on frontend 2018-07-11 22:44:13 +04:00
Umputun 42b9baf0f3 respect REMARK_URL for dev callback #159 2018-07-11 13:42:00 -05:00
Umputun 547ea8375e change deletem result link to /web #73 2018-07-10 17:05:03 -05:00
Umputun b2a8434f9a add automatic github-style avatar for dev auth #106 2018-07-10 12:19:10 -05:00
Aleksey Gurianov b076a06e33 regenerate package-lock 2018-07-10 14:13:53 +04:00
Dmitry TsepelevandAleksei Gurianov a02b1502a6 Basic redux integration for thread component (#141) 2018-07-10 14:05:39 +04:00
Umputun b6cda91dd9 invalidate user_id scope on vote change #151 2018-07-10 02:02:17 -05:00
Aleksei GurianovandUmputun e17ac360ff permanent duration comment fix (#150) 2018-07-09 16:33:57 -05: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
Efremov AlexeyandAleksei Gurianov 1539c1f043 add user-info in iframe (#131)
closes #98
2018-07-09 18:32:14 +04:00
Jack & BurgerandAleksei Gurianov 4cea9d5855 Add ability to ban users for limited time and to view in the 'Show blocked' (#140)
closes #88
2018-07-09 16:58:08 +04:00
Umputun ce8c2c236f add last scope 2018-07-09 02:52:13 -05:00
Umputun b2f2156460 change rss reply scope to site 2018-07-09 02:48:35 -05:00
AleksanderandAleksei Gurianov 31cca0146f use es7/promise polyfill instead of es6 for finally support (#147)
closes #122
2018-07-09 10:57:17 +04:00
Umputun 0ee7a6940a increase last to 1000 for reply rss, add to readme 2018-07-08 23:54:00 -05:00
Umputun 0c7b6589f2 simplify erro handling for reply rss 2018-07-08 23:23:05 -05:00
Anton KosourovandUmputun 75249bd7fe RSS replies to a user #111 (#145)
* add rss feed for replies to user

* fix add consts
2018-07-08 23:12:50 -05:00
UmputunandGitHub 43092bb644 skip build steps with ARG and compose #143 (#144) 2018-07-08 18:43:58 -05:00
Mihail NovikovandAleksei Gurianov bcd28306e2 migrate from sass to PostCSS (#142)
closes #135
2018-07-09 01:17:04 +04:00
Sviataslau ShchaurouskiandAleksei Gurianov 20f08683b5 112: mobile version breaks title with author name (#126)
* 112: refactors comment component a bit - replaces few onDo/onUndo methods with their toggle equivalent

* 112: refactors comment component a bit - replaces few onDo/onUndo methods with their toggle equivalent part 2

* revert it later

* Revert "revert it later"

This reverts commit f8bee04

* Adds engine section in package.json and sourcemaps generation in webpack

* Extracts Avatar as component

* Fixes typo, linting and bug

* Removes dev changes

* Fixes linter errors

* Fixes PR comments
2018-07-08 15:42:19 +04:00
Umputun 02d298aac6 remove pullreq from drone, remove .git and default version to local 2018-07-07 14:16:52 -05:00
Umputun d58be0349e remove PULL_REQ mapping for master 2018-07-07 14:06:14 -05:00
Umputun 2afab423a7 map DRONE env 2018-07-07 14:05:43 -05:00
Umputun d8a2a42e35 try to switch to drone version on non-tagged 2018-07-07 13:58:31 -05:00
Aleksey Gurianov d1e3b14024 fix iframe container overflow
fix #80
2018-07-07 17:08:50 +04:00
DmitryTsepelevandAleksei Gurianov ea47e1d19c Fix right margin for verified user icon 2018-07-07 13:10:16 +04:00