Commit Graph

84 Commits

Author SHA1 Message Date
Kiril Kovachev
e7c814932d Improve typing of lang.py, and ensure Python 3.8 compatibility 2024-10-24 20:27:42 +01:00
Kiril Kovachev
ba1f8895a4 Move problems.py into kanken_online directory 2024-10-24 20:23:22 +01:00
Kiril Kovachev
02a9187879 Fix table syntax (wasn't inside the <table> tags before) 2024-10-24 12:54:05 +01:00
Kiril Kovachev
66967811c1 Add exam results page 2024-10-24 12:47:45 +01:00
Kiril Kovachev
3133fc1de2 Add exam to navbar 2024-10-24 11:36:09 +01:00
Kiril Kovachev
a36de8a7f4 Include all questions (not yet backend-programmed) into the exam page) 2024-10-24 11:34:00 +01:00
Kiril Kovachev
aa8da63a68 Merge remote-tracking branch 'refs/remotes/origin/master' 2024-10-24 10:13:30 +01:00
Kiril Kovachev
5a1cae3143 Add exam view (WIP) 2024-10-23 21:59:09 +01:00
Kiril Kovachev
35dba4991b Partially implement search 2024-10-21 11:14:25 +01:00
Kiril Kovachev
f664cd1a08 Check 'includes' search method by default 2024-10-21 10:29:42 +01:00
Kiril Kovachev
e4e6bb9fb1 Add submit button to search 2024-10-21 10:28:45 +01:00
Kiril Kovachev
00b8b2109b Remove unsightly greenness from dark theme 2024-10-21 10:23:48 +01:00
Kiril Kovachev
677e0868d2 Fix old PFP removal logic 2024-10-21 10:22:30 +01:00
Kiril Kovachev
e00c9fe431 Remove old profile pictures once new ones are set 2024-10-21 10:20:35 +01:00
Kiril Kovachev
009cb6aade Separate public and logged-in user settings 2024-10-21 10:20:15 +01:00
Kiril Kovachev
6c1e0887b6 Create command for pruning excess profile picture files 2024-10-19 18:22:51 +01:00
Kiril Kovachev
477c61c4b6 Ensure PFP is not empty before uploading 2024-10-19 18:16:10 +01:00
Kiril Kovachev
197a5ab242 Expand search capabilities (WIP) 2024-10-19 18:12:43 +01:00
Kiril Kovachev
5d2cf0b280 Improve jinja2 template formatting in search.html 2024-10-19 17:23:11 +01:00
Kiril Kovachev
6a6a210d90 Add link to user's own page on navbar 2024-10-19 17:14:49 +01:00
Kiril Kovachev
003e1ae635 Add profile pictures 2024-10-19 17:13:31 +01:00
Kiril Kovachev
8148976913 Add string for user page 2024-10-18 16:36:20 +01:00
Kiril Kovachev
9eeb8bd873 Add user page stub 2024-10-18 16:36:03 +01:00
Kiril Kovachev
826d240489 Fix crash caused by unsert user ID in session 2024-10-18 16:29:16 +01:00
Kiril Kovachev
242fcfb823 Add GraphQL schema stub 2024-10-18 16:27:36 +01:00
Kiril Kovachev
3430bd2392 Wrap kanji entry in a Japanese-language div to ensure correct formatting 2024-10-16 16:08:01 +01:00
Kiril Kovachev
c66c097101 Specify the document language based on the session's language setting 2024-10-16 15:45:55 +01:00
Kiril Kovachev
49bc51d1e0 Always use UTF-8 encoding 2024-10-16 15:43:11 +01:00
Kiril Kovachev
ae7501bb2e Format non-okurigana part of kanji readings in bold 2024-10-16 15:34:03 +01:00
Kiril Kovachev
e6be4107f5 Do not show kanji reading types where no readings of that type exist 2024-10-16 15:21:16 +01:00
Kiril Kovachev
215e2618f7 Better separate and style kanji reading sections 2024-10-16 15:17:32 +01:00
Kiril Kovachev
1c777aa253 Use reading types as 'bullet points' for kanji display 2024-10-16 14:56:05 +01:00
Kiril Kovachev
ddf1d1933c Use more descriptive format to distinguish radical, stroke count, level etc. 2024-10-16 14:53:26 +01:00
Kiril Kovachev
5e8d64544b Add ability to fetch kanji from database 2024-10-16 14:52:47 +01:00
Kiril Kovachev
5e4f73d057 Complete basic forum functionality 2024-10-16 13:19:56 +01:00
Kiril Kovachev
2f8ab9ac96 Save user settings in database for cross-browser fetching 2024-10-16 12:35:06 +01:00
Kiril Kovachev
1ffbc1b6f0 Fix about-para string name to about_para 2024-10-16 12:34:27 +01:00
Kiril Kovachev
ed1f183a9c Make settings usable by logged-out users 2024-10-16 12:18:15 +01:00
Kiril Kovachev
9d3ce85cb4 Add data download 2024-10-16 12:09:03 +01:00
Kiril Kovachev
2ac903553c Add data download view (actual download WIP) 2024-10-16 11:56:44 +01:00
Kiril Kovachev
11689fb627 Use middle dot instead of hyphen-minus in page title 2024-10-16 11:55:18 +01:00
Kiril Kovachev
2348d7c425 Fix set-string command missing parameter 2024-10-16 11:52:31 +01:00
Kiril Kovachev
49d592bfca Add string renaming CLI 2024-10-16 11:37:52 +01:00
Kiril Kovachev
cbb334c7ea Rename 'about-para' string to 'about_para' 2024-10-16 11:37:20 +01:00
Kiril Kovachev
9b932291d2 Fix bug where strings would be appended on click despite trying to cancel it 2024-10-15 19:19:24 +01:00
Kiril Kovachev
35e3378db6 Add translation JSONs 2024-10-15 19:17:35 +01:00
Kiril Kovachev
58dbdf6f0e Use JSON files from file system to specify the translation strings 2024-10-15 19:17:21 +01:00
Kiril Kovachev
567a02bd24 Localize strings in translation page 2024-10-15 19:16:41 +01:00
Kiril Kovachev
d87ec88780 Remove redundant language-fetching line 2024-10-15 19:16:01 +01:00
Kiril Kovachev
bab6fcf227 Add script to add strings using the string editor 2024-10-15 19:02:26 +01:00