156 Commits

Author SHA1 Message Date
d560f7a725 Fix project references of local @types/express.d.ts
The `comments-server` package requires the `server` package, but
previously it did not load the updates of global Express.Request
definitions correctly.

By adding the triple slash comment:

/// <reference path="../@types/express.d.ts" /> to the top

to the top of packages/server/src/index.ts, the issue is now resolved
2019-11-01 08:48:16 -04:00
cef39b2edd Fix compile errors 2019-10-31 20:09:39 -04:00
1bd19286fa Upgrade all packages 2019-10-31 19:44:28 -04:00
595600e005 Move react-ssr-prepass.d.ts to @types/ 2019-10-31 19:43:35 -04:00
17adb818be Add ability to run server cluster 2019-10-12 08:44:21 -05:00
9f1e2ca713 Run rondo imports
package.jsons are changed because dependencies are now sorted
tsconfig.jsons are changed because all referenced monorepo packages will
be added as project references
tsconfig.esm.jsons are changed because syncEsmConfig was run
2019-10-01 23:39:05 +07:00
c0a256ad83 Remove "express-serve-static-core"
It has different type definitions for some methods used in express and
TypeScript build fails because of it.

The solution is to use @types/express-serve-static-core instead.
2019-10-01 23:22:51 +07:00
4d7224cd8f Update package.json(s)
Bug for server: supertest is included
2019-10-01 22:29:51 +07:00
0c49e52f21 Add version tag to all package.json files 2019-10-01 09:37:57 +07:00
5623001497 Refactor React server-side rendering 2019-09-26 23:35:53 +07:00
42bda32985 Use EntitySchemas in comments-server, Fix duplicate migrations 2019-09-23 11:29:23 +07:00
960fc96d28 Use entity-schemas as entities 2019-09-18 15:54:56 +07:00
2ad72d2925 Fix cannot read property joinColumns of undefined 2019-09-18 15:37:35 +07:00
d4378719c5 Use EntitySchema and interfaces over typeorm decorators 2019-09-18 15:25:27 +07:00
9c9c41aeaf Extract packages/server/src/database to packages/{db,db-typeorm} 2019-09-18 12:49:55 +07:00
c8d22278a5 Use run() instead of CLI class 2019-09-17 11:30:16 +07:00
f51b41c576 Add packages/server/cli 2019-09-17 10:55:25 +07:00
12aa397350 Remove tslint.json 2019-09-16 21:04:55 +07:00
73c27aec6a Fix packages/comments-common 2019-09-16 11:39:36 +07:00
7631f085ef Fix packages/server 2019-09-16 10:46:17 +07:00
6cbcf3c69c Update TODO.md 2019-09-14 12:59:08 +07:00
0d1fddf512 Fix linting errors 2019-09-14 12:53:30 +07:00
ac8f1d9ff3 Run rondo syncEsmConfig 2019-09-14 12:01:29 +07:00
c14456b606 Move validator into separate package 2019-09-14 11:41:21 +07:00
103f6d1e7a Remove BaseService 2019-09-14 11:14:28 +07:00
1fde923dbf Fix concurrency issue in TeamService.test.ts 2019-09-14 10:30:44 +07:00
d532ac82f0 Fix broken tests 2019-09-14 10:05:35 +07:00
195d7226e8 Rename jsonrpc types 2019-09-13 23:49:05 +07:00
25589b870c Refactor common/team 2019-09-11 13:34:41 +07:00
ae2ed21f05 Remove unused routes
TBD: fix comments-server
2019-09-11 12:18:13 +07:00
055d9588bf Use JSONRPC in TeamService (needs more testing) 2019-09-11 00:40:10 +07:00
eebe26f706 Extract redux, http-types, http-client and test-utils 2019-09-10 17:56:25 +07:00
f509004dac Add rpc/TeamService.test.ts 2019-09-07 19:44:29 +07:00
b813916c19 Use simpler interface for Bootstrap app server 2019-09-07 19:27:21 +07:00
4f533e7fff Return headers from login/registerAccount test methods 2019-09-07 09:44:00 +07:00
3739f27ebe Add first test for JSONRPC service 2019-09-07 09:38:43 +07:00
5cf54d0be9 Rename old UserService to AuthService, LoginRoutes to AuthRoutes 2019-09-05 10:19:27 +07:00
5b5adb6408 Update dependencies
TypeScript 3.6 cannot be updated because of a current bug with
FindConditions<?>.

https://github.com/typeorm/typeorm/pull/4470
https://github.com/typeorm/typeorm/issues/4662

https://github.com/microsoft/TypeScript/pull/33144
2019-09-01 14:17:08 +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
67e3da3246 Add ability to configure rpc services. Needs further testing 2019-08-31 09:12:10 +07:00
5b9f4b9321 Create transaction for JSONRPC middleware 2019-08-30 13:21:16 +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
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
359c6afd08 Add test for doInNewTransaction (mysql) 2019-08-26 19:25:54 +07:00