a5eb3d8bea
Fix jest test in CI
...
continuous-integration/drone/push Build is failing
Jest runs out of memory when run in Docker, possibly because of a memory
leak in ts-jest.
The tests will now run after the build, on the built *.js files. As a
consequence, the jest tests will run faster because ts-jest will no
longer be invoked in ci.
Check the package.json test:ci script for more info.
https://github.com/facebook/jest/issues/7874
https://github.com/facebook/jest/issues/9081
2020-01-10 10:30:16 +01:00
23f2796d68
Use relative paths in packages/*/package.json
...
When using versions and letting npm install dedupe the packages, npm
audit does not work and it exits with a cryptic error:
The server said: Invalid package tree, run npm install to rebuild your package-lock.json
2020-01-09 18:26:00 +01:00
1ec9f604de
Fix clean install
2020-01-09 15:15:29 +01:00
22bbc99e0d
Fix a bug with audio captcha
2019-11-04 11:41:38 -04:00
262ba2c2af
Add captcha requirement for registering
2019-11-03 19:20:44 -04:00
b5325a050d
Add react-captcha, react-test package
2019-11-01 17:53:21 -04:00
8449416366
Add ability to register account without email
...
TODO: add captcha
2019-11-01 14:43:47 -04:00
c82967012b
Add session-hijacking prevention to TODO.md
2019-11-01 13:23:36 -04:00
4b170b4e63
Run eslint --fix
2019-11-01 11:18:50 -04:00
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