Commit Graph

418 Commits

Author SHA1 Message Date
hrj 6480da09ff helper setRenderingHints: set antialiasing on 2022-04-03 23:01:26 +05:30
hrj 23a6a43d2d shadow text: simplify text drawing 2022-04-03 22:58:12 +05:30
hrj 7f77f819dd popping characters: adjust height to size 2022-04-03 22:49:35 +05:30
hrj bfc7174e2a FilterChallenge: use bold font 2022-04-03 16:45:53 +05:30
hrj 0c48f8fbd1 filter challenge: ensure that text fits within image width 2022-04-03 16:45:33 +05:30
hrj b33dd8adcf filter challenge: adjust filter effect based on difficult level 2022-04-02 23:18:46 +05:30
hrj d797acdcac FilterChallenge: adjust difficult based on parameter 2022-04-02 23:07:38 +05:30
hrj 444982e65f added HelperFunctions.safeAlphaNum 2022-04-02 23:06:57 +05:30
hrj cc8addb0c7 filter challenge: scale font height based on image size 2022-04-02 22:51:45 +05:30
hrj d7c1f9a4cc handle exceptions thrown by captcha provider 2022-04-02 22:51:19 +05:30
hrj 4f3bec0bc6 each challenge provider now respects the size parameter when construction image 2022-03-01 23:03:43 +05:30
hrj edd211fb52 respect size and level parameters
* Add size and level parameters to ChallengeProvider.returnChallenge()
* Add size column to challenge table
* Pass size and level parameters to all relevant calls
* Add size field to demo app
2022-03-01 22:51:38 +05:30
hrj f0659da3eb add a welcome message to root path 2022-03-01 19:11:13 +05:30
hrj c8db914cfd minor simplification 2022-03-01 17:21:30 +05:30
hrj a54947cfc2 shutdown server gracefully 2022-03-01 13:23:29 +05:30
hrj 2d9fd3c68e update h2 db to 2.1.210 2022-03-01 13:21:06 +05:30
hrj 226d3bfa74
Merge pull request #148 from librecaptcha/fix145
Fix for #145: frequent repetition of CAPTCHA challenge
2022-03-01 11:12:55 +05:30
hrj cb0c244779 in background task, divide total required by number of combinations, and create in multiple iterations
Signed-off-by: hrj <harshad.rj@gmail.com>
2022-03-01 09:37:33 +05:30
hrj 8316084ee7 create equal number of captchas for each parameter combination in background task
Signed-off-by: hrj <harshad.rj@gmail.com>
2022-03-01 09:37:33 +05:30
hrj e44a1df22e select random captchas
Signed-off-by: hrj <harshad.rj@gmail.com>
2022-03-01 09:37:33 +05:30
hrj d2a4a92463
Merge pull request #147 from scala-steward/update/scrimage-core-4.0.31
Update scrimage-core, scrimage-filters to 4.0.31
2022-02-27 15:21:03 +05:30
Scala Steward d3056699eb
Update scrimage-core, scrimage-filters to 4.0.31 2022-02-27 00:19:16 +01:00
hrj 3b6a09649d
Merge pull request #144 from librecaptcha/simplification
Simplification and minor refactoring
2022-02-24 20:48:12 +05:30
hrj 52b071d680 renamed Captcha to CaptchaManager
Signed-off-by: hrj <harshad.rj@gmail.com>
2022-02-24 20:12:58 +05:30
hrj 497b88f0d3 simplify logic for background task
Signed-off-by: hrj <harshad.rj@gmail.com>
2022-02-24 20:12:58 +05:30
hrj 6758ec3acf
Merge pull request #143 from scala-steward/update/scrimage-core-4.0.30
Update scrimage-core, scrimage-filters to 4.0.30
2022-02-24 08:41:05 +05:30
Scala Steward 10e0ff08ca
Update scrimage-core, scrimage-filters to 4.0.30 2022-02-24 00:27:06 +01:00
hrj 50b5e00ddf
Merge pull request #142 from scala-steward/update/scrimage-core-4.0.29
Update scrimage-core, scrimage-filters to 4.0.29
2022-02-23 22:12:08 +05:30
Scala Steward 34556a8e93
Update scrimage-core, scrimage-filters to 4.0.29 2022-02-23 16:28:50 +01:00
hrj 836ee0f7f1
Merge pull request #141 from scala-steward/update/scrimage-core-4.0.28
Update scrimage-core, scrimage-filters to 4.0.28
2022-02-23 13:44:52 +05:30
Scala Steward 0f8782b6d3
Update scrimage-core, scrimage-filters to 4.0.28 2022-02-23 08:24:11 +01:00
hrj 44d0464830
Merge pull request #139 from scala-steward/update/scrimage-core-4.0.27
Update scrimage-core, scrimage-filters to 4.0.27
2022-02-22 08:04:39 +05:30
Scala Steward 33a4411689
Update scrimage-core, scrimage-filters to 4.0.27 2022-02-21 20:40:24 +01:00
hrj 86e11a9075
Merge pull request #138 from scala-steward/update/sbt-assembly-1.2.0
Update sbt-assembly to 1.2.0
2022-02-13 21:06:39 +05:30
Scala Steward 25bab9eeeb
Update sbt-assembly to 1.2.0 2022-02-13 10:26:49 +01:00
hrj 7405707250
Merge pull request #137 from scala-steward/update/sbt-assembly-1.1.1
Update sbt-assembly to 1.1.1
2022-02-13 14:34:10 +05:30
Scala Steward 181bcdae0c
Update sbt-assembly to 1.1.1 2022-02-13 08:27:44 +01:00
hrj 02ac9456e1
Merge pull request #136 from scala-steward/update/scalafmt-core-3.4.3
Update scalafmt-core to 3.4.3
2022-02-12 22:55:24 +05:30
Scala Steward a74c7a8ed0
Update scalafmt-core to 3.4.3 2022-02-12 17:26:27 +01:00
hrj 9c83170bf3
Merge pull request #135 from scala-steward/update/scalafmt-core-3.4.2
Update scalafmt-core to 3.4.2
2022-02-06 19:02:54 +05:30
Scala Steward f24ede129c
Update scalafmt-core to 3.4.2 2022-02-06 12:07:47 +01:00
hrj 2f2d54a513
Merge pull request #134 from scala-steward/update/scalafmt-core-3.4.1
Update scalafmt-core to 3.4.1
2022-02-06 09:46:57 +05:30
Scala Steward 756ae8c2a7
Update scalafmt-core to 3.4.1 2022-02-05 17:51:26 +01:00
hrj 3c7c47e0d8 update lib path in docker file 2022-02-02 09:47:03 +05:30
hrj a3fbbf836b update jar file path for tests 2022-02-02 09:46:39 +05:30
hrj 300a04d47f
Merge pull request #133 from scala-steward/update/scala3-library-3.1.1
Update scala3-library to 3.1.1
2022-02-02 09:45:28 +05:30
hrj 3a7cb16286
Merge pull request #132 from scala-steward/update/sbt-1.6.2
Update sbt to 1.6.2
2022-02-02 09:42:26 +05:30
Scala Steward d0145cebe6
Update scala3-library to 3.1.1 2022-02-02 01:36:43 +01:00
Scala Steward ba9e125f9a
Update sbt to 1.6.2 2022-02-01 17:17:50 +01:00
hrj 6f22131162
Merge pull request #131 from scala-steward/update/scalafmt-core-3.4.0
Update scalafmt-core to 3.4.0
2022-01-29 20:54:28 +05:30