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

Feat: Added support for multiple project owners #4597

Merged

Commits on Mar 17, 2024

  1. Modified db schema of Owner.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    78b82ab View commit details
    Browse the repository at this point in the history
  2. Added new API GetProjectOwners.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    962175b View commit details
    Browse the repository at this point in the history
  3. fix: return type error.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    0c8528e View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. chore(deps): Bump golang.org/x/crypto in /chaoscenter/authentication (l…

    …itmuschaos#4527)
    
    Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.21.0.
    - [Commits](golang/crypto@v0.18.0...v0.21.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/crypto
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and aryan-bhokare committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    aeb1085 View commit details
    Browse the repository at this point in the history
  2. chore(deps): Bump follow-redirects in /chaoscenter/web (litmuschaos#4529

    )
    
    Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
    - [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
    - [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.6)
    
    ---
    updated-dependencies:
    - dependency-name: follow-redirects
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and aryan-bhokare committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    64867b8 View commit details
    Browse the repository at this point in the history
  3. chore(deps): Bump github.com/golang/protobuf (litmuschaos#4493)

    Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.5.3 to 1.5.4.
    - [Release notes](https://github.com/golang/protobuf/releases)
    - [Commits](golang/protobuf@v1.5.3...v1.5.4)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/golang/protobuf
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Raj Das <[email protected]>
    2 people authored and aryan-bhokare committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    eacb880 View commit details
    Browse the repository at this point in the history
  4. Modified SendInvitation API.

    This modification unables to send invite with the role as owner.
    
    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    1de73da View commit details
    Browse the repository at this point in the history
  5. Modified LeaveProject API.

    This modification checks if the User is the last owner of the project and if not User can leave the project.
    
    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    7c79813 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2024

  1. RBAC modification LeaveProject.

    Allows Owner to be able to leave the project.
    
    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    44ae3b9 View commit details
    Browse the repository at this point in the history
  2. Added UpdateMemberRole API.

    This API is used for updating role of the member in the project.
    
    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    77bcd91 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Fixed some syntax errors.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    43bd3b2 View commit details
    Browse the repository at this point in the history
  2. Updated roles for owner.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    2ac9f7d View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Added new API DeleteProject.

    Owner can delete project with help of this API.
    
    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    1860721 View commit details
    Browse the repository at this point in the history
  2. Added mocks.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    a2a27d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4e8279a View commit details
    Browse the repository at this point in the history
  4. modified go.sum

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    737c03f View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Added condition UpdateMemberRole.

    User cannot change role of their own, so that it will avoid edge cases like
    1. User is the last owner of the project.
    2. User accidentally losing owner access to the projects.
    
    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    c1b2ed3 View commit details
    Browse the repository at this point in the history
  2. made suggested changes.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    197aabd View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Configuration menu
    Copy the full SHA
    4a10fe3 View commit details
    Browse the repository at this point in the history
  2. Minor fixes.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    33dec51 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. [WIP] : Multiple project owner backend. (litmuschaos#4536)

    * Modified db schema of Owner.
    
    Signed-off-by: aryan <[email protected]>
    
    * Added new API GetProjectOwners.
    
    Signed-off-by: aryan <[email protected]>
    
    * fix: return type error.
    
    Signed-off-by: aryan <[email protected]>
    
    * chore(deps): Bump golang.org/x/crypto in /chaoscenter/authentication (litmuschaos#4527)
    
    Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.21.0.
    - [Commits](golang/crypto@v0.18.0...v0.21.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/crypto
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps): Bump follow-redirects in /chaoscenter/web (litmuschaos#4529)
    
    Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
    - [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
    - [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.6)
    
    ---
    updated-dependencies:
    - dependency-name: follow-redirects
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * chore(deps): Bump github.com/golang/protobuf (litmuschaos#4493)
    
    Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.5.3 to 1.5.4.
    - [Release notes](https://github.com/golang/protobuf/releases)
    - [Commits](golang/protobuf@v1.5.3...v1.5.4)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/golang/protobuf
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Raj Das <[email protected]>
    
    * Modified SendInvitation API.
    
    This modification unables to send invite with the role as owner.
    
    Signed-off-by: aryan <[email protected]>
    
    * Modified LeaveProject API.
    
    This modification checks if the User is the last owner of the project and if not User can leave the project.
    
    Signed-off-by: aryan <[email protected]>
    
    * RBAC modification `LeaveProject`.
    
    Allows Owner to be able to leave the project.
    
    Signed-off-by: aryan <[email protected]>
    
    * Added `UpdateMemberRole` API.
    
    This API is used for updating role of the member in the project.
    
    Signed-off-by: aryan <[email protected]>
    
    * Fixed some syntax errors.
    
    Signed-off-by: aryan <[email protected]>
    
    * Updated roles for owner.
    
    Signed-off-by: aryan <[email protected]>
    
    * Added new API `DeleteProject`.
    Owner can delete project with help of this API.
    
    Signed-off-by: aryan <[email protected]>
    
    * Added mocks.
    
    Signed-off-by: aryan <[email protected]>
    
    * modified go.sum
    
    Signed-off-by: aryan <[email protected]>
    
    * Added condition `UpdateMemberRole`.
    
    User cannot change role of their own, so that it will avoid edge cases like
    1. User is the last owner of the project.
    2. User accidentally losing owner access to the projects.
    
    Signed-off-by: aryan <[email protected]>
    
    * made suggested changes.
    
    Signed-off-by: aryan <[email protected]>
    
    * Changed DeleteProject endpoint to have url parameter.
    
    Signed-off-by: aryan <[email protected]>
    
    * Minor fixes.
    
    Signed-off-by: aryan <[email protected]>
    
    ---------
    
    Signed-off-by: aryan <[email protected]>
    Signed-off-by: dependabot[bot] <[email protected]>
    Signed-off-by: Aryan Bhokare <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Raj Das <[email protected]>
    3 people authored Apr 12, 2024
    Configuration menu
    Copy the full SHA
    0e51dbf View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Added new route .

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    3a4ee69 View commit details
    Browse the repository at this point in the history
  2. Added CreateProject modal.

    Added a modal CreateProject with it's controller and views.
    
    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    d2d8f17 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Some changes in CreateProjectView.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    e9d81ad View commit details
    Browse the repository at this point in the history
  2. Added ProjectDashboardCardMenu.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    e0b4518 View commit details
    Browse the repository at this point in the history
  3. Added ProjectDashboardCard.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    43bdca2 View commit details
    Browse the repository at this point in the history
  4. Added DeleteProject API mutations.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    d368644 View commit details
    Browse the repository at this point in the history
  5. Added ProjectDashboard.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    409beb9 View commit details
    Browse the repository at this point in the history
  6. Added image and strings.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    28b890c View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Modified project entities.

    Added new fields in `Project` struct.
    Added fields for filters, pagination, and some constants.
    Modified `CreateProjectInput`.
    
    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 2, 2024
    Configuration menu
    Copy the full SHA
    3255daa View commit details
    Browse the repository at this point in the history

Commits on May 4, 2024

  1. [Backend] Modification in Backend for the UI.

    Added Filters and pagination in Backend.
    Modified API's and added a pipeline for the aggregation of results.
    
    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 4, 2024
    Configuration menu
    Copy the full SHA
    f528e10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0cc1ce View commit details
    Browse the repository at this point in the history
  3. Indent Fixes

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 4, 2024
    Configuration menu
    Copy the full SHA
    415a34f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1fa5917 View commit details
    Browse the repository at this point in the history
  5. Modified ListProject Query frontend hook.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 4, 2024
    Configuration menu
    Copy the full SHA
    8d5113e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1eeae8b View commit details
    Browse the repository at this point in the history
  7. Added Project Filters.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 4, 2024
    Configuration menu
    Copy the full SHA
    be4086a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c991380 View commit details
    Browse the repository at this point in the history
  9. modified auth-api swagger file.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 4, 2024
    Configuration menu
    Copy the full SHA
    d8c14df View commit details
    Browse the repository at this point in the history
  10. Added tags section in create-project modal.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 4, 2024
    Configuration menu
    Copy the full SHA
    7b9f489 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8b5bf97 View commit details
    Browse the repository at this point in the history
  12. minor changes and resolved some errors.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 4, 2024
    Configuration menu
    Copy the full SHA
    724c606 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Added routing when clicked on the card.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 8, 2024
    Configuration menu
    Copy the full SHA
    d60cf2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2eb6a17 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3d5b60 View commit details
    Browse the repository at this point in the history
  4. Added scroll for the project list.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 8, 2024
    Configuration menu
    Copy the full SHA
    923d281 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a24ba5e View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Made search text type insensitive.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 10, 2024
    Configuration menu
    Copy the full SHA
    6747199 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. Update chaoscenter/web/src/controllers/ProjectDashboard/ProjectFilter…

    …s.tsx
    
    Co-authored-by: Hrishav <[email protected]>
    Signed-off-by: Aryan Bhokare <[email protected]>
    aryan-bhokare and hrishavjha authored May 25, 2024
    Configuration menu
    Copy the full SHA
    554e008 View commit details
    Browse the repository at this point in the history
  2. requested changes.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 25, 2024
    Configuration menu
    Copy the full SHA
    42da32e View commit details
    Browse the repository at this point in the history
  3. removed unnecessary handle function

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 25, 2024
    Configuration menu
    Copy the full SHA
    4dbd103 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. requested backend changes and small fixes

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed May 26, 2024
    Configuration menu
    Copy the full SHA
    aa157f0 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Changed folder structure.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    92a2273 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2024

  1. requested changes.

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    6daa086 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Merge branch 'master' into multiple-project-owner-backend

    Signed-off-by: Aryan Bhokare <[email protected]>
    aryan-bhokare authored Jul 18, 2024
    Configuration menu
    Copy the full SHA
    0fe519a View commit details
    Browse the repository at this point in the history
  2. fixed import orders

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    f7062d5 View commit details
    Browse the repository at this point in the history
  3. fixing RoleEditor to RoleExecuter

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    a381cb4 View commit details
    Browse the repository at this point in the history
  4. merge backend and frontend branch

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    b034c7c View commit details
    Browse the repository at this point in the history
  5. removed redundant deleteprojectinput

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    11837fd View commit details
    Browse the repository at this point in the history
  6. fixed bug caused in merging

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    d0d4e1e View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    e52d7ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a6f762 View commit details
    Browse the repository at this point in the history
  3. fixed bug caused in merging

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    f7a4612 View commit details
    Browse the repository at this point in the history
  4. removed duplicate struct

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    2b0c246 View commit details
    Browse the repository at this point in the history
  5. Fix: frontend chaoshub test

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    615f705 View commit details
    Browse the repository at this point in the history
  6. fix: tag rendering issue in project dashboard

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    006af80 View commit details
    Browse the repository at this point in the history
  7. fix: Less user details in createProject

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    ecbeb76 View commit details
    Browse the repository at this point in the history
  8. fix: import orders

    Signed-off-by: aryan <[email protected]>
    aryan-bhokare committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    fe85c89 View commit details
    Browse the repository at this point in the history