Aravinth Manivannan
82bb2f327a
chore: get page helper method
2023-01-26 20:57:38 +05:30
Aravinth Manivannan
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
Aravinth Manivannan
0ac915b426
feat: REST API endpoint to return survey campaign results
2023-01-26 19:07:48 +05:30
Aravinth Manivannan
aa63783794
feat: list survey responses per campaign
2023-01-26 18:25:52 +05:30
Aravinth Manivannan
73cfe1b95d
chore: lint, use actix_web_codegen_const_routes and serde all routes
2023-01-24 19:02:29 +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
0524208a39
mobile styling
2021-10-27 11:39:37 +05:30
Aravinth Manivannan
eccb87fd99
fetch survey config
2021-10-14 22:35:38 +05:30
Aravinth Manivannan
35937134f2
- initialize survey user
...
- skip survey user registration if cookie is already present
2021-10-14 20:39:39 +05:30
Aravinth Manivannan
95dba20074
handle survey sessions with actix sessions
2021-10-14 18:53:06 +05:30
Aravinth Manivannan
9c7670a334
about and bench pages
2021-10-14 17:13:09 +05:30
Aravinth Manivannan
8c977ca0af
scope survey routes to /survey/
2021-10-14 14:43:22 +05:30
Aravinth Manivannan
115b096008
restrict admin functions to /admin
2021-10-13 17:06:36 +05:30
Aravinth Manivannan
a8c6912c25
implement redirect to source on admin login HTML endpoint
2021-10-13 14:28:18 +05:30
Aravinth Manivannan
4491fbb6f2
implement redirect to source on admin login endpoint
2021-10-13 14:18:13 +05:30
Aravinth Manivannan
33a7a1882c
list and delete campaign endpoints
2021-10-13 14:10:45 +05:30
Aravinth Manivannan
4158147f84
authentication middleware handles redirects
2021-10-12 21:56:16 +05:30
Aravinth Manivannan
f10c620040
load mcaptcha-glue
2021-10-12 14:54:51 +05:30
Aravinth Manivannan
377b825fe4
campaign workflow tests
2021-10-11 19:17:28 +05:30
Aravinth Manivannan
2c4d2e5358
fetch bench configuration
2021-10-11 18:28:45 +05:30
Aravinth Manivannan
5f3c21a9a9
add campaings
2021-10-11 13:57:07 +05:30
Aravinth Manivannan
f1bc63d2c1
get admin functions into admin scope
2021-10-11 13:41:53 +05:30
Aravinth Manivannan
dbffef5e30
admin account management routes
2021-10-11 10:25:45 +05:30
Aravinth Manivannan
d828a4a5d9
auth middleware: redirect to specified route
2021-10-11 10:09:51 +05:30
Aravinth Manivannan
d2c4e9a06b
admin authentication
2021-10-11 09:56:15 +05:30
Aravinth Manivannan
71199aa9ce
register on first visit
2021-10-11 09:30:24 +05:30
Aravinth Manivannan
c3c199a7c3
add submission
2021-10-10 19:23:48 +05:30
Aravinth Manivannan
3a7559d6a8
add survey table
2021-10-06 19:00:53 +05:30
Aravinth Manivannan
a4251a772a
init
2021-10-04 21:21:10 +05:30