Commit graph

35 commits

Author SHA1 Message Date
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
9d128033ac
feat: fetch and test filtered benchmark results. 2023-02-02 00:29:52 +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
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
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
73cfe1b95d
chore: lint, use actix_web_codegen_const_routes and serde all routes 2023-01-24 19:02:29 +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
eccb87fd99
fetch survey config 2021-10-14 22:35:38 +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
9c7670a334
about and bench pages 2021-10-14 17:13:09 +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
4491fbb6f2
implement redirect to source on admin login endpoint 2021-10-13 14:18:13 +05:30
33a7a1882c
list and delete campaign endpoints 2021-10-13 14:10:45 +05:30
4158147f84
authentication middleware handles redirects 2021-10-12 21:56:16 +05:30
f10c620040
load mcaptcha-glue 2021-10-12 14:54:51 +05:30
377b825fe4
campaign workflow tests 2021-10-11 19:17:28 +05:30
2c4d2e5358
fetch bench configuration 2021-10-11 18:28:45 +05:30
5f3c21a9a9
add campaings 2021-10-11 13:57:07 +05:30
f1bc63d2c1
get admin functions into admin scope 2021-10-11 13:41:53 +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
71199aa9ce
register on first visit 2021-10-11 09:30:24 +05:30
c3c199a7c3
add submission 2021-10-10 19:23:48 +05:30
3a7559d6a8
add survey table 2021-10-06 19:00:53 +05:30
a4251a772a
init 2021-10-04 21:21:10 +05:30