212 Commits

Author SHA1 Message Date
f500d7f66c Split jsonrpc into smaller packages 2019-08-01 09:17:38 +07:00
e79008cf0f Add test @rondo/scripts package for CLI 2019-07-31 10:50:29 +08:00
dde96b41d3 Add packages/scripts 2019-07-31 09:53:45 +08:00
3787315905 Add jsonrpc local, remote and supertest clients 2019-07-31 08:44:50 +08:00
7dd9497514 Use ttsc instead of tsc 2019-07-31 07:19:22 +08:00
cfc6933e78 jsonrpc: Add ability to specify context via high-order functions 2019-07-31 01:10:27 +08:00
401e5b481a Set status to 204 for notifications 2019-07-31 00:53:57 +08:00
e16edd5655 Add 100% test coverage for jsonrpc server 2019-07-31 00:19:46 +08:00
fdfe356ded Fix types of event handlers in TaskExecutor 2019-07-30 22:55:18 +08:00
faf76ec76a Add jsonrpc middleware 2019-07-24 23:59:02 +08:00
b5e0c408c2 Add initial impl of TaskExecutor 2019-07-19 23:33:19 +08:00
a15a24a2c1 Add @rondo/tasq 2019-07-19 21:10:34 +08:00
b05cdfcfaa Add projects/node/packages/image-upload/src/Files.test.ts 2019-06-09 12:25:11 +10:00
355d8c8e51 Add ability to resize images client-side 2019-06-09 09:36:23 +10:00
7de6157129 Add image-upload 2019-06-08 13:14:22 +10:00
a20ac8cbbc Add HTTPClientMock.mockAddTyped 2019-06-04 15:11:54 +10:00
45f0cb76d3 Fix return type of withJSX (used to be any) 2019-06-04 14:58:41 +10:00
4b601f93cb Fix linting error 2019-05-21 22:44:22 +12:00
3017a17b9c Export test-utils 2019-05-21 22:44:01 +12:00
a52f0186b3 Remove console.log statements 2019-05-21 18:56:28 +12:00
e63b2b1c03 WIP: Use react-ssr-prepass to fetchData
TODO: State does not update correctly. Need to figure out why.
2019-05-19 20:14:35 +12:00
f59b58f833 Fix invalid csrf token 2019-05-19 17:55:40 +12:00
871018684b Extract store creation 2019-05-09 15:34:08 +12:00
279b859e7b Add TODO for SSR SEO 2019-05-08 11:44:45 +12:00
798c4987f8 Extract http into separate parameter 2019-05-08 10:54:05 +12:00
c44d605890 Fix failing React tests for Login/Register 2019-05-08 10:12:53 +12:00
70c94c7c63 Add WaitMiddleware.ts 2019-05-08 09:57:33 +12:00
a672aab11d Add ability to run app minified 2019-04-15 21:45:03 +12:00
5f662a1ac1 Make server work with browserify --node 2019-04-15 14:28:56 +12:00
dcc2fb4dc8 Log error messages during app Bootstrap.ts 2019-04-15 13:09:32 +12:00
18fef76807 Add ability to login from embedded site 2019-04-15 00:13:51 +12:00
7c1b6973ae Add ReturnHere.tsx 2019-04-14 23:12:05 +12:00
3ffd391cb0 Add user prop to CommentEditor 2019-04-14 22:09:00 +12:00
90d1e1a040 Fix broken StringUtils.test.ts 2019-04-11 13:42:19 +08:00
0fb6c8a6c2 Reduce bundle size by 100kb by removing date-fns 2019-04-11 12:23:17 +08:00
7711a9596c Remove markdown from client-side
Markdown parser takes too much space in the final compressed bundle
2019-04-11 12:20:39 +08:00
9d282b278d Build ESM client-side modules to enable tree shaking
TypeScript compiler needs to be configured to output ES6 module by
setting --module es6 or the equivalent tsconfig.json compilerOptions
parameter.

Since tsc --build does not accept compiler options flags, we need to
duplicate some of the configuration:

- specify separate output folder for ES6 module files (new
  tsconfig.esm.json file)
- add "module" field for ES6 module (esm) output files to package.json

Hence, a script `scripts/sync-esm-config.js` was added to automate this
process.
2019-04-11 11:40:07 +08:00
6605034e1e Export props from Link.tsx 2019-04-08 19:26:40 +08:00
65f1703089 Add ability to load user votes on frontend 2019-04-08 13:34:19 +08:00
e509c32f79 Add ability to load votes by id
Use createDate and updateDate as strings
2019-04-08 13:33:58 +08:00
17d67900c1 Add safe Markdown parsing to CommentService 2019-04-07 13:44:35 +08:00
6418cd64b6 Add @rondo/common Markdown 2019-04-07 13:16:18 +08:00
e727687ec8 Refactor CommentActions, add skeleton for Reducer 2019-04-07 00:23:01 +08:00
bbf18ed27a Add ability to specify middleware in AsyncRouter 2019-04-06 21:32:20 +08:00
582d36de02 Add Link to Stories from Sites 2019-04-06 14:11:55 +08:00
e18fa89b26 Add /teams/:teamId/sites/:siteId/stories client-side 2019-04-06 14:01:16 +08:00
89af2f0845 Add StringUtils 2019-04-06 13:58:20 +08:00
00dd9326ba Use Heading instead of Label in forms
I realize <label> tags should be used instead, but this looks nicer and
I don't have the time to style it.
2019-04-04 11:43:06 +08:00
3660540451 Add HistoryCrumbs.tsx 2019-04-04 10:50:33 +08:00
b3924fa8d3 Fix CRUDForm not updating text 2019-04-04 00:00:43 +08:00