Skip to content

Commit

Permalink
main to prod (#78)
Browse files Browse the repository at this point in the history
* Deploy.yml (#59)

Production branch gets deployed.

* Bug fix submission (#61)

https://www.loom.com/share/480d4371ff7a4b11aa5b09e92f3cc1d7

* Update CRT.csv

* Update demographics.csv

* Update survey.pug

* Update survey.pug

* Update README.md

* Update README.md

Co-authored-by: Mark Whiting <[email protected]>

* Update README.md

Co-authored-by: Mark Whiting <[email protected]>

* Update README.md

* Update README.md

* Survey tracking (#65)

* Bug fix submission

https://www.loom.com/share/480d4371ff7a4b11aa5b09e92f3cc1d7

* Authorization for API calls and alias url generation

* Survey Tracking

* req to res.locals.user

* Survey tracking (#66)

* Bug fix submission

https://www.loom.com/share/480d4371ff7a4b11aa5b09e92f3cc1d7

* Authorization for API calls and alias url generation

* Survey Tracking

* req to res.locals.user

* rename to url

* Added alias redirection

* corrected mistakes from merge

* Survey tracking (#67)

* Bug fix submission

https://www.loom.com/share/480d4371ff7a4b11aa5b09e92f3cc1d7

* Authorization for API calls and alias url generation

* Survey Tracking

* req to res.locals.user

* rename to url

* Added alias redirection

* corrected mistakes from merge

* name changes

* Required columns check

* Other option

* Adding required check

* Modify required

* CRT test

* More test

* More

* REI

* Revert and finalize after testing

* testcsv

* Modifying testcsv

* survey false

* modif test

* modif test 2

* Challenge surveys (#68)

* Added New Packages

Uninstalled Nedb, installed svg-capatcha

* captcha added

* Challenge surveys

* Create challenge_test.csv

* Challenge Surveys

* Allowing End Flag

* Captcha math added

* package modif

* Final changes (except #48)

* survey change

* Bump marked from 2.1.3 to 4.0.10 (#72)

Bumps [marked](https://github.com/markedjs/marked) from 2.1.3 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](markedjs/marked@v2.1.3...v4.0.10)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump node-fetch from 2.6.1 to 3.1.1 (#73)

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.1.1.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](node-fetch/node-fetch@v2.6.1...v3.1.1)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* bug-fix (#75)

* Bug auth rename fix (#77)

* bug-fix

* New node fetch requires string

Co-authored-by: Karan Sampath <[email protected]>
Co-authored-by: Mark Whiting <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Jan 23, 2022
1 parent b7993fd commit 66829b9
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 61 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,5 @@ built
*.pem

# package lock
package-lock.json
package-lock.json
package-lock.json
260 changes: 203 additions & 57 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion routes/survey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const getSinglepageSurvey = (query, req, res, survey) => {
const getsurvey = async (query: string | ParsedQs, req: Request<{}>, res: Response<any>) => {
try {
const survey_url = new URL(query["url"]);
let survey = await fetch(survey_url)
let survey = await fetch(survey_url.toString())
.then((response) => response.text())
.then(parseCSV)

Expand Down
Loading

0 comments on commit 66829b9

Please sign in to comment.