429 Commits

Author SHA1 Message Date
fc613f426b Add rondo update script 2019-09-01 13:38:38 +07:00
a8af27bac3 Fix tslint errors 2019-09-01 11:33:09 +07:00
9cf305e71a Fix broken intergen test because of header 2019-09-01 10:20:18 +07:00
dcc5b52725 Do not subclass Bootstrap.ts 2019-08-31 15:29:37 +07:00
5688a65cb0 Rename configureApplication to configureServer 2019-08-31 14:19:56 +07:00
8ca6107ce6 Replace Application class w/ configureApplication 2019-08-31 14:14:11 +07:00
64f5f2f642 Replace Application.ts with createAppication and configureApplication 2019-08-31 11:42:12 +07:00
4814316fa7 Use @rondo.dev/comments-common instead of @rondo.dev/common 2019-08-31 10:28:41 +07:00
67e3da3246 Add ability to configure rpc services. Needs further testing 2019-08-31 09:12:10 +07:00
fbd7a2229b Do not use proxy in createLocalClient, add bulk methods 2019-08-31 08:22:17 +07:00
d2a5a35543 Revert back to context in createLocalClient 2019-08-30 17:51:14 +07:00
0222455cd7 Breaking change: JSONRPC context is always 1st argument 2019-08-30 17:12:46 +07:00
b8fb7c2eba Add warning message about JSONRPC 2019-08-30 16:26:29 +07:00
5cc20ccd8e Remove baseURL from packages/jsonrpc#createRemoteClient 2019-08-30 15:01:01 +07:00
19f0993088 Use MapDispatchToPropsParam in redux/pack.ts 2019-08-30 13:35:45 +07:00
5b9f4b9321 Create transaction for JSONRPC middleware 2019-08-30 13:21:16 +07:00
9cc5a7affb Add ability to wrap method calls in jsonrpc 2019-08-30 13:19:13 +07:00
4ea534293b Use Object.getPrototypeOf instead of obj.__proto__ 2019-08-30 13:19:04 +07:00
05946ee342 Remove space in supertest.ts 2019-08-30 13:18:33 +07:00
db7a977eef Add client/src/redux/pack.ts 2019-08-30 13:18:06 +07:00
2f35b65f48 Add jsonrpc services to server(s) 2019-08-30 11:02:31 +07:00
7434c9fb42 Add UserService (RPC version) 2019-08-28 18:26:26 +07:00
cd5ff9b5da Generate @rondo.dev/common entities 2019-08-28 08:08:00 +07:00
3b6011f88d Add alias -o to intergen 2019-08-28 07:28:15 +07:00
0e6c45ce8b Add header to intergen.ts 2019-08-28 07:27:54 +07:00
f817c75d57 Add rondo syncEsm command 2019-08-27 21:57:43 +07:00
92c93db822 Add rondo exportDir script 2019-08-27 21:25:19 +07:00
b9e043e39e Export @ensure 2019-08-27 21:15:00 +07:00
8d73ece7b9 Remove comment 2019-08-27 21:14:41 +07:00
954f94f6b0 Add test for @ensure and instance methods 2019-08-27 21:13:13 +07:00
46a0a064d0 Make @ensure work with classes 2019-08-27 21:09:39 +07:00
0c867e916e Rename v to validate 2019-08-27 20:34:05 +07:00
9262cb636e Use getMetadata instead of getOwnMetadata 2019-08-27 20:33:21 +07:00
c7ab4fe387 Add ability to validate context via @ensure 2019-08-27 16:17:05 +07:00
22f0b15e3a Add debounce.cancel, cancel session cleanup 2019-08-27 14:54:47 +07:00
2256fbc1e8 Fix SessionStore concurrency in tests by debouncing fn 2019-08-26 20:13:35 +07:00
803bbfa0fe Add debounce to tasq 2019-08-26 20:00:48 +07:00
359c6afd08 Add test for doInNewTransaction (mysql) 2019-08-26 19:25:54 +07:00
76bf7d8d47 Add transactionId to SqlLogger 2019-08-26 19:08:35 +07:00
02d072a361 Add TransactionManager.doInNewTransaction 2019-08-26 19:07:21 +07:00
67ae8dac57 Replace unnecessary DB with IDatabase 2019-08-26 18:53:52 +07:00
291d05e2be Expose bootstrap in test.ts 2019-08-26 18:46:06 +07:00
772c3f6682 Use real cls-hooked in tests instead of NamespaceMock
https://github.com/Jeff-Lewis/cls-hooked/issues/17#issuecomment-510168720

Note: uses undocumented methods ns.enter(context) and ns.exit(context)
2019-08-26 11:14:11 +07:00
e2c8fca29b TODO: fix deadlock caused by SessionStore#cleanup 2019-08-26 09:10:27 +07:00
d8ab2decef Fix correlation id for tests 2019-08-25 23:37:27 +07:00
040af18765 Use process.env.JEST_WORKER_ID when creating username 2019-08-25 23:08:16 +07:00
1762dad4d1 Add ability to run @rondo/server tests in parallel 2019-08-25 23:07:47 +07:00
1e53f55cfa Check if date is valid before calling toISOString() 2019-08-25 22:21:34 +07:00
91ecdbba10 Move js-yaml to packages/config 2019-08-25 20:46:47 +07:00
1bbc3ed97d Extract ConfigReader to @rondo.dev/config pkg 2019-08-25 20:43:09 +07:00