Commit Graph

507 Commits

Author SHA1 Message Date
hrj e4e3ed413d
Merge pull request #110 from scala-steward/update/scalafmt-core-3.2.1
Update scalafmt-core to 3.2.1
2021-12-16 15:45:07 +05:30
Scala Steward 6a0ffd4ad6
Update scalafmt-core to 3.2.1 2021-12-16 09:50:30 +01:00
hrj 6cb10f409b
Merge pull request #108 from scala-steward/update/scalafmt-core-3.0.8
Update scalafmt-core to 3.0.8
2021-12-16 07:17:22 +05:30
hrj d8c2f43989
Merge pull request #107 from scala-steward/update/sbt-1.5.7
Update sbt to 1.5.7
2021-12-16 07:14:59 +05:30
hrj e3494de0bd
Merge pull request #106 from scala-steward/update/json4s-jackson_2.13-3.6.12
Update json4s-jackson_2.13 to 3.6.12
2021-12-16 07:04:48 +05:30
Scala Steward f463b487eb
Reformat with scalafmt 3.0.8 2021-12-15 22:54:41 +01:00
Scala Steward cbe26a6097
Update scalafmt-core to 3.0.8 2021-12-15 22:54:32 +01:00
Scala Steward 1c71f2ae68
Update sbt to 1.5.7 2021-12-15 22:54:24 +01:00
Scala Steward 83dcd65da3
Update json4s-jackson_2.13 to 3.6.12 2021-12-15 22:54:00 +01:00
hrj 46e084095c add shadow text sample 2021-12-10 22:12:18 +05:30
hrj 74df5a8b7b update sbt 2021-12-10 22:11:56 +05:30
hrj 0ce5e23e2f update docker tag in README and docker-compose 2021-12-10 09:52:50 +05:30
hrj 6ee4aa596d fix docker action 2021-12-10 09:28:05 +05:30
hrj 3717454f89 add tags to docker images 2021-12-10 09:27:07 +05:30
hrj b8679fb5cc protect docker actions on pull requests 2021-12-10 09:26:50 +05:30
hrj 51a1f0a710 update h2 to 2.0.202
Note that this version is NOT backwards compatible with 1.x version

Hence, we use a new DB path "captcha2". The contents in the old DB can be reused
by following instructions in
https://github.com/h2database/h2database/releases/tag/version-2.0.202
2021-12-10 00:01:35 +05:30
hrj 5f77eee1ac Allow scala 3 syntax 2021-12-09 23:25:03 +05:30
hrj ab1e09142a update scrimage version 2021-12-09 23:24:38 +05:30
hrj 529e482a17 update sbt plugins 2021-12-09 23:14:06 +05:30
hrj abc9f5440f update scala version 2021-12-09 23:13:48 +05:30
hrj 6b2d565601 update sbt version 2021-12-09 23:13:34 +05:30
hrj 928fc786cf
Merge pull request #102 from JacobPozaic/master
CORS configuration and disable playground
2021-12-09 22:00:31 +05:30
jacobp 99ee7c55b5 Added configuration to disable serving the playground webpage and configuration to set Access-Control-Allow-Origin header value on responses.
Signed-off-by: JacobPozaic <jacobpozaic@gmail.com>
2021-12-09 11:02:43 -05:00
hrj 8f606da92f
Merge pull request #96 from rr83019/image-dpi
Set Image DPI for captcha providers
2021-09-02 16:37:00 +05:30
Rahul Rudragoudar a0afba6fa5
Remove print stmts
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-09-02 14:54:20 +05:30
Rahul Rudragoudar b46f6795ce
Set DPI for FilterCaptcha provider
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-09-02 14:53:58 +05:30
Rahul Rudragoudar f83289514b
Rename DPISetter to PngImageWritter
Make fn static

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-09-01 22:57:26 +05:30
Rahul Rudragoudar 26d86bca4c
Set DPI for captcha providers
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-08-31 15:43:58 +05:30
Rahul Rudragoudar d30249a89f
Add DPI setter
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-08-31 15:42:57 +05:30
hrj 1d26b76b01 added example usage for API 2021-08-04 11:45:03 +05:30
hrj 6f6c6eda66 added address to debug config 2021-05-19 20:19:23 +05:30
hrj ab9c0e6247
Merge pull request #94 from vinceh121/master
Listen address in config
2021-05-19 20:16:01 +05:30
vinceh121 bbe7c8b858
Log listen address
Signed-off-by: vinceh121 <contact@vinceh121.me>
2021-05-19 14:32:06 +02:00
vinceh121 b5a33d2e42
Listen address in config
Signed-off-by: vinceh121 <contact@vinceh121.me>
2021-05-19 14:32:02 +02:00
hrj c914484b42
Merge pull request #92 from rr83019/Config-file-path
Specify config file path
2021-05-02 20:13:17 +05:30
Rahul Rudragoudar ecff4087ad
Convert objects to classes
Update references

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-05-02 16:58:14 +05:30
Rahul Rudragoudar 6f38a77c2f
Support to specify config file
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-05-02 16:57:12 +05:30
hrj 1a41724fdc popping characters captcha: don't show prev char for the first char
Signed-off-by: hrj <harshad.rj@gmail.com>
2021-04-24 22:36:25 +05:30
hrj e3241ff7ac fix bug in randomNumber(min, max)
Signed-off-by: hrj <harshad.rj@gmail.com>
2021-04-24 22:35:50 +05:30
hrj 6196a34aae
Merge pull request #90 from rr83019/BT-captcha
Background Thread - Random Captcha Generation
2021-04-24 21:52:25 +05:30
Rahul Rudragoudar 1708347504
Remove seed member var
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-04-24 20:53:28 +05:30
Rahul Rudragoudar 04755c0a07
Add method to set seed
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-04-24 20:44:20 +05:30
Rahul Rudragoudar 30bb26473e
Update random generator reference
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-04-24 19:37:44 +05:30
Rahul Rudragoudar 0d33f51f9e
Move random number generator to HelperFunctions
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-04-24 19:36:48 +05:30
Rahul Rudragoudar d62951fa51
Minor fix
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-04-21 14:56:58 +05:30
Rahul Rudragoudar aa5e7da0bc
Merge branch 'BT-captcha' of github.com:rr83019/lc-core into BT-captcha 2021-04-21 14:45:42 +05:30
Rahul Rudragoudar e38c3b680a
Reformat:Scalafmt
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-04-21 14:43:00 +05:30
Rahul Rudragoudar 98c304ccd4
Pick a random captcha provider instead of params
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-04-21 14:39:20 +05:30
Rahul Rudragoudar d3d5296ccd
Disable JavaFmt on compile
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-04-21 14:27:19 +05:30
Rahul Rudragoudar 241be1631c
Minor fix
Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
2021-04-21 13:53:35 +05:30