Commit Graph

52 Commits

Author SHA1 Message Date
realaravinth
cf4a0f9b73 Update CAPTCHA configuration by updating user provided traffic pattern 2021-12-16 18:15:15 +05:30
realaravinth
05f7e81c21 rename from_user_provided_traffic_pattern to create_easy
isolate non-async test in separate module
2021-12-16 17:47:30 +05:30
realaravinth
54b14291ec Implement CAPTCHA configuration estimation from avg, peak and
broke_my_site_traffic

The above metrics are sourced from the user and are stored in the
database to reuse at a later point in time when the mCaptcha instance's
admin changes suggested configuration.

I'm not sure if I want to recompute configuration every time the admin
updates suggested configurations or give the user an option to recompute
based on latest trends. If we recompute on every update, then should the
admin choose very high difficulty_factors then it would hold back the
user's visitors, which is not nice. But there should also be an option
to rerun estimates when older configuration no longer works properly.
2021-12-03 14:26:23 +05:30
realaravinth
53720ff740 frontend linting 2021-10-08 15:24:29 +05:30
realaravinth
f7afc72d81 update levels in cache when db is updated 2021-08-31 13:54:05 +05:30
realaravinth
a65b1c219c username update 2021-08-12 17:13:17 +05:30
realaravinth
147f563ec8 demo user task 2021-08-09 11:56:25 +05:30
realaravinth
a5558e4b6f clippy fixes and env docs update 2021-08-08 18:29:17 +05:30
realaravinth
1d759fcb25 captcha stats 2021-07-27 15:28:21 +05:30
realaravinth
8830961e04 stats endpoint 2021-07-25 21:15:59 +05:30
realaravinth
4b18992f6a settings page, clipboard component 2021-07-20 18:14:23 +05:30
realaravinth
00768cce34 delete captcha 2021-07-20 13:02:53 +05:30
realaravinth
f7c9217667 update and rename captcha plumbing 2021-07-19 17:12:56 +05:30
realaravinth
1b0a95e768 tests: get status code from err 2021-07-17 18:57:33 +05:30
realaravinth
8f87efeeb3 error correction, tests for err branches, rm get_token, get_token,
delete captcha
2021-07-17 17:43:53 +05:30
realaravinth
ea8264054a edit sitekey, router pattern matching, sitekey update optimization, rm level delete and level err handling 2021-07-16 17:40:52 +05:30
realaravinth
b7ec1bca22 duplicate email check and address clippy warnings 2021-07-11 21:46:50 +05:30
realaravinth
dcfba60c86 addressing clippy lints 2021-06-11 23:39:38 +05:30
realaravinth
f5624947b9 redis storage for captcha mech 2021-06-11 19:31:03 +05:30
realaravinth
9e70f8f756 rename guard -> mcaptcha 2021-06-01 17:33:47 +05:30
realaravinth
fcdbe66b26 captcha stats 2021-05-27 14:47:29 +05:30
realaravinth
72667bd2e1 using custom version of actix-codegen and cors for pow routes 2021-05-25 14:34:24 +05:30
realaravinth
91ca00ea79 get notifications 2021-05-10 15:38:09 +05:30
realaravinth
527724ecda pow stats for solution and verification 2021-05-09 19:33:28 +05:30
realaravinth
6069509504 addlevel and getlevel tests 2021-05-06 14:38:42 +05:30
realaravinth
30f457ca43 deprecated mcaptcha add route 2021-05-06 13:57:14 +05:30
realaravinth
98719670df sitekey list 2021-05-04 18:34:36 +05:30
realaravinth
e83a362e75 added duration field to add_level 2021-05-04 10:49:44 +05:30
realaravinth
812b0ff2c9 add site key form 2021-05-03 20:24:03 +05:30
realaravinth
ef778687e0 cleanup 2021-05-02 16:44:54 +05:30
realaravinth
5361e9b43a mcaptcah uses const routes 2021-05-02 16:35:15 +05:30
realaravinth
76ae2b03e9 migrated auth, account and meta to use const routes 2021-05-02 16:11:01 +05:30
realaravinth
4f27e1ab8d using constants for routes 2021-05-02 12:39:37 +05:30
realaravinth
a82d61ed27 api endpoints migrated to use auth middleware 2021-05-01 23:39:52 +05:30
realaravinth
a5cfa3b305 pow stats 2021-04-30 11:14:29 +05:30
realaravinth
bbf182a918 changes to test suite to use new routes 2021-04-11 23:50:53 +05:30
realaravinth
a3f060350c moved pow to independent module 2021-04-11 22:57:56 +05:30
realaravinth
16dd4125c3 validation token verify 2021-04-11 12:33:32 +05:30
realaravinth
36b505ef59 mcaptcha token generation unique constration err handling 2021-04-11 11:17:15 +05:30
realaravinth
52ab947e3b get user secret 2021-04-10 21:15:31 +05:30
realaravinth
7777db477e pow verification 2021-04-10 20:19:59 +05:30
realaravinth
e76dd8014c pow get config 2021-04-10 17:00:54 +05:30
realaravinth
4e7e8da574 rm domains and added authorization check at all endpoints 2021-04-09 16:52:05 +05:30
realaravinth
55dd3fffe5 OAS: example payload 2021-03-31 15:27:23 +05:30
realaravinth
8aeab69303 OAS: duration 2021-03-31 13:56:55 +05:30
realaravinth
8ca3729dea toekn not found and OAS: domains 2021-03-31 13:05:33 +05:30
realaravinth
79348eaf85 rm actor temp 2021-03-29 21:07:01 +05:30
realaravinth
1e25b66e42 duplicate token id loop 2021-03-27 15:13:36 +05:30
realaravinth
40dd7a2009 token update 2021-03-27 13:03:57 +05:30
realaravinth
e5dd22679f domain verification 2021-03-27 12:39:20 +05:30