Commit graph

235 commits

Author SHA1 Message Date
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
Valentin Kaelin
d839eed7ad feat: filter by season now works 🎉 2020-02-01 20:17:14 +01:00
Valentin Kaelin
7beb635c80 feat: get list of played seasons for a summoner from basic endpoint 2020-02-01 17:14:33 +01:00
Valentin Kaelin
fed9cb6406 feat: add season number in matchlist 2020-02-01 15:52:56 +01:00
Valentin Kaelin
dfd0c04fe7 fix: kda issue in records tab and add season number to all matches 2020-01-25 12:33:28 +01:00
Valentin Kaelin
bd9ec8f343 feat: create ace command to edit detailed matches 2020-01-20 21:35:26 +01:00
Valentin Kaelin
d740ed7309 feat: add reload button on live game tab 2020-01-15 21:55:22 +01:00
Valentin Kaelin
b0169576c9 feat: live game tab 2020-01-14 22:04:45 +01:00
Valentin Kaelin
5ab71a0292 feat: add records tab 2020-01-12 01:31:28 +01:00
Valentin Kaelin
304ed03ace fix: check summoner friends with account_id instead of name 2020-01-08 21:16:21 +01:00
Valentin Kaelin
22ff28d6a0 fix: last played is now correct in champions tab 2020-01-08 17:49:14 +01:00
Valentin Kaelin
2d5fc1a2ae feat: add some infos about live game on overview tab 2020-01-03 22:50:09 +01:00
Valentin Kaelin
fe60e85b6a style: remove old comments and change method names 2020-01-01 16:39:54 +01:00
Valentin Kaelin
1c9e2b8d70 fix: return old matchList from db if Riot API is down 2020-01-01 16:22:40 +01:00
Valentin Kaelin
526611a517 refactor: make api call only when needed for each view 2019-12-27 18:38:43 +01:00
Valentin Kaelin
541d6395b1 feat: add select input in champions tab to change queue 2019-12-23 22:13:42 +01:00
Valentin Kaelin
e295141eb1 feat: add all champions stats 2019-12-21 17:56:31 +01:00
Valentin Kaelin
ac5b764d61 refactor: remove stats kilo notation from db 2019-12-16 21:06:56 +01:00
Valentin Kaelin
d106e84db1 feat: add arguments to created commands 2019-12-16 20:51:46 +01:00
Valentin Kaelin
46aed5a435 fix: typo in Queue provider path 2019-12-15 21:06:37 +01:00
Valentin Kaelin
1a87bea46d feat: add ace command to edit all matches with the updated transformer 2019-12-15 20:52:04 +01:00
Valentin Kaelin
4989306ba8 feat: create bee-queue provider 2019-12-15 20:51:05 +01:00
Valentin Kaelin
df1b0e0ef0 feat: add ace command to delete specific matches from the db 2019-12-15 20:50:27 +01:00
Valentin Kaelin
7f1ba47eb6 feat: add endpoint to get full champion stats (in progress) 2019-12-03 22:23:19 +01:00
Valentin Kaelin
c77b5bb05d refactor: give summoner region to JaxProvider for every call to Riot API 2019-12-02 20:41:05 +01:00
Valentin Kaelin
00e2f1f481 refactor: fetch soloQ ranks in a 2nd request in match details 2019-12-01 20:44:41 +01:00
Valentin Kaelin
c6d0cd5d4e feat: add soloQ rank of all players in match details 2019-12-01 19:17:30 +01:00
Valentin Kaelin
4fd79a5d84 feat: add redis 2019-12-01 16:20:27 +01:00
Valentin Kaelin
7ab6db8ec2 refactor: rename helpers to services and create real helper file 2019-12-01 15:20:49 +01:00
Valentin Kaelin
0a30cbe8d1 refactor: match repository queries 2019-12-01 14:38:08 +01:00
Valentin Kaelin
351ce80c77 feat: remove bots game in stats 2019-11-30 22:18:10 +01:00
Valentin Kaelin
7a199d3194 refactor: use CDragon data for everything instead of DDragon 2019-11-25 21:15:52 +01:00
Valentin Kaelin
d5394c64f8 feat: add stats for most played champions 2019-11-24 14:26:27 +01:00
Valentin Kaelin
8f19e570b7 refactor: start using Cdragon instead of DDragon
Done Endpoints: Items and Perks
2019-11-23 17:34:34 +01:00
Valentin Kaelin
a200da1a05 refactor: clean code of the Transformers 2019-11-16 17:43:55 +01:00
Valentin Kaelin
fedb4b461c feat: add hover infos for summoners' items 2019-11-14 21:22:01 +01:00
Valentin Kaelin
e59416c446 feat: add Ddragon items endpoint to Jax Provider 2019-11-14 21:21:05 +01:00
Valentin Kaelin
980e58fe57 fix: remove remake games from stats 2019-11-13 19:08:51 +01:00
Valentin Kaelin
f138db27a5 fix: remove tutorial games from history 2019-11-12 21:03:02 +01:00
Valentin Kaelin
b4a2edfd32 refactor: create a Repository to store mongo requests 2019-11-12 19:47:23 +01:00
Valentin Kaelin
ec2bdd3ae0 feat: update stats without a reload when summoner load more matches 2019-11-11 21:51:40 +01:00
Valentin Kaelin
c92cc760e4 refactor: get mates with a mongo request instead of storing them in db 2019-11-11 18:07:15 +01:00
Valentin Kaelin
33ff97a7ac feat: get stats by champion class from api 2019-11-10 20:19:04 +01:00
Valentin Kaelin
1e3e8f13da feat: add statistics by role 2019-11-08 22:04:06 +01:00
Valentin Kaelin
c78ad56a7f feat: start adding global statistics about summoner's games 2019-11-08 15:39:56 +01:00
Valentin Kaelin
5fd8800b73 feat: add bg color according to stats in match details 2019-11-06 18:46:45 +01:00
Valentin Kaelin
05f635d7d4 refactor: clean some Transformers code 2019-11-03 20:59:21 +01:00
Valentin Kaelin
cce91efb67 feat: display match details (1st version: code needs some work) 2019-11-03 18:49:58 +01:00
Valentin Kaelin
42ac3f6bcc fix: don't count remake as loss in friends winrate 2019-10-29 20:48:19 +01:00
Valentin Kaelin
0c90d1426c refactor: use a relationship between Summoner and Match in database 2019-10-26 22:52:50 +02:00
Valentin Kaelin
4aad54972e feat: add Summoner's games with friends stats 2019-10-25 23:09:33 +02:00
Valentin Kaelin
1f97d6e0d6 feat: add in game status if the summoner is playing 2019-10-22 22:59:22 +02:00
Valentin Kaelin
d698057fae fix: recursion of JaxRequest now works if we receive 500/503 2019-10-21 20:05:17 +02:00
Valentin Kaelin
668930d7ca fix: kill participation is 0% if ally team didn't make any 2019-10-21 18:24:28 +02:00
Valentin Kaelin
f13b044fc8 feat: add flex 3v3 stats + display unranked icon if summoner is unranked 2019-10-21 17:37:48 +02:00
Valentin Kaelin
3b12014eb3 refactor: get last riot patch from backend instead of manually change it 2019-10-21 15:30:48 +02:00
Valentin Kaelin
643de98fa4 fix: recursion of JaxRequest 2019-10-14 00:06:33 +02:00
Valentin Kaelin
18ccfeb21c fix: remove games made in another region if player transfered 2019-10-10 20:56:48 +02:00
Valentin Kaelin
b046adba97 feat: add Flex 5vs5 global stats 2019-10-08 21:54:32 +02:00
Valentin Kaelin
7f72112bc5 fix: add new matches to MatchList in a correct order 2019-10-06 17:31:43 +02:00
Valentin Kaelin
e09c7d59b5 feat: add button to load 10 more matches 2019-10-06 00:01:58 +02:00
Valentin Kaelin
6f13a76da4 refactor: clean code to fetch matches details 2019-10-05 20:01:01 +02:00
Valentin Kaelin
a8b4fef901 refactor: clean some more code for MatchList 2019-10-04 22:29:43 +02:00
Valentin Kaelin
ac00801d9f refactor: clean some code for MatchList results 2019-10-03 21:52:36 +02:00
Valentin Kaelin
ba8c05fbe8 feat: add MatchList in db (started Summoner Collection) 2019-10-01 21:39:26 +02:00
Valentin Kaelin
7e93dcd311 fix: order of the matches is correct again 2019-09-30 19:50:13 +02:00
Valentin Kaelin
4f13d8400e refactor: transform matches data to store in db only useful data 2019-09-29 18:06:54 +02:00
Valentin Kaelin
68d15872ce fix: oopsie 2019-09-26 21:22:45 +02:00
Valentin Kaelin
84f7304c23 fix: improve JaxRequest wrapper 2019-09-26 21:20:27 +02:00
Valentin Kaelin
c442d3ac1f refactor: start the new design of the matches 2019-09-16 21:20:48 +02:00
Valentin Kaelin
db939459a0 refactor: change RiotLimiter strategy according to environment 2019-09-13 18:25:33 +02:00
Valentin Kaelin
5b964f14ba (refactor): create a ServiceProvider for the Jax wrapper 2019-09-11 20:19:15 +02:00
Valentin Kaelin
9cc044ec13 Use Adonis instead of Express for the API 2019-09-11 09:06:21 +02:00
Valentin Kaelin
0aba0954e4 Fix the region changes with the new Jax wrapper 2019-09-09 18:14:15 +02:00
Valentin Kaelin
531587566f Add new domain name to CORS rules 2019-09-06 18:15:18 +02:00
Valentin Kaelin
932a8e568e Make the Jax wrapper a little easier to use 2019-09-04 20:11:16 +02:00
Valentin Kaelin
1c1dc49c69 Fix: check summoner name server side to prevent Firefox error 2019-09-03 19:56:41 +02:00
Valentin Kaelin
afd1b0d8f3 Use Jax wrapper to get League / Matches info 2019-09-01 14:53:03 +02:00
Valentin Kaelin
312f7bb1a1 Use Jax wrapper to get summoners basic info 2019-08-31 19:45:37 +02:00
Valentin Kaelin
37c4315a06 Start DDragon Endpoints with the Jax wrapper 2019-08-31 18:42:08 +02:00
Valentin Kaelin
4ff8a52d05 Compile code with Babel on production 2019-08-31 16:26:48 +02:00
Valentin Kaelin
acecc8a71c Change the Backend NodeJs API server 2019-08-28 21:26:42 +02:00
Valentin Kaelin
b552c5ccee Send an object instead of array for the JSON response 2019-08-27 22:17:16 +02:00
Valentin Kaelin
3683776e24 Start Jax: Riot Api Wrapper 2019-08-24 16:56:55 +02:00
Valentin Kaelin
b8ec9ca80f Add babel to the NodeJS app 2019-08-24 13:56:44 +02:00
Valentin Kaelin
1846f84491 Remove Flex 3v3 stats and tmp file from Riot application 2019-08-23 00:57:06 +02:00
Valentin Kaelin
1ff6f6f5e6 First "working" version of the RecentActivity grid
Only last 100 matches are displayed
2019-08-20 22:42:11 +02:00
Valentin Kaelin
103656f094 Start RecentActivity component 🤯 2019-08-20 00:08:13 +02:00
Valentin Kaelin
1b674f13fb Async background load on homepage 2019-08-19 14:49:20 +02:00
Valentin Kaelin
6c59784a2b Add CORS package in production 2019-08-19 13:32:30 +02:00
Valentin Kaelin
0ed02ed86f Setup CORS for Netlify 2019-08-19 13:18:06 +02:00
Valentin Kaelin
5eb7c96000 Update packages and League current patch 2019-08-16 19:03:57 +02:00
Valentin Kaelin
0a1f6a21fe Small fixes and update League patch 2019-06-21 19:51:26 +02:00
Valentin Kaelin
2533c73660 New endpoint of Riot API 2019-06-21 19:01:27 +02:00
Valentin Kaelin
fa801db48c Remove useless files 2019-06-19 22:12:10 +02:00
Valentin Kaelin
c49137c5f5 Update packages 2019-06-19 22:12:01 +02:00
Valentin Kaelin
c623a02cd0 Update all packages 2019-05-17 23:29:17 +02:00
Valentin Kaelin
e87af94a0d Add response-time package 2019-05-17 23:09:48 +02:00
Valentin Kaelin
60fc3bd74e Remove unused code and polish SearchForm 2019-04-18 21:33:49 +09:00
Valentin Kaelin
723a7d2c63 Add the possibility to change Region 2019-04-08 22:06:22 +02:00
Valentin Kaelin
bc2f551a03 Starting regions list 2019-04-07 19:44:01 +02:00
Valentin Kaelin
0ad9788941 Replace some old syntax 2019-04-05 22:41:32 +02:00
Valentin Kaelin
2a12c38ab2 Work on responsive and add loading animation 2019-04-04 22:29:37 +02:00
Valentin Kaelin
c26b7a2191 Fix PurgeCSS, fix backend, use localStorage 2019-03-31 20:56:48 +02:00
Valentin Kaelin
cc630f002b Starting with Vue 2019-03-30 23:55:48 +01:00