aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-05-27random random debug things and optimize leaderboardsmat
optimize leaderboards by fetching all the raw ones at the beginning
2021-05-27make leaderboards send less requestsmat
2021-05-27increase max in basicPlayerCache hopefully it doesn't use too much rammat
2021-05-27disable "fast" mode for leaderboardsmat
2021-05-27log profile in fetchProfileUuid cache missmat
2021-05-27Profile customization (#46)mat
* add basic discord auth * add uuid dependency * add lastUpdated to sessions * add route to get session from id * add accounts collection * update build * add gm rank * add `customization` url parameter * add customization parameter to /player/:user * add route to get info from discord id * remove a console.log * Update database.js * Update package.json * fix tests * change mainSiteUrl
2021-05-27Profile customization (#45)mat
* add basic discord auth * add uuid dependency * add lastUpdated to sessions * add route to get session from id * add accounts collection * update build * add gm rank * add `customization` url parameter * add customization parameter to /player/:user * add route to get info from discord id * remove a console.log * Update database.js * Update package.json * fix tests
2021-05-26replace a rank thing with switch statementmat
2021-05-25add LRUCache for basicPlayerCachemat
2021-05-25remove debug stuffmat
2021-05-24add cachedRawLeaderboards size to debugmat
2021-05-24remove first_join from CleanPlayermat
we *probably* don't need it
2021-05-24more debug stuffmat
2021-05-24add temporary debug thingmat
2021-05-24Revert "disable leaderboards"mat
This reverts commit 17866766304a9049dda716a21d94bcd4803980a7.
2021-05-24Revert "enable raw leaderboard cache again"mat
This reverts commit b33fbf90a8c7df808ee88ac2b38782fcfe93f224.
2021-05-24enable raw leaderboard cache againmat
2021-05-24disable leaderboardsmat
2021-05-19add gm rankmat
2021-05-10decrease memory usemat
2021-05-09Revert "temp debug stuff"mat
This reverts commit 58807d12eefe264e817d8dc4b7075dbb25e4c2d2.
2021-05-09temp debug stuffmat
2021-05-02remove a console.logmat
2021-05-02add `/constants` api to get max minions and fairy souls (#21)mat
2021-05-01remove console.logmat
2021-05-01Show minions that haven't been unlocked in response (#20)mat
* add minions that haven't been unlocked yet to response, and slightly optimize constants * remove most console.logs with console.debugs * mock constants
2021-04-30add "basic" url parameter to /player/<user>mat
2021-04-29rename minion_count to unique_minionsmat
2021-04-28remove some debug stuffmat
2021-04-27Add minion_count leaderboard (#15)mat
* add minion count leaderboard * fix error that happens sometimes * Update index.js
2021-04-27Total leaderboards leaderboard (#13)mat
* add leaderboards leaderboard * slightly optimize fetchPlayer to not unnecessarily fetch the same player twice * Compiled TS into JS * fix errors with fetch * fix random bugs that made people disappear from leaderboards * Update hypixelCached.js
2021-04-27Add unit tests (#12)mat
* start adding unit tests * add more to test/data/mojang.json * fix sending http requests in tests when it shouldn't * add a few more tests * try to add a github action to run tests * Update test.yml
2021-04-17add head_texture to itemsmat
2021-04-16wait 30 seconds and retry on endpoint disabledmat
2021-04-16fix error that happens sometimesmat
2021-04-16retry on throttlemat
2021-04-14make cf-connecting-ip lowercasemat
2021-04-14revert change that makes leaderboards update slowlymat
2021-04-14Total leaderboards leaderboard working (#6)mat
* add leaderboards leaderboard * slightly optimize fetchPlayer to not unnecessarily fetch the same player twice * Compiled TS into JS * fix errors with fetch * fix random bugs that made people disappear from leaderboards
2021-04-14Revert "Total leaderboards leaderboard (#5)"mat
This reverts commit 0e5887326f1ba1f8005ca0bd217c5b332a1fb6cf.
2021-04-14Total leaderboards leaderboard (#5)mat
* add leaderboards leaderboard * slightly optimize fetchPlayer to not unnecessarily fetch the same player twice * Compiled TS into JS * fix errors with fetch
2021-04-13change max slayer level to 5mat
2021-04-13Slayer leaderboard (#4)mat
* add slayers to constants * Compiled TS into JS * change units to also show up when only changing one constant item * Compiled TS into JS * add slayer leaderboards * remove debugging stuff
2021-04-09fix people not being added to small leaderboardsmat
2021-04-08change how stats are sent to allow for extra infomat
2021-04-08add Access-Control-Allow-Origin * and change ratelimit to be strictermat
2021-04-08debug=falsemat
2021-04-08add member leaderboard spots apimat
2021-04-08add more debug stuffmat
2021-03-24completely replace ashcon with mojangmat