Commit Graph

171 Commits

Author SHA1 Message Date
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
Alexander Polynomdivision
64bcc932d7 fix: Metadata only updated on correct answers 2018-09-30 14:46:32 +02:00
Alexander Polynomdivision
2276dad7a7 fix: Fix the level page handling vocab IDs wrongly 2018-09-30 13:48:20 +02:00
Alexander Polynomdivision
adba83f865 build: List all TODOs 2018-09-30 13:08:31 +02:00
Alexander Polynomdivision
6de51609c0 fix: Remove invalid session tokens + Login using the Return key 2018-09-30 13:08:14 +02:00
Alexander Polynomdivision
ff26a39db8 fix: Remove debug output 2018-09-29 22:11:07 +02:00
Alexander Polynomdivision
ccb2930ed5 feat: Remove the session on the server 2018-09-29 22:10:06 +02:00
Alexander Polynomdivision
076d6c8233 feat: Add the /api/user/score endpoint 2018-09-29 22:09:49 +02:00
Alexander Polynomdivision
8a9094c41e feat: Speed-up the container build 2018-09-29 22:01:13 +02:00
Alexander Polynomdivision
ab0c75331d feat: Implement updating the done levels 2018-09-29 22:00:15 +02:00
Alexander Polynomdivision
e6e7505383 feat: Implement (most) API endpoints 2018-09-29 19:34:22 +02:00
Alexander Polynomdivision
9ea5078c5c feat: Implement even more endpoints 2018-09-29 19:10:27 +02:00
Alexander Polynomdivision
fdaa9cb8f3 feat: Remove shared/ 2018-09-29 15:06:14 +02:00
Alexander Polynomdivision
65070b1f5b feat: Implement the /user/me endpoint 2018-09-29 14:23:09 +02:00
Alexander Polynomdivision
2e93fc954d fix: Remove stdout logging 2018-09-28 23:35:16 +02:00
Alexander Polynomdivision
5d38f46aeb feat: Add a compose file 2018-09-28 23:33:28 +02:00
Alexander Polynomdivision
ded5e4ecfa refactor: Make the frontend web-ready 2018-09-28 23:29:05 +02:00