6fb69e40df
Build tsc project before generating migration
...
This is especially important for comments-server, because ts-node will
use compiled js files from @rondo/server - that's just how node's module
resolution works and I do not think there's anything that we can do to
change that
2019-03-18 14:27:32 +05:00
49fc73a1c2
comments/server: Add migration for User
2019-03-18 14:00:29 +05:00
bc979c51c7
packages/server: Fix ormconfig.js
2019-03-18 13:57:41 +05:00
428630072c
Fix (hopefully) CSRF for SPA
2019-03-17 15:04:15 +05:00
0c7af3538c
Move LoginRoutes from /app to /api
2019-03-17 14:24:09 +05:00
491012a815
Update TypeScript to 3.3.3333
...
TODO: Remove cast this.router to any
2019-03-17 13:43:47 +05:00
360dc83ded
Setup simple SSR, untested
2019-03-14 12:38:34 +05:00
949b008208
Update jest to 24 and set maxConcurrency
2019-03-14 12:08:37 +05:00
6ea422f340
Fix running jest from root directory
2019-03-13 22:19:51 +05:00
2fb77382c9
Log config files read
2019-03-13 22:18:58 +05:00
6d926894db
Fix broken tests in new project
2019-03-13 11:53:42 +05:00
36c61646ed
Fix UserService.test.ts
2019-03-13 11:33:02 +05:00
155c98d000
Extract comments functionality to packages/comments-server
2019-03-13 11:24:08 +05:00
2fc22f05b7
Add comments-server
2019-03-12 22:42:14 +05:00
0a7442a932
Replace node-config with packages/server/config
2019-03-12 17:09:21 +05:00
a5ef6bd981
Add ConfigReader.ts
2019-03-12 17:04:42 +05:00
694d1857b3
Export Bootstrap in packages/server/src/application/index.ts
2019-03-12 14:16:22 +05:00
406858cf2d
Add unique constraint check to StoryService
2019-03-12 11:50:19 +05:00
a4be36d159
Add tests for CommentRoutes
2019-03-12 11:46:41 +05:00
cec34260ce
Add test for PUT /comments/:commentId
2019-03-11 22:11:53 +05:00
051208753b
Add more tests for Comments
2019-03-10 19:40:06 +05:00
234db553b1
Add ability to delete a Site
2019-03-10 16:05:20 +05:00
e18e00a6e5
Use UserPermissions in TeamRoutes
2019-03-10 15:42:58 +05:00
14e90f9559
Add put & delete team route
2019-03-09 22:56:55 +05:00
4cc03fe611
Add test for StoryRoutes
2019-01-27 16:19:35 +01:00
52dc876845
Add ability to specify query params in tests
2019-01-27 16:07:16 +01:00
04b3a7ca90
Add more tests for SiteRoutes
2019-01-27 15:48:47 +01:00
25574903ba
Run process.chdir in jest.setup.js for packages/server
2019-01-27 15:39:41 +01:00
3b295b2e13
Add StoryRoutes.test.ts
2019-01-25 12:28:20 +01:00
2b431bee78
Separate services and routes into features
2019-01-25 10:12:40 +01:00
2ed3aeac26
Add Routes to application
2019-01-24 17:55:49 +01:00
f0943cfe80
Add SiteRoutes, StoryRoutes and TeamRoutes
2019-01-22 13:30:15 +01:00
d0e94808bb
Fix CommentRoutes
2019-01-22 13:06:01 +01:00
8865b58747
Add basic Site, Story and TeamService
2019-01-22 12:29:47 +01:00
b8b7052d71
Make votes and spam reports unique per user/report
2019-01-22 12:07:52 +01:00
78056e53a0
Remove comment.id before inserting new ones
2019-01-22 12:06:45 +01:00
0c70a3b688
Move ICommentTree to @rondo/common
2019-01-22 11:59:23 +01:00
2e0402b189
Implement basic CommentService
2019-01-22 11:57:15 +01:00
6e94b68598
Add server/src/validator
2019-01-22 11:57:05 +01:00
715c40f60f
Fix: do not lint migrations
2019-01-22 10:11:03 +01:00
e4f1b15c45
Create migration for comments
2019-01-22 10:10:56 +01:00
0a87e9a498
Add lots of default entities
2019-01-21 01:57:03 +01:00
10e5775bf4
Add initial comments setup
2019-01-21 01:04:58 +01:00
eedd57c527
Add ability to easily create unions of action types
2019-01-19 15:23:51 +01:00
5881b64ecf
Export everything in packages/server
2019-01-19 11:26:17 +01:00
fee764b8cf
Fix broken csrfToken retrieval in tests
2019-01-19 00:35:54 +01:00
51b2e29cee
Fix buildfile
2019-01-19 00:30:33 +01:00
54f813be06
Modify entities path
2019-01-19 00:20:21 +01:00
8fd2eafdca
Reorganize tsconfig.json files
...
According to:
https://github.com/RyanCavanaugh/learn-a
2019-01-18 23:00:36 +01:00
b8961a0308
Add Server and Client renderer
2019-01-18 20:56:41 +01:00