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

[Security] Bump aiohttp from 3.5.4 to 3.7.4 #338

Merged
merged 2 commits into from Jun 30, 2021

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Feb 26, 2021

Bumps aiohttp from 3.5.4 to 3.7.4. This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Open redirect vulnerability in aiohttp (normalize_path_middleware middleware)

Impact

What kind of vulnerability is it? Who is impacted?

Open redirect vulnerability — a maliciously crafted link to an aiohttp-based web-server could redirect the browser to a different website.

It is caused by a bug in the aiohttp.web_middlewares.normalize_path_middleware middleware.

Patches

Has the problem been patched? What versions should users upgrade to?

This security problem has been fixed in v3.7.4. Upgrade your dependency as follows: [pip install aiohttp >= 3.7.4]

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

If upgrading is not an option for you, a workaround can be to avoid using aiohttp.web_middlewares.normalize_path_middleware in your applications.

References

Are there any links users can visit to find out more?

... (truncated)

Affected versions: < 3.7.4

Release notes

Sourced from aiohttp's releases.

aiohttp 3.7.3 release

Features

  • Use Brotli instead of brotlipy [#3803](https://github.com/aio-libs/aiohttp/issues/3803) <https://github.com/aio-libs/aiohttp/issues/3803>_
  • Made exceptions pickleable. Also changed the repr of some exceptions. [#4077](https://github.com/aio-libs/aiohttp/issues/4077) <https://github.com/aio-libs/aiohttp/issues/4077>_

Bugfixes

  • Raise a ClientResponseError instead of an AssertionError for a blank HTTP Reason Phrase. [#3532](https://github.com/aio-libs/aiohttp/issues/3532) <https://github.com/aio-libs/aiohttp/issues/3532>_
  • Fix web_middlewares.normalize_path_middleware behavior for patch without slash. [#3669](https://github.com/aio-libs/aiohttp/issues/3669) <https://github.com/aio-libs/aiohttp/issues/3669>_
  • Fix overshadowing of overlapped sub-applications prefixes. [#3701](https://github.com/aio-libs/aiohttp/issues/3701) <https://github.com/aio-libs/aiohttp/issues/3701>_
  • Make BaseConnector.close() a coroutine and wait until the client closes all connections. Drop deprecated "with Connector():" syntax. [#3736](https://github.com/aio-libs/aiohttp/issues/3736) <https://github.com/aio-libs/aiohttp/issues/3736>_
  • Reset the sock_read timeout each time data is received for a aiohttp.client response. [#3808](https://github.com/aio-libs/aiohttp/issues/3808) <https://github.com/aio-libs/aiohttp/issues/3808>_
  • Fixed type annotation for add_view method of UrlDispatcher to accept any subclass of View [#3880](https://github.com/aio-libs/aiohttp/issues/3880) <https://github.com/aio-libs/aiohttp/issues/3880>_
  • Fixed querying the address families from DNS that the current host supports. [#5156](https://github.com/aio-libs/aiohttp/issues/5156) <https://github.com/aio-libs/aiohttp/issues/5156>_
  • Change return type of MultipartReader.aiter() and BodyPartReader.aiter() to AsyncIterator. [#5163](https://github.com/aio-libs/aiohttp/issues/5163) <https://github.com/aio-libs/aiohttp/issues/5163>_
  • Provide x86 Windows wheels. [#5230](https://github.com/aio-libs/aiohttp/issues/5230) <https://github.com/aio-libs/aiohttp/issues/5230>_

Improved Documentation

  • Add documentation for aiohttp.web.FileResponse. [#3958](https://github.com/aio-libs/aiohttp/issues/3958) <https://github.com/aio-libs/aiohttp/issues/3958>_
  • Removed deprecation warning in tracing example docs [#3964](https://github.com/aio-libs/aiohttp/issues/3964) <https://github.com/aio-libs/aiohttp/issues/3964>_
  • Fixed wrong "Usage" docstring of aiohttp.client.request. [#4603](https://github.com/aio-libs/aiohttp/issues/4603) <https://github.com/aio-libs/aiohttp/issues/4603>_
  • Add aiohttp-pydantic to third party libraries [#5228](https://github.com/aio-libs/aiohttp/issues/5228) <https://github.com/aio-libs/aiohttp/issues/5228>_

Misc

... (truncated)

Changelog

Sourced from aiohttp's changelog.

3.7.4 (2021-02-25)

Bugfixes

  • (SECURITY BUG) Started preventing open redirects in the aiohttp.web.normalize_path_middleware middleware. For more details, see GHSA-v6wp-4m6f-gcjg.

    Thanks to Beast Glatisant for finding the first instance of this issue and Jelmer Vernooij for reporting and tracking it down in aiohttp. #5497

  • Fix interpretation difference of the pure-Python and the Cython-based HTTP parsers construct a yarl.URL object for HTTP request-target.

    Before this fix, the Python parser would turn the URI's absolute-path for //some-path into / while the Cython code preserved it as //some-path. Now, both do the latter. #5498


3.7.3 (2020-11-18)

Features

  • Use Brotli instead of brotlipy #3803
  • Made exceptions pickleable. Also changed the repr of some exceptions. #4077

Bugfixes

  • Raise a ClientResponseError instead of an AssertionError for a blank HTTP Reason Phrase. #3532
  • Fix web_middlewares.normalize_path_middleware behavior for patch without slash. #3669
  • Fix overshadowing of overlapped sub-applications prefixes. #3701
  • Make BaseConnector.close() a coroutine and wait until the client closes all connections. Drop deprecated "with Connector():" syntax. #3736
  • Reset the sock_read timeout each time data is received for a aiohttp.client response. #3808
  • Fixed type annotation for add_view method of UrlDispatcher to accept any subclass of View #3880
  • Fixed querying the address families from DNS that the current host supports. #5156
  • Change return type of MultipartReader.__aiter__() and BodyPartReader.__aiter__() to AsyncIterator. #5163
  • Provide x86 Windows wheels. #5230

Improved Documentation

  • Add documentation for aiohttp.web.FileResponse. #3958
  • Removed deprecation warning in tracing example docs #3964
  • Fixed wrong "Usage" docstring of aiohttp.client.request. #4603
  • Add aiohttp-pydantic to third party libraries #5228

Misc

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @jefmoura.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added dependencies security Pull requests that address a security vulnerability labels Feb 26, 2021
@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/master/aiohttp-3.7.4 branch from 74c61b1 to 0d074c1 Compare March 26, 2021 07:43
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.5.4 to 3.7.4. **This update includes a security fix.**
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](aio-libs/aiohttp@v3.5.4...v3.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/master/aiohttp-3.7.4 branch from 0d074c1 to 82aab08 Compare June 30, 2021 15:57
jefmoura
jefmoura previously approved these changes Jun 30, 2021
@buildlyio buildlyio deleted a comment from dependabot-preview bot Jun 30, 2021
@jefmoura
Copy link
Member

@dependabot merge

@dependabot-preview dependabot-preview bot merged commit 12c4550 into master Jun 30, 2021
@dependabot-preview dependabot-preview bot deleted the dependabot/pip/master/aiohttp-3.7.4 branch June 30, 2021 18:49
@github-actions
Copy link

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

glind pushed a commit that referenced this pull request Apr 5, 2024
glind pushed a commit that referenced this pull request Apr 5, 2024
* Update ISSUE_TEMPLATE.md

Add complexity estimate

* update travis configs

* update travis configs

* move build to travis script

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* cleanup initital data

* cleanup initital data

* cleanup initital data

* remove organization_name

* remove organization_name

* update travis var

* update travis var

* update travis var

* revert keys

* fix org

* fix org

* fix org

* fix org

* fix org

* fix org

* fix org

* turn off tagged commits for builds

* update docker compose with email host

* update docker compose with email host

* update docker compose with email host

* update docker compose with email host

* add options function to gateway

* update permissions with options

* refactor: Allow organization name to be accepted when creating core user

* chore: Update initial setup

* test: Refactored test cases for organization

* fix: Flake8 warnings

* Flake8 Error fixes

* chore: Flake8 fixes for whitespaces and f-strings

* chore: Resolved ContextualVersionConflict

* chore: requests dependency version

* Changes for Oauth in Initial Script

* removed changed in gateway view to allow options methid from service

* removed changed in gateway view to allow options methid from service

* Commenting out options function for options response of services

* email alert message for shipment to user

* Use generalised function name

* initial commit

* added seperate endpoint for update

* add more illutratative field in message

* remove commented code in html template of shipment alert

* modifify html template name to send email alert for shipment

* remove conflict

* Allow user to subscribe to email alert in Profile

* fixed linting

* changed shipment id to shipment_uuid

* added email_alert_flag to CoreUser Serializer

* fixed linting

* added boolean field in organisation

* Resolved issue in OPTIONS method via Core

* TransparentPath/issues/45:add radis field in organization

* Added support for multiple email alerts

* initial commit

* return only org names

* removed debugging info

* change in request format of email alert endpoint (#53)

* change in request format of email alert endpoint

* resolved flake-8 error

* Added consortium table and its endpoint (#50)

* added consortium table and its endpoint

* formatted as per flake8

* resolved falke8 error

* Added organization types (#56)

* Added organization type

* Formatting fixes

* Corrected test case

* Approval email for newly registered users (#57)

* Added organization type

* Formatting fixes

* Corrected test case

* Approval email for new users

* Resolved flake8 warnings

* Fixed issue in tests

* Resolved comments

* Updated email template for alerts

* Updated email template for alerts

* Organization names coming from open API as list of names (#60)

* Resolve permission issue for "/organization/fetch_orgs/" endpoint (#64)

* resolved permission issue for fetch_org endpoint

* resloved flake-8 error

* Add API endpoint for organization type (#65)

* resolved permission issue for fetch_org endpoint

* resloved flake-8 error

* add endpoint for organization type

* corrected comments

* change permission level

* add create and edit date in organization type

* change permission level to only organization admin

* Updated configuration for consortium (#70)

* Updated configuration for consortium

* Flake8 fixes

* Configuration for user alert preferences (#73)

* Configuration for user alert preferences

* Flake8 fixes

* Fixes in test cases

* update consortium table for organization uuid (#75)

* Modifications in email templates (#77)

* Changes in email template for environmental alerts

* Preferences for email alerts

* Updated super admin credentials

* change permission level for consortium table (#79)

* filter consortium by organization (#81)

* update consortium array field (#82)

* Changed permission level for consortium (#85)

* Changed permission level for consortium

* Updated flake8 fixes

* create consortium if custody create (#87)

* create consortium if custody create

* resolved flake8 error

* Fix issue for retrieve query by uuid (#88)

* Revert "Fix issue for retrieve query by uuid (#88)"

This reverts commit d2f78ef.

* Handled boolean for CORS_ORIGIN_ALLOW_ALL

* Updated Bravado Core version

* Return response data only for PUT, POST, DELETE (#97)

* Added default radius for organization

* Allow unlimited line size for request

* sensor service email alert for unassigned moving sensor (#105)

* squashed migration files

* construct shipment_url only when shipment_id is present

* remove shipment related from email if shipment is not available

* Handle when no custody organization mapped to custodian

* Environmental warning timezone. (#108)

* Change warning timezone to user's timezone only when core user has timezone

* append ('UTC') for UTC timezone

* Remove Travis

* Remove timestamp from alert messages (#110)

* removed 'Captured at' from alert message

* stop sending datetime in alert message

* Gunicorn timeout configuration

* buildly-core gitHub actions (#112)

* github action for unit test

* update triggers for unit test github action

* github action for dev docker image build and push

* github action for demo docker image build and push

* github action for production docker image build and push

* added pre-commit hooks for dev, demo and prod branch

* update name for unit_test

* Github Actions for Unit Test (#114)

* Gunicorn timeout configuration

* Fixes done for flake

* Remove dev deployment setup

* Setup github actions

* Bump the pip group group in /requirements with 6 updates

Bumps the pip group group in /requirements with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [django](https://github.com/django/django) | `2.2.10` | `3.2.24` |
| [django-filter](https://github.com/carltongibson/django-filter) | `2.2.0` | `2.4.0` |
| [djangorestframework](https://github.com/encode/django-rest-framework) | `3.9.4` | `3.11.2` |
| [requests](https://github.com/psf/requests) | `2.25.0` | `2.31.0` |
| [aiohttp](https://github.com/aio-libs/aiohttp) | `3.5.4` | `3.9.2` |
| [ipython](https://github.com/ipython/ipython) | `7.2.0` | `8.10.0` |


Updates `django` from 2.2.10 to 3.2.24
- [Commits](django/django@2.2.10...3.2.24)

Updates `django-filter` from 2.2.0 to 2.4.0
- [Release notes](https://github.com/carltongibson/django-filter/releases)
- [Changelog](https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst)
- [Commits](carltongibson/django-filter@2.2.0...2.4.0)

Updates `djangorestframework` from 3.9.4 to 3.11.2
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](encode/django-rest-framework@3.9.4...3.11.2)

Updates `requests` from 2.25.0 to 2.31.0
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.25.0...v2.31.0)

Updates `aiohttp` from 3.5.4 to 3.9.2
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](aio-libs/aiohttp@v3.5.4...v3.9.2)

Updates `ipython` from 7.2.0 to 8.10.0
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](ipython/ipython@7.2.0...8.10.0)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  dependency-group: pip-security-group
- dependency-name: django-filter
  dependency-type: direct:production
  dependency-group: pip-security-group
- dependency-name: djangorestframework
  dependency-type: direct:production
  dependency-group: pip-security-group
- dependency-name: requests
  dependency-type: direct:production
  dependency-group: pip-security-group
- dependency-name: aiohttp
  dependency-type: direct:production
  dependency-group: pip-security-group
- dependency-name: ipython
  dependency-type: direct:production
  dependency-group: pip-security-group
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update dev-build.yml

The entire file was commented out, checking in without comments.

* Update base.txt

Fix 3.9,.2 aiohttp not found error from dependabot

* [Security] Bump django from 2.2.10 to 2.2.13

Bumps [django](https://github.com/django/django) from 2.2.10 to 2.2.13. **This update includes security fixes.**
- [Release notes](https://github.com/django/django/releases)
- [Commits](django/django@2.2.10...2.2.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* replace buildly-ui to buildly-react-template

* Issue #318: Bump django-oauth-toolkit from 1.3.0 to 1.3.2 (#325)

* Create GitHub actions for reviews (#329)

* Create GitHub actions for reviews

* Add docker build step

* Add CodeQL for code analysis (#331)

* Create codeql-analysis.yml

* Fix review workflow

* feat: Create GitHub Actions workflow to publish Docker images (#332)

* Create GitHub Actions workflow to publish Docker images

* Add build release configuration file

* Update README configuration table

* fix: Fix the release workflow

* fix: Fix the build & release from release workflow

* fix: Fix semantic release (#334)

* rm toladata text (#336)

* [Security] Bump django from 2.2.13 to 2.2.18 (#339)

Bumps [django](https://github.com/django/django) from 2.2.13 to 2.2.18. **This update includes security fixes.**
- [Release notes](https://github.com/django/django/releases)
- [Commits](django/django@2.2.13...2.2.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

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

* [Security] Bump django from 2.2.18 to 2.2.24 (#341)

* [Security] Bump aiohttp from 3.5.4 to 3.7.4 (#338)

* feat: Bump djangorestframework from 3.9.4 to 3.11.2 (#340)

* [Security] Bump djangorestframework from 3.9.4 to 3.11.2

Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.9.4 to 3.11.2. **This update includes a security fix.**
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](encode/django-rest-framework@3.9.4...3.11.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix issue with drf-yasg schema generator

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: jefmoura <jefmoura@protonmail.com>

* Create CODE_OF_CONDUCT.md (#342)

* Update README.md

* Bump django from 2.2.24 to 2.2.27 in /requirements (#345)

Bumps [django](https://github.com/django/django) from 2.2.24 to 2.2.27.
- [Release notes](https://github.com/django/django/releases)
- [Commits](django/django@2.2.24...2.2.27)

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

Signed-off-by: dependabot[bot] <support@github.com>

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

* Upstream changes (Auto Approve, Social Auth, Test cases etc)

* login with github

* added django template

* removed django template

* initial commit

* remove user groups

* updated urls

* initial commit

* Updated dependency issues

* Datamesh update (#11)

* Datamesh async fixed

* Datamesh join function script

* Email alert integration (#13)

* Integration - Email Notification

* Integration - Email Notification

* updated serializer

* updated unit test

* datamesh join script (#14)

* datamesh join script

* datamesh join script

* comment removed

* updated datamesh join script

* updated datamesh join script

* updated join_record_datamesh function

* removed print statement

* Partner implementation (#17)

* Partner Implementation

* removed organization

* removed partner organization

* removed partner organization

* - partner unit test

* - updated test fixtures

* - removed comment

* Resolve permissions for Organization

* fix core endpoint issue (#21)

* fix core endpoint issue

* updated comment

* Updated environment variables

* Updated environment values

* Handle for Gateway response 400

* datamesh join:
- product <-> third party tool and
- product <-> product_team

* completed project tool service datamesh join

* completed release service datamesh join

* completed dev/partner service datamesh join

* Fix Datamesh request issue

* updated admin username and password

* revert find endpoint fix

* updated datamesh join module name

* Added script to load datamesh

* Handled blank response for join records

* datamesh POST/PUT request implementation

* updated post request for different use-cases

* datamesh implemented delete request

* post empty response validation

* updated datamesh script for pk

* converted into functions

* updated put request

* updated PUT request for case -> The relation that exists but needs to create join

* Allow users to be auto-approved after registration

* added fields on Relationship model

* model via forward lookup

* param service name via forward_lookup

* written function for the case - Handles The relation that only needs to update ID or UUID

* Get response after a POST and PUT request

* refactor the functions

* updated func parameter

* issue fix - delete join

* delete status join

* migration file

* User Type Implementation (#45)

* added user type

* admin dashboard

* added survey_status

* serializer fields added

* help text

* User profile update API (#48)

* user profile update API

* updated get_permission

* unit test cases

* added serializer field

* serializer organization_name validation

* updated core-user serializer update method

* User registration update (#53)

* register with org validation

* uncommented invitation_token method

* updated load initial script for org creation

* set auto approve to false

* core user create method

* default org name

* added new var to update

* code format

* updated gunicorn timeout

* removed unwanted files from upstream pr

* updated migration files

* added new line

* removed unwanted changes

* removed prepare_get_request() function

* updated DEFAULT_ORG to lowercase

* Fix None type DEFAULT_ORG issue

Co-authored-by: ashishkmishra36 <ashish.kumar@ajackus.com>
Co-authored-by: Ashish K Mishra <70134840+ashishkmishra36@users.noreply.github.com>
Co-authored-by: Yasmin Ansari <yasmin@ajackus.com>
Co-authored-by: mthombare <83965396+mthombare@users.noreply.github.com>
Co-authored-by: manish <manish.thombare@ajackus.com>
Co-authored-by: Yasmin Ansari <yasmin.ansari@ajackus.com>
Co-authored-by: Greg Lind <gwlind@gmail.com>

* Changes from Insights for login, datamesh and scripts to enhance datamesh (#347)

* login with github

* added django template

* removed django template

* initial commit

* remove user groups

* updated urls

* initial commit

* Updated dependency issues

* Datamesh update (#11)

* Datamesh async fixed

* Datamesh join function script

* Email alert integration (#13)

* Integration - Email Notification

* Integration - Email Notification

* updated serializer

* updated unit test

* datamesh join script (#14)

* datamesh join script

* datamesh join script

* comment removed

* updated datamesh join script

* updated datamesh join script

* updated join_record_datamesh function

* removed print statement

* Partner implementation (#17)

* Partner Implementation

* removed organization

* removed partner organization

* removed partner organization

* - partner unit test

* - updated test fixtures

* - removed comment

* Resolve permissions for Organization

* fix core endpoint issue (#21)

* fix core endpoint issue

* updated comment

* Updated environment variables

* Updated environment values

* Handle for Gateway response 400

* datamesh join:
- product <-> third party tool and
- product <-> product_team

* completed project tool service datamesh join

* completed release service datamesh join

* completed dev/partner service datamesh join

* Fix Datamesh request issue

* updated admin username and password

* revert find endpoint fix

* updated datamesh join module name

* Added script to load datamesh

* Handled blank response for join records

* datamesh POST/PUT request implementation

* updated post request for different use-cases

* datamesh implemented delete request

* post empty response validation

* updated datamesh script for pk

* converted into functions

* updated put request

* updated PUT request for case -> The relation that exists but needs to create join

* Allow users to be auto-approved after registration

* added fields on Relationship model

* model via forward lookup

* param service name via forward_lookup

* written function for the case - Handles The relation that only needs to update ID or UUID

* Get response after a POST and PUT request

* refactor the functions

* updated func parameter

* issue fix - delete join

* delete status join

* migration file

* User Type Implementation (#45)

* added user type

* admin dashboard

* added survey_status

* serializer fields added

* help text

* User profile update API (#48)

* user profile update API

* updated get_permission

* unit test cases

* added serializer field

* serializer organization_name validation

* updated core-user serializer update method

* User registration update (#53)

* register with org validation

* uncommented invitation_token method

* updated load initial script for org creation

* set auto approve to false

* core user create method

* default org name

* added new var to update

* code format

* updated gunicorn timeout

* Datamesh id CRUD Implementation (#56)

* create join with ID

* updated join script to create relation if json file doesn't exist

* added newly added var in script

* delete id join

* Fixed gateway unit test cases

* implemented forward and reverse relation join in PUT req

* refactored fk reference variable

* written module join script

* PUT request: modified prepare_update_request() fun

* Fix POST req reverse relation join

* updated relation model fields

* updated script variable

* unit tes case

* updated unit test cases

* updated join script

* Datamesh implementation with core (#59)

* implementation with core

* PUT request update fk value

* script info

* added Datamesh relation response data in POST and PUT request

* removed unused import

* RequestHandler returned response

* added core update req data to req response data

* Stripe integration for customer create and get card details (#62)

* initial stripe subscription changes

* add new stripe/products endpoint

* change plan to product for subscription

* add stripe check for update org for a user scenario

* Fixed unit test cases (#63)

* GitHub action configuration (#67)

* GitHub action configuration

* Updated prod-build GCR path

* Updated prod-build slack message

* Updated prod-build mail message

* Added Product Team as default user type (#65)

Co-authored-by: ashishkmishra36 <ashish.kumar@ajackus.com>
Co-authored-by: Ashish K Mishra <70134840+ashishkmishra36@users.noreply.github.com>
Co-authored-by: Yasmin Ansari <yasmin@ajackus.com>
Co-authored-by: mthombare <83965396+mthombare@users.noreply.github.com>
Co-authored-by: manish <manish.thombare@ajackus.com>
Co-authored-by: Yasmin Ansari <yasmin.ansari@ajackus.com>
Co-authored-by: Radhika Patel <radhika.patel@ajackus.com>

* Feat#113/upstream changes (#350)

* Update ISSUE_TEMPLATE.md

Add complexity estimate

* update travis configs

* update travis configs

* move build to travis script

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* update travis for aws

* cleanup initital data

* cleanup initital data

* cleanup initital data

* remove organization_name

* remove organization_name

* update travis var

* update travis var

* update travis var

* revert keys

* fix org

* fix org

* fix org

* fix org

* fix org

* fix org

* fix org

* turn off tagged commits for builds

* update docker compose with email host

* update docker compose with email host

* update docker compose with email host

* update docker compose with email host

* add options function to gateway

* update permissions with options

* refactor: Allow organization name to be accepted when creating core user

* chore: Update initial setup

* test: Refactored test cases for organization

* fix: Flake8 warnings

* Flake8 Error fixes

* chore: Flake8 fixes for whitespaces and f-strings

* chore: Resolved ContextualVersionConflict

* chore: requests dependency version

* Changes for Oauth in Initial Script

* removed changed in gateway view to allow options methid from service

* removed changed in gateway view to allow options methid from service

* Commenting out options function for options response of services

* email alert message for shipment to user

* Use generalised function name

* initial commit

* added seperate endpoint for update

* add more illutratative field in message

* remove commented code in html template of shipment alert

* modifify html template name to send email alert for shipment

* remove conflict

* Allow user to subscribe to email alert in Profile

* fixed linting

* changed shipment id to shipment_uuid

* added email_alert_flag to CoreUser Serializer

* fixed linting

* added boolean field in organisation

* Resolved issue in OPTIONS method via Core

* TransparentPath/issues/45:add radis field in organization

* Added support for multiple email alerts

* initial commit

* return only org names

* removed debugging info

* change in request format of email alert endpoint (#53)

* change in request format of email alert endpoint

* resolved flake-8 error

* Added consortium table and its endpoint (#50)

* added consortium table and its endpoint

* formatted as per flake8

* resolved falke8 error

* Added organization types (#56)

* Added organization type

* Formatting fixes

* Corrected test case

* Approval email for newly registered users (#57)

* Added organization type

* Formatting fixes

* Corrected test case

* Approval email for new users

* Resolved flake8 warnings

* Fixed issue in tests

* Resolved comments

* Updated email template for alerts

* Updated email template for alerts

* Organization names coming from open API as list of names (#60)

* Resolve permission issue for "/organization/fetch_orgs/" endpoint (#64)

* resolved permission issue for fetch_org endpoint

* resloved flake-8 error

* Add API endpoint for organization type (#65)

* resolved permission issue for fetch_org endpoint

* resloved flake-8 error

* add endpoint for organization type

* corrected comments

* change permission level

* add create and edit date in organization type

* change permission level to only organization admin

* Updated configuration for consortium (#70)

* Updated configuration for consortium

* Flake8 fixes

* Configuration for user alert preferences (#73)

* Configuration for user alert preferences

* Flake8 fixes

* Fixes in test cases

* update consortium table for organization uuid (#75)

* Modifications in email templates (#77)

* Changes in email template for environmental alerts

* Preferences for email alerts

* Updated super admin credentials

* change permission level for consortium table (#79)

* filter consortium by organization (#81)

* update consortium array field (#82)

* Changed permission level for consortium (#85)

* Changed permission level for consortium

* Updated flake8 fixes

* create consortium if custody create (#87)

* create consortium if custody create

* resolved flake8 error

* Fix issue for retrieve query by uuid (#88)

* Revert "Fix issue for retrieve query by uuid (#88)"

This reverts commit d2f78ef.

* Handled boolean for CORS_ORIGIN_ALLOW_ALL

* Updated Bravado Core version

* Return response data only for PUT, POST, DELETE (#97)

* Added default radius for organization

* Allow unlimited line size for request

* sensor service email alert for unassigned moving sensor (#105)

* squashed migration files

* construct shipment_url only when shipment_id is present

* remove shipment related from email if shipment is not available

* Handle when no custody organization mapped to custodian

* Environmental warning timezone. (#108)

* Change warning timezone to user's timezone only when core user has timezone

* append ('UTC') for UTC timezone

* Remove Travis

* Remove timestamp from alert messages (#110)

* removed 'Captured at' from alert message

* stop sending datetime in alert message

* Gunicorn timeout configuration

* added new line at the end of gunicorn_conf.py file

* added new line at the end of settings/base.py file

Co-authored-by: Greg Lind <gwlind@gmail.com>
Co-authored-by: Yasmin Ansari <yasmin@ajackus.com>
Co-authored-by: vishalajackus <vishal.hande@ajackus.com>
Co-authored-by: ashishkmishra36 <ashish.kumar@ajackus.com>
Co-authored-by: vishalajackus <73515569+vishalajackus@users.noreply.github.com>
Co-authored-by: Ashish K Mishra <70134840+ashishkmishra36@users.noreply.github.com>
Co-authored-by: mthombare <83965396+mthombare@users.noreply.github.com>
Co-authored-by: Yasmin Ansari <yasmin.ansari@ajackus.com>
Co-authored-by: RadhikaPPatel <radhika.patel@ajackus.com>

* Bump djangorestframework from 3.9.4 to 3.11.2 in /requirements (#352)

Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.9.4 to 3.11.2.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](encode/django-rest-framework@3.9.4...3.11.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

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

* clean code to run locally (#354)

* clean code to run locally

* debugging of docker and other issues

Co-authored-by: anamariaroman <anamariaromanvalencia@gmail.com>

* Update README.md (#355)

Adding vision and objectives

* Update README.md

* Update issue templates

* Merge with massive style changes that should not have been there

* remove secrets

* fix conflict

* fix conflict

* fix conflict

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: Yasmin Ansari <yasmin@ajackus.com>
Co-authored-by: vishalajackus <vishal.hande@ajackus.com>
Co-authored-by: ashishkmishra36 <ashish.kumar@ajackus.com>
Co-authored-by: vishalajackus <73515569+vishalajackus@users.noreply.github.com>
Co-authored-by: Ashish K Mishra <70134840+ashishkmishra36@users.noreply.github.com>
Co-authored-by: mthombare <83965396+mthombare@users.noreply.github.com>
Co-authored-by: Yasmin Ansari <yasmin.ansari@ajackus.com>
Co-authored-by: abhishek-kumar-piyush <97152893+abhishek-kumar-piyush@users.noreply.github.com>
Co-authored-by: RadhikaPPatel <radhika.patel@ajackus.com>
Co-authored-by: Radhika Patel <radhika.patel2206@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: JiseonYu <jiseon477@gmail.com>
Co-authored-by: Jeferson Moura <jefmoura@users.noreply.github.com>
Co-authored-by: jefmoura <jefmoura@protonmail.com>
Co-authored-by: karrla <15875770+karrla@users.noreply.github.com>
Co-authored-by: manish <manish.thombare@ajackus.com>
Co-authored-by: Peter Odeny <odenypeter@gmail.com>
Co-authored-by: anamariaroman <anamariaromanvalencia@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies released security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant