realaravinth
e5e89bd8a0
chore: bump libmcaptcha, switch to master
2022-08-13 01:58:40 +05:30
realaravinth
f8e6bdf229
feat: bump libmcaptcha
2022-08-09 16:29:05 +05:30
realaravinth
ce1b3b0856
feat: bump libmcaptcha and pow_sha256
2022-08-09 02:51:40 +05:30
Kian-Meng Ang
bb42841a66
Fix typos
2022-08-04 23:06:54 +08:00
realaravinth
337a378b08
feat: add checks to verify the DB error situations
2022-07-23 15:50:25 +05:30
realaravinth
7d0e4c6be4
fix: prevent sitekey abuse with account secret authentication for access token validation
...
SUMMARY
At present, sitekey can be abused by installing it on a third-party
site as verifying the access token returned from CAPTCHA validation
doesn't require any authentication.
This fix uses account secret authentication to verify access tokens
credits: by @gusted
2022-07-22 19:44:35 +05:30
realaravinth
629c841e2d
chore: cleanup and addressing clippy lints
2022-05-27 18:37:59 +05:30
realaravinth
2212b3b974
feat: def traits to get captcha config
2022-05-27 18:14:51 +05:30
realaravinth
cf66e7efc6
feat: def traits to fetch captcha stats
2022-05-27 17:07:10 +05:30
realaravinth
0d395ea67e
feat: def traits to record captcha fetch stats
2022-05-27 16:21:47 +05:30
realaravinth
6e45c643b1
feat: def get_email trait
2022-05-26 20:35:25 +05:30
realaravinth
e9921db55b
feat: def traits for adding, getting notifications and marking them read
2022-05-26 19:31:36 +05:30
realaravinth
5270ced600
feat: def interface to del traffic pattern
2022-05-14 18:56:41 +05:30
realaravinth
212c03a0e2
feat: def interface to get traffic pattern
2022-05-14 18:45:25 +05:30
realaravinth
2132ab5791
feat: define interface to add user's traffic pattern
2022-05-14 18:22:21 +05:30
realaravinth
09a8591cb4
feat: define get captcha cooldown period interface
2022-05-14 16:27:15 +05:30
realaravinth
3edb2252af
feat: define accountnotfound and captcha notfound err vals
2022-05-13 19:08:14 +05:30
realaravinth
04a9bc5cc7
feat: define interface for getting captcha levels
2022-05-13 19:07:27 +05:30
realaravinth
e2ebae6e2e
feat: define interface for update_captcha_key
2022-05-12 20:18:53 +05:30
realaravinth
1e6a259d57
feat: define interface for updating captcha metadata
2022-05-12 20:09:18 +05:30
realaravinth
af46a3c54d
feat: define interfaces for delete_captcha_levels and delete_captcha
2022-05-12 19:55:03 +05:30
realaravinth
55518ef650
feat: define captcha_exists interface
2022-05-12 19:31:26 +05:30
realaravinth
277d2bb9e5
feat: define interface for adding captcha
2022-05-12 19:09:25 +05:30
realaravinth
00dca4a069
feat: define interface for creating captcha
2022-05-12 11:50:24 +05:30
realaravinth
d4a080b5fc
feat: define interface for updating user secret
2022-05-12 10:20:41 +05:30
realaravinth
28ddadc5fe
feat: define interface for getting user secret
2022-05-11 20:21:06 +05:30
realaravinth
f165581e17
chore: lints
2022-05-11 20:11:11 +05:30
realaravinth
83f6456a59
feat: define interface for updating username
2022-05-11 20:01:32 +05:30
realaravinth
f55a383eb5
feat: define interface to change password
2022-05-11 19:51:06 +05:30
realaravinth
5bcf7beddc
fix: return username to store in sessions when getting password
2022-05-11 18:54:17 +05:30
realaravinth
7e2be86c12
feat: get password using either username or email
2022-05-11 18:26:35 +05:30
realaravinth
6377d07dce
feat: define interface for fetching user password
2022-05-11 15:43:03 +05:30
realaravinth
58216f0f63
feat: define interface for updating email of a user
2022-05-11 15:25:25 +05:30
realaravinth
9595ea232b
feat: define interface for checking if user email exists
2022-05-11 13:33:30 +05:30
realaravinth
e244713ad7
feat: implement basic tests
2022-05-11 13:33:29 +05:30
realaravinth
454075a3d9
feat: define username exists endpoint
2022-05-11 13:33:29 +05:30
realaravinth
4bdbb52d8f
feat: define delete account db interface
2022-05-11 13:33:29 +05:30
realaravinth
8dde022851
feat: define interface for username registration"
2022-05-11 13:33:29 +05:30
realaravinth
1d8554cb36
chore: rust fmpt
2022-05-11 13:33:29 +05:30
realaravinth
02abffd63a
feat: init and define database ops as interfaces to support multiple DBs
2022-05-11 13:33:29 +05:30