Commit graph

253 commits

Author SHA1 Message Date
Jack 55a4e5b5a3 actual fix for previous commit 2020-12-29 01:37:30 +00:00
Jack d47686a104 fixed error while trying to get insertedat from ull 2020-12-28 23:36:58 +00:00
Jack 2dcebbcfee optimised lb memory saving and typing stats 2020-12-28 22:34:12 +00:00
Jack d2e4b24d84 optimised private and public stats saving 2020-12-28 21:20:44 +00:00
dependabot[bot] b7c6562774
Bump date-and-time from 0.14.1 to 0.14.2 in /functions
Bumps [date-and-time](https://github.com/knowledgecode/date-and-time) from 0.14.1 to 0.14.2.
- [Release notes](https://github.com/knowledgecode/date-and-time/releases)
- [Commits](https://github.com/knowledgecode/date-and-time/compare/v0.14.1...v0.14.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-24 21:53:47 +00:00
Jack 0aebaeaf70 fixed could not save result error 2020-12-23 20:22:56 +00:00
Jack 5f127f6485 logging name reserves 2020-12-14 04:57:28 +00:00
Jack f904f6e32b added tag pbs 2020-12-13 22:37:19 +00:00
decaf 5414902d54 fixed regex check to allow code_c++ in config 2020-12-08 10:08:08 -06:00
Jack 7808ab17b6 not checking leaderboards and pb if a funbox is active 2020-12-07 19:05:19 +00:00
Jack e3abc6e3c4 corrected the nospace wpm calculation 2020-12-07 17:26:19 +00:00
Jack 46c4f8a740 not saving afk time as time typing 2020-12-05 16:04:49 +00:00
Jack dcfe30195c temporairly disabled nospace 2020-12-03 17:59:30 +00:00
Jack 37f4f0dce9 removed timeout increase 2020-11-18 14:44:50 +00:00
Jack f7824d8d62 updated firebase 2020-11-18 14:44:01 +00:00
Jack 6ef90afcb9 catching any errors that might show up when removing the keydata 2020-11-15 18:15:54 +00:00
Jack 01e98fcf78 rounding spacing data 2020-11-14 14:05:11 +00:00
Jack d8ab40b35f yeeting the key data because its completely pointless 2020-11-10 22:01:00 +00:00
Jack 6bbc66175f added update email button 2020-11-02 01:06:05 +00:00
Jack 01ea15216c upgrading packages 2020-10-29 01:23:20 +00:00
David Martin 9a9b4f3a63 Ran prettier 2020-10-26 20:33:20 -05:00
Jack 8f58c1cfee reserving display name, clearing name and data on delete 2020-10-26 19:49:27 +00:00
Jack 46b7995dca optimised name availability check, added name reserve 2020-10-26 19:24:37 +00:00
Jack a30dd82bee bonus t60 bananas 2020-10-23 18:31:53 +01:00
Jack de60f28a40 added one more condition to bot detection 2020-10-19 23:08:54 +01:00
Jack 4850628da5 changed consistency requirement 2020-10-15 23:58:42 +01:00
Jack bf1c92d0e8 updated log, updated consistency requirement 2020-10-15 23:54:23 +01:00
Jack f2b95ea5f0 added consistency to pbs 2020-10-12 00:55:31 +01:00
Jack 35db7c9021 tracking timestamp with pbs 2020-10-12 00:41:03 +01:00
Jack 9d3994e73d moving verification to oauth2 2020-10-10 15:48:08 +01:00
Jack 794a6274dd added an unlink button 2020-09-29 00:10:33 +01:00
Jack ad661595ec new pbs are remembered in the result 2020-09-27 00:10:30 +01:00
Jack ea4e28af56 formatting 2020-09-23 17:54:44 +01:00
Jack 583f776a9f fixed no response from the server 2020-09-23 17:52:57 +01:00
Jack 168ea2c610 removed function 2020-09-23 16:33:10 +01:00
Jack 4458badfa0 not using live db anymore 2020-09-23 16:30:16 +01:00
Jack eeb18cdcc9 added check against null 2020-09-23 16:29:59 +01:00
Jack dd8388e310 generating paring code only checks users that already have a pairing code 2020-09-23 16:29:37 +01:00
Jack b6363fa689 missing await 2020-09-17 20:27:52 +01:00
Jack d05f2cf2c4 updated code generation function 2020-09-17 20:22:04 +01:00
Jack 3b5f5d4b10 added lbmemory 2020-09-16 23:15:55 +01:00
Jack 18fe0097f1 checking all users when looking for duplicates 2020-09-14 22:53:01 +01:00
Jack 78c14b0b59 not checking if the name is valid anymore 2020-09-14 22:00:58 +01:00
Jack df3c332c2d sending more data to the bot 2020-09-13 20:19:05 +01:00
dependabot[bot] 7ad7471469
Bump node-fetch from 2.6.0 to 2.6.1 in /functions
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-10 19:19:34 +00:00
Jack 7ade9bed21 removed more reads 2020-09-08 23:02:26 +01:00
Jack f86f6614fe removing db read from pb check 2020-09-08 22:57:59 +01:00
Jack 6dc51171cb moving to a single patreon document 2020-09-08 22:38:59 +01:00
Jack 7089b08cfd removed log 2020-09-08 01:18:48 +01:00
Jack aa6aebc6f4 using pagination to avoid errors 2020-09-06 18:45:12 +01:00
Jack 877ce8e059 try catches to incrementing functions 2020-09-06 05:41:20 +01:00
Jack b6df7c22f2 trying to fix errors 2020-09-06 04:10:59 +01:00
Jack ee0d65c6fd tracking test duration and started tests 2020-09-04 21:07:36 +01:00
Jack a83fdee493 removed log 2020-08-25 02:19:25 +01:00
Jack 5c2588ee43 new recursive result validation 2020-08-25 02:18:01 +01:00
Jack 41dc4b52f8 showing patreon list in about 2020-08-23 23:27:21 +01:00
Jack 31c92f715f added result counting 2020-08-22 00:04:23 +01:00
Jack 2399fac316 moved leaderboard code into a transaction to avoid collisions 2020-08-21 23:13:24 +01:00
Jack 49952512e3 changed oncall to on request 2020-08-21 18:30:33 +01:00
Jack 0b08f536b3 converted two functions to onrequest 2020-08-21 18:25:30 +01:00
Jack b887d71a30 moving to node 10 2020-08-21 14:47:38 +01:00
Jack f91b4e86f6 fixed log broken 2020-08-21 01:41:41 +01:00
Jack 4c44ccec4a removed key data from log 2020-08-19 19:39:39 +01:00
Jack d1312af73f better validation 2020-08-19 14:29:08 +01:00
Jack 6e1a9b46b3 update 2020-08-18 22:08:09 +01:00
Jack a16435249b gave more memory to the generate code function, added cors 2020-08-18 18:13:55 +01:00
Jack ef243a96e1 hopefully fixed the cors/memory issue 2020-08-18 00:31:51 +01:00
Jack 0088a9347c removed log 2020-08-17 23:52:30 +01:00
Jack 5cf2ef2663 pbs now save raw and accuracy 2020-08-15 16:09:52 +01:00
Jack ba1fc7748d added play sound on error 2020-08-13 23:11:53 +01:00
Jack f64b8fc293 showing what went wrong with saving to the db 2020-08-13 22:06:14 +01:00
Jack 2e8077e2af bail out doesnt cause an error anymore, and can only work for long tests 2020-08-12 02:40:04 +01:00
Jack 1458abf378 actually using prettier now 2020-08-11 22:02:25 +01:00
Jack 82fd1bfd7a better logs 2020-08-11 15:16:19 +01:00
Jack aa38e7dca7 more backend validation 2020-08-10 03:41:19 +01:00
Jack 9ca5ca0703 completely rewrote filters 2020-08-09 19:52:00 +01:00
Jack 018000190c saving the amount of times a user won the daily lb 2020-08-08 21:14:12 +01:00
Jack 1c094e66f7 validation only checks if there is something to check 2020-08-08 20:37:23 +01:00
Jack d78e5a1794 added backend result validation 2020-08-08 20:35:28 +01:00
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