aboutsummaryrefslogtreecommitdiff
path: root/build/database.js
AgeCommit message (Collapse)Author
2021-05-30disable leaderboards again :trollface:mat
2021-05-29only cache raw leaderboardsmat
2021-05-28add more useful stuff to indexmat
2021-05-28Don't fetch leaderboards multiple times when they're already being fetched (#47)mat
2021-05-28increase interval for updating leaderboardsmat
2021-05-27fix some bugs with it loading forevermat
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-27disable "fast" mode for leaderboardsmat
2021-05-27log profile in fetchProfileUuid cache missmat
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-25Compiled TS into JSmat-1
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-10decrease memory usemat
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-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-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-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-08Compiled TS into JSmat-1
2021-04-08Compiled TS into JSmat-1
2021-03-01change concurrent updating leaderboard members to 1mat
2021-03-01add more debug stuffmat
2021-03-01Update database.jsmat
2021-03-01Update database.jsmat
2021-03-01fix members not being added to reverse leaderboardsmat
2021-03-01Update database.jsmat
2021-03-02Compiled TS into JSmat-1
2021-03-01optimize leaderboardsmat
2021-03-01Compiled TS into JSmat-1
2021-03-01tscmat
2021-03-01Compiled TS into JSmat-1
2021-03-01Compiled TS into JSmat-1
2021-03-01Compiled TS into JSmat-1
2021-03-01Compiled TS into JSmat-1
2021-03-01Compiled TS into JSmat-1
2021-02-28Make leaderboard stuff use less memorymat
2021-02-28Compiled TS into JSmat-1
2021-02-28make /leaderboards include categoriesmat