Aravinth Manivannan
ad4582cc16
feat: record and fetch max recorded nonces
2023-10-29 06:27:58 +05:30
Aravinth Manivannan
960283324d
feat: schedule mCaptcha/survey registration and uploads
2023-10-20 01:48:59 +05:30
Aravinth Manivannan
74364c4e17
chore: lint
2023-10-20 01:47:24 +05:30
Aravinth Manivannan
3d02f55241
fix: create psuedo id and setup publishing for those tht have opted in
2023-10-20 01:39:19 +05:30
Aravinth Manivannan
eab146b121
gc: get public hostname as config parameter
2023-10-20 01:38:22 +05:30
Aravinth Manivannan
d5617c7ec7
feat: upload secret route
2023-10-19 09:59:30 +05:30
Aravinth Manivannan
f933a30e7e
feat: load survey keystore
2023-10-19 09:59:29 +05:30
Aravinth Manivannan
87785b38be
feat: bootstrap survey upload job runner
2023-10-19 09:59:29 +05:30
Aravinth Manivannan
52c2c6e598
feat: bootstrap survey uploader's endpoints
2023-10-19 09:59:29 +05:30
Aravinth Manivannan
b6a6705449
feat: read survey uploader's settings
2023-10-19 09:59:29 +05:30
Aravinth Manivannan
c56b04fa5a
feat: download published pow performance analytics
2023-10-19 09:59:29 +05:30
Aravinth Manivannan
eb69e9aedc
hotfix: read soon-to-be deprecated env vars to avoid breakages like #114
2023-10-18 17:38:42 +05:30
Aravinth Manivannan
b300d2caac
fix: typo in env var names
2023-10-18 13:23:50 +05:30
Aravinth Manivannan
61729c5fae
fix: set logging var, only if one is not provided
2023-10-18 13:21:33 +05:30
Aravinth Manivannan
c67b7ac686
fix: cache busting metadata is stored in libcachebust_data.json
2023-10-17 15:47:15 +05:30
Aravinth Manivannan
561a847bd7
chore: use libmcaptcha and libcachebust from crates.io
2023-10-17 01:04:44 +05:30
Aravinth Manivannan
30dc51e8e1
debug: allow warnings
2023-10-16 22:04:34 +05:30
Aravinth Manivannan
4e2758f415
chore: clippy lints
2023-10-16 21:50:53 +05:30
Aravinth Manivannan
0e75a22beb
chore: bump sqlx to 0.7
2023-10-16 21:15:44 +05:30
Aravinth Manivannan
98efe3ae56
feat: manually read configuration from environment variables
2023-10-16 21:15:15 +05:30
Aravinth Manivannan
060291d174
chore: bump config version
2023-10-16 21:15:15 +05:30
Aravinth Manivannan
78d85ab9a9
feat: annotate license headers using reuse on text source files
2023-07-03 23:19:51 +05:30
Aravinth Manivannan
32762cf6b5
fix: linting
2023-07-02 22:04:42 +05:30
Aravinth Manivannan
1e0aedad61
chore: linting
2023-07-02 21:51:24 +05:30
Aravinth Manivannan
2ca49cffe4
feat: see publication status in sitekey view page
2023-06-30 16:50:04 +05:30
Aravinth Manivannan
468752f691
feat: advance siteey create now allows setting publication status
2023-06-30 16:49:35 +05:30
Aravinth Manivannan
22edb04ce2
feat: advance sitekey edit now allows modifying publication status
2023-06-30 16:48:53 +05:30
Aravinth Manivannan
6834e555d8
chore: use db util method to check publication status
2023-06-30 16:33:20 +05:30
Aravinth Manivannan
56dba7b77f
feat: option to publish pow performance numbers. Can un/publish from edit page too.
2023-06-30 07:55:12 +05:30
Aravinth Manivannan
2b82af9a0c
feat: update novice captcha creation form to include publish_benchmarks
...
preference
2023-06-30 03:20:57 +05:30
Aravinth Manivannan
2cf5e48d8e
feat: log pow performance stats while pow verification
2023-06-30 03:19:38 +05:30
Gusted
8dc690ca01
Remove redunant format
2022-10-24 16:22:10 +02:00
Gusted
8826f6df8f
Fix compiling
...
- I made some mistakes while checking my two previous PRs(Seems like I
don't understand Rust that great after all).
- Do the url encoding only on the password part, not only the whole URL.
- Fix `temporary value dropped while borrowed` compile error.
2022-10-22 21:28:58 +02:00
Gusted
9fd8ffd666
Add more logging for configuration/env
2022-10-17 19:49:42 +02:00
Gusted
b3e0ff6769
Allow PORT
environment to be not set
...
- It's quite weird to require the `PORT` environment to be set, when it
already can be set via the config file.
2022-10-16 23:07:10 +02:00
realaravinth
b3d00c89a6
feat: increase demo test waint time
2022-08-09 17:08:26 +05:30
realaravinth
8c9587ad65
feat: set custom runers and queue length
2022-08-09 16:30:04 +05:30
realaravinth
21825582e5
feat: fallabck to localhost when running tests
2022-08-09 16:29:24 +05:30
realaravinth
8c576d2b07
feat: queue length and IP runner config
2022-08-09 16:28:30 +05:30
realaravinth
c377cf431e
feat & fix: ip queues
2022-08-09 02:52:17 +05:30
Kian-Meng Ang
bb42841a66
Fix typos
2022-08-04 23:06:54 +08:00
realaravinth
a040b39558
fix: set db type when overriding with DATABASE_URL
2022-07-23 16:46:49 +05:30
realaravinth
249b6461ee
chore: migrate tests to also run with mariadb
2022-07-23 11:59:42 +05:30
realaravinth
912b342e0e
feat: conditionally init postgres/mariadb connection
2022-07-23 11:59:42 +05:30
realaravinth
f9efb062e0
feat: accept alt DB configuration
2022-07-23 11:59:42 +05:30
realaravinth
9371416398
fix: normalize username during login process too
...
credits: @gusted
2022-07-23 02:24:30 +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
5daeffd6fb
chore: tests to verify mCaptcha counter
2022-05-31 12:46:09 +05:30
realaravinth
be9c6b757e
fix: invert debug flag to set DB logging flag
2022-05-30 16:56:55 +05:30
realaravinth
b30bc67bd4
feat: conditional SQL statements logging for db-sqlx-postgres
2022-05-30 15:48:54 +05:30