Commit graph

69 commits

Author SHA1 Message Date
0fa21911f0
feat: submit and store benchmark type 2023-02-01 18:18:50 +05:30
94eb76c188
feat: show timestamp in results page 2023-02-01 15:27:26 +05:30
21ff6741a0
feat: add timestamp to benchmark submissions 2023-02-01 15:26:58 +05:30
6bce9877ab
feat: link to results page from admin campaign list page 2023-01-26 20:58:53 +05:30
ab3d496bca
feat: show campaign results in web UI 2023-01-26 20:58:32 +05:30
79bd99d398
fix: page title 2023-01-26 20:58:07 +05:30
82bb2f327a
chore: get page helper method 2023-01-26 20:57:38 +05:30
c576487333
fix: store and get submission ID
DESCRIPTION
    If the same survey_user submits the survey many times, their first
    submission ID was being used to record benchmarks from their future
    submissions. Which resulted in submissions with empty benchmarks.

    This patch gets the submission ID as the record is being created and
    records benches using that. Bug fix and one less query.
2023-01-26 20:55:23 +05:30
0ac915b426
feat: REST API endpoint to return survey campaign results 2023-01-26 19:07:48 +05:30
aa63783794
feat: list survey responses per campaign 2023-01-26 18:25:52 +05:30
f6030577a0
fix: upload difficulty via web form 2023-01-26 18:25:22 +05:30
6b608c6677
feat: finish porting pages to tera. Fix tests 2023-01-24 23:31:04 +05:30
b874c17362
feat: port panel to tera 2023-01-24 23:29:58 +05:30
8e6a3afb4c
feat: port new campaign page to tera 2023-01-24 23:29:47 +05:30
e5bf7feebe
feat: port benchmark page to tera 2023-01-24 23:29:17 +05:30
82d293a159
feat: port delete campaign to tera 2023-01-24 23:28:57 +05:30
599777cbf3
feat: port list campaigns to tera 2023-01-24 23:28:22 +05:30
67d50a3d80
feat: rm gift and port about page to tera 2023-01-24 23:27:43 +05:30
9f0d38ab07
feat: define campaign doesnt exist error type 2023-01-24 23:00:08 +05:30
d2f266c689
feat: port login page to tera 2023-01-24 19:25:56 +05:30
c645bf83a3
feat: port join page to tera 2023-01-24 19:25:23 +05:30
9a15e11c5d
feat: port error component to tera 2023-01-24 19:24:18 +05:30
fe584190f5
feat: bootstrap tera 2023-01-24 19:23:29 +05:30
29a5e065aa
feat: use settings from app context 2023-01-24 19:22:19 +05:30
b66d5e7c70
chore: linting 2023-01-24 19:21:54 +05:30
33cd4e23bd
feat: load static assets info in serialize able form for tera integration 2023-01-24 19:02:52 +05:30
73cfe1b95d
chore: lint, use actix_web_codegen_const_routes and serde all routes 2023-01-24 19:02:29 +05:30
654a898413
chore: rm PageError 2023-01-24 19:01:56 +05:30
009ee5d11e
feat: load settings in application context 2023-01-24 19:01:30 +05:30
d5211cf946
feat: linting and load application context with test-env Modifications 2023-01-24 19:00:56 +05:30
c92aa10327
feat: load project links from configuration 2023-01-24 19:00:31 +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
81f3f5e450
chore: update cache-buster 2022-03-26 12:43:33 +05:30
0524208a39
mobile styling 2021-10-27 11:39:37 +05:30
eccb87fd99
fetch survey config 2021-10-14 22:35:38 +05:30
1b06c2c5be
filemap: fix broken test 2021-10-14 22:08:34 +05:30
9ba2fe31f5
change logo 2021-10-14 22:02:45 +05:30
bc950268de
fix app name 2021-10-14 21:54:26 +05:30
aa6b17bc51
rm password field from settings 2021-10-14 21:52:09 +05:30
f0f265f59e
submit benchmark 2021-10-14 21:25:19 +05:30
35937134f2
- initialize survey user
- skip survey user registration if cookie is already present
2021-10-14 20:39:39 +05:30
89153a589f
setup bench routes and js conditional execution 2021-10-14 20:02:54 +05:30
95dba20074
handle survey sessions with actix sessions 2021-10-14 18:53:06 +05:30
9c7670a334
about and bench pages 2021-10-14 17:13:09 +05:30
f5fdef9eef
clean up unused deps 2021-10-14 14:44:24 +05:30
8c977ca0af
scope survey routes to /survey/ 2021-10-14 14:43:22 +05:30
fb7125d5ab
change config file location in /etc/ 2021-10-13 18:43:08 +05:30
d640c7d5a2
survey index page 2021-10-13 17:51:46 +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