• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uc-cdis / fence / 11609
75%

Build:
DEFAULT BRANCH: master
Ran 26 Aug 2021 06:36PM UTC
Jobs 1
Files 109
Run time 69min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
11609

push

travis-ci-com

web-flow
(PXP-7565): User registration, plus CSRF changes (#906)

* feat(register): Implement user registration

* feat(register): Add endpoint to list registered users' info

* docs(register): Edit docstrings

* feat(register): Prepend BASE_URL to registration redirect

* Try XHR approach to get CSRF header into form POST

* Except recent pentest PR sets cookie HttpOnly to True
* So XHR won't work here; also means existing consent form code is broken

* Use Flask-WTF for CSRF protection and form validation

* No longer cookie-based: WTForms manages a session CSRF token to check against
* Retained most of the old CSRF logic but accepts hidden HTML form field as well as header
* Added benefit of signed CSRF tokens
* NB: turns out Fence-issued csrftoken cookies were being overwritten by cloud-auto anyway

* Use WTForms for registration form

* Use better words

* Change validator from method to function; Codacy complained

* updated onfig file to turn registered users config to true

* udated registration form

* updated register-user endpoint

* updated register users variable to false

* added redirect logic for fence idp

* removed maybe later button

* updated email field as required

* updated endpoint name added a markdown file

* updated end point for /list and made some changes based on PR comments

* moved /admin/register endpoint to admin.py

* moved /register endpoint

* updated API documentation

* removing unused references

* updated api documentation

* updated typos in the document and some wording

* updated documentation

* updated endpoint details in docs

* updated fence release version

Co-authored-by: Ramu Nerella <ramunerella@Ramus-MacBook-Pro.local>

6408 of 8883 relevant lines covered (72.14%)

0.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11609.1 26 Aug 2021 06:36PM UTC 0
72.14
Travis Job 11609.1
Source Files on build 11609
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #11609
  • d9e9df72 on github
  • Prev Build on master (#11532)
  • Next Build on master (#11636)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc