Commit Graph

  • 3619b34142
    Merge old commit from branch 'rewrite-jon' into dev Jonathan Barrow 2023-05-01 15:07:22 -0400
  • 5a4a4a4c83
    Updated token parsing Jonathan Barrow 2023-05-01 15:03:29 -0400
  • 3f48b95e68
    Merge pull request #24 from PretendoNetwork/rewrite Jonathan Barrow 2023-04-29 21:00:49 -0400
  • ea7fde0abf
    Merge branch 'dev' into rewrite Jonathan Barrow 2023-04-29 21:00:23 -0400
  • 19a802181e
    Merge pull request #21 from PretendoNetwork/rewrite-jon Jonathan Barrow 2023-04-29 20:55:13 -0400
  • 56f248981e
    Use new account server token format Jonathan Barrow 2023-04-28 17:02:06 -0400
  • 9a25a7a9a2
    Added test and dev subdomains to discovery Jonathan Barrow 2023-04-28 16:36:20 -0400
  • 436e5f3bd9
    Removed account server DB, now uses gRPC Jonathan Barrow 2023-04-28 14:13:03 -0400
  • 1b76eb967b
    Added missing Settings.json method Jonathan Barrow 2023-04-26 12:20:23 -0400
  • 26f309e2b9
    Fixed /v1/people crashing when distinct_pid=1 Jonathan Barrow 2023-04-26 12:04:27 -0400
  • d68f0c37d9
    Added separateArrayItems: true to XML generation for responses with lists Jonathan Barrow 2023-04-26 11:17:48 -0400
  • c243347adb
    Spelling mistake in test script Jonathan Barrow 2023-04-26 11:13:43 -0400
  • 4c61c89fd7
    Move error 16 directly after error 15 in auth middleware Jonathan Barrow 2023-04-26 11:13:15 -0400
  • 7ef9147c6c
    Add topics to topics list Jonathan Barrow 2023-04-26 11:12:20 -0400
  • bd8b249246 Merge branch 'rewrite-jon' of https://github.com/PretendoNetwork/olv-api into rewrite-jon Jemma Poffinbarger 2023-04-26 00:25:48 -0500
  • dbd8f44831 Updated community test case to also validate error response formatting Jemma 2023-04-26 00:25:23 -0500
  • a8d57fb487 Added xml errors to communities.ts Jemma Poffinbarger 2023-04-26 00:23:29 -0500
  • cf7c71f40b Added individual errors in the auth middleware Jemma Poffinbarger 2023-04-25 23:09:22 -0500
  • 8651e8cfd7
    Removed unused dev depend Jonathan Barrow 2023-04-25 19:25:49 -0400
  • e5870d685d
    Updated tests to have cleaner output Jonathan Barrow 2023-04-25 19:22:18 -0400
  • fbfc406c58
    Added PP_ACPlaza to newman tests Jonathan Barrow 2023-04-25 17:22:35 -0400
  • a9e2a6fb4b
    Fixed collections being swapped Jonathan Barrow 2023-04-25 16:09:28 -0400
  • 6f0f9dcf4d
    Renamed appID to communityID in communities/:id/posts to better match usage Jonathan Barrow 2023-04-25 16:01:54 -0400
  • 510e75dc38
    Replace rm -rf with rimraf Jonathan Barrow 2023-04-25 15:58:44 -0400
  • 11fb673fc8
    Added the start of unit tests Jonathan Barrow 2023-04-25 15:57:44 -0400
  • dc040731bb
    Added optional remaster_version field to ParamPack Jonathan Barrow 2023-04-25 15:57:14 -0400
  • ea41488347
    Added missing result elements to some responses Jonathan Barrow 2023-04-25 15:01:46 -0400
  • d1fb023869
    Removed unused XML parsing middleware Jonathan Barrow 2023-04-25 09:34:38 -0400
  • 36bda89508
    Merge pull request #23 from PretendoNetwork/rewrite Jonathan Barrow 2023-04-25 01:20:07 -0400
  • 69ffa6f074
    Merge pull request #22 from PretendoNetwork/postman Jemma 2023-04-24 23:54:28 -0500
  • 180091aca0 Added initial support for api testing via postman Jemma 2023-04-24 23:52:29 -0500
  • 6e86498981
    Added types to modules without types Jonathan Barrow 2023-04-24 23:37:36 -0400
  • 5d924b45f1
    Removed unused and updated vulnerable dependencies Jonathan Barrow 2023-04-24 22:06:08 -0400
  • 28651873d7
    Removed object-to-xml in favor of only using xmlbuilder Jonathan Barrow 2023-04-24 16:37:18 -0400
  • 4664d9fe05
    Removed XMLResponseGenerator class in favor of Mongoose Schema methods Jonathan Barrow 2023-04-24 16:29:04 -0400
  • c869b3ae36
    Moved generatePostUID to Model method to prevent possible ID collisions Jonathan Barrow 2023-04-24 11:57:15 -0400
  • 4ae2317c83
    Use Model.create instead of new Model with Mongoose Jonathan Barrow 2023-04-24 11:25:38 -0400
  • 4de3856a25
    use response.status() method and not response.statusCode setter Jonathan Barrow 2023-04-24 11:12:44 -0400
  • 05ba27793a
    Always set content-type for all routes & use response.type method Jonathan Barrow 2023-04-24 11:10:29 -0400
  • 72285ee221
    Cleaner server start function Jonathan Barrow 2023-04-23 19:55:54 -0400
  • 37d14b16d5
    split api and discovery services Jonathan Barrow 2023-04-23 19:51:58 -0400
  • d45f6d1104
    Fixed linting issues Jonathan Barrow 2023-04-23 19:43:28 -0400
  • 106b581fe3
    Full conversion to TypeScript Jonathan Barrow 2023-04-23 19:32:42 -0400
  • c13383812e
    Updated logger and logs path Jonathan Barrow 2023-04-22 17:11:23 -0400
  • 442c20ed67
    Fixed build failures Jonathan Barrow 2023-04-22 17:09:21 -0400
  • 93008c5a1a
    Removed JSON config, moved to env vars Jonathan Barrow 2023-04-22 11:03:51 -0400
  • f70cd34406
    Barebones move to TypeScript Jonathan Barrow 2023-04-22 10:17:33 -0400
  • defdd35f4b
    Added linter config Jonathan Barrow 2023-04-21 10:17:45 -0400
  • 20ddd11761
    updated gitignore Jonathan Barrow 2023-04-21 10:08:59 -0400
  • c3759db11b
    Begin move to TS Jonathan Barrow 2023-04-21 10:07:54 -0400
  • 471a1efb23
    Merge pull request #20 from EpicUsername12/rewrite-post-sub-communities Jonathan Barrow 2023-04-21 09:43:02 -0400
  • 75b3b1d6b1 Forgot to await the community save() EpicUsername12 2023-04-20 06:04:49 +0200
  • 7eaede2fee Removed log EpicUsername12 2023-04-20 03:40:31 +0200
  • 70697b93f0 Base 'POST: /v1/communities' EpicUsername12 2023-04-20 03:40:05 +0200
  • 63f1b43986 Moved 'multer' to non-dev depedencies EpicUsername12 2023-04-20 03:39:38 +0200
  • 7c0770b330 Early version of /v1/communities EpicUsername12 2023-04-20 03:21:34 +0200
  • 6d2eef8b0f Fixed in-game messages creating broken conversations Jemma Poffinbarger 2023-04-17 23:59:25 -0500
  • aeb07a2f38 Fixed topics and communities response Jemma Poffinbarger 2023-04-16 18:18:16 -0500
  • 58f11a21b1 Fixed /v1/topics timing out. Updated post ID length Jemma Poffinbarger 2023-04-16 16:13:32 -0500
  • 9acc8b13f4 Updated schema. Fixed request for friends not working. Added check to discovery server on auth to reject other requests when discovery is closed. Jemma Poffinbarger 2023-04-16 02:36:21 -0500
  • f50bf61abf Updated post ID format and removed legacy methods on post model Jemma 2023-04-14 14:37:32 -0500
  • d916accfc2 Updated example config to reflect new friends keys Jemma 2023-04-12 10:32:12 -0500
  • bd855421c2 Added support for getting posts from friends in /v1/people Jemma 2023-04-12 10:30:00 -0500
  • 831fcb2bc0 Added friends list request. Refactored util document. Code cleanup Jemma 2023-04-12 10:13:51 -0500
  • 6aa22c8c31 Added support for 'type=memo' flag in community posts Jemma Poffinbarger 2023-04-10 22:01:10 -0500
  • 448736d4ae Added support for topic tags. fixed parent community id's not being strings (???) Jemma Poffinbarger 2023-04-06 22:39:49 -0500
  • 0c3903035c
    Update communities.js Jemma 2023-04-06 02:10:01 -0500
  • 32ea68b549 Adjusted parameters for /v1/people response. Check for empty post content. Re-enable support for WWP Jemma Poffinbarger 2023-04-06 01:16:22 -0500
  • 1d64d7621f Fixed bugs in some xml responses for communities and posts. Added support for /v1/people endpoints. Added support for more search queries in posts requests. Fixed country_id not being stored in posts Jemma Poffinbarger 2023-04-05 22:41:08 -0500
  • 0bab90ed09 Added updated query for topics to update based on recent posts in communities Jemma 2023-04-04 20:46:28 -0500
  • e35ceeb4b4 Refactored xml generation class to be more streamlined. Added support for storing screenshot length in database. Jemma 2023-04-04 20:17:13 -0500
  • 3b1db444e6 Added /v1/posts.search endpoint Jemma 2023-04-04 18:50:53 -0500
  • 3d9104eca2 Fixed communities request for AC Plaza. Fixed replies endpoint timing out when requesting replies that did not contain app data Jemma Poffinbarger 2023-04-01 22:02:23 -0500
  • 6a61f9e0bc Fixed communities request. Added support for post replies. Jemma Poffinbarger 2023-03-30 23:51:15 -0500
  • e896483001 Fixed app_id query not being assigned to another in the new post endpoint Jemma Poffinbarger 2023-03-26 13:52:26 -0500
  • 397c51cc29 Updated community requests to use app ID when searching for posts first, then the community ID. Added additional check to ensure empathy does not go below 0. Added endpoint to mark post as removed. Updated post endpoint to attempt to get the community in the following priority order: community_id -> app_id -> title_id. Updating logging for token parsing issues Jemma Poffinbarger 2023-03-26 13:22:28 -0500
  • 04328fe487 added support for fetching community posts with non-standard community ID Jemma Poffinbarger 2023-03-26 12:13:53 -0500
  • 8e37511331 Updated discovery version to 1 (sorry shutter :p) poffinbargej 2023-03-24 10:31:40 -0500
  • c6a8d8dba9 removed auth bypass for topics endpoint Jemma 2023-03-23 22:15:50 -0500
  • a7d28f155b Added topics flag to database Jemma 2023-03-23 22:05:31 -0500
  • a0a5e3d32c Fixed crashing on Nintendo Land. Fixed community post responses and app data parsing. Added cache to WWP to (hopefully) help with some performance issues. Jemma Poffinbarger 2023-03-21 23:46:08 -0500
  • 71245c41b3 Finished implementing sub-community support. Added support for the followed users endpoint. Fixed a number of inconsistencies in different endpoints. Fixed messages sent via the API not storing the correct Mii face URL. General code cleanup. Jemma Poffinbarger 2023-03-20 21:40:55 -0500
  • a3799e8a11 Fixed in-game posts from not displaying. Fixed submitting drawing posts in game. Updated dependencies Jemma Poffinbarger 2023-03-05 17:15:19 -0600
  • 6e0ea7cd2b
    Bump mongoose from 5.9.16 to 5.13.15 dependabot[bot] 2023-02-01 20:47:30 +0000
  • e2ad5a0374
    Bump validator and sanitize dependabot[bot] 2022-12-07 15:33:49 +0000
  • a4e3b4d8a0
    Bump mpath and mongoose dependabot[bot] 2022-12-07 15:32:19 +0000
  • b86330ac83
    Bump moment from 2.24.0 to 2.29.4 dependabot[bot] 2022-12-07 15:31:46 +0000
  • e9fd02b81a
    Merge pull request #15 from PretendoNetwork/dependabot/npm_and_yarn/minimist-1.2.7 Jemma 2022-12-07 09:31:35 -0600
  • 971d72baee
    Bump json-schema and jsprim dependabot[bot] 2022-12-07 15:31:13 +0000
  • 652e0001b3
    Bump minimist from 1.2.5 to 1.2.7 dependabot[bot] 2022-12-07 15:31:05 +0000
  • a6a6ba9566
    Bump express from 4.17.1 to 4.17.3 dependabot[bot] 2022-12-07 15:31:03 +0000
  • 33674103dc
    Merge pull request #12 from PretendoNetwork/dependabot/npm_and_yarn/moment-timezone-0.5.35 Jemma 2022-12-07 09:30:56 -0600
  • 8975e6243a
    Merge pull request #13 from PretendoNetwork/dependabot/npm_and_yarn/qs-6.5.3 Jemma 2022-12-07 09:30:35 -0600
  • 2af92d5908
    Bump qs from 6.5.2 to 6.5.3 dependabot[bot] 2022-12-07 15:29:13 +0000
  • 2ed94634eb updated post body filter Jemma Poffinbarger 2022-11-19 21:11:07 -0600
  • f3aba68423 Updated auth flow to properly route discovery traffic when the user is signed in Jemma Poffinbarger 2022-11-19 14:34:05 -0600
  • 57a7c698fc Added filter to prevent invalid characters from showing up in the body of API responses CaramelKat 2022-10-03 21:30:26 -0500
  • ec9664d125 Updated to support removed post flag. updated title id's variable for topics and posts requests CaramelKat 2022-09-19 21:36:17 -0500
  • dae68dfc67 Fixed post ID's not working in WaraWara. Added status endpoint to check server status Jemma Poffinbarger 2022-09-17 19:52:43 -0500
  • a33b30af63 Updated auth to let discovery work without a param pack. Began implemented users endpoint. Added missing parameters to the message object Jemma Poffinbarger 2022-09-17 17:35:49 -0500