Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for user before allowing write #2

Closed
devksingh4 opened this issue Nov 30, 2019 · 0 comments
Closed

Check for user before allowing write #2

devksingh4 opened this issue Nov 30, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@devksingh4
Copy link
Contributor

Check that the user has been registered to the DB in the table "userlist" before accepting a write to the DB

@devksingh4 devksingh4 added the enhancement New feature or request label Nov 30, 2019
devksingh4 pushed a commit that referenced this issue Oct 23, 2020
# This is the 1st commit message:
fix: upgrade jwks-rsa from 1.8.1 to 1.9.0 (#50)

Snyk has created this PR to upgrade jwks-rsa from 1.8.1 to 1.9.0.

See this package in npm:
https://www.npmjs.com/package/jwks-rsa

See this project in Snyk:
https://app.snyk.io/org/devksingh4/project/92e79756-b55e-48d3-ab58-3caa8c57ca09?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Dev Singh <dev@devksingh.com>
# This is the commit message #2:

Create SECURITY.md
# This is the commit message #3:

Use API keys allowing for authenticated tests (#49)

* fix typos

Signed-off-by: Dev Singh <dev@devksingh.com>

* ensure authentication works correctly

Signed-off-by: Dev Singh <dev@devksingh.com>

* add correct env config

Signed-off-by: Dev Singh <dev@devksingh.com>

* set correct done()

Signed-off-by: Dev Singh <dev@devksingh.com>

* test

Signed-off-by: Dev Singh <dev@devksingh.com>

* Revert "test"

This reverts commit 42207d6.

Signed-off-by: Dev Singh <dev@devksingh.com>
# This is the commit message #4:

docs: fix capitalzation on the unit tests badge
# This is the commit message #5:

Db handler refactor (#57)

* refactor: move some modules over to their own file

* refactor: make more handler modules

Signed-off-by: Dev Singh <dev@devksingh.com>

* fix: issue #39

Signed-off-by: Dev Singh <dev@devksingh.com>

* refactor: modularize more routes

Signed-off-by: Dev Singh <dev@devksingh.com>

* test: error handling verification

Signed-off-by: Dev Singh <dev@devksingh.com>

* increase code coverage

Signed-off-by: Dev Singh <dev@devksingh.com>

* add more code coverage

Signed-off-by: Dev Singh <dev@devksingh.com>

* refactor: finish modularization

Signed-off-by: Dev Singh <dev@devksingh.com>

* tests: add another test

Signed-off-by: Dev Singh <dev@devksingh.com>

* tests: add error tests for fetchMatchData

Signed-off-by: Dev Singh <dev@devksingh.com>

* bump versions

Signed-off-by: Dev Singh <dev@devksingh.com>

* fix: removed .idea folder

Signed-off-by: Aubrey Hall <ahall@imsa.edu>

Co-authored-by: Dev Singh <dev@devksingh.com>
# This is the commit message #6:

feat: get pit config from database

done with trainees to teach how to write a route. we need to get the real config into the DB at some point

Signed-off-by: Dev Singh <dev@devksingh.com>

# This is the commit message #7:

add members to maintainers with db updates (#60)

* refactor: move some modules over to their own file

* refactor: make more handler modules

Signed-off-by: Dev Singh <dev@devksingh.com>

* fix: issue #39

Signed-off-by: Dev Singh <dev@devksingh.com>

* refactor: modularize more routes

Signed-off-by: Dev Singh <dev@devksingh.com>

* docs: add ahall MAINTAINERS

Signed-off-by: Aubrey Hall <ahall@imsa.edu>

* DOCS: add agawde05 to MAINTAINERS

Signed-off-by: agawde05 <agawde05@gmail.com>

* docs: add lbergie to MAINTAINERS

Signed-off-by: Dev Singh <dev@devksingh.com>

* Revert "docs: add lbergie to MAINTAINERS"

This reverts commit c2118cb.

* test: error handling verification

Signed-off-by: Dev Singh <dev@devksingh.com>

* increase code coverage

Signed-off-by: Dev Singh <dev@devksingh.com>

* add more code coverage

Signed-off-by: Dev Singh <dev@devksingh.com>

* refactor: finish modularization

Signed-off-by: Dev Singh <dev@devksingh.com>

* tests: add another test

Signed-off-by: Dev Singh <dev@devksingh.com>

* tests: add error tests for fetchMatchData

Signed-off-by: Dev Singh <dev@devksingh.com>

* bump versions

Signed-off-by: Dev Singh <dev@devksingh.com>

Co-authored-by: Aubrey Hall <ahall@imsa.edu>
Co-authored-by: agawde05 <agawde05@gmail.com>
# This is the commit message #8:

feat: pull fetchMatchConfig from db

Signed-off-by: Aubrey Hall <ahall@imsa.edu>

# This is the commit message #9:

fix: vs code being annoying

Signed-off-by: Aubrey Hall <ahall@imsa.edu>

# This is the commit message #10:

chore: fix enviornment

Signed-off-by: Aubrey Hall <ahall@imsa.edu>

# This is the commit message #1:

fix: datatypes on authentication

also fixes error handling on auth

Signed-off-by: Dev Singh <dev@devksingh.com>

# This is the commit message #2:

fix: remove borked endpoint

Signed-off-by: Dev Singh <dev@devksingh.com>

# This is the commit message #3:

fix: imports

Signed-off-by: Dev Singh <dev@devksingh.com>

# This is the commit message #4:

Revert "fix: imports"

This reverts commit 370d275.

# This is the commit message #5:

Revert "fix: remove borked endpoint"

This reverts commit 52c9f33.

# This is the commit message #6:

fix: issues

Signed-off-by: Dev Singh <dev@devksingh.com>

# This is the commit message #7:

refactor: change location of templates

Signed-off-by: Dev Singh <dev@devksingh.com>

# This is the commit message #8:

tests: ignore all

Signed-off-by: Dev Singh <dev@devksingh.com>

# This is the commit message #9:

fix: remove borked endpoint

Signed-off-by: Dev Singh <dev@devksingh.com>

# This is the commit message #10:

fix: config endpoints for compatibility

Signed-off-by: Dev Singh <dev@devksingh.com>

# This is the commit message #1:

Revert "fix: config endpoints for compatibility"

This reverts commit c29e81c.

# This is the commit message #2:

tests: address correct property of tests

Signed-off-by: Dev Singh <dev@devksingh.com>

# This is the commit message #3:

fix: null issue for matchdata

Signed-off-by: Aubrey Hall <ahall@imsa.edu>

# This is the commit message #4:

add issues

Signed-off-by: Dev Singh <dev@devksingh.com>

# This is the commit message #5:

fix: bugs in fetchStrategy and fetchMatches

Signed-off-by: Aubrey Hall <ahall@imsa.edu>

# This is the commit message #6:

Enhancement: routes don't run without info

Signed-off-by: Aubrey Hall <ahall@imsa.edu>

# This is the commit message #7:

Enhancement: doesn't run route without data

Signed-off-by: Aubrey Hall <ahall@imsa.edu>

# This is the commit message #8:

fix: doesn't run try-catch when data isn't provided

Signed-off-by: Aubrey Hall <ahall@imsa.edu>

# This is the commit message #9:

fix: doesn't run try-catch when data isn't provided

Signed-off-by: Aubrey Hall <ahall@imsa.edu>

# This is the commit message #10:

Enhancement: doesn't run the endpoint if information is not provided

Signed-off-by: Aubrey Hall <ahall@imsa.edu>

# This is the commit message #1:

Enhancement: Doesn't run rest of route findTeamNickname without necessary info

Signed-off-by: Aubrey Hall <ahall@imsa.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant