Commit Graph
1301 Commits
Author SHA1 Message Date
Alexandr KandAleksei Gurianov 419d2ae75e Add focus-visible polyfill, issue #187 (#193)
* add focus-visible polyfill
* remove unnecessary outline: none from styles
* make buttons Pin, Block, Delete visible when focused
* fix outline of user details close button
* close user info by ESC
* user info: don't focus the close button
2018-08-23 20:46:16 +04: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
Umputun 6cb4881039 add info about local build procedure 2018-08-12 14:54:40 -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 92ef9882a8 simplify readme a little bit 2018-08-11 11:46:48 -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
Umputun f15af0c7dc fix table 2018-08-09 01:58:30 -05:00
Umputun e742a08a1b Merge branch 'master' of github.com:umputun/remark 2018-08-09 01:57:22 -05:00
Umputun 08e902e785 add table of contents 2018-08-09 01:57:18 -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
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
UmputunandGitHub e79b95de0c Feature/cors (#183)
* add cors internally #160

* revendor
2018-08-02 19:26:34 -05:00
Umputun 2a7d23c2ca clean test bolt after remark migrator tests 2018-08-01 22:19:06 -05:00
Umputun 6d82a1be93 extract common hasing with failback 2018-07-25 13:28:15 -04:00
Umputun cd7e9832d2 add avatart removal path to deleteMe test 2018-07-25 13:17:42 -04:00
Umputun 1c97e0d31f add delete avatar and call it from deleteMe controller 2018-07-25 12:48:57 -04:00
JackandAleksei Gurianov 5c9d0d6119 Fix incorrect edit comment countdown timer calculation #74 2018-07-25 17:41:13 +04:00
Umputun a817a22471 more mongo cache tests 2018-07-24 22:14:09 -04:00
Umputun 0f7819ffcf add integration test with mongo store, avatar and cache 2018-07-24 21:22:22 -04:00
UmputunandGitHub 3520de768d feature/mongo cache (#180)
* add siteID to cache Get

* indirect option setters

* add mongo cache with tests, add Key and Flusher

* lint: minor warns

* workaround for cache parallel test

* repeater in mongo cache

* missing repeater vendor

* fix nop cache

* add cache mongo benchmark

* wired mongo cache, single opts group for mongo

* disable goconst

* stop cache repeated on not found error

* use local mongo for tests in travis
2018-07-24 18:43:53 -04:00
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