Commit graph

152 commits

Author SHA1 Message Date
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
72ffcc4947 Map packs are no longer hardcoded, THANK GOD 2020-11-02 11:16:35 -05:00
GDColon
6782ba7877 Support for custom lists!
/api/search/1,2,3,4,5,6,7,8?list
2020-11-01 23:11:37 -05:00
GDColon
2e6f104501 Added IP forwarded for my boy Rob 2020-11-01 15:29:32 -05:00
GDColon
16a1b4d491 Demon Leaderboard! 2020-10-28 21:25:13 -04:00
GDColon
c15df5d436 Deleted shitty object API, improved icon kit stuff 2020-10-21 21:09:43 -04:00
GDColon
9e8d435627 UNLEASH THE OBJECT FOLDER MOTHERFUCKERS
oops i dropped all these OBJECTS that aren't assembled correctly but who gives a shit i don't this is just for my google sheets thing
2020-10-15 22:28:07 -04:00
Colon
d56a6343ff Object building API! Whoa!
(ty figment for helping with this)
2020-10-13 10:25:07 -04:00
Colon
e08e36e7e2 Fixed stupidity 2020-10-03 22:01:14 -04:00
GDColon
d343d6c651 Numbers are now actually numbers 2020-10-02 14:33:24 -04:00
zmx
8b37d43b45
Optimize Analyze Endpoint (#111)
* 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
2020-10-01 09:09:08 -04:00
101arrowz
5bfedbd24f
made 101arrowz shut up 2020-09-30 11:25:51 -04:00
GDColon
2375d0fcac oops i broke analysis 2020-09-29 21:58:25 -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
b407f0498c LIVE COMMENTS, BABY (+ most disliked) 2020-09-28 13:05:59 -04:00
GDColon
711dbbe8b1 More sample icons + square icon improvements 2020-09-27 22:22:47 -04:00
GDColon
5bd71ea35b Added popular icons as icon kit samples 2020-09-24 22:07:53 -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
4fa705de44 Better comment color handling 2020-09-18 10:02:06 -04:00
GDColon
e24a62aa39 Added GD mode to accurate leaderboard 2020-09-16 09:25:15 -04:00
Colon
eaca3a393b haha we got ip banned
- added rate limiting
- added panic mode
2020-09-10 09:02:40 -04:00
Colon
c160395ef4 I am so, incredibly stupid
fixed swings not generating
2020-06-24 18:26:53 -04:00
Colon
16131bd26f please end my life 2020-06-22 22:07:13 -04:00
Colon
e4e6555ab2 Added UFO domes. I want to kill myself.
that was way fucking harder than it should have been
2020-06-22 21:58:33 -04:00
Colon
29f8c0b9bc Fixed broken robots/spiders with the power of hardcoding x2 2020-06-21 00:21:14 -04:00
Colon
0456a0e741 Fixed broken robots/spiders with the power of hardcoding 2020-06-20 15:49:10 -04:00
GDColon
76bc74c58c Google Sheets is now used to fetch accurate leaderboard
smjs is going to be ditching his api soon
2020-04-24 15:26:29 -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
49680812c0 Fixed demon rating not showing
It took a single "else"
2020-04-14 10:02:35 -04:00
GDColon
2bae5a5a3c Use IP for all GJP requests (requested by rob) 2020-04-10 22:04:59 -04:00
GDColon
27730bfcea More IP tweaks 2020-04-09 10:42:08 -04:00
GDColon
584320e3c8 IP changes 2020-04-08 13:08:58 -04:00
GDColon
a385bb47fe if you thought the previous commit was laughable, this one is even more so 2020-03-31 14:50:40 -04:00
GDColon
fec56bfb9c fixed the most laughable mistake possible 2020-03-31 14:46:40 -04:00
GDColon
61fc9115b7 Added size param to icon kit 2020-03-26 14:17:40 -04:00
GDColon
dbf257d047 I did an oopsie
what else is new
2020-03-21 18:51:21 -04:00
GDColon
cd600a1396 Leaderboard sorting + level data size
SMJS updated his accurate leaderboard API to allow sorting by user coins or demons. What a nice guy!

Also, level analysis now shows the size of the level in MB or KB. Thanks to ItzSwirlz for suggesting this in a PR.

Packages were updated as well.
2020-03-21 18:45:49 -04:00
GDColon
7149ff3087 Creator following + more search buttons
- You can now follow creators via their profile. Saved in localStorage
- Added buttons to search by awarded, featured, or followed
- Remade the search button images in higher quality
2020-03-13 21:07:54 -04:00
GDColon
80c24cf493 i'm kinda retarded 2020-02-27 23:35:42 -05:00
GDColon
04aee60f8a Fixed verison number parsing
shoutouts to alex1304
2020-02-26 21:08:40 -05: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
WEGFan
c01d2466b3
Changed portal order percentage formula (#76) 2020-02-18 22:39:12 -05:00
GDColon
e465696754 online icon kit improvements + ip ban protection
spanish/language update coming soon^tm
2020-01-12 00:20:57 -05:00
GDColon
201ebb0daf stuff ksdjfksdjkjds 2019-12-31 18:51:08 -05:00
GDColon
451c933301 ADDED MESSAGES!!!
You can now read, write, and delete messages through GDBrowser!

Blocking and viewing sent messages have not been done yet.

Also, a message now appears if you're comment banned
2019-12-29 18:59:29 -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
Colon
b4744bc012 Added gameVersion to a few spots
Apparently they're important for private servers 🤷‍♀️
2019-12-24 20:15:00 -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
60da852534 A whole lotta hoopla
CHANGELOG:
- Profile posts! This one is long overdue but... yeah! You can now leave profile posts, and drop likes on them as well!
- Classes folder! It's a folder... for classes! Don't ask me to explain what a class is, because I'm still not sure myself
- Le Level Class has arrived! Instead of parsing level data in three different files, the level class has stepped up to do the dirty work. (thanks to memimoe for helping)
- Renamed generate.css to iconkit.css, and deleted soon.css because it's ugly
- Removed 404 redirect when trying to view an asset that doesn't exist
- Updated readme to get with the times
- Removed Herobrine
2019-12-15 19:11:35 -05:00
GDColon
d7c4fe802e Added number of pages
and removed a fucking console log i left in
2019-12-14 00:37:39 -05:00