Aravinth Manivannan
c4a286454b
chore: update rust and js deps
2023-07-02 22:05:23 +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
68b59ade8c
feat: add psuedo ID support to publish campaign IDs
2023-06-30 01:48:24 +05:30
Aravinth Manivannan
dc380adfcf
chore: bump libmcaptcha
2023-06-28 22:49:08 +05:30
Aravinth Manivannan
90e60b0486
Merge pull request #70 from mCaptcha/fix-53
...
fix: update libmcaptcha to use connection manager
2023-03-31 17:29:58 +05:30
Aravinth Manivannan
58f93cb602
fix: update libmcaptcha to use connection manager
...
closes: https://github.com/mCaptcha/mCaptcha/issues/53
2023-03-31 16:20:13 +05:30
dependabot[bot]
e890ba0f57
chore(deps): bump openssl from 0.10.41 to 0.10.48
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.41 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.41...openssl-v0.10.48 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-25 05:03:34 +00:00
Gusted
a4f9c92b32
Update cargo
2022-10-22 21:53:18 +02:00
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
realaravinth
912b342e0e
feat: conditionally init postgres/mariadb connection
2022-07-23 11:59:42 +05:30
realaravinth
85f91cb79b
feat: update libmcaptcha
2022-07-21 18:29:16 +05:30
realaravinth
bbc8873762
feat: migrate record_stats to use db_*
2022-05-27 16:23:33 +05:30
realaravinth
a971d4209d
fix and chore: refactor tests to minimize initializing DB connections
...
SUMMARY
The test suite was spinning up way too many database connections that what's
strictly needed and so the test suite was failing with[0]:
code: "53300", message: "sorry, too many clients already"
EXPERIMENTS
Tried sharing database connection pool across all tests with
async_once[0] but faced:
- IO errors
The connections were probably getting dropped in between tests
- actix Actor errors
The actor was probably not getting initialized before a
a reference to the async_once initialized app
context(crate::data::Data) is retrieved and used
FIX
crate::tests was spinning up an App context
instance(crate::data::Data) for most utility functions, which was
unnecessarily excessive.
Each test now creates an instance of the application context at the
beginning and shared a reference with all test utility functions. So
number of database connections/app context instance = number of unit
tests.
[0]: permanently fixes #22
[1]: https://docs.rs/async_once/latest/async_once/
2022-05-14 12:55:56 +05:30
realaravinth
bd75fc625c
feat: migrate adding captcha to use db_* interface
2022-05-12 19:10:04 +05:30
realaravinth
0d3d552ae0
feat: migrate create captcha to use db_*
2022-05-12 18:59:44 +05:30
realaravinth
dba1f662a7
feat: init postgres implementation via sqlx
2022-05-11 13:33:29 +05:30
realaravinth
91c6f77cab
chore: update actix-* deps
2022-05-07 16:10:14 +05:30
realaravinth
ab77eed91c
move pow wasm lib out to a separate repo
2021-12-01 21:18:30 +05:30
realaravinth
f2f8632679
udpate deps and test openapi spec
2021-11-29 17:32:33 +05:30
realaravinth
9afb63c738
use yaml directly for displaying open api spec
2021-10-08 15:36:42 +05:30
realaravinth
a8c3eaa617
clean up systemgroup interface
2021-08-20 19:17:40 +05:30
realaravinth
068c49080e
handle libmcaptcha actor errors
2021-08-20 18:15:55 +05:30
realaravinth
6ef941f73d
update username
2021-08-13 18:58:04 +05:30
realaravinth
e9e6aac770
sitemap
2021-07-21 22:15:52 +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
863d22f62c
list sitekey: copy sitekey
2021-07-15 18:07:12 +05:30
realaravinth
2e50c263a8
makeifle: clean and test workflows
2021-07-07 21:10:15 +05:30
realaravinth
5fa668ad97
updated cache buster
2021-07-07 18:10:01 +05:30
realaravinth
bfebca6e0e
widget static resources are now built locally
2021-07-07 00:28:32 +05:30
realaravinth
e1e1040ca9
clickable logo
2021-07-03 22:32:40 +05:30
realaravinth
362e2aeae0
email verification test
2021-07-01 15:48:59 +05:30
realaravinth
9f940c317a
upgrading to actix-v4-beta
2021-06-30 20:13:12 +05:30
realaravinth
804c81da38
read SMTP configuration
2021-06-29 21:08:40 +05:30
realaravinth
d5aceb60b4
sign in with email
2021-06-29 19:42:07 +05:30
realaravinth
6a56ff8ea9
block floc
2021-06-15 20:23:39 +05:30
realaravinth
5e6e04514e
preload creds manager
2021-06-13 13:35:09 +05:30
realaravinth
9636180673
redis health check: return err when unable to connect
2021-06-13 12:53:58 +05:30
realaravinth
3132a48087
add redis to health check
2021-06-12 13:44:18 +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
72667bd2e1
using custom version of actix-codegen and cors for pow routes
2021-05-25 14:34:24 +05:30
realaravinth
0421cb681c
show password compoenent
2021-05-15 21:36:52 +05:30
realaravinth
a4b409e914
sqlx offline compilation
2021-05-12 17:37:11 +05:30
realaravinth
91ca00ea79
get notifications
2021-05-10 15:38:09 +05:30
realaravinth
7058af84d6
static dir renamed and cookie auth middleware
2021-05-01 11:28:39 +05:30
realaravinth
c96f890236
cache_bustere upgrade and static assets tests
2021-04-30 21:34:44 +05:30