aboutsummaryrefslogtreecommitdiff
path: root/src/database.ts
AgeCommit message (Collapse)Author
2022-03-27Add harp leaderboardsmat
2022-03-27Add harp statsmat
2022-03-27Add petsmat
2022-03-19Squashed commit of the following:mat
commit 8de482698ce3b144a5208084299733a3951d691a Author: mat <github@matdoes.dev> Date: Sat Mar 19 19:39:21 2022 -0500 fix some issues with the typings commit e4d72e4b66c1f013dab495786041e7ce0316b0af Author: mat <github@matdoes.dev> Date: Sat Mar 19 18:04:10 2022 -0500 Fix error when there is no slayer data commit 706d044f6791272f3f4488d03884c33fc545a806 Author: mat <github@matdoes.dev> Date: Sat Mar 19 18:02:04 2022 -0500 Fix wrong interface commit d1cc698f4add94171004ca7039a452d38fa063b8 Merge: b490254 8843ccf Author: mat <github@matdoes.dev> Date: Sat Mar 19 17:54:00 2022 -0500 Merge branch 'main' into breaking commit b490254510b43ca9ef9822c661f3bfeb2e9ec7ef Author: mat <github@matdoes.dev> Date: Sat Mar 5 13:09:26 2022 -0600 change some seconds to milliseconds commit 09fc38f77faa88f7234f2496c7fd797b884cbf24 Author: mat <github@matdoes.dev> Date: Sat Mar 5 13:04:46 2022 -0600 Update README.md commit a470363ea7e7885c5c946aca9b40f73426a0e94c Author: mat <github@matdoes.dev> Date: Sat Mar 5 13:01:42 2022 -0600 Move `/leaderboard/` to `/leaderboards/` commit 012525036db62fbb97a56576f80c231b4127736d Author: mat <github@matdoes.dev> Date: Sat Mar 5 13:00:06 2022 -0600 Rename collection `xp` to `amount` commit dc8ea0588ad5357257767b37737da185e4dbffd0 Author: mat <github@matdoes.dev> Date: Sat Mar 5 12:59:20 2022 -0600 Rename visited_zones to just zones commit 6008feb15d36afd914efe98e90409327d3fc1322 Author: mat <github@matdoes.dev> Date: Sat Mar 5 12:54:15 2022 -0600 Replace all snake_case keys with camelCase
2022-03-17Automatically update user's discord ids in accountsmat
2022-03-16Add route to delete sessionmat
2022-02-21add missing things to typingsmat
2022-02-14oop accidentally broke leaderboardsmat
2022-02-13maybe fix some leaderboards hangingmat
2022-02-10fix leaderboards not loading sometimes, hopefullymat
2021-12-30change some metricsmat
2021-12-30database metricsmat
2021-12-29fix all typescript errors with mongodbmat
2021-09-12add warning for social skill leaderboardmat
2021-09-06Bump node-fetch from 2.6.1 to 3.0.0 (#116)dependabot[bot]
* Bump node-fetch from 2.6.1 to 3.0.0 Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.0.0. - [Release notes](https://github.com/node-fetch/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.0.0) --- updated-dependencies: - dependency-name: node-fetch dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix issues with node fetch 3.0 * change module to esnext instead of commonjs * fix imports and tests * fix package-lock.json Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mat <github@matdoes.dev> Co-authored-by: mat <27899617+mat-1@users.noreply.github.com>
2021-08-06don't add players to leaderboards leaderboards when they aren't on anymat
2021-08-01remove debug messagemat
2021-08-01add #1 leaderboards count leaderboardmat
2021-07-01make the code slightly prettiermat
2021-07-01delete players with no leaderboard positions from leaderboard collectionsmat
2021-06-29enable strictNullChecks and fix all related issues (#65)mat
2021-06-01add info for leaderboards_countmat
2021-06-01make new "cache" for recentlyqueuedmat
2021-06-01don't queue stuff if it's in recentlyUpdatedmat
2021-06-01lower the interval for leaderboardUpdateMemberQueue even moremat
uhhhhhh hopefully the database doesn't get too sad from this
2021-06-01decrease the queue intervals by a lotmat
2021-06-01add queue sizes to index debug datamat
2021-06-01Revert "Revert "Revert "temporarily disable leaderboard cache"""mat
This reverts commit f111a9a1db78fbfe0737661f3c9104f52d6de945.
2021-06-01Revert "Revert "temporarily disable leaderboard cache""mat
This reverts commit 0203c2bf6d645e2f0c42fc3dc839e1320ee57c84.
2021-06-01Revert "temporarily disable leaderboard cache"mat
This reverts commit ddf7ff4ab6331f70e313de29eafdcc03d67074ad.
2021-06-01temporarily disable leaderboard cachemat
i am literally going insane
2021-05-31add leaderboard infosmat
2021-05-31add memberRawLeaderboardItem and profileRawLeaderboardItemmat
these hold slightly less information and should therefore use slightly less memory, hopefully
2021-05-31removed fetching all the members in all of the leaderboardsmat
2021-05-30re-add the pre-cache for leaderboard usersmat
2021-05-30remove debug thingmat
2021-05-30i think i found out why it's using so much memory.mat
2021-05-30Revert "disable leaderboards again :trollface:"mat
This reverts commit dcccb6fa3bcfb15dcb272e47ddd87184ab84be61.
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-24add cachedRawLeaderboards size to debugmat