Commit Graph

217 Commits

Author SHA1 Message Date
Jonathan Barrow
ea7fde0abf
Merge branch 'dev' into rewrite 2023-04-29 21:00:23 -04:00
Jonathan Barrow
19a802181e
Merge pull request #21 from PretendoNetwork/rewrite-jon
TypeScript Rewrite
2023-04-29 20:55:13 -04:00
Jonathan Barrow
56f248981e
Use new account server token format 2023-04-28 17:02:06 -04:00
Jonathan Barrow
9a25a7a9a2
Added test and dev subdomains to discovery 2023-04-28 16:36:20 -04:00
Jonathan Barrow
436e5f3bd9
Removed account server DB, now uses gRPC 2023-04-28 14:13:03 -04:00
Jonathan Barrow
1b76eb967b
Added missing Settings.json method 2023-04-26 12:20:23 -04:00
Jonathan Barrow
26f309e2b9
Fixed /v1/people crashing when distinct_pid=1 2023-04-26 12:04:27 -04:00
Jonathan Barrow
d68f0c37d9
Added separateArrayItems: true to XML generation for responses with lists 2023-04-26 11:17:48 -04:00
Jonathan Barrow
c243347adb
Spelling mistake in test script 2023-04-26 11:13:43 -04:00
Jonathan Barrow
4c61c89fd7
Move error 16 directly after error 15 in auth middleware 2023-04-26 11:13:15 -04:00
Jonathan Barrow
7ef9147c6c
Add topics to topics list 2023-04-26 11:12:20 -04:00
Jemma Poffinbarger
bd8b249246 Merge branch 'rewrite-jon' of https://github.com/PretendoNetwork/olv-api into rewrite-jon 2023-04-26 00:25:48 -05:00
Jemma
dbd8f44831 Updated community test case to also validate error response formatting 2023-04-26 00:25:23 -05:00
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