Commit graph

26 commits

Author SHA1 Message Date
802bf71325
feat: reuse
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2023-11-01 17:12:16 +05:30
5e7d1cae65
feat: schedule download jobs on reqs from mCaptcha/mCaptcha 2023-10-20 01:42:54 +05:30
6b93524027
feat: schedule and record job states. Create job states during migration 2023-10-19 11:29:59 +05:30
cdbf6788f0
feat: HTTP client to talk to mCaptcha/mCaptcha 2023-10-18 10:28:50 +05:30
1e33e5303a
feat: serve files from export dir 2023-03-14 15:51:46 +05:30
a3f2c3632e
feat: publish benchmark data periodically (configurable)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2023-03-12 20:11:06 +05:30
9411c2ba9f
feat: read publication dir config and serve it 2023-03-12 20:10:40 +05:30
604fca0a62
feat: archive campaign and benchmark data
DESCRIPTION
    FORMATS
	- Campaign configuration is stored in JSON format
	- Benchmark data is stored in CSV format

    DIRECTORY STRUCTURE
	Each campaign gets a separate directory. A campaign can have
	multiple archives. Archives are stored in directories whose names
	would be the same as the UNIX timestamp of when they were
	recorded.

	EXAMPLE
	    The example below shows three campaigns with one archive
	    each. Each archive is stored in a directory denoting the
	    moment in which the archive was generated. Each archive
	    includes campaign configuration and benchmark.

	    ```bash
		14:53 atm@lab archive → tree
		.
		├── 4e951e01-71ee-4a18-9b97-782965495ae3
		│   └── 1675329764
		│       ├── benchmark.csv
		│       └── challenge.json
		├── 9d16df08-dffc-484e-bbe2-10c00b431c7e
		│   └── 1675329764
		│       ├── benchmark.csv
		│       └── challenge.json
		└── fa9f7c24-afec-4505-adb9-8e0c3ce54d37
		    └── 1675329764
			├── benchmark.csv
			└── challenge.json

		7 directories, 6 files
		```
2023-03-08 17:36:45 +05:30
29a5e065aa
feat: use settings from app context 2023-01-24 19:22:19 +05:30
7ff66c551d
feat & chore: update actix-web and deps and use actix-auth-middleware for guarding auth routes 2022-03-26 12:45:36 +05:30
0524208a39
mobile styling 2021-10-27 11:39:37 +05:30
35937134f2
- initialize survey user
- skip survey user registration if cookie is already present
2021-10-14 20:39:39 +05:30
95dba20074
handle survey sessions with actix sessions 2021-10-14 18:53:06 +05:30
8c977ca0af
scope survey routes to /survey/ 2021-10-14 14:43:22 +05:30
115b096008
restrict admin functions to /admin 2021-10-13 17:06:36 +05:30
a8c6912c25
implement redirect to source on admin login HTML endpoint 2021-10-13 14:28:18 +05:30
bc63926d18
templates 2021-10-13 14:11:39 +05:30
f10c620040
load mcaptcha-glue 2021-10-12 14:54:51 +05:30
2609ade2a5
Setup ts compilation
- import frontend code from mCaptcha/benchs
- setup TS compilation workflow
- import vendor code from mCaptcha/mCaptcha/browser
- rewrite bench.js import in bundle.js to include file's hash
2021-10-12 14:02:34 +05:30
f1bc63d2c1
get admin functions into admin scope 2021-10-11 13:41:53 +05:30
f5d9094149
load static assets module 2021-10-11 10:32:19 +05:30
dbffef5e30
admin account management routes 2021-10-11 10:25:45 +05:30
d828a4a5d9
auth middleware: redirect to specified route 2021-10-11 10:09:51 +05:30
d2c4e9a06b
admin authentication 2021-10-11 09:56:15 +05:30
3a7559d6a8
add survey table 2021-10-06 19:00:53 +05:30
a4251a772a
init 2021-10-04 21:21:10 +05:30