Commit Graph

46 Commits

Author SHA1 Message Date
9f3e4b812a Update cloud function descriptions 2022-01-31 08:39:10 +00:00
0478ecde6b [FIX] cloud function backwards compatability 2022-01-31 08:38:45 +00:00
2073e5b828 Enable answer count and [FIX] option copying
Add option to display number of answers to current prompt and ensure test options get copied to new tests that are created at the end of an existing test (with the restart test/restart test with incorrect buttons)
2022-01-30 20:18:57 +00:00
b4c46277fb Add ability to ignore capitals during tests 2022-01-30 14:40:24 +00:00
99e68d848f [FIX] current correct answers recorded incorrectly 2021-11-27 20:36:07 +00:00
182da6a047 Make processAnswer more efficient
Insert into array at random index instead of randomising whole array
2021-11-27 16:44:33 +00:00
cd9c29de39 [FIX] duplicate answers weren't accepted 2021-11-26 15:27:06 +00:00
bbe04dccbc Update dependencies 2021-11-26 09:13:10 +00:00
ea6898d599 [FIX] set titles stored on new tests
When test created from incorrect
2021-11-24 17:08:33 +00:00
f07b448422 [FIX] tests not passing 2021-10-28 16:12:41 +01:00
c80905dba9 [FIX] orphaned data causing errors
Set titles now stored in progress & incorrect answer records
2021-10-23 16:42:52 +01:00
87a0f612ae [FIX] regex for punctuation and special chars 2021-10-23 15:12:46 +01:00
e9631211a2 [FIX] ensure punctuation is ignored correctly 2021-10-23 14:43:54 +01:00
53bd964916 Buttons to restart test or use incorrect answers 2021-10-22 13:43:45 +01:00
ef687ec869 [FIX] ensure batch isn't commited for every change 2021-10-21 22:21:01 +01:00
f7e467691c [FIX] set title in completed progress records 2021-10-20 12:31:16 +01:00
796680f357 Improve testing and store more progress data 2021-10-15 20:56:49 +01:00
5c095ba249 Store set IDs in completed progress records 2021-10-15 14:59:51 +01:00
b532e2deb1 Add tracking of previous mistakes 2021-10-08 18:56:19 +01:00
eb01cbe305 [FIX] Typo 2021-10-03 19:24:10 +01:00
43e8512656 Flag typo if input contains correct answer 2021-10-03 19:20:37 +01:00
dd3b9c88cd Add average mark to progress page & fix loader 2021-10-03 18:56:22 +01:00
4c2f1613ff Add option for coloured edges on progress page 2021-10-03 17:43:22 +01:00
75b4992450 [FIX] Revert from testing setup 2021-10-03 16:17:23 +01:00
b1ef85c5a5 Detect typo if answer is empty 2021-10-03 15:59:55 +01:00
90a31e8923 [FIX] Ensure Firebase Functions is defined 2021-10-01 21:04:55 +01:00
c0100596cf Add typo detector & update some dependencies 2021-10-01 21:01:07 +01:00
51b21d3541 [FIX] createProgress batch write limit reached
Ensure batch write limit isn't reached when creating progress records
2021-09-12 22:52:47 +01:00
069407fa57 Update functions for use with lives mode 2021-09-12 20:23:46 +01:00
52cd2b8663 [FIX] Ensure all vocab data always written to db 2021-09-12 15:07:19 +01:00
79718c63e4 [FIX] createProgress reaching max writes 2021-09-12 15:03:31 +01:00
3b272a47e9 Typo - wrong variable name 2021-09-08 20:37:50 +01:00
97dfe5955f Replace testing code with production 2021-09-08 12:22:25 +01:00
014bbbdd4f Fix regex usage error and increase efficiency 2021-09-08 12:21:22 +01:00
639159d4b3 Swap replaceAll for regex
Was using replaceAll, which isn't available in Node.JS. Instead using regex now
2021-09-08 12:03:55 +01:00
548eb6e210 Fix answer processing bug
Only first instance of each character was removed when cleansing strings. Now all instances are removed.
2021-09-08 11:54:23 +01:00
1dfc196299 Change functions region 2021-09-01 20:06:31 +01:00
26c7861ee5 Fix variable declarations left from unit testing 2021-09-01 19:06:28 +01:00
f47a6dd065 Update dependencies 2021-09-01 19:06:08 +01:00
a7ff0caf31 Add gitignores 2021-09-01 17:40:00 +01:00
b3f0998027 Add Cloud Functions ESLint settings 2021-09-01 17:39:37 +01:00
793778ae66 Add Cloud Functions dependencies 2021-09-01 17:39:20 +01:00
437c27bb00 Add new Cloud Functions 2021-09-01 17:34:17 +01:00
21fe3f660a Update cloud functions to add new functionality
Allow creating progress data from multiple sets
2021-08-10 20:29:24 +01:00
58aedc143c Update cloud functions with new functionality 2021-08-08 22:13:59 +01:00
460d214b94 Add database cloud functions 2021-07-25 22:47:47 +01:00