Commit graph

299 commits

Author SHA1 Message Date
ae1bc888f3 Merge pull request 'feat: API to retrieve percentile for benches' (#20) from feat-percentile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was canceled
Reviewed-on: #20
2023-11-02 03:15:57 +05:30
3ba7b591f5
feat: API to retrieve percentile for benches
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2023-11-01 19:47:52 +05:30
b48cc8ffc7 Merge pull request 'feat: reuse init' (#19) from reuse into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #19
2023-11-01 19:47:35 +05:30
76075099be
fix: CI: install libssl-dev
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2023-11-01 19:30:26 +05:30
241ccab5fc
fix: use vendored openssl
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2023-11-01 17:59:02 +05:30
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
2879a4da01 Merge pull request 'mcaptcha-upload' (#17) from mcaptcha-upload into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #17
2023-10-20 03:18:14 +05:30
be03da096e
fix: run tests sequentially to avoid race cond
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2023-10-20 03:07:44 +05:30
f17e38c531
fix: dont use mod db while migrating with tests-migrate
Some checks failed
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline failed
2023-10-20 02:57:47 +05:30
dfa83b1031
feat: offline sqlx data
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2023-10-20 01:49:26 +05:30
5e7d1cae65
feat: schedule download jobs on reqs from mCaptcha/mCaptcha 2023-10-20 01:42:54 +05:30
3e5dca9069
feat: clean up auth method and include hostname in scheduler ctx 2023-10-20 01:41:46 +05:30
c8ecd29e94
feat: job runner to execute download requests from mCaptcha/mCaptcha 2023-10-20 01:40:32 +05:30
c0a125d5f1
feat: add db methods to manage scheduled jobs and their states 2023-10-19 22:11:31 +05:30
6b93524027
feat: schedule and record job states. Create job states during migration 2023-10-19 11:29:59 +05:30
b5b83b955a
fix: make archive shutdown responsive
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2023-10-19 10:10:33 +05:30
3c445411e9
fix: update parameters to mCaptcha/mCaptcha 2023-10-19 09:55:00 +05:30
786a9afe22
feat: routes to accept analytics from mCaptcha/mCaptcha 2023-10-18 10:28:50 +05:30
cdbf6788f0
feat: HTTP client to talk to mCaptcha/mCaptcha 2023-10-18 10:28:50 +05:30
0dc74c1c05
feat: helper subroutines to spin up docker DB container in make 2023-10-18 10:28:50 +05:30
8e0e94f98b
feat: DB methods to save analytics from mCaptcha/mCaptcha 2023-10-18 10:28:48 +05:30
ca34646b0c Merge pull request 'update-sqlx' (#18) from update-sqlx into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #18
2023-10-17 22:48:41 +05:30
43dc36554d
fix: upgrade docker img
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-10-17 22:30:22 +05:30
d4d08e9d9a
debug: disable linting 2023-10-17 22:30:21 +05:30
fb472ed6c6
chore: update deps, docker img and woodpecker ci def 2023-10-17 22:30:19 +05:30
dcfc290099
fix: sqlx offline data
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was canceled
2023-03-14 20:47:51 +05:30
6620cc6857 Merge pull request 'feat: Publish links to exports page and list puiblicly list all campaigns' (#16) from publish-results into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #16
2023-03-14 20:20:40 +05:30
4bfc6a180f
feat: add public navbars to home and bench pages
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
2023-03-14 15:56:51 +05:30
b8e52ff82a
feat: add export page 2023-03-14 15:51:53 +05:30
1e33e5303a
feat: serve files from export dir 2023-03-14 15:51:46 +05:30
3d74a8ce89
feat: add public navbar 2023-03-14 15:51:28 +05:30
740b1a331e
feat: get all campaigns on an instance 2023-03-14 15:50:27 +05:30
1c1617d684
fix: sqlx offline data
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-13 00:34:04 +05:30
6657dba05b Merge pull request 'Periodically publish results from mCaptcha/survey.' (#15) from publish-results into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #15
2023-03-12 21:15:42 +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
d2c52cc62c
feat: cleanup archiver and include tests 2023-03-08 17:38:24 +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
a44f6f1748
feat: add archive base_path in settings 2023-03-08 17:36:45 +05:30
ca0c847f04
feat: add NLnet funding details
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-03-08 17:19:47 +05:30
9e153b22ca
fix: update sqlx and fix container build
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
closes: #14
2023-02-14 17:25:27 +05:30
4f224d782a
Merge pull request #14 from mCaptcha/js-bench
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Collect JavaScript polyfill benchmark using mCaptcha/survey
2023-02-13 14:14:44 +05:30
d6a80fa1fe
fix: show next page link only when next_page is set
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-02-02 00:31:19 +05:30
92ab34967d
feat: display filtered (wasm, js and all) filtered benchmarks 2023-02-02 00:30:51 +05:30
9d128033ac
feat: fetch and test filtered benchmark results. 2023-02-02 00:29:52 +05:30
7a2cc1646d
chore: linting 2023-02-02 00:29:24 +05:30
1a466bbd3c
feat: display benchmark type 2023-02-01 18:19:06 +05:30
0fa21911f0
feat: submit and store benchmark type 2023-02-01 18:18:50 +05:30
49abe1eb65
fix: default campaign 2023-02-01 18:18:11 +05:30
8f0673c637
chore: ignore non-import loading 2023-02-01 18:17:34 +05:30