62 Commits

Author SHA1 Message Date
realaravinth
fc8a1670d2
update copyright notice 2022-01-08 22:16:05 +05:30
realaravinth
855dbc60ef
Fixes #8
```
$ cargo test
<--- snip --->
 thread panicked while panicking. aborting.
     Running unittests (target/debug/deps/tests_migrate-7d90f83f506b1b25)
 ```

gdb revealed that demo::demo_account_works receives a SIGKILL due to a
failed test. No idea why it didn't fail the usual way. The part where
the test fails hits an endpoint with the wrong datatype payload, it
should have failed with a 404 when the status was asserted but it
didn't. Fixing that fixed #8.

Additionally, all demo user functionality was restructured to include an
abort functionality, which can be used to kill the loop that deletes and
creates demo user throughout the runtime of the app.
2021-12-18 13:53:05 +05:30
realaravinth
5afa531bb8
build sass using dart-sass, bypassing css extractor 2021-12-10 06:16:03 +05:30
realaravinth
b5af9ee259
it appears actix-web's scope behaviour has changed in the latest beta
release:

Routes 404'd when scope contained trailing slash like so:
let scope = "/api/v1/pow/";
web::scope(scope)//

So had to rm trailing slash in scope
2021-11-29 17:33:08 +05:30
realaravinth
9afb63c738
use yaml directly for displaying open api spec 2021-10-08 15:36:42 +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
8830961e04
stats endpoint 2021-07-25 21:15:59 +05:30
realaravinth
189510c008
lazy init asset paths, store asset alt and prep svg for embedding 2021-07-22 12:35:25 +05:30
realaravinth
e9e6aac770
sitemap 2021-07-21 22:15:52 +05:30
realaravinth
69de0aaeef
notifications styling 2021-07-14 20:09:00 +05:30
realaravinth
67a35a6e43
clear cookie after account deletion and CI: skip build 2021-07-09 11:49:01 +05:30
realaravinth
bfebca6e0e
widget static resources are now built locally 2021-07-07 00:28:32 +05:30
realaravinth
574efc2252
email verification 2021-06-30 20:57:26 +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
c581d8d0a3
error handling in auth 2021-06-28 23:03:15 +05:30
realaravinth
cc17f2048f
errorable and seperated runner methods for auth 2021-06-28 19:16:59 +05:30
realaravinth
2162d32455
block floc fmt 2021-06-16 19:42:04 +05:30
realaravinth
6a56ff8ea9
block floc 2021-06-15 20:23:39 +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
2ea818591e
cache control 2021-05-30 17:55:11 +05:30
realaravinth
fd67a9fa42
widget noscript and styling 2021-05-29 13:40:11 +05:30
realaravinth
c873d152c3
rearranged static files 2021-05-29 12:22:31 +05:30
realaravinth
417e008c27
favicons 2021-05-29 00:04:11 +05:30
realaravinth
2c209bf8d5
widget template 2021-05-28 21:26:36 +05:30
realaravinth
50234435ec
footer: link to src of build version 2021-05-28 13:07:58 +05:30
realaravinth
fcdbe66b26
captcha stats 2021-05-27 14:47:29 +05:30
realaravinth
80352fb390
mobile css setup 2021-05-25 20:40:57 +05:30
realaravinth
91ca00ea79
get notifications 2021-05-10 15:38:09 +05:30
realaravinth
6184fe7efe
build tools: webpack with typescript and scss compilation 2021-05-05 23:21:59 +05:30
realaravinth
f0254b3b77
static assets caching 2021-05-04 23:27:58 +05:30
realaravinth
0531a26274
docs use const routes 2021-05-02 18:36:39 +05:30
realaravinth
9d6b27a95b
pages use const routes 2021-05-02 18:11:56 +05:30
realaravinth
0829ee1c74
pow uses const routes 2021-05-02 17:13:04 +05:30
realaravinth
ef778687e0
cleanup 2021-05-02 16:44:54 +05:30
realaravinth
76ae2b03e9
migrated auth, account and meta to use const routes 2021-05-02 16:11:01 +05:30
realaravinth
90424219f5
site-key form made resulable 2021-05-01 14:41:22 +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
realaravinth
343c37ae1c
changed login route 2021-04-30 18:06:28 +05:30
realaravinth
06815469b7
set email 2021-04-14 09:45:59 +05:30
realaravinth
c776092023
scoped cors 2021-04-12 10:25:52 +05:30
realaravinth
8851b1f7b7
cors for pow routes 2021-04-11 23:40:36 +05:30
realaravinth
e76dd8014c
pow get config 2021-04-10 17:00:54 +05:30
realaravinth
d3851ea38e
embed static assets and remove frontend workspace 2021-04-09 17:40:40 +05:30
realaravinth
0496c0bdaf
frontend integration 2021-04-09 14:21:43 +05:30
realaravinth
ecc0076cdd
frontend toolchain config and registration 2021-04-02 20:35:06 +05:30