84 Commits

Author SHA1 Message Date
csd4ni3l
91a916f682 remove english words and use numbers instead, fix XSS 2025-10-24 18:08:15 +02:00
csd4ni3l
f48980a3c8 make it so after upload success you cant upload images anymore and remove preview img 2025-08-21 20:12:12 +02:00
csd4ni3l
eaa174d2c7 significantly reduce minimum cosine similarity cause of model change 2025-08-21 19:28:50 +02:00
csd4ni3l
1ad2d1b59c try using jina clip v2(v3 is not multimodal) 2025-08-21 19:25:31 +02:00
csd4ni3l
e9d0bf914a fix the word embedding cache being included in git and try switching to v3 which might fix jina being so slow 2025-08-21 19:23:13 +02:00
csd4ni3l
ab43d9bceb rename delete_data to delete_account 2025-08-15 17:18:32 +02:00
csd4ni3l
2414034cee fix salt and password not being decoded when changing password 2025-08-15 17:14:45 +02:00
csd4ni3l
7d7bf75351 add more checks to password changing 2025-08-15 17:11:26 +02:00
csd4ni3l
24e76fa14c fix incorrect order of nav items in some pages 2025-08-15 17:03:28 +02:00
csd4ni3l
67c3e00844 update achievements to be dark-mode 2025-08-15 16:59:40 +02:00
csd4ni3l
d66290d935 fix achievements not shown in in profile and also make profile dark mode 2025-08-15 16:57:33 +02:00
csd4ni3l
eef9e5eef1 convert last_grass_touch_time to float so it can subtract in jinja2 2025-08-15 16:05:53 +02:00
csd4ni3l
9ecb9b8c9a Add now arg to fix time.time issue to profile parameters in your own account as well 2025-08-15 16:04:19 +02:00
csd4ni3l
c25927d002 Fix profile crashing cause time.time doesnt exist inside jinja2 2025-08-15 16:02:55 +02:00
csd4ni3l
3cca37f814 Add achievements, profile and profile settings, add flash when accessing unathorized content 2025-08-15 15:56:11 +02:00
csd4ni3l
64263d1bd4 update modal opener to not have double string signs 2025-08-14 14:02:56 +02:00
csd4ni3l
0ea1d7573e fix wrong filter in error modal 2025-08-14 13:56:42 +02:00
csd4ni3l
c6e5287c5a fix flash not using error category 2025-08-14 13:55:21 +02:00
csd4ni3l
87bb7514af Check if user is logged in check_banned 2025-08-14 13:53:00 +02:00
csd4ni3l
4e5de6d657 fix missing comma in check_banned 2025-08-14 13:51:07 +02:00
csd4ni3l
1c9bb38848 Check if user is banned, log them out and then flash them with a funny message which is handled by error modals 2025-08-14 13:49:33 +02:00
csd4ni3l
3db4310a1d commit after applying bans to make it work 2025-08-14 13:33:13 +02:00
csd4ni3l
521ad45591 convert time str to float before comparing to time 2025-08-14 13:28:55 +02:00
csd4ni3l
f5ab1dd78d fix check_grass_touching_bans crashing due to not using app context 2025-08-14 13:25:22 +02:00
csd4ni3l
f61ca26ce5 add red color to people who got banned on leaderboard 2025-08-14 13:22:04 +02:00
csd4ni3l
aaeae000c9 fix grass touch submitting not working due to missing set keyword 2025-08-14 13:15:31 +02:00
csd4ni3l
9cabe3a21a Fix logout giving internal server error. 2025-08-14 12:13:38 +02:00
csd4ni3l
ac1a29001e add logout button to submit grass touching 2025-08-14 12:12:00 +02:00
csd4ni3l
7ccb6c6d9b get challenge on window load when submitting grass touching 2025-08-14 12:10:52 +02:00
csd4ni3l
16766552c1 fix grass touching submit page not showing file input by default and trying to get username from an input that doesnt exist. 2025-08-14 12:08:15 +02:00
csd4ni3l
d78b5e702e fix grass touching submit page 2025-08-14 12:03:51 +02:00
csd4ni3l
fdb30a7f86 Add grass touching bans (which dont work yet), grass touching submit page which if used, increments the grass touching count and last grass touching, make it so only one error shows up if it fails and multiple errors cant. 2025-08-14 11:50:11 +02:00
csd4ni3l
3c1fc21c1c fix home links to be / and also fix home not adapting to user login 2025-08-12 18:30:46 +02:00
csd4ni3l
2775f3bfec fix logout not redirecting and make the unathorized redirect to login 2025-08-12 18:19:44 +02:00
csd4ni3l
f033c9da62 make the pages global and add navbar to each of them and dont require authentication, also add logout button 2025-08-12 18:18:22 +02:00
csd4ni3l
f6f26892a8 Decrease minimum cosine similarity again 2025-08-12 17:09:27 +02:00
csd4ni3l
00684a4798 make minimum cosine similarity less 2025-08-12 17:08:54 +02:00
csd4ni3l
ed8fef70e5 Fix incorrect text giving back 200 instead of 400 2025-08-12 16:48:20 +02:00
csd4ni3l
ef2fb30106 put challenge completed at the end of submitting a challenge 2025-08-12 16:45:22 +02:00
csd4ni3l
d78bf7f26b only return text in generate_challenge 2025-08-12 16:42:12 +02:00
csd4ni3l
20350d0e85 FIx registering not working by now redirecting to register and challenges having a completed attribute 2025-08-12 16:38:11 +02:00
csd4ni3l
58130cb508 decrease default challenge word amount to 1 to make it easier to pass 2025-08-12 15:57:29 +02:00
csd4ni3l
ea4e4899d0 fix generate_challenge not working due to wrong method and only get the challenge if a username was supplied 2025-08-12 15:55:30 +02:00
csd4ni3l
37429706dd fix register not getting challenge due to mistyping 2025-08-12 15:52:50 +02:00
csd4ni3l
c5f882c32c fix register not working due to wrong url_for parameter and update README.md for a better solution to easyocr 2025-08-12 15:51:15 +02:00
csd4ni3l
27f379e0ca remove accidental debug flag(again) 2025-08-12 15:18:31 +02:00
csd4ni3l
623bd155cb fix leaderboard looks, add OCR, make the captcha only show if you add a username and password 2025-08-12 15:17:43 +02:00
csd4ni3l
453250b862 update register fields i missed 2025-08-10 17:01:09 +02:00
csd4ni3l
0307999db7 remove accidental debug flag i left in 2025-08-10 16:58:48 +02:00
csd4ni3l
ba9898a44a add new fields to user so we can track grass touching activity later, add part of the application part which currently includes a homepage and a leaderboard 2025-08-10 16:57:55 +02:00