Commit graph

124 commits

Author SHA1 Message Date
Jack 1cfb8bedac changed the max number of characters to 14 2020-07-26 15:20:49 +01:00
Jack 7f3acbb8f3 not giving role if not verified 2020-07-24 15:01:53 +01:00
Jack 0abea4f9d4
Merge pull request #201 from Miodec/dependabot/npm_and_yarn/functions/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19 in /functions
2020-07-23 13:12:36 +01:00
Jack b101400152 comment 2020-07-22 23:27:16 +01:00
Jack 676fa27891 more invalid usernames 2020-07-22 14:42:15 +01:00
Jack 7c2dca89c9 checking if user is verified before checking lb 2020-07-21 22:50:22 +01:00
dependabot[bot] 654f811b57
Bump lodash from 4.17.15 to 4.17.19 in /functions
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-07-21 00:05:16 +00:00
Jack 1d579a2ed7 showing full stats for time 15 and 60 2020-07-20 21:46:38 +01:00
Jack bdde779cd4 fixed a bug where new lb entries could not be adde 2020-07-20 21:43:44 +01:00
Jack bcf8d9344b fixed a bug that would not allow new entries to be inserted to the lb 2020-07-20 15:48:18 +01:00
Jack afaf599469 added keyspacing and duration to the db event
checkign if user needs to verify
added the ability to hide lb positions
2020-07-20 15:17:54 +01:00
Jack 6b8f3d8019 fixed a bug where new result tags could not be updated before refreshing the page 2020-07-18 00:04:53 +01:00
Jack 70066b170d added more info to the log 2020-07-17 23:55:45 +01:00
Jack 45fe7b86c4 added log 2020-07-14 17:13:10 +01:00
Jack 49266d4197 updated thresholds again 2020-07-14 01:33:12 +01:00
Jack 60df40ae96 lower 2020-07-14 01:25:03 +01:00
Jack 577ed53461 lowered threshold 2020-07-14 01:24:40 +01:00
Jack 2c90d9c282 removed key stats from the obj that is added to the db 2020-07-13 21:35:21 +01:00
Jack ae6d837e89 now announcing top 10 global results 2020-07-13 14:23:40 +01:00
Jack 2e91330224 fixed a bug where the website would say the result was not saved when the user got a pb in time 60 2020-07-12 16:10:02 +01:00
Jack dcd8a37d55 more logs 2020-07-12 16:08:31 +01:00
Jack be2b9d3d1a added error messages to return data 2020-07-12 14:37:26 +01:00
Jack 677702eee1 updated check if needs to check name function 2020-07-11 17:21:34 +01:00
Jack 865bfc3dea added daily lb announce 2020-07-11 10:53:04 +01:00
Jack bf050a8d6c fixed a bug where leaderboards would get cleared 2020-07-09 21:50:00 +01:00
Jack 9921688e7d fixed test completed not returning data 2020-07-09 20:01:16 +01:00
Jack a3129295bc typo 2020-07-09 18:32:54 +01:00
Jack ea43290ca0 fixed previous update 2020-07-09 18:31:25 +01:00
Jack 0ca2384695 only checking keypress stats if mode is time 2020-07-09 18:29:01 +01:00
Jack b109c9ec38 updated log 2020-07-09 17:58:00 +01:00
Jack d4cc081250 log update 2020-07-09 17:49:17 +01:00
Jack a7933f3528 better log 2020-07-09 17:44:39 +01:00
Jack e5816742c1 dont add to lb if cant verify keys 2020-07-09 17:01:40 +01:00
Jack 0b112a5dab lb live again 2020-07-09 16:52:37 +01:00
Jack ca033f6e9a fixed bug 2020-07-09 16:22:00 +01:00
Jack 684b764731 leaderboards off for now
added a check if cant verify key stats
tried a fix for name not saving on lb
2020-07-09 16:20:52 +01:00
Jack f7cd09deb4 added code to announce lb changes 2020-07-09 15:55:02 +01:00
Jack a2a8c01d95 Merge branch 'leaderboards' 2020-07-09 15:02:19 +01:00
Jack 99abbd7399 added function to announce lb updates in the future 2020-07-09 14:45:47 +01:00
Jack 7801089d91 moved the check to the bot 2020-07-09 12:14:00 +01:00
Jack 77401ebd2a added a log 2020-07-09 11:27:16 +01:00
Jack 4b480767eb made sure to round up the wpm that is sent to the role bot 2020-07-09 01:34:17 +01:00
Jack f31aa80102 fixed a bug that would cause the pb object to not be saved correctly 2020-07-08 16:32:22 +01:00
Jack 2d69b78ee2 initialising firebase once, limiting leaderboards to time 15 and 60 2020-07-08 00:14:03 +01:00
Jack 50c441bee5 missing null/undefined checks 2020-07-07 21:47:51 +01:00
Jack 0ec199ce03 missing = 2020-07-07 21:46:39 +01:00
Jack 3f3058e023 fixed bot not giving roles 2020-07-07 21:44:03 +01:00
Jack 7137c18371 removed logs 2020-07-07 21:12:24 +01:00
Jack 94ad2175df fixed the fix >:| 2020-07-07 20:42:26 +01:00
Jack 4925224b0f fix for a bug where the role would get overwritten 2020-07-07 20:30:39 +01:00