Commit Graph

137 Commits

Author SHA1 Message Date
Alexander Polynomdivision
d5c4563c77 server: Restrict the cache size of MongoDB 2018-10-09 15:13:18 +02:00
Alexander Polynomdivision
6a8f0d1594 fix: Fallback to the last user level 2018-10-09 13:19:14 +02:00
Alexander Polynomdivision
15f05978a9 feat: Replace SessionStorage with LocalStorage 2018-10-09 13:16:18 +02:00
Alexander Polynomdivision
f5c15c2289 fix: We need to check if the class ID is correct 2018-10-09 12:55:56 +02:00
Alexander Polynomdivision
7e27203f74 fix: Crash when comparing two long words 2018-10-09 12:48:12 +02:00
Alexander Polynomdivision
3834590c5a fix: Prevent registration spamming 2018-10-08 11:22:13 +02:00
Alexander Polynomdivision
c25536f09a Bump backend version for the release 2018-10-07 18:46:18 +02:00
Alexander Polynomdivision
7dc4f92319 feat: Add a registration page 2018-10-07 18:40:48 +02:00
Alexander Polynomdivision
4278751837 feat: Add /api/register endpoint 2018-10-07 15:41:08 +02:00
Alexander Polynomdivision
d24893d75d scripts: Add a script to generate pseudo levels 2018-10-07 14:35:36 +02:00
Alexander Polynomdivision
eed1149b0c feat: Generate checksums for the frontend 2018-10-07 13:51:56 +02:00
Alexander Polynomdivision
5c1332da36 fix: If user.levels is empty then no level can be started 2018-10-07 13:50:22 +02:00
Alexander Polynomdivision
e398417c99 sec: Move the CSP to a header on the nginx 2018-10-07 13:49:52 +02:00
Alexander Polynomdivision
3e3b944e48 build: Improve the toplevel Makefile 2018-10-03 21:06:07 +02:00
Alexander Polynomdivision
8cf4c3f5bc build: Improve the backend Makefile 2018-10-03 21:04:30 +02:00
Alexander Polynomdivision
4857067481 feat: Turn index.html into a template 2018-10-03 20:48:39 +02:00
Alexander Polynomdivision
082f254da0 feat: Error pages + Makefile improvements
Error pages: Add error pages for 404 and 50X errors by nginx
Makefile improvements: Remove shit.sh and replace it by improving the
Makefile
2018-10-03 20:24:06 +02:00
Alexander Polynomdivision
f836145981 feat: Add a CSP header to the index 2018-10-03 20:09:11 +02:00
Alexander Polynomdivision
c7f4fd23dd docs: Update protocol 2018-10-03 19:10:49 +02:00
Alexander Polynomdivision
3b3576ec42 scripts: Fix issues with the csv_vocab_to_mongo script 2018-10-03 19:10:15 +02:00
Alexander Polynomdivision
4a3aa60a4d feat: Use authorization on the MongoDB server 2018-10-03 19:09:49 +02:00
Alexander Polynomdivision
5b399bf0d2 feat: Only mark a level as done when the review is completed 2018-10-03 14:19:23 +02:00
Alexander Polynomdivision
b32603f213 refactor: Remove code duplication 2018-10-03 14:10:27 +02:00
Alexander Polynomdivision
7fc1d8a058 feat: Show training wheels 2018-10-03 14:02:20 +02:00
Alexander Polynomdivision
4ba879c531 fix: Crash because of empty vocabulary list
Array.reduce(...) will crash if the array is empty. So we
just default to 0, if this.vocab is empty.
2018-10-02 18:06:38 +02:00
Alexander Polynomdivision
8754c9b6da feat: Remove the profile and the settings page 2018-10-02 18:06:12 +02:00
Alexander Polynomdivision
ff3f3febc1 scripts: Remove singular comment 2018-10-02 17:56:18 +02:00
Alexander Polynomdivision
32fadc19e5 fix: Done levels were not marked as such 2018-10-02 17:55:29 +02:00
Alexander Polynomdivision
5361d1bab5 feat: Prevent users from starting levels that they did not reach yet 2018-10-02 17:52:07 +02:00
Alexander Polynomdivision
cee5680a6a feat: Remove negative scores 2018-10-02 17:32:09 +02:00
Alexander Polynomdivision
26407b6cb7 feat: Tick all levels that the user has completed 2018-10-02 16:04:38 +02:00
Alexander Polynomdivision
d6f5ef4cc5 feat: Don't forget about the adverbs 2018-10-02 15:49:53 +02:00
Alexander Polynomdivision
2971069954 feat: Remove the PPP 2018-10-02 15:35:48 +02:00
Alexander Polynomdivision
4f6d55262c feat: Re-add vocab up to 2 times 2018-10-02 15:33:01 +02:00
Alexander Polynomdivision
92d4928f6e fix: Wrong mapping for 'feminine Nomen' 2018-10-02 15:29:03 +02:00
Alexander Polynomdivision
7342ddb0d8 fix: redirect /app to /app/ 2018-10-02 15:14:45 +02:00
Alexander Polynomdivision
cb452a3c54 fix: All vocab items now get turned into review cards 2018-10-02 13:38:24 +02:00
Alexander Polynomdivision
2b0d472754 feat: Display all vocabulary data 2018-10-02 13:10:33 +02:00
Alexander Polynomdivision
18fb797fc9 fix: Remove the sys.exit() 2018-10-02 13:10:10 +02:00
Alexander Polynomdivision
91dbe0c4b7 fix: The metadata not being updated on the last item 2018-10-02 12:42:59 +02:00
Alexander Polynomdivision
4ac1a5dad4 fix: Change some texts 2018-10-01 19:27:27 +02:00
Alexander Polynomdivision
977f5df9dd feat: Points for doing reviews 2018-10-01 19:21:57 +02:00
Alexander Polynomdivision
d08e591e27 fix: Was ist Prozentrechnung? 2018-10-01 19:02:12 +02:00
Alexander Polynomdivision
1a07fd2ddb scripts: Add add_level.py 2018-10-01 17:33:25 +02:00
Alexander Polynomdivision
8e71aa85dc fix: The client and server send the ILevel type differently 2018-10-01 17:31:23 +02:00
Alexander Polynomdivision
9144676ec2 scripts: Add scripts to help testing and administration 2018-10-01 17:08:37 +02:00
Alexander Polynomdivision
4f133c55d2 feat: Add new vocabulary to the review queue
When a level is finished, the vocabulary of that item will be
converted into SM2 metadata, which will be appended to the
user's vocabMetadata.
2018-09-30 21:17:47 +02:00
Alexander Polynomdivision
4a6b40ad72 feat: Test using HTTPS and HTTP2 2018-09-30 20:15:27 +02:00
Alexander Polynomdivision
b47b18c373 feat: Prevent invalid logins
Do not sent a request to authenticate against the server
when either the username or the password are empty
2018-09-30 18:32:36 +02:00
Alexander Polynomdivision
048f375724 feat: Implement SM2 2018-09-30 16:17:54 +02:00