Commit graph

254 commits

Author SHA1 Message Date
dependabot[bot]
e9ad861813
chore(deps): bump validator from 13.6.0 to 13.7.0 in /server
Bumps [validator](https://github.com/validatorjs/validator.js) from 13.6.0 to 13.7.0.
- [Release notes](https://github.com/validatorjs/validator.js/releases)
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/validatorjs/validator.js/compare/13.6.0...13.7.0)

---
updated-dependencies:
- dependency-name: validator
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-01 22:18:57 +00:00
Valentin Kaelin
74379e399e fix: eol of package-lock.json... 2022-02-01 23:18:01 +01:00
Valentin Kaelin
78e37714be refactor: use queue/jobs to load entire matchlist 2022-02-01 23:16:58 +01:00
Valentin Kaelin
b2dc4c28d1 refactor: don't pass entire matchlist to frontend anymore 2022-02-01 21:38:19 +01:00
Valentin Kaelin
87972e4f4d refactor(api): cleaner way to filter next matchIds to fetch 2022-02-01 00:13:44 +01:00
Valentin Kaelin
9af2dd90c3 fix: load more matches when season is selected now works again 2022-01-31 23:03:08 +01:00
Valentin Kaelin
4811f95aa0 refactor: use db transactions when inserting matches to prevent errors 2022-01-30 18:01:05 +01:00
Valentin Kaelin
5c79f04563 feat(champions): add filter by gamemode back 2022-01-08 00:55:50 +01:00
Valentin Kaelin
80534a5ca3 feat: add filter by season back 2022-01-08 00:16:49 +01:00
Valentin Kaelin
72cbc916bc fix(api): check if we have ranks to save to db 2022-01-07 12:52:36 +01:00
Valentin Kaelin
aff325f22c feat: add season 12 timestamp 2022-01-07 12:32:59 +01:00
Kalane
e07ae8f359 feat: add role identification in spellbook games 2021-12-11 19:30:04 +01:00
Kalane
cdfdb814ca refactor: don't store summonerSpell json in frontend anymore 2021-12-11 19:24:10 +01:00
Valentin Kaelin
c7af59466a fix: x2 2021-10-06 13:48:58 +02:00
Valentin Kaelin
6ae820c67f fix: I'm a dumbo 2021-10-06 13:48:19 +02:00
Valentin Kaelin
9087dbfa52 fix: gameDuration from Riot API is now in seconds... 2021-10-06 13:45:35 +02:00
Kalane
0754df95bb Merge remote-tracking branch 'origin/master' 2021-09-29 22:28:39 +02:00
Kalane
6c5e09d67d fix(live-game): don't crash when Riot API doesn't give any perks... 2021-09-29 22:28:35 +02:00
Valentin Kaelin
398ecfe7ae Merge branch 'master' of https://github.com/vkaelin/LeagueStats 2021-09-28 11:15:35 +02:00
Valentin Kaelin
f535fdc6d7 fix: limit recentActivity query results to last 105 days 2021-09-28 11:15:15 +02:00
Kalane
e2732cbed4 fix: oopsie 2021-09-24 22:27:59 +02:00
Kalane
6c7faa40a9 feat: add some console.time to check what's taking time sometimes 2021-09-24 22:25:28 +02:00
Valentin Kaelin
f343992ee6 fix: update summoner_names length in DB 2021-09-22 15:59:41 +02:00
Valentin Kaelin
fc9a87e610 refactor: don't load relations in V4Parser 2021-09-22 15:56:46 +02:00
Kalane
c437bcaaf8 style(api): ts-ignore known error 2021-09-20 21:18:32 +02:00
Kalane
e4d8ca5873 docs: little update on the README (will need more tweaks) 2021-09-20 19:57:50 +02:00
Kalane
93f23a0d33 feat: delete old server folder + rename new one 2021-09-20 19:20:51 +02:00
Kalane
d82285050f feat: start migrations 2021-09-12 15:16:08 +02:00
Kalane
d8333e8163 chore: add adonis boilerplate with lucid + redis packages 2021-09-11 15:05:58 +02:00
Kalane
cd6a62bcbf chore: add the start of the SQL diagram 2021-09-11 14:10:36 +02:00
Kalane
c24b4fd161 feat: helper to get currentSeason 2021-09-11 14:09:10 +02:00
Kalane
5cd0837815 feat: ugly working version: need to work with old matchLists too 2021-08-11 00:12:17 +02:00
Kalane
41d363b981 refactor(server): start slowly the migration to v5 2021-08-07 22:52:54 +02:00
Valentin Kaelin
9a886165ff fix(api): if Riot League endpoint is down: prevent crashing 2021-07-25 22:37:08 +02:00
dependabot[bot]
b49804eb78
chore(deps): bump normalize-url from 4.5.0 to 4.5.1 in /server
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 00:18:54 +00:00
Valentin Kaelin
e6cd4d340b fix(api): update bodyparser config to adonis 5 2021-05-22 18:23:38 +02:00
Valentin Kaelin
4b645ff65e chore(api): update adonis to out of preview version 2021-05-22 17:23:45 +02:00
Valentin Kaelin
8d3c777c1b fix: be able to search summoners with 2 letters and a space 2021-05-22 16:56:35 +02:00
Valentin Kaelin
a2fdea3f17 fix(roles): add RoleIdentification back 2021-05-19 19:31:20 +02:00
Valentin Kaelin
1a9555ebcb fix(roles): tmp fix while playrates CDN is broken 2021-05-15 18:07:58 +02:00
dependabot[bot]
0d69f16170
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /server
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 13:57:50 +00:00
Valentin Kaelin
e08c4ec181
Merge pull request #25 from vkaelin/dependabot/npm_and_yarn/server/lodash-4.17.21
chore(deps): bump lodash from 4.17.20 to 4.17.21 in /server
2021-05-08 15:56:17 +02:00
Valentin Kaelin
2f92b84426 feat(live-tab): add roles in custom games too 2021-05-08 15:53:27 +02:00
dependabot[bot]
c5d291fd29
chore(deps): bump lodash from 4.17.20 to 4.17.21 in /server
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 12:44:54 +00:00
Valentin Kaelin
7315c177a4 chore(api): update dependencies 2021-03-15 21:29:36 +01:00
Valentin Kaelin
e3b5aec70c refactor: get players' ranks with their summonerId instead of names 2021-03-13 22:36:48 +01:00
Valentin Kaelin
bef20bc6fd chore: update dependencies 2021-03-03 21:42:57 +01:00
Valentin Kaelin
ae0e5ea1bc feat: add season 11 timestamp 2021-01-08 10:17:14 +01:00
Valentin Kaelin
bf05f12829 feat: first "working" version of detailed runes 2020-12-18 23:02:20 +01:00
Valentin Kaelin
69373c42ea fix: remove tutorial games from repository queries 2020-12-18 16:50:37 +01:00
Valentin Kaelin
01f7437461 feat(api): add cdragon/runes endpoint 2020-12-17 22:46:53 +01:00
Valentin Kaelin
5fad14e3af fix(more-matches): update the sidebar with the season filter applied 2020-11-14 18:47:17 +01:00
Valentin Kaelin
ec9930296d feat: add preseason 11 timestamp 2020-11-13 21:54:29 +01:00
Valentin Kaelin
acb496c93c fix(tmp): prevent crashes by hiding deleted items 2020-11-13 19:59:17 +01:00
Valentin Kaelin
f869e5b12c refactor(api): some more little tweaks to update adonis boilerplate 2020-11-06 21:58:40 +01:00
Valentin Kaelin
6f63d67be0 refactor: update Adonis to last October update 2020-11-06 21:43:35 +01:00
Valentin Kaelin
dda6fc3328 fix(jax): destructuring the right key when error happens 2020-10-18 15:24:35 +02:00
Valentin Kaelin
0df33663a8 fix: fix uppercase on linux 2020-10-18 01:09:58 +02:00
Valentin Kaelin
534a0983a8 fix: little fix 2020-10-18 01:08:54 +02:00
Valentin Kaelin
75894b3025 chore: delete old server folder and rename new one 2020-10-17 15:45:12 +02:00
Valentin Kaelin
1288ae8b27 fix(role-identification): temporary fix to prevent some crash 2020-10-07 17:20:05 +02:00
Valentin Kaelin
b21c7ff416 refactor: retry cdragon requests if it fails 2020-09-29 18:41:13 +02:00
Valentin Kaelin
e73b231db2 fix(role-identification): better fix to remove duplicate 2020-09-29 18:02:44 +02:00
Valentin Kaelin
dc6b7617d3 fix: ... 2020-09-28 20:10:44 +02:00
Valentin Kaelin
b936f0f111 fix(role-identification): tmp fix while looking for the real bug 2020-09-28 20:01:53 +02:00
Valentin Kaelin
e6e8716ff1 fix(match-details): error in dmg to objectives when all team had 0 dmg 2020-09-26 21:38:32 +02:00
Valentin Kaelin
90cd80892f
Merge pull request #13 from vkaelin/dependabot/npm_and_yarn/server/acorn-7.4.0
chore(deps): bump acorn from 7.0.0 to 7.4.0 in /server
2020-09-25 18:59:10 +02:00
Valentin Kaelin
3ce5429928
Merge pull request #10 from vkaelin/dependabot/npm_and_yarn/server/lodash-4.17.19
chore(deps): bump lodash from 4.17.15 to 4.17.19 in /server
2020-09-25 18:58:26 +02:00
Valentin Kaelin
676ad6f20d feat(records): display gamemode name 2020-08-28 14:01:43 +02:00
Valentin Kaelin
071a18596f chore(commands): only edit matches of a specific summoner 2020-08-28 12:22:22 +02:00
Valentin Kaelin
289ad7af2f feat(records): add some new records 2020-08-28 12:09:28 +02:00
dependabot[bot]
01a1990929
chore(deps): bump acorn from 7.0.0 to 7.4.0 in /server
Bumps [acorn](https://github.com/acornjs/acorn) from 7.0.0 to 7.4.0.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.0.0...7.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-11 13:18:15 +00:00
dependabot[bot]
e39be680c7
chore(deps): bump lodash from 4.17.15 to 4.17.19 in /server
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-11 13:18:12 +00:00
Valentin Kaelin
75f2bdb466 chore: bump deps 2020-08-11 15:17:14 +02:00
Valentin Kaelin
abab481f8d fix: log summoner puuid when riot match endpoint returns a 404 2020-07-23 23:47:03 +02:00
Valentin Kaelin
16a8f2503a fix: set champion playrate to 0 if not present in the json data 2020-07-23 22:49:14 +02:00
Valentin Kaelin
7bbf5edb4a feat: set player role to support if 1 player in the team has a supp item 2020-06-25 14:05:44 +02:00
Valentin Kaelin
5bf24d540a feat: better highlight of searched summoner name in matches 2020-06-21 21:23:09 +02:00
Valentin Kaelin
46d2903340 refactor: use getSeasonNumber helper in MatchTransformer 2020-06-21 21:16:13 +02:00
Valentin Kaelin
c16974fcfb feat: use custom RoleIdentification if Riot roles are badly identified 2020-06-21 20:58:04 +02:00
Valentin Kaelin
335fe5c4a6 feat: display old summoner names on actual summoner name hover 2020-06-20 19:46:25 +02:00
Valentin Kaelin
60cba28076 fix: check if roles needed in live game tab 2020-06-17 21:22:23 +02:00
Valentin Kaelin
30301e7cd2 fix: add summoner roles only to specific gamemodes 2020-06-16 21:36:39 +02:00
Valentin Kaelin
9552d2b103 fix: remove useless log when summoner doesn't exist 2020-06-14 20:11:24 +02:00
Valentin Kaelin
609dfcc9d0 fix: retry api calls to riot if we receive a 504 error 2020-06-14 12:29:21 +02:00
Valentin Kaelin
e0adc777e0 refactor: better error logging in JaxRequest 2020-06-13 23:24:08 +02:00
Valentin Kaelin
b335b53869 feat: set summoner role to jungle in live tab if he has a smite 2020-06-12 23:58:09 +02:00
Valentin Kaelin
93a46d3a9e feat: add identified roles in live game tab 2020-06-12 17:45:16 +02:00
Valentin Kaelin
8b73271823 fix: check if player has perks in live game tab (riot api invalid data) 2020-06-11 20:46:55 +02:00
Valentin Kaelin
937c2368bd chore: add alias to run adonis dev server 2020-06-11 20:25:26 +02:00
Valentin Kaelin
331994612b fix: remove cache on matchlist 2020-05-09 21:01:52 +02:00
Valentin Kaelin
ae6b67edcf refactor: add redis cache in Riot API wrapper (Jax) 2020-04-26 20:07:17 +02:00
Valentin Kaelin
c88e43ee4a fix: add some console.time to check which mongo query is slow 2020-04-04 23:33:29 +02:00
Valentin Kaelin
a573a7411e feat: add "new" tag if first load of the match 2020-04-01 14:14:03 +02:00
Valentin Kaelin
897055b189 fix: sorted some queries results (champions/mates) 2020-03-22 17:52:35 +01:00
Valentin Kaelin
81becdf390 chore: update api dependencies 2020-02-14 22:58:04 +01:00
Valentin Kaelin
8e8a72e262 refactor: rename api endpoints 2020-02-13 20:30:26 +01:00
Valentin Kaelin
47e255c64a refactor: remove old ddragon code 2020-02-13 20:24:17 +01:00
Valentin Kaelin
f06563cfed chore: add redis connection settings to env file 2020-02-10 21:11:29 +01:00
Valentin Kaelin
44ce31e4b4 fix: strange bug when perks secondary style was missing 2020-02-06 20:05:14 +01:00