Commit Graph

17 Commits

Author SHA1 Message Date
Aravinth Manivannan cfc459dde1
fix: use individual database for each test
ci/woodpecker/push/woodpecker Pipeline failed Details
ci/woodpecker/pr/woodpecker Pipeline failed Details
2023-11-02 04:24:49 +05:30
Aravinth Manivannan c8ecd29e94
feat: job runner to execute download requests from mCaptcha/mCaptcha 2023-10-20 01:40:32 +05:30
Aravinth Manivannan 8e0e94f98b
feat: DB methods to save analytics from mCaptcha/mCaptcha 2023-10-18 10:28:48 +05:30
Aravinth Manivannan fb472ed6c6
chore: update deps, docker img and woodpecker ci def 2023-10-17 22:30:19 +05:30
Aravinth Manivannan 9411c2ba9f
feat: read publication dir config and serve it 2023-03-12 20:10:40 +05:30
Aravinth Manivannan d2c52cc62c
feat: cleanup archiver and include tests 2023-03-08 17:38:24 +05:30
Aravinth Manivannan 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
Aravinth Manivannan 9e153b22ca
fix: update sqlx and fix container build
ci/woodpecker/push/woodpecker Pipeline was successful Details
closes: #14
2023-02-14 17:25:27 +05:30
Aravinth Manivannan 5a27b86c6f
chore: update deps 2023-01-24 23:32:12 +05:30
Aravinth Manivannan fdc10ff28d
chore: update deps and load tera 2023-01-24 19:22:39 +05:30
Aravinth Manivannan 7bf085803c
chore: update deps 2022-03-26 16:30:13 +05:30
Aravinth Manivannan 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
Aravinth Manivannan 95dba20074
handle survey sessions with actix sessions 2021-10-14 18:53:06 +05:30
Aravinth Manivannan f5fdef9eef
clean up unused deps 2021-10-14 14:44:24 +05:30
Aravinth Manivannan 4158147f84
authentication middleware handles redirects 2021-10-12 21:56:16 +05:30
Aravinth Manivannan d2c4e9a06b
admin authentication 2021-10-11 09:56:15 +05:30
Aravinth Manivannan a4251a772a
init 2021-10-04 21:21:10 +05:30