Commit Graph

  • 91a916f682 remove english words and use numbers instead, fix XSS main csd4ni3l 2025-10-24 18:08:15 +02:00
  • f48980a3c8 make it so after upload success you cant upload images anymore and remove preview img csd4ni3l 2025-08-21 20:12:12 +02:00
  • eaa174d2c7 significantly reduce minimum cosine similarity cause of model change csd4ni3l 2025-08-21 19:28:50 +02:00
  • 1ad2d1b59c try using jina clip v2(v3 is not multimodal) csd4ni3l 2025-08-21 19:25:31 +02:00
  • e9d0bf914a fix the word embedding cache being included in git and try switching to v3 which might fix jina being so slow csd4ni3l 2025-08-21 19:23:13 +02:00
  • ab43d9bceb rename delete_data to delete_account csd4ni3l 2025-08-15 17:18:32 +02:00
  • 2414034cee fix salt and password not being decoded when changing password csd4ni3l 2025-08-15 17:14:45 +02:00
  • 7d7bf75351 add more checks to password changing csd4ni3l 2025-08-15 17:11:26 +02:00
  • 24e76fa14c fix incorrect order of nav items in some pages csd4ni3l 2025-08-15 17:03:28 +02:00
  • 67c3e00844 update achievements to be dark-mode csd4ni3l 2025-08-15 16:59:40 +02:00
  • d66290d935 fix achievements not shown in in profile and also make profile dark mode csd4ni3l 2025-08-15 16:57:33 +02:00
  • eef9e5eef1 convert last_grass_touch_time to float so it can subtract in jinja2 csd4ni3l 2025-08-15 16:05:53 +02:00
  • 9ecb9b8c9a Add now arg to fix time.time issue to profile parameters in your own account as well csd4ni3l 2025-08-15 16:04:19 +02:00
  • c25927d002 Fix profile crashing cause time.time doesnt exist inside jinja2 csd4ni3l 2025-08-15 16:02:55 +02:00
  • 3cca37f814 Add achievements, profile and profile settings, add flash when accessing unathorized content csd4ni3l 2025-08-15 15:56:11 +02:00
  • 64263d1bd4 update modal opener to not have double string signs csd4ni3l 2025-08-14 14:02:56 +02:00
  • 0ea1d7573e fix wrong filter in error modal csd4ni3l 2025-08-14 13:56:42 +02:00
  • c6e5287c5a fix flash not using error category csd4ni3l 2025-08-14 13:55:21 +02:00
  • 87bb7514af Check if user is logged in check_banned csd4ni3l 2025-08-14 13:53:00 +02:00
  • 4e5de6d657 fix missing comma in check_banned csd4ni3l 2025-08-14 13:51:07 +02:00
  • 1c9bb38848 Check if user is banned, log them out and then flash them with a funny message which is handled by error modals csd4ni3l 2025-08-14 13:49:33 +02:00
  • 3db4310a1d commit after applying bans to make it work csd4ni3l 2025-08-14 13:33:13 +02:00
  • 521ad45591 convert time str to float before comparing to time csd4ni3l 2025-08-14 13:28:55 +02:00
  • f5ab1dd78d fix check_grass_touching_bans crashing due to not using app context csd4ni3l 2025-08-14 13:25:22 +02:00
  • f61ca26ce5 add red color to people who got banned on leaderboard csd4ni3l 2025-08-14 13:22:04 +02:00
  • aaeae000c9 fix grass touch submitting not working due to missing set keyword csd4ni3l 2025-08-14 13:15:31 +02:00
  • 9cabe3a21a Fix logout giving internal server error. csd4ni3l 2025-08-14 12:13:38 +02:00
  • ac1a29001e add logout button to submit grass touching csd4ni3l 2025-08-14 12:12:00 +02:00
  • 7ccb6c6d9b get challenge on window load when submitting grass touching csd4ni3l 2025-08-14 12:10:52 +02:00
  • 16766552c1 fix grass touching submit page not showing file input by default and trying to get username from an input that doesnt exist. csd4ni3l 2025-08-14 12:08:15 +02:00
  • d78b5e702e fix grass touching submit page csd4ni3l 2025-08-14 12:03:51 +02:00
  • 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. csd4ni3l 2025-08-14 11:50:11 +02:00
  • 3c1fc21c1c fix home links to be / and also fix home not adapting to user login csd4ni3l 2025-08-12 18:30:46 +02:00
  • 2775f3bfec fix logout not redirecting and make the unathorized redirect to login csd4ni3l 2025-08-12 18:19:44 +02:00
  • f033c9da62 make the pages global and add navbar to each of them and dont require authentication, also add logout button csd4ni3l 2025-08-12 18:18:22 +02:00
  • f6f26892a8 Decrease minimum cosine similarity again csd4ni3l 2025-08-12 17:09:27 +02:00
  • 00684a4798 make minimum cosine similarity less csd4ni3l 2025-08-12 17:08:54 +02:00
  • ed8fef70e5 Fix incorrect text giving back 200 instead of 400 csd4ni3l 2025-08-12 16:48:20 +02:00
  • ef2fb30106 put challenge completed at the end of submitting a challenge csd4ni3l 2025-08-12 16:45:22 +02:00
  • d78bf7f26b only return text in generate_challenge csd4ni3l 2025-08-12 16:42:12 +02:00
  • 20350d0e85 FIx registering not working by now redirecting to register and challenges having a completed attribute csd4ni3l 2025-08-12 16:38:11 +02:00
  • 58130cb508 decrease default challenge word amount to 1 to make it easier to pass csd4ni3l 2025-08-12 15:57:29 +02:00
  • ea4e4899d0 fix generate_challenge not working due to wrong method and only get the challenge if a username was supplied csd4ni3l 2025-08-12 15:55:30 +02:00
  • 37429706dd fix register not getting challenge due to mistyping csd4ni3l 2025-08-12 15:52:50 +02:00
  • c5f882c32c fix register not working due to wrong url_for parameter and update README.md for a better solution to easyocr csd4ni3l 2025-08-12 15:51:15 +02:00
  • 27f379e0ca remove accidental debug flag(again) csd4ni3l 2025-08-12 15:18:31 +02:00
  • 623bd155cb fix leaderboard looks, add OCR, make the captcha only show if you add a username and password csd4ni3l 2025-08-12 15:17:43 +02:00
  • 453250b862 update register fields i missed csd4ni3l 2025-08-10 17:01:09 +02:00
  • 0307999db7 remove accidental debug flag i left in csd4ni3l 2025-08-10 16:58:48 +02:00
  • 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 csd4ni3l 2025-08-10 16:57:55 +02:00
  • 09defab6bc fix wrong commas in database schema csd4ni3l 2025-08-09 14:29:29 +02:00
  • 5da21d3462 fix wrong order of values in insert csd4ni3l 2025-08-09 14:26:55 +02:00
  • 3d2dd3d8de change order of values in image insert csd4ni3l 2025-08-09 14:25:07 +02:00
  • 3309fb840e make image hash the primary key of the images table csd4ni3l 2025-08-09 14:22:41 +02:00
  • c34e73d583 revert to not using flashed messages csd4ni3l 2025-08-09 14:19:58 +02:00
  • 27636a4429 add unathorized access flash csd4ni3l 2025-08-09 13:03:54 +02:00
  • dc93c229d4 convert image uuid into string before using it csd4ni3l 2025-08-09 12:47:58 +02:00
  • 638193fcda Fix username not gathered in the upload route csd4ni3l 2025-08-09 12:46:57 +02:00
  • 75ac77dea8 make the password a password field and add username when uploading the file csd4ni3l 2025-08-09 12:45:46 +02:00
  • c0eb5b59dd show error messages instead of Unknown Error, add an Images table so now the same images cant be uploaded multiple times csd4ni3l 2025-08-09 12:42:02 +02:00
  • 471cd21993 remove disabled flag for login button csd4ni3l 2025-08-09 12:25:37 +02:00
  • 2818b74d14 update requirements.txt to include bcrypt csd4ni3l 2025-08-09 12:23:26 +02:00
  • 54ed6eb0f4 Add experimental sqlite database and login/register csd4ni3l 2025-08-09 12:22:01 +02:00
  • 3d5ea65b16 remove username field which does not exist in upload route csd4ni3l 2025-08-09 11:41:43 +02:00
  • 104b87d555 fix png not working because of removing too many bytes of data url header csd4ni3l 2025-08-09 11:39:11 +02:00
  • a8ee1c90ae add word vector cache with JSON and add a constant for the word to compare with csd4ni3l 2025-08-09 10:30:57 +02:00
  • ba811d3ce7 decrease minimum similarity to make sure images pass csd4ni3l 2025-08-09 00:34:00 +02:00
  • 5b490b0aae re-disable button during loading csd4ni3l 2025-08-08 23:44:29 +02:00
  • bf1decc912 decrease image size for faster verification and less token usage csd4ni3l 2025-08-08 23:30:51 +02:00
  • 7b7b23bbc0 fix image resizing requiring 2 paths instead of 1 csd4ni3l 2025-08-08 23:27:21 +02:00
  • cccd7a1e30 Update requirements.txt to include pillow for image resizing csd4ni3l 2025-08-08 23:26:04 +02:00
  • e2f39aa3c9 Add minimum cosine similarity constant and increase it, resize image files after saving and before sending to Jina csd4ni3l 2025-08-08 23:24:43 +02:00
  • 3f304071e3 fix model again and fix images being inputted as text csd4ni3l 2025-08-08 23:14:45 +02:00
  • 881ccbda13 fix wrong model csd4ni3l 2025-08-08 22:58:19 +02:00
  • f0b3a73a6d remove debug print and replace http with https csd4ni3l 2025-08-08 19:27:22 +02:00
  • 25f779861b decrease minimum cosine similarity to make it work csd4ni3l 2025-08-08 18:51:36 +02:00
  • 42a51a57e7 fix wrong url being given to jina csd4ni3l 2025-08-08 18:50:20 +02:00
  • a4fe1e9230 fix an issue where you couldnt resubmit images after an error happened csd4ni3l 2025-08-08 18:46:35 +02:00
  • a8d47b35e0 reset file input after incorrect image submission csd4ni3l 2025-08-08 18:33:17 +02:00
  • d6d2508fba Make uploads directory automatically csd4ni3l 2025-08-08 18:24:33 +02:00
  • 846b596adb Remove debug flag csd4ni3l 2025-08-08 18:20:41 +02:00
  • b95db2e951 add host and port environment variables csd4ni3l 2025-08-08 18:19:34 +02:00
  • 3fcbbcfe34 Add requirements.txt and README csd4ni3l 2025-08-08 18:11:04 +02:00
  • 8ab56b218f First commit csd4ni3l 2025-08-08 18:08:41 +02:00