Commit Graph

399 Commits

Author SHA1 Message Date
Chi Vinh Le 5010e342df Pending comment blur 2018-09-07 18:18:39 +02:00
Chi Vinh Le 88e44b2baf Adapt snapshots 2018-09-07 17:32:15 +02:00
Chi Vinh Le a7e4af46d2 Disable RTE when submitting 2018-09-07 17:29:38 +02:00
Chi Vinh Le 8b938616c9 Wrap long words 2018-09-07 17:00:28 +02:00
Chi Vinh Le a33a1c47ab Disable submit button when empty 2018-09-07 16:29:46 +02:00
Chi Vinh Le fb1b9c51ee Fix test 2018-09-07 00:59:59 +02:00
Chi Vinh Le df664bdb73 Fix types and tests 2018-09-07 00:51:57 +02:00
Chi Vinh Le c1cefe52d0 Remove outdated workarounds 2018-09-07 00:38:19 +02:00
Chi Vinh Le 845fbc1b1b Move uuid generation to TalkContext 2018-09-07 00:34:17 +02:00
Chi Vinh Le e132087682 Full PromisifiedStorage + Simplifications 2018-09-06 23:53:29 +02:00
Chi Vinh Le 3a1b043eb7 Merge branch 'next' into next-reply 2018-09-06 21:38:20 +02:00
Kiwi 53e548d77a [next] Save Comment Draft + Pym Storage (#1843)
* Implement pym storage

* Save comment draft + test

* Apply suggestions

* Use class for PymStorage implementation

* Add some comments
2018-09-06 17:07:17 +00:00
Chi Vinh Le f5e0c6163d Return null cursor when creating comment 2018-09-06 00:14:47 +02:00
Chi Vinh Le 4d860ab71d Change commentEdge to edge 2018-09-06 00:09:38 +02:00
Chi Vinh Le 942bcba5a1 Update snapshots 2018-09-06 00:07:14 +02:00
Chi Vinh Le 2bf9b5f2c1 Fix types 2018-09-06 00:07:14 +02:00
Chi Vinh Le 46ff3dea89 Reply opens auth popup when not logged in 2018-09-06 00:07:14 +02:00
Chi Vinh Le 90a875f40e Better tests 2018-09-06 00:07:14 +02:00
Chi Vinh Le 441cc9d57b Stream should work outside of iframe for debugging 2018-09-06 00:06:58 +02:00
Chi Vinh Le 28c8252b63 Add test 2018-09-06 00:06:58 +02:00
Chi Vinh Le 444c86cb3c Focus RTE when opening reply 2018-09-06 00:06:58 +02:00
Chi Vinh Le 110becb075 Implement reply 2018-09-06 00:06:58 +02:00
Chi Vinh Le ee30003390 Indent comment only 2018-09-06 00:06:58 +02:00
Chi Vinh Le c96112fc8c Fix tests 2018-09-06 00:06:58 +02:00
Chi Vinh Le 31bc5fa913 WIP 2018-09-06 00:06:28 +02:00
Chi Vinh Le eb74162eef Merge branch 'next' into pym-storage 2018-09-05 23:27:59 +02:00
Wyatt Johnson 3897b06029 [next] Comment Editing (#1795)
* feat: initial impl of comment edits

* feat: added edit metadata

* review: switched out explcit null + nullable types

* fix: changed commentEdge -> edge, test comments

* [next] Tasks (#1777)

* feat: initial support for synced tenants

* fix: cleanup

* fix: logger now respects logging level

* fix: cache now ignores updates issued from itself

* feat: print subscriber count

* feat: initial moderation + validation for new comments

* fix: added Promiseable type

* feat: initial actions impl

* feat: more moderation phases

* fix: handle settings inheritence

* fix: moved settings into new file

* fix: defaults and documentation

* fix: replace merge with object spread

* feat: added integration with akismet

* fix: support tenant cache for oidc strategy

* fix: fixed compile

* fix: import ordering

* feat: added bull for queue support

* feat: support for scraping

* fix: fixes for scraper

- Implemented simple metascraper replacement (to resolve security advisory
  warning)
- Implemented simle dotize replacement (to resolve not
  working version that couldn't handle date objects)
- Plugged in asset scraping to asset creation process

* fix: handles array values

* feat: added initial scraper implementation

* feat: seperate queues but share config

* fix: simplified auth data access

* feat: moved more settings into the graph

* feat: improved mailer design

* fix: fixed issue with dotize

* fix: fixed some issues with adapter

* fix: queue cleanup

* feat: added organizationName to Tenant

* feat: email rendering

* review: support es6 imports

* fix: restore old ci step

* fix: adjusted logging messages

* fix: linting
2018-09-04 18:57:41 +00:00
Wyatt Johnson 59cf728681 [next] Tasks (#1777)
* feat: initial support for synced tenants

* fix: cleanup

* fix: logger now respects logging level

* fix: cache now ignores updates issued from itself

* feat: print subscriber count

* feat: initial moderation + validation for new comments

* fix: added Promiseable type

* feat: initial actions impl

* feat: more moderation phases

* fix: handle settings inheritence

* fix: moved settings into new file

* fix: defaults and documentation

* fix: replace merge with object spread

* feat: added integration with akismet

* fix: support tenant cache for oidc strategy

* fix: fixed compile

* fix: import ordering

* feat: added bull for queue support

* feat: support for scraping

* fix: fixes for scraper

- Implemented simple metascraper replacement (to resolve security advisory
  warning)
- Implemented simle dotize replacement (to resolve not
  working version that couldn't handle date objects)
- Plugged in asset scraping to asset creation process

* fix: handles array values

* feat: added initial scraper implementation

* feat: seperate queues but share config

* fix: simplified auth data access

* feat: moved more settings into the graph

* feat: improved mailer design

* fix: fixed issue with dotize

* fix: fixed some issues with adapter

* fix: queue cleanup

* feat: added organizationName to Tenant

* feat: email rendering

* review: support es6 imports

* fix: restore old ci step

* fix: adjusted logging messages
2018-09-04 18:47:20 +00:00
Wyatt Johnson 76d198f2a6 [next] Production Usage (#1808)
* feat: docker + compression support + headers

* fixed bug with dependancies
2018-09-04 18:36:17 +00:00
Chi Vinh Le aa2b70fd8c Save comment draft + test 2018-09-03 12:16:01 +02:00
Chi Vinh Le ccf91480da Implement pym storage 2018-09-03 09:28:09 +02:00
Chi Vinh Le a4002b262b Keep time! 2018-08-31 18:34:00 +02:00
Chi Vinh Le 51e6d5b29e Test optimistic response 2018-08-31 18:14:25 +02:00
Chi Vinh Le 0135cb9cc3 Add todo 2018-08-31 17:40:38 +02:00
Chi Vinh Le 4c1f2e72cb Use createSinonStub 2018-08-31 17:24:42 +02:00
Chi Vinh Le 25e8cb517b Add integration test 2018-08-31 17:15:40 +02:00
Chi Vinh Le 428c35a931 Hide forward ref and fix tests 2018-08-31 16:11:25 +02:00
Chi Vinh Le 792ceed2ad No more patched packages! 2018-08-31 02:28:53 +02:00
Chi Vinh Le 942ce366b8 Finish porting to relay-1.7 including types 2018-08-30 23:49:38 +02:00
Chi Vinh Le 0dcff65344 Upgrade react-relay types 2018-08-30 16:43:01 +02:00
Chi Vinh Le b83d965d6c Better naming 2018-08-30 16:15:56 +02:00
Chi Vinh Le 09caad7bdd Keep future added values 2018-08-30 16:08:42 +02:00
Chi Vinh Le 7ab70b8484 Update relay-runtime types 2018-08-30 15:41:08 +02:00
Chi Vinh Le 0497718764 WIP 2018-08-30 10:23:13 +02:00
Chi Vinh Le c66c5a1ade Implement post comment mutation 2018-08-30 10:23:03 +02:00
Chi Vinh Le a99fe3c0ff Integrate actual translations into integration tests 2018-08-29 22:55:13 +02:00
Chi Vinh Le 13c196983f Implement RTE and HTMLContent 2018-08-29 16:03:04 +02:00
Chi Vinh Le 885a724876 Make each test independent 2018-08-29 16:02:31 +02:00
Chi Vinh Le fbb194cdac Fix linter issue 2018-08-29 16:01:51 +02:00
Chi Vinh Le 9c5dd285a3 Readd translations 2018-08-28 17:20:44 +02:00