Coder Social home page Coder Social logo

subsurfacestudios / compensationapi Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 1.45 MB

The Compensation VR Backend API, handling accounts, matchmaking, images, etc.

Home Page: https://api.compensationvr.tk

License: GNU General Public License v2.0

JavaScript 100.00%
backend backend-api restapi ugc virtual-reality websocket-server ws

compensationapi's Introduction

SubsurfaceStudios

compensationapi's People

Contributors

9021007 avatar az-raven avatar dependabot[bot] avatar redstonekasi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

compensationapi's Issues

Privacy policy update required before exception reporting can be added to production.

In order for the Exception Logging feature to automatically report errors, users must opt-in manually. The same goes for allowing us to see who submitted logs.

However, these two features require an update to the Privacy Policy (https://compensationvr.tk/legal/privacy-policy) so that we are legally allowed to collect this information without manual intervention from the user. (See WIP Section 6 - Automatic Exception Reporting).

Therefore, any addition of features relating to AER, no matter how small, cannot be merged into a non-test environment until the privacy policy is updated and USERS ARE NOTIFIED.

Documentation: Finish endpoint documentation.

This is a crucial step in supporting dedicated servers (#477) as players cannot easily modify the API without a thorough understanding of how it works.

  • Finalize where documentation should be hosted.
  • Move documentation into this repository.
  • Document all endpoints, including WebSockets and developer endpoints such as Force Pull.
  • Fully remove WSv1, it is outdated, unreliable, and inefficient.

Remove or rewrite Administrator Dashboard

administrator_dashboard.js hasn't been used in well over 6 months, and most of our database schemas are either set in stone or easy to update with the MongoDB shell. For that reason, I don't think the Administrator Dashboard is necessary anymore, and any functionality we lose by removing it can be made up for by the web dashboard.

@averyocean65 what are your thoughts on this?

Security: Thoroughly scan and audit for vulnerabilities.

After 2.1.0 this repository will likely become extremely inactive, so it is critical that the API remains secure, even in an unmaintained state. This can be somewhat assisted by a thorough audit of the entire current codebase, as well as performing any necessary updates to dependencies.

  • Bump all dependencies to their most recent iteration.
  • Resolve any known dependency vulnerabilities.
  • Fuzz or manually pentest all endpoints. This includes those reserved for developers and those accessible through the WebSocket system.

All: Finish dedicated server support.

2.1.0 will contain dedicated server support for Compensation Social. For this reason, the API and its supporting code needs to be cleaned up and improved such that outside parties can easily modify it to suit their needs. This will become especially important if/when the main Compensation API is shut down.

  • Resolve security & authentication concerns associated with exposing Photon data.
  • Implement a Photon custom authentication system.
  • Improve configuration options and clean up some keys to be more consistent.
  • Improve code maintainability.
    • Place comments throughout code.
    • Document functions with JSDoc.
    • Finish documentation of all endpoints, restricted or not.
  • Write a basic Dockerfile for easy self-hosting.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.