Commit Graph

355 Commits

Author SHA1 Message Date
hrj fd5dcff335 map token correctly to secret and provider 2020-07-03 22:13:51 +05:30
hrj 24a6caad57 git ignore samples and project files 2020-07-03 20:57:55 +05:30
hrj 03548d17ae refactor, separate code into files 2020-07-03 20:21:35 +05:30
hrj e45302df8c updated dependecies to latest version 2020-06-30 09:15:23 +05:30
hrj 8b021c20e5 removed dependency on scala test 2020-06-30 09:15:14 +05:30
hrj 21dfbe310f made db statements lazy 2020-06-30 00:20:07 +05:30
hrj 7b642198f4 bumped scala version in travis config 2020-06-30 00:19:52 +05:30
hrj 461e1a6ead bump versions of sbt, scala and libraries 2020-06-29 21:46:26 +05:30
hrj 19175d122f Merge branch 'master' of github.com:librecaptcha/lc-core 2019-08-06 23:13:54 +05:30
hrj f1999dfbef Readme: Grammar 2019-08-06 22:25:05 +05:30
hrj 96ca93b84b
Merge pull request #38 from rr83019/master
Add Rate Limiter
2019-06-22 11:42:20 +05:30
Rahul Rudragoudar d65d050038
Minor fixes
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-06-20 11:45:29 +05:30
Rahul Rudragoudar a63cf3976d
Add rate limiter
Add user validation for every request

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-06-17 00:20:18 +05:30
Rahul Rudragoudar 1a57942a0b
User validation for every request
Implemented a separate class for db connection, for the ease of accessing queries

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-06-13 00:48:29 +05:30
hrj 39ce2056c1
Merge pull request #37 from rr83019/master
Registration of App using email-id
2019-06-11 23:17:55 +05:30
Rahul Rudragoudar 6d6b1d52d6 Update sql query 2019-06-09 14:15:28 +05:30
Rahul Rudragoudar 886055c642
Update query to cross refernce uuid to token
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-06-09 14:12:21 +05:30
Rahul Rudragoudar 7c7285b9f7
Conflict resolution
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-06-09 14:04:25 +05:30
hrj b9ef0c6d2e update jdk in travis 2019-06-08 13:00:28 +05:30
hrj 034f450b44 updated readme with description and samples 2019-06-08 11:47:37 +05:30
hrj 6f17c8fcba make gitignore more specific 2019-06-08 11:44:32 +05:30
hrj 8ff9ebaf3f correct content type for raindrops catpcha 2019-06-08 11:43:47 +05:30
hrj 6b35e53fe3 register raindrops captcha 2019-06-08 11:43:27 +05:30
hrj b08f381f72 add an app to generate samples 2019-06-08 11:43:17 +05:30
hrj 5204833b9d added some sample captcha images 2019-06-08 11:42:29 +05:30
hrj 715b9e4206 set anti-aliasing 2019-06-08 11:21:13 +05:30
hrj c047691424 rename filters to providers 2019-06-08 11:07:36 +05:30
hrj cf71757b5f return correct content type 2019-06-08 11:07:06 +05:30
hrj 9c7efb5e4a toString method for Challenge 2019-06-08 11:06:53 +05:30
Rahul Rudragoudar fc48a1924a
Minor fixes
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-06-03 13:26:08 +05:30
Rahul Rudragoudar 604c873649
Update travis
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-06-03 13:20:40 +05:30
Rahul Rudragoudar 67372f29b6
Bug fix
Query updated to map uuid to captcha token

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-06-03 13:05:07 +05:30
Rahul Rudragoudar c45c9f0b99
Add basic webpage template
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-06-03 12:59:02 +05:30
Rahul Rudragoudar 889405507e
Add email registration support
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-06-03 12:56:45 +05:30
hrj 77a7f730fe
Merge pull request #36 from rr83019/master
Add Travis CI
2019-04-14 14:33:42 +05:30
Rahul Rudragoudar 8f5e514692
Minor fixes
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-04-14 13:30:13 +05:30
Rahul Rudragoudar 4474b4dece
Add Travis CI
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-04-12 23:19:41 +05:30
hrj 93f7161b6e
Merge pull request #35 from rr83019/master
Private ID to Public ID mapping
2019-04-07 23:15:53 +05:30
hrj 0c47eb6866
Merge pull request #34 from rr83019/master
Add method to check for unsolved captchas
2019-04-07 22:54:06 +05:30
Rahul Rudragoudar 535c59a218 Merge branch 'mapId' 2019-04-07 22:36:23 +05:30
Rahul Rudragoudar f3f8900fd4
Minor fixes
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-04-07 20:50:56 +05:30
Rahul Rudragoudar ed05489cd0
Add UUID support
mapId table in implemented for mapping of public to private ID
Challenge returns a random UUID instead of captcha token

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-04-07 13:11:14 +05:30
Rahul Rudragoudar fe9138dbaf
Add method to check for unsolved captchas
The framework checks for existing unsolved captchas before generating new captcha
The captcha is set to solved after the media is requested

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-04-07 10:49:34 +05:30
hrj 4d79018799
Merge pull request #33 from rr83019/master
Add Captcha thread throttle
2019-04-07 07:45:13 +05:30
Rahul Rudragoudar 89a1039c87
Minor fixes
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-04-06 23:26:51 +05:30
Rahul Rudragoudar 184d167085
Add buffer to inital throttle
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-04-06 11:42:11 +05:30
Rahul Rudragoudar 97d703a217 Merge remote-tracking branch 'upstream/master' 2019-04-06 11:31:22 +05:30
Rahul Rudragoudar 37bf3b1d7f
Add Captcha thread throttle
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-04-06 11:30:06 +05:30
hrj 1d3573c59f rain drops captcha tweaks 2019-04-01 18:32:56 +05:30
hrj a207b9dee6 refining the Rain drop captcha 2019-04-01 00:30:45 +05:30