Commit graph

29 commits

Author SHA1 Message Date
GDColon
2eaa3ee88b jhghlkjdhfoysdnlsiafhoyushfsidf 2022-02-06 19:18:45 -05:00
Colon
8e078817d8 Global leaderboard searching + Player class 2021-12-29 11:02:34 -06:00
GDColon
74789ef5da RGB codes for icon responses 2021-12-19 23:23:50 -05:00
Colon
c6683bd658 Minor error rework + last page button on search 2021-12-07 14:14:56 -05:00
Matt
a37125ed59
Better error handling + general cleanup (#182)
* 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
2021-12-07 14:06:33 -05:00
GDColon
ec4ab82eda Better server error handling
RobTop finally got https lets goo
2021-08-18 20:10:35 -04:00
Colon
0b1437dcc4 feeling cute, might open gdps submissions uwu 2021-08-01 19:22:35 -04:00
Colon
b7e1c92d55 Fixed offline profiles 2021-01-29 23:12:48 -05:00
GDColon
de053955e8 Custom demon lists + Better account caching 2021-01-21 17:15:31 -05:00
GDColon
c662f26698 HE WILL NEVER ADD PRIVATE SERVERS TO GDBROWSER
holy shit this is probably my biggest update yet
2021-01-18 21:54:18 -05:00
Colon
46e03b1932 Fixed broken lists and more GDPS stuff 2021-01-17 00:05:06 -05:00
GDColon
45a8ab134b More GDPS improvements + Better gauntlets 2021-01-15 10:29:46 -05:00
GDColon
87a6ae8eaa GDPS bugfixes and improvements 2021-01-14 18:18:19 -05:00
GDColon
0b5363bed9 Icon kit overhaul!
- 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
2020-11-26 16:04:42 -05:00
GDColon
8768afa90e it's the beginning of the end
rob added strict rate limits, everyone  h*cking panic
2020-11-12 20:32:15 -05:00
GDColon
f9f2cbf06b INSANE optimizations (+ more rate limit stuff for rob)
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
2020-11-07 19:20:44 -05:00
GDColon
2e6f104501 Added IP forwarded for my boy Rob 2020-11-01 15:29:32 -05:00
GDColon
d343d6c651 Numbers are now actually numbers 2020-10-02 14:33:24 -04:00
GDColon
1884d58e46 GDPS improvements, comment jumping, + more
- 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
2020-09-29 21:42:18 -04:00
GDColon
351f1c0ad8 Lots of QOL + Icon Kit improvements
- 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
2020-09-22 18:37:21 -04:00
Colon
eaca3a393b haha we got ip banned
- added rate limiting
- added panic mode
2020-09-10 09:02:40 -04:00
GDColon
9401c2f820 【 ~ colors ~ 】
added special color if you have >100k stars, max diamonds, or max coins
2020-04-23 00:56:19 -04:00
GDColon
07e66fec26 Profile improvements, level versions, mod badges, oh my!
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
2020-02-20 20:09:40 -05:00
Colon
cf6bc46304 Messages + Big boy improvements
- 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
2019-12-25 16:20:32 -05:00
GDColon
252e3f3b05 GDPS Compatibility (kinda)
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
2019-12-21 22:16:18 -05:00
GDColon
4695e56507 Fixed character codes displaying in places 2019-11-16 22:56:45 -05:00
GDColon
58faaccc58 Error handling + quality of life changes
- 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+'
2019-11-10 16:18:52 -05:00
GDColon
30be2d1d61 More analysis features + optimizations
- 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
2019-10-16 18:47:53 -04:00
GDColon
c6ec922809 I've officially fallen down the rabbit hole that is GitHub
First commit, baby! Maybe I should Google what that means.
2019-10-15 22:42:47 -04:00