aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
AgeCommit message (Collapse)Author
2022-05-17improve caching logicmat
2022-05-17remove some debug console.logsmat
2022-05-17add auctionitems endpointmat
2022-05-17improve auctions apimat
2022-05-15add very basic auctionprices endpointmat
2022-04-10Do more stuff concurrently and add lazy mode to ↵mat
/player/:user/:profile/leaderboards
2022-04-10Disable debugmat
2022-04-10Cache usernames and ranks in leaderboards in dbmat
2022-04-01sort leaderboards in profilemat
2022-03-28add item listmat
2022-03-19Bump @types/lru-cache from 5.1.1 to 7.4.0 (#217)dependabot[bot]
* Bump @types/lru-cache from 5.1.1 to 7.4.0 Bumps [@types/lru-cache](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lru-cache) from 5.1.1 to 7.4.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lru-cache) --- updated-dependencies: - dependency-name: "@types/lru-cache" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Fix code to be compatible with new lru cache 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>
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-17allow passing redirect uri as a parametermat
i sure hope this doesn't result in any security vulnerabilities!
2022-03-17log more stuffmat
2022-03-17log discord error when creating sessionmat
2022-03-16cors is cringemat
2022-03-16Add route to delete sessionmat
2022-02-12Election APImat
2021-12-30database metricsmat
2021-12-30metrics is only allowed from localhostmat
2021-12-30Update index.tsmat
2021-12-30fix indexmat
2021-12-30remove build foldermat
2021-12-30Revert "Revert "add prom-client""mat
This reverts commit 6ef961dffc700af1929ccaa514df75c476485d38.
2021-12-30Revert "add prom-client"mat
This reverts commit 454a647a8d80e9308e74768e4b48cc6710d2e748.
2021-12-30add prom-clientmat
2021-12-29Revert "add prom-client"mat
This reverts commit 4ead6ecb87aa07d43ade3ab859d2052f3da3fe12.
2021-12-29add prom-clientmat
2021-10-03attempt to fix memory leakmat
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-06-29enable strictNullChecks and fix all related issues (#65)mat
2021-06-02actually 404 when something isn't foundmat
2021-06-02remove returning key usagemat
2021-06-01add key usage info to indexmat
2021-06-01add queue sizes to index debug datamat
2021-06-01temporarily disable fetchMemberLeaderboardSpotsmat
2021-05-31removed fetching all the members in all of the leaderboardsmat
2021-05-30do more things to maybe prevent random crashes???mat
2021-05-29add more try catchesmat
2021-05-28add more useful stuff to indexmat
2021-05-28add more stuff to index routemat
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-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-09Revert "temp debug stuff"mat
This reverts commit 58807d12eefe264e817d8dc4b7075dbb25e4c2d2.
2021-05-09temp debug stuffmat
2021-05-02add `/constants` api to get max minions and fairy souls (#21)mat
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