Commit Graph

148 Commits

Author SHA1 Message Date
Jemma Poffinbarger
a8d57fb487 Added xml errors to communities.ts 2023-04-26 00:23:29 -05:00
Jemma Poffinbarger
cf7c71f40b Added individual errors in the auth middleware 2023-04-25 23:09:22 -05:00
Jonathan Barrow
8651e8cfd7
Removed unused dev depend 2023-04-25 19:25:49 -04:00
Jonathan Barrow
e5870d685d
Updated tests to have cleaner output 2023-04-25 19:22:18 -04:00
Jonathan Barrow
fbfc406c58
Added PP_ACPlaza to newman tests 2023-04-25 17:22:35 -04:00
Jonathan Barrow
a9e2a6fb4b
Fixed collections being swapped 2023-04-25 16:09:28 -04:00
Jonathan Barrow
6f0f9dcf4d
Renamed appID to communityID in communities/:id/posts to better match usage 2023-04-25 16:01:54 -04:00
Jonathan Barrow
510e75dc38
Replace rm -rf with rimraf 2023-04-25 15:58:44 -04:00
Jonathan Barrow
11fb673fc8
Added the start of unit tests 2023-04-25 15:57:44 -04:00
Jonathan Barrow
dc040731bb
Added optional remaster_version field to ParamPack 2023-04-25 15:57:14 -04:00
Jonathan Barrow
ea41488347
Added missing result elements to some responses 2023-04-25 15:01:46 -04:00
Jonathan Barrow
d1fb023869
Removed unused XML parsing middleware 2023-04-25 09:34:38 -04:00
Jonathan Barrow
36bda89508
Merge pull request #23 from PretendoNetwork/rewrite 2023-04-25 01:20:07 -04:00
Jemma
69ffa6f074
Merge pull request #22 from PretendoNetwork/postman
Added initial support for api testing via postman
2023-04-24 23:54:28 -05:00
Jemma
180091aca0 Added initial support for api testing via postman 2023-04-24 23:52:29 -05:00
Jonathan Barrow
6e86498981
Added types to modules without types 2023-04-24 23:37:36 -04:00
Jonathan Barrow
5d924b45f1
Removed unused and updated vulnerable dependencies 2023-04-24 22:06:08 -04:00
Jonathan Barrow
28651873d7
Removed object-to-xml in favor of only using xmlbuilder 2023-04-24 16:37:18 -04:00
Jonathan Barrow
4664d9fe05
Removed XMLResponseGenerator class in favor of Mongoose Schema methods 2023-04-24 16:29:04 -04:00
Jonathan Barrow
c869b3ae36
Moved generatePostUID to Model method to prevent possible ID collisions 2023-04-24 11:57:15 -04:00
Jonathan Barrow
4ae2317c83
Use Model.create instead of new Model with Mongoose 2023-04-24 11:25:38 -04:00
Jonathan Barrow
4de3856a25
use response.status() method and not response.statusCode setter 2023-04-24 11:12:44 -04:00
Jonathan Barrow
05ba27793a
Always set content-type for all routes & use response.type method 2023-04-24 11:10:29 -04:00
Jonathan Barrow
72285ee221
Cleaner server start function 2023-04-23 19:55:54 -04:00
Jonathan Barrow
37d14b16d5
split api and discovery services 2023-04-23 19:51:58 -04:00
Jonathan Barrow
d45f6d1104
Fixed linting issues 2023-04-23 19:43:28 -04:00
Jonathan Barrow
106b581fe3
Full conversion to TypeScript 2023-04-23 19:32:42 -04:00
Jonathan Barrow
c13383812e
Updated logger and logs path 2023-04-22 17:11:23 -04:00
Jonathan Barrow
442c20ed67
Fixed build failures 2023-04-22 17:09:21 -04:00
Jonathan Barrow
93008c5a1a
Removed JSON config, moved to env vars 2023-04-22 11:03:51 -04:00
Jonathan Barrow
f70cd34406
Barebones move to TypeScript 2023-04-22 10:17:33 -04:00
Jonathan Barrow
defdd35f4b
Added linter config 2023-04-21 10:17:45 -04:00
Jonathan Barrow
20ddd11761
updated gitignore 2023-04-21 10:08:59 -04:00
Jonathan Barrow
c3759db11b
Begin move to TS 2023-04-21 10:07:54 -04:00
Jonathan Barrow
471a1efb23
Merge pull request #20 from EpicUsername12/rewrite-post-sub-communities
Beginning of mulitple communities related requests
2023-04-21 09:43:02 -04:00
EpicUsername12
75b3b1d6b1 Forgot to await the community save() 2023-04-20 06:04:49 +02:00
EpicUsername12
7eaede2fee Removed log 2023-04-20 03:40:31 +02:00
EpicUsername12
70697b93f0 Base 'POST: /v1/communities' 2023-04-20 03:40:05 +02:00
EpicUsername12
63f1b43986 Moved 'multer' to non-dev depedencies 2023-04-20 03:39:38 +02:00
EpicUsername12
7c0770b330 Early version of /v1/communities 2023-04-20 03:21:34 +02:00
Jemma Poffinbarger
6d2eef8b0f Fixed in-game messages creating broken conversations 2023-04-17 23:59:25 -05:00
Jemma Poffinbarger
aeb07a2f38 Fixed topics and communities response 2023-04-16 18:18:16 -05:00
Jemma Poffinbarger
58f11a21b1 Fixed /v1/topics timing out. Updated post ID length 2023-04-16 16:13:32 -05:00
Jemma Poffinbarger
9acc8b13f4 Updated schema. Fixed request for friends not working. Added check to discovery server on auth to reject other requests when discovery is closed. 2023-04-16 02:36:21 -05:00
Jemma
f50bf61abf Updated post ID format and removed legacy methods on post model 2023-04-14 14:37:32 -05:00
Jemma
d916accfc2 Updated example config to reflect new friends keys 2023-04-12 10:32:12 -05:00
Jemma
bd855421c2 Added support for getting posts from friends in /v1/people 2023-04-12 10:30:00 -05:00
Jemma
831fcb2bc0 Added friends list request. Refactored util document. Code cleanup 2023-04-12 10:13:51 -05:00
Jemma Poffinbarger
6aa22c8c31 Added support for 'type=memo' flag in community posts 2023-04-10 22:01:10 -05:00
Jemma Poffinbarger
448736d4ae Added support for topic tags. fixed parent community id's not being strings (???) 2023-04-06 22:39:49 -05:00