I held back on pushing this since I wanted to wait for Rob to unblock level downloading, but it's probably gonna be a while since it's (likely) related to an unlisted level exploit
Anyways I totally overhauled how the assets work, and you can also browse through all the files by going to gdbrowser.com/assets, because why not
I also made many other changes and fixes during this timespan including the addition of the demon list, optimized custom lists along with a ?page param, and other random stuff that needed touching up
- Removed Herobrine
- Icons are now automatically generated upon selection
- Added support for custom glow
- Rearranged colors to match how they appear in GD
- Added custom colors
- Some other stuff idk
WAY less requests should be made to the servers now:
- Account IDs are now cached to save a request
- getgjusers is skipped if Account ID is provided
- User icons are cached for 5 minutes
* use unzip callback instead of unzipsync
* use indents
* move sortobj out of function
* don't use res in the function
* move some processing out of the color foreach
* remove some object iterations
* split header parse into a new function
* switch statements
* useless data assignment
* "flatten" the object id lists
* remove accidental timing thingies
* use if in
* group objects in the for loop
* return of the in
* remove requirement on app
* add the try catch
* use for loop instead of foreach
* don't parse the header with the objs
* use string
* parse object key names along with object parsing
* don't store is valid variable
* don't use splice, it breaks the next request
* create response.colors before parse
- Improved param building for GDPS'es
- Changed /profile/ to /u/
- Removed "most disliked" comment sort
- Added ability to jump to last page of comments
- Added page number and other small improvements to comment page