16 Commits

Author SHA1 Message Date
4c3570a9ce Do not extend/modify existing entities
Typeorm loads all @Entities and decorator-defined relations into a
global variable, and thus makes it impossible to override already
defined variables.

Will have to think about how to disable this behaviour in case the user
of this library does not want to use predefined variables, but for now
we will use the predefined defaults.
2019-08-02 20:17:10 +07:00
e509c32f79 Add ability to load votes by id
Use createDate and updateDate as strings
2019-04-08 13:33:58 +08:00
77838e8e0c packages/comments-server: Migrate to mysql/mariadb
Currently mysql2 prints a warning every time a connection is
established. This should be fixed with soon:

https://github.com/typeorm/typeorm/pull/3753
2019-03-23 21:21:50 +08:00
49fc73a1c2 comments/server: Add migration for User 2019-03-18 14:00:29 +05:00
155c98d000 Extract comments functionality to packages/comments-server 2019-03-13 11:24:08 +05:00
051208753b Add more tests for Comments 2019-03-10 19:40:06 +05:00
3b295b2e13 Add StoryRoutes.test.ts 2019-01-25 12:28:20 +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
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
2e0402b189 Implement basic CommentService 2019-01-22 11:57:15 +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
5881b64ecf Export everything in packages/server 2019-01-19 11:26:17 +01:00
8a5ab067f6 Move server into src/ 2019-01-18 20:34:16 +01:00