Commit Graph

169 Commits

Author SHA1 Message Date
Alexander Polynomdivision
3b7e55d957 refactor: Simplify API calls
API calls can now make with a simple wrapper function.

Additionally, the error code "200" now means success for all API calls.
2018-10-17 18:28:29 +02:00
Alexander Polynomdivision
7de3cedb15 refactor: Move the SM2 implementation to the backend 2018-10-17 14:40:21 +02:00
Alexander Polynomdivision
6e80ed79d2 docs: Update the protocol 2018-10-17 14:10:13 +02:00
Alexander Polynomdivision
8895963f3c build: Fix typo in the Makefile 2018-10-16 20:12:25 +02:00
Alexander Polynomdivision
0d854092db git: Fix a merge conflict 2018-10-16 18:09:13 +02:00
Alexander Polynomdivision
797a9d7dd8 fix: A typo was made: 'beenden' -> 'Beenden' 2018-10-16 18:06:59 +02:00
Alexander Polynomdivision
4bbb910b2a feat: Bump frontend version 2018-10-16 15:02:49 +02:00
Alexander Polynomdivision
79ee9c075a feat: Replace the avatar with a generic one 2018-10-16 15:02:09 +02:00
Alexander Polynomdivision
1b5fd669de feat: Add a 'No Vocab' dialog 2018-10-16 14:47:41 +02:00
Alexander Polynomdivision
8b2aba5d91 feat: Move the loading panel to a component 2018-10-16 14:25:18 +02:00
Alexander Polynomdivision
e9d7c156cc feat: If no vocabulary has been learned, this should be told 2018-10-15 17:01:18 +02:00
Alexander Polynomdivision
22ded2ec38 refactor: Move the tracking model into commons 2018-10-15 16:30:40 +02:00
Alexander Polynomdivision
2963e089d8 docker: Update the container to 1.2.0 2018-10-12 17:36:48 +02:00
Alexander Polynomdivision
b331dc12ce nginx: Redirect / to /app/ 2018-10-12 17:36:17 +02:00
Alexander Polynomdivision
30fda90a7b feat: Substitute the Backend URL dynamically 2018-10-12 17:34:32 +02:00
Alexander Polynomdivision
45dc47f3b9 fix: The login overflows because of the wrong container height 2018-10-12 12:14:24 +02:00
Alexander Polynomdivision
aba3626b7d feat: Add autofocus to the search field 2018-10-11 19:46:28 +02:00
Alexander Polynomdivision
feeb07c542 scripts: Add and fix the debug flag 2018-10-11 17:25:19 +02:00
Alexander Polynomdivision
6b577273b0 build: Fix a misspelled CLI flag 2018-10-11 17:09:55 +02:00
Alexander Polynomdivision
dcd0a9888c feat: Implement a vocabulary search 2018-10-11 17:08:58 +02:00
Alexander Polynomdivision
3261a81b06 feat: Add an icon for the vocab list 2018-10-11 14:40:40 +02:00
Alexander Polynomdivision
a902d9e8f7 feat: Implement a vocabulary view 2018-10-11 14:37:21 +02:00
Alexander Polynomdivision
528c291b70 feat: Implement the /user/vocab endpoint 2018-10-11 14:25:46 +02:00
Alexander Polynomdivision
8e3919a70e docs: Update the protocol 2018-10-10 15:50:29 +02:00
Alexander Polynomdivision
7b74106675 fix: Remove a (misspelled) console.log 2018-10-10 13:51:24 +02:00
Alexander Polynomdivision
b453947fc5 fix: Re-add the page margin for pages that need it 2018-10-10 13:50:30 +02:00
Alexander Polynomdivision
d9ec095d5c feat: Rework the Level UI 2018-10-10 13:44:45 +02:00
Alexander Polynomdivision
ede271f604 feat: Display a message when the user hits the max level 2018-10-09 20:24:20 +02:00
Alexander Polynomdivision
5c3603f595 scripts: Remove unintentional whitespaces 2018-10-09 16:25:49 +02:00
Alexander Polynomdivision
eee04671ff docs: Fix formatting issues 2018-10-09 16:25:32 +02:00
Alexander Polynomdivision
7f9d520257 version: Bump version 2018-10-09 16:07:08 +02:00
Alexander Polynomdivision
c622264f43 feat: Implement the tracker 2018-10-09 16:01:17 +02:00
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