This PR will hopefully close #12 , as of the first commit the backend logic is based from mii-upload.js, and has not been tested. What's left to do is to:
Figure out a way to display the custom background preview on the RiiTag panel
Make a button in the backgrounds tab to upload a custom background that then calls the uploadBackground function of the newly created background-upload.js
Somehow come up with a way to let others use someone else's backgrounds
Delete unused custom backgrounds after a while for storage precautions
Come up with a moderation system for the backgrounds to require manual approval by RiiConnect24 staff
Sanitize the image uploads to avoid potential threat actors from exploiting the upload system
Automatically make user images compatible (images must be 1200x450, be under 2MBs, not have already been uploaded, etcetera)
This will take a while to fully complete, and I lack any experience with jsx or the frontend part of RiiTag. Suggestions, observations, or additions are more than welcome.
This PR will hopefully close #12 , as of the first commit the backend logic is based from mii-upload.js, and has not been tested. What's left to do is to: