Commit graph

144 commits

Author SHA1 Message Date
Daniel Antlinger
223e8fb8c2 feat: open links from widget in new pages target=_blank 2022-09-07 14:05:25 +02:00
Gusted
f56bc6d9e4
Let widget use full-screen
- Instead of using static values for dimensions. Use responsive CSS and
take up the whole screen. Let the user deal with setting the correct
dimensions accordingly.
2022-07-26 22:58:17 +02:00
realaravinth
b6afe79a81
fix: initialize DOM elements only when executing methods/in pages that
contain those elements

SUMMARY
    Trying to grab elements globally in a script results in it trying to
    initialize in all pages. When the element is absent, the script
    fails and JavaScript crashes.
2022-07-23 00:48:51 +05:30
realaravinth
cd72ae6ffe
feat: migrate fetch captcha config to use db_* 2022-05-27 18:16:47 +05:30
realaravinth
098d0cfc24
feat: migrate fetching stats to use db_* 2022-05-27 17:11:15 +05:30
realaravinth
fc8a1670d2
update copyright notice 2022-01-08 22:16:05 +05:30
realaravinth
c46b3f4f4c
Implement easy edit view
When user tries to visit this view without an easy configuration
available, i.e, user had created the CAPTCHA using advance view and no
TrafficPattern is available in database, the user will be automatically
redirected to the advance edit page.

But the default edit link everywhere is to the easy edit view.
2021-12-18 21:01:19 +05:30
realaravinth
ebde9775fc
use easy edit option by default in list view 2021-12-18 20:55:01 +05:30
realaravinth
56b05ec901
include link to easy edit option 2021-12-18 20:53:47 +05:30
realaravinth
7b0fe7c4b2
break view form into multiple parts 2021-12-18 20:53:10 +05:30
realaravinth
784aa26dbb
mv edit sitekey into advance edit sitekey 2021-12-18 18:19:23 +05:30
realaravinth
a73542cf18
implement easy sitekey addition 2021-12-18 16:42:27 +05:30
realaravinth
081cdcc803
use crates::PAGES.panel.sitekey.get_edit_easy to get edit route 2021-12-18 16:41:30 +05:30
realaravinth
e874d1477d
link easy variant from advance sitekey add form 2021-12-18 16:40:25 +05:30
realaravinth
fc40593c5d
split sitekey add and edit routes into easy and advance variants 2021-12-18 16:39:20 +05:30
realaravinth
5a49940b89
Get sitekey routes using methods on pages::panel::sitekey::routes::Sitekey
for consistency purposes
2021-12-18 16:00:09 +05:30
realaravinth
9999bd887a
migrate mcaptcha-glue to @mcaptcha/vanilla-glue 2021-12-16 20:57:39 +05:30
realaravinth
73ce2d1cb1
refactor captcha.rs and levels.rs and rm duration routes 2021-12-16 20:46:50 +05:30
realaravinth
b2297eab6d
mv add form into advance 2021-12-10 06:16:38 +05:30
realaravinth
5afa531bb8
build sass using dart-sass, bypassing css extractor 2021-12-10 06:16:03 +05:30
realaravinth
e399f82ac4
Load pow-sha256 polyfill to support browsers that aren't capable of
executing WASM
2021-12-08 14:52:06 +05:30
realaravinth
0126dc0e3a
call proof generator from within a web worker 2021-12-02 14:24:53 +05:30
realaravinth
ab77eed91c
move pow wasm lib out to a separate repo 2021-12-01 21:18:30 +05:30
realaravinth
7154a309be
mv widget js from out of subdir 2021-12-01 17:43:44 +05:30
realaravinth
53720ff740
frontend linting 2021-10-08 15:24:29 +05:30
realaravinth
b1fd56e9b6
navbar animation 2021-08-23 18:55:57 +05:30
realaravinth
6ef941f73d
update username 2021-08-13 18:58:04 +05:30
realaravinth
595e79a014
update sqlx data, delete user in username_change test 2021-08-12 17:22:41 +05:30
realaravinth
a65b1c219c
username update 2021-08-12 17:13:17 +05:30
realaravinth
751a1046fb
add sitekey helper in list sitekey page 2021-08-12 08:38:09 +05:30
realaravinth
78ebc46c64
register demo user only when it's absent 2021-08-12 08:26:49 +05:30
realaravinth
9269539a8a
fix broken sitekey delete link 2021-08-09 18:59:35 +05:30
realaravinth
00acf0c193
fix show password button in sudo pages 2021-08-09 13:02:54 +05:30
realaravinth
02b62fb1d0
demo user banner 2021-08-09 12:23:06 +05:30
realaravinth
65ffc37549
strict transport policy heaer 2021-08-05 21:05:27 +05:30
realaravinth
6763867cbe
make billing section optional 2021-08-04 19:24:35 +05:30
realaravinth
1d759fcb25
captcha stats 2021-07-27 15:28:21 +05:30
realaravinth
9bc11f3518
lazy init edit submit btn and update demo link 2021-07-26 11:49:07 +05:30
realaravinth
0a8d36dc9f
sitemap generates URL 2021-07-25 20:15:44 +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
746e4a2d1a
use buttons in login, reigster and sudo forms 2021-07-22 09:19:27 +05:30
realaravinth
e9e6aac770
sitemap 2021-07-21 22:15:52 +05:30
realaravinth
257b3a2b88
widget uses LazyElemnt 2021-07-21 21:02:03 +05:30
realaravinth
5044d78378
update tests to use lazyelement 2021-07-21 20:48:31 +05:30
realaravinth
861998af75
lazy element, settings: account delete and secret update 2021-07-21 20:44:22 +05:30
realaravinth
2c2f79e1cd
settings page styling 2021-07-21 14:46:31 +05:30
realaravinth
b603208d48
add-data rendering & clipboard takes element 2021-07-21 10:42:25 +05:30
realaravinth
4b18992f6a
settings page, clipboard component 2021-07-20 18:14:23 +05:30
realaravinth
db941d51b7
delete captcha option and sudo page 2021-07-20 15:22:15 +05:30
realaravinth
8f87efeeb3
error correction, tests for err branches, rm get_token, get_token,
delete captcha
2021-07-17 17:43:53 +05:30