Commit Graph
64 Commits
Author SHA1 Message Date
igoradamenko 9be22ed05e add reset styles for html and body tags 2018-02-18 01:30:54 +02:00
igoradamenko 7aa99cc07d add check for config object to embed script; use local url for iframe in dev 2018-02-18 01:14:22 +02:00
igoradamenko 46e4027ae7 pass params to main script from embed script by query string of iframe's src 2018-02-18 00:37:27 +02:00
igoradamenko e08313ea0a prepend user avatar url by base url if it starts from api base 2018-02-18 00:37:27 +02:00
igoradamenko ff9010f534 parse query string for settings 2018-02-18 00:37:27 +02:00
igoradamenko 10f65eb853 move constants to separated file 2018-02-18 00:37:27 +02:00
igoradamenko fdc3188155 update method of communication between iframe and embed script 2018-02-16 00:07:17 +02:00
igoradamenko 1e4704d01e fix missing function wrapper around init js 2018-02-15 23:33:13 +02:00
igoradamenko 3b85e2b875 add embed script for iframe and test page for them 2018-02-15 23:31:24 +02:00
igoradamenko f0bd5bd8a1 remove reply button on pinned comments 2018-02-14 01:54:42 +02:00
igoradamenko fb45e40e5a fix default values for config and providers 2018-02-14 01:40:01 +02:00
igoradamenko 537a04937d fix location check in new window during signing in 2018-02-14 01:37:50 +02:00
igoradamenko 12cf3d7264 fix saving data of current user after logging in 2018-02-14 01:29:52 +02:00
igoradamenko b901bc2e96 add sign in / out handlers 2018-02-14 01:16:55 +02:00
igoradamenko 8e62f1b3aa add auth-panel block 2018-02-14 01:16:55 +02:00
igoradamenko a3df876eb6 add log out endpoint 2018-02-14 01:16:55 +02:00
igoradamenko 60eeb51ee9 make it possible to override api base in fetcher 2018-02-14 01:16:55 +02:00
igoradamenko 36ff18c61a add withCredentials flag to endpoints that need it 2018-02-13 22:33:37 +02:00
igoradamenko fd66f639f3 add support for withCredentials to fetcher; change its api to polymorphic 2018-02-13 22:33:13 +02:00
igoradamenko dd9a2d5cf8 remove mimic 2018-02-13 20:18:47 +02:00
igoradamenko 77e8cc8d45 subscribe comments in root component state to store updates 2018-02-13 01:15:09 +02:00
igoradamenko 7844971304 add sub/pub to store 2018-02-13 01:15:09 +02:00
igoradamenko 37c2e8b3fd add getConfig to api 2018-02-13 01:15:09 +02:00
igoradamenko 94244f9751 decrease opacity of comments of banned users 2018-02-13 01:15:09 +02:00
igoradamenko 115917b0d2 remove old comment deleting handler 2018-02-13 01:15:09 +02:00
igoradamenko 0cbce460cb show pinned comments on the top of threads 2018-02-13 01:15:09 +02:00
igoradamenko cf295c18fe add getPinnedComments method to store 2018-02-13 01:15:09 +02:00
igoradamenko 4e3b931e38 reset input height after sending comment 2018-02-13 01:15:09 +02:00
igoradamenko 787dfc705a fix logic of block/unblock buttons appearing 2018-02-05 01:01:07 +02:00
igoradamenko 2f9146f462 add handlers for block, unblock and remove in comment component 2018-02-05 00:27:47 +02:00
igoradamenko 35837ed6c9 add remove, blockUser and unblockUser to api 2018-02-05 00:27:47 +02:00
igoradamenko 8ff6e8e589 add support for pin to comment component 2018-02-05 00:27:47 +02:00
igoradamenko d287a18969 add pin / unpin to api 2018-02-05 00:27:47 +02:00
igoradamenko c0ed35f2b1 remove link from username in comment component 2018-02-03 01:01:53 +02:00
igoradamenko 46c52c6e46 change default sort to -score 2018-02-03 01:01:38 +02:00
igoradamenko c2a3fd4293 add store update on vote 2018-02-03 00:53:52 +02:00
igoradamenko bdb54925ea move logic about replacement and pasting comment to store instead of root component 2018-02-03 00:53:26 +02:00
igoradamenko 150f6c0089 add sending possibility on cmd/ctrl+enter 2018-02-03 00:32:51 +02:00
igoradamenko 9468acd477 add support for posting comments & replies 2018-02-02 23:49:10 +02:00
igoradamenko 87683bd91c add pass onreply callback through thread component to children 2018-02-02 23:48:11 +02:00
igoradamenko b027dd48c7 add getComment support to api 2018-02-02 23:47:41 +02:00
igoradamenko c4365d09fe add input for replying to comment component 2018-02-02 23:47:28 +02:00
igoradamenko 5248041b00 input: add autofocus and reset value after sending 2018-02-02 23:46:12 +02:00
igoradamenko 00a17ad15f api.user → api.getUser 2018-02-02 21:15:21 +02:00
igoradamenko 3012c27f90 add preloader 2018-02-02 21:10:13 +02:00
igoradamenko 45dc4a49e5 add user get request to api 2018-02-02 20:52:44 +02:00
igoradamenko cb293c78fc add store singleton 2018-02-02 20:52:27 +02:00
igoradamenko 7bf29b99dc change accent color 2018-02-02 19:32:32 +02:00
igoradamenko a4a9b0a0f7 add sending comment to server on submit input 2018-01-29 00:43:07 +02:00
igoradamenko 73861df6b1 add send api endpoint for posting comments 2018-01-29 00:43:07 +02:00