* chore: cleanup .gitignore
- remove unused /typings, not using typescript
- remove .next as this is not using next.js
+ add editors to ignore file
+ add exceptions for more .env files, .env.local, etc.
+ seperate lockfiles and add yarn lockfile
* feat(package.json): add dev command
* feat: better error handling 1/4
+ add status codes to all of the errors.
? I understand this is similar to robtop so I didn't change any of the very cryptic responses, i.e. -1, -2, -3.
* feat: cleanup unused params & add status codes
* chore(servers.json): remove weird space in json
* feat: final status codes
* fix(leaderboard): fix comment for private server
* fix(merge): merge on 7da5632
* revert: revert icon.js
- 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
- 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
- added an optional col3 to icon kit
- added an options menu to the icon kit
- added a random button to the icon kit
- added a proper popup for the icon kit's 'steal icon' button
- redid the buttons on the icon kit
- tripled icon cache duration
- rewrote and minified the XOR class
- idk some other fun stuff
I'M ALIVE!!!!!
- Added account and player ID to profile page
- You can now search players by account ID. (It should figure it out automatically)
- Moved profile post button to the bottom left of profile page and put the uploaded levels button back where it belongs
- Added GD version to level info
- Added support for regular mod badge in comments ("modColor" is now "moderator" in API)
- IP address is now randomized when posting a comment, because it seems to be the best method
- Added fetching, reading, deleting and sending messages to the API. Interface eventually^tm
- Hopefully fixed comments posted through the site looking out of place in vanilla GD
- Renamed app.modules to app.run
- Added subfolders to /api for neatness
- Removed Herobrine
I've started work on making GDBrowser compatible with GD private servers :D
Currently a few things (comments, leaderboards, etc) are broken but other than that I'm kind of getting there.
This commit mostly just makes life easier for people who want to fork GDBrowser for their private server
- The endpoint (e.g. boomlings.com) is now set in index.js
- Added gdpsConfig.js, where you can tweak small settings in case your GDPS does stuff weirdly
- Small tweaks to the code so the weird GDPS responses can be correctly interpreted
- secretStuff.json is no longer mandatory
If you're able to help me out with this project, PRs are appreciated :D
- Removed Herobrine
- Improved error handling (if err || !body || body == -1)
- Added list of text objects to analysis API (not on actual page, debating whether or not to even do that)
- Accounts with 65535 diamonds (integer limit) now display as '65535+'
- Modules are now required BEFORE exports
- Added object count to level analysis
- Added option to hide duplicate portals in analysis
- Removed LOADMODULES.js because it's gross