Commit Graph

252 Commits

Author SHA1 Message Date
hrj 23e8d0a7ed updated deps 2019-03-31 16:53:32 +05:30
hrj 4c5cdc5699
Merge pull request #29 from rr83019/master
Add Label Captcha plugin
2019-03-27 08:41:58 +05:30
Rahul Rudragoudar e825392889 Minor fixes
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-03-27 08:24:20 +05:30
Rahul Rudragoudar 4c0d832803 Minor fixes
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-03-27 08:20:28 +05:30
Rahul Rudragoudar aa9d602950 Merge branch 'master' of https://github.com/rr83019/lc-core 2019-03-26 23:19:48 +05:30
Rahul Rudragoudar e18354c259 Add LabelCaptcha plugin
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2019-03-26 23:19:01 +05:30
Rahul Rudragoudar e67d19c857 Add method to choose a random captcha instance each time (#28)
* git ignore .db

* Add method to choose random captcha
2019-03-26 18:57:56 +05:30
hrj ece47037d4
Merge branch 'master' into master 2019-03-26 18:57:21 +05:30
Rahul Rudragoudar 8e99f2713d Add method to choose random captcha 2019-03-26 18:44:31 +05:30
Rahul Rudragoudar 9d070afa3d Add .db 2019-03-26 18:43:08 +05:30
Prajwal Goudar f2c588ef23 support for loading fonts dynamically with an option to choose level (#26)
* support for loading fonts dynamically with an option to choose level("easy","medium","hard")

* removed unwanted method

* changes made as required
2019-03-25 19:44:38 +05:30
Rahul Rudragoudar 4853d286d0
Merge pull request #2 from librecaptcha/master
Updating fork
2019-03-14 21:42:15 +05:30
hrj 2d13c10812 update scala and sbt versions 2019-03-13 23:38:24 +05:30
hrj 8f701f255e
Merge pull request #14 from PrajwalGoudar/master
added code to generate font fun captcha(type_1)
2019-03-13 10:12:39 +05:30
Prajwal Goudar 0fe1dd1ae4 made changes to checkCaptcha function 2019-03-13 10:08:17 +05:30
hrj 28e4a62707
Merge pull request #16 from rr83019/master
Added GET request support to media end point and contentType field in DB
2019-03-12 19:08:30 +05:30
Rahul Rudragoudar c43ffd6dd3 Added GET request support for media end point 2019-03-12 18:17:34 +05:30
Prajwal Goudar a4a3a63f3f added captcha types as required 2019-03-09 16:27:36 +05:30
Prajwal Goudar bb9fa10d72 fixed issues 2019-03-09 16:23:56 +05:30
Rahul Rudragoudar cddb143cf7 Added contentType:varchar field in db 2019-03-07 13:02:41 +05:30
Prajwal Goudar 7fbd0bd92f removed unwanted files 2019-03-07 02:03:22 +05:30
Prajwal Goudar 994c5751ca added code to generate font fun captcha(type_1)
added code to generate gif format captcha(type_2)
added code to generate shadow text captcha(type_3)
minor changes in Main.scala file to fix errors
2019-03-06 02:53:09 +05:30
Rahul Rudragoudar 4589c3bbb0
Merge pull request #1 from librecaptcha/master
Updating fork
2019-03-05 18:12:59 +05:30
hrj d3db566901
Merge pull request #12 from librecaptcha/interface11
Redesign interface for captcha providers to be compatible with Java
2019-03-05 17:57:06 +05:30
hrj d99b120b2c redesign the challenge provider interface to be Java compatible 2019-03-05 17:49:20 +05:30
hrj 618823fa7d git ignore target directories 2019-03-05 17:48:54 +05:30
hrj aa3aaa4ce7
Merge pull request #4 from rr83019/master
Added http end points to the framework
2019-02-26 23:02:33 +05:30
Rahul Rudragoudar 07a2f38065 Removed convertImage method 2019-02-26 21:10:46 +05:30
Rahul Rudragoudar 079fa0cd3d Changed all end points to POST
Removed serialization of objects to db
Added Map to track providers
2019-02-23 22:11:31 +05:30
Rahul Rudragoudar e52b87d72e Added thread support
Added scheduleThreadPoolExecutor to run the thread periodically
2019-01-26 13:21:34 +05:30
Rahul Rudragoudar 77bc4c6ccf Defined separate class for http endpoints 2018-12-28 23:41:21 +05:30
Rahul Rudragoudar 94200d10f2 Minor changes 2018-12-28 11:53:26 +05:30
Rahul Rudragoudar eb8c8d272e Added validation http end point
Added Object column in h2 db
2018-12-17 16:10:10 +05:30
Rahul Rudragoudar cafc855711 Added .png in gitignore 2018-12-17 13:41:37 +05:30
Rahul Rudragoudar 36aa8639fd Added binary data support for response class 2018-12-17 13:38:31 +05:30
Rahul Rudragoudar 3c6bcad7bb Added captcha and media http end points
Added convertImage method
2018-12-17 13:36:36 +05:30
Rahul Rudragoudar 6394fde5d2 Added Library dependencies
Added compile support for Java
2018-12-17 13:34:24 +05:30
Rahul Rudragoudar 4acb527ec8 Returns the body in string format 2018-11-10 12:34:05 +05:30
Rahul Rudragoudar 4bf6b45f2f Added the JLHTTP server 2018-11-10 12:29:12 +05:30
hrj f8a91db4ca
Merge pull request #3 from SanBlig/framework
Initial commit for the framework
2018-06-14 11:49:57 +05:30
Sanjana Baliga 223808ba98 Minor fixes
- Used prepared statements and made them immutable
- Fixed indentation
2018-06-14 10:57:06 +05:30
sanjana f73f2a762f Initial commit for the framework
The ChallengeProvider trait provides the methods to be implemented by the challenge providers.

The framework gets a challenge from a challenge provider, inserts the details of the challenge into the database, and gives the challenge to the user. It then gets the answer from the user, and sends it to the challenge provider for verification.

This commit includes the implementation only for FilterChallenge provider.
2018-06-06 12:18:40 +05:30
hrj 758eb4d9b9
Merge pull request #2 from SanBlig/init
This adds two additional types of captchas - LabelCaptcha and FilterCaptcha
2018-01-07 13:38:47 +05:30
sanjana 03c1e825f5 .gitignore file 2018-01-07 13:38:27 +05:30
sanjana d2dbb36fd1 Formatting and correction in thread safety 2018-01-07 13:34:53 +05:30
sanjana 93399ea980 Add description for example Captchas in README 2018-01-07 10:04:19 +05:30
sanjana 3ad3a0e73e Minor changes: coding style and thread safety 2018-01-07 09:59:32 +05:30
sanjana 40d0fbd0f7 Add FilterCaptcha
FilterCaptcha generates a random string, creates an image of the string, and applies a series of filters to make the string hard to read.
2018-01-06 10:10:43 +05:30
sanjana dfa146e139 Separate captcha classes and add LabelCaptcha
LabelCaptcha creates a pair of known and unknown images. BlurCaptcha is modified to use a better filter.
2018-01-04 15:50:59 +05:30
hrj 970d51e322
Merge pull request #1 from SanBlig/init
Initial skeleton for the framework.
2018-01-03 10:43:30 +05:30