29b4b80071
feat: Add case insensitive option to the captcha
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-12 23:30:21 +03:00
b67ebe9aea
chore: Use the simple_generator
feature for simple_example
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-12 23:30:21 +03:00
bc6c08b3ec
chore: Upgrade simple_login
example to the new update
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-12 23:30:21 +03:00
472e712c9a
chore: Update the dependencies and features
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-12 23:30:21 +03:00
4240da2409
feat: Function new_captcha
for CaptchaStorage
trait to create and store captcha
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-12 23:30:21 +03:00
c6956ad729
feat: New SimpleGenerator
to generate the captcha
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-12 23:30:20 +03:00
28425d939f
feat: New CaptchaBuilder
to build Captcha
struct
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-12 23:30:16 +03:00
27d985114a
feat: Add new memory storage
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-12 16:46:02 +03:00
e21ce0d524
refactor!: Refactor CaptchaStorage
trait
...
- Remove the requirement for the `Clone` trait in the `Self`
- Remove the `Display` and `Debug` trait and require `Error` trait
instead in `CaptchaStorage::Error`
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-12 12:23:57 +00:00
25f90ecfaf
chore: Add 'static
lifetime to CaptchaFinder
trait
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-12 12:04:31 +00:00
110a8728e1
feat: Add query finder
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-11 12:09:28 +00:00
0ad044904a
test: Add more header tests
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-11 11:50:39 +00:00
6520ab62e5
test: Add more form tests
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-11 11:48:20 +00:00
8d1e26c305
refactor: Improve form finder tests with rstest
...
Rust CI / Rust CI (push) Successful in 2m8s
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-11 09:29:15 +00:00
d4c3558b97
fix: Return None
if the key not found and not Some(None)
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-11 09:26:47 +00:00
d39f1e941a
refactor: Improve header finder tests with rstest
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-11 11:50:15 +03:00
702bbad7ae
chore: Add rstest
to dev dependencies
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-10 20:21:54 +00:00
4be7a66d03
refactor: Move the CacacheStorage
to another module
...
Rust CI / Rust CI (push) Successful in 1m51s
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-10 15:53:06 +00:00
dfa35daf0f
refactor: Split the finders into several modules
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-10 15:32:29 +00:00
42d598e0e4
chore: Update github.com
urls to git.4rs.nl
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-10 14:55:48 +03:00
60ae95ea5f
chore: Build the examples and run tests
...
Rust CI / Rust CI (push) Successful in 1m33s
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-09 21:01:45 +00:00
2bfa4de8aa
refactor: Refactor the CaptchaFinder
and CaptchaStorage
to work with token and answer as string
...
Rust CI / Rust CI (push) Successful in 1m9s
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-09 23:53:55 +03:00
28e9406032
chore: Improve dependencies versions
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-09 19:58:45 +00:00
91b5680b22
chore: Improve the tests
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-08 14:53:28 +00:00
e6121b3f52
chore: Moving to Forgejo instead of Github
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-08 14:51:21 +00:00
Awiteb
eb295d5b25
chore: Update my email address
...
CI / Rust build (push) Has been cancelled
CI / Rust format (push) Has been cancelled
CI / Rust check (push) Has been cancelled
CI / Rust clippy (push) Has been cancelled
CI / Rust test (push) Has been cancelled
Signed-off-by: Awiteb <a@4rs.nl>
2024-08-08 11:53:06 +03:00
TheAwiteb
c7e58cb6fc
First commit
CD / release (push) Has been cancelled
2024-01-29 23:24:35 +03:00
TheAwiteb
d2762e830e
Add github workflows
2024-01-29 23:24:04 +03:00
TheAwiteb
c888f82371
Add README.md
2024-01-29 23:23:41 +03:00
TheAwiteb
2f4d8561e2
Add the license
2024-01-29 23:23:33 +03:00