Commit Graph

544 Commits

Author SHA1 Message Date
hrj 8df6039a7d define maxAttemptsRatio instead of maxAttempts 2022-04-05 10:13:58 +05:30
hrj a4df7a346d rename throttle to `bufferCount` in captcha fields 2022-04-05 10:13:25 +05:30
hrj 5218653f56 shadow text: center text 2022-04-05 10:12:38 +05:30
hrj 8c38ba2a21 minor cleanup 2022-04-05 09:54:03 +05:30
hrj cd6c8d790a renamed throttle config option to `bufferCount` 2022-04-05 09:53:58 +05:30
hrj 44432cbd5a Update `size` description 2022-04-04 21:47:49 +05:30
hrj c71fdbb8de
Merge pull request #153 from librecaptcha/fix98SizeParam
Respect size param
2022-04-04 21:42:11 +05:30
hrj 7ef308e556 tests: specify size parameter 2022-04-04 20:30:28 +05:30
hrj e26bd32b2f set size in test config 2022-04-04 20:28:13 +05:30
hrj cbb8abd352 functional tests: use new api path 2022-04-04 20:27:35 +05:30
hrj ba796fddf7 locust tests: use new api path 2022-04-04 19:48:28 +05:30
hrj c809872b8d Merge remote-tracking branch 'origin/master' into fix98SizeParam 2022-04-04 19:27:04 +05:30
hrj caf03d7a48 raindrops: vary length based on level, and use safe alphaNumeric characters 2022-04-04 11:13:25 +05:30
hrj 3aeb258851 rain drops: scale text to fit image size 2022-04-04 11:07:50 +05:30
hrj f8626e3670 shadow text: adapt text to size dynamically 2022-04-03 23:22:45 +05:30
hrj 83b0eb069e shadow text: dynamic kernel size 2022-04-03 23:09:45 +05:30
hrj 832053f6e9 minor, simplification 2022-04-03 23:01:40 +05:30
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 595815921f
Merge pull request #152 from scala-steward/update/scalafmt-core-3.5.0
Update scalafmt-core to 3.5.0
2022-04-03 07:15:01 +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
Scala Steward c396fe5c4a
Reformat with scalafmt 3.5.0 2022-04-02 19:26:52 +02:00
Scala Steward 2ee331e6b5
Update scalafmt-core to 3.5.0 2022-04-02 19:26:44 +02:00
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 07cce460b7
Merge pull request #151 from Korkman/patch-2
Point docker-compose.yml to "latest", add "build"
2022-03-02 17:50:52 +05:30
Korkman 7da5a5b9af
Quotes 2022-03-02 12:57:34 +01:00
Korkman 9f069e1402
Commented 2022-03-02 12:57:12 +01:00
hrj 70f8e42d93
Merge pull request #150 from Korkman/patch-1
Bump version numbers, fixes #149
2022-03-02 17:04:14 +05:30
Korkman c3eb078635
Point docker-compose.yml to "latest"
More sane to point docker-compose.yml to "latest" instead of ageing version numbers. Also added commented-out build option which should be obvious but still helps.
2022-03-02 12:25:24 +01:00
Korkman 8f34d58521
Bump version numbers, fixes #149 2022-03-02 12:19:00 +01:00
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