-
Notifications
You must be signed in to change notification settings - Fork 3
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
[MI-2360] Updated APIs to create/delete subscriptions and subscription card for "Build" and "Release" events #110
Conversation
raghavaggarwal2308
commented
Nov 18, 2022
•
edited
Loading
edited
- Updated the payload to create subscription with pipeline filters
- Added filter chips on subscription card
- Removed unused code
…tch repository list for a project
…ure-devops into MI-2279
…ure-devops into MI-2262
…ure-devops into MI-2262
…e identifier and Created UI and integrated target-branch filter support.
…chip UI for displaying filters on subscription cards.
…bscription filters.
…lter values and integrate UI subscripton filter flow with API.
…re-devops into MI-2294
…ure-devops into MI-2314
…nd Area Path for Boards.
…in-azure-devops into MI-2339
…n-azure-devops into MI-2339
…re-devops into MI-2341
…re-devops into MI-2360
…n-azure-devops into MI-2341
…re-devops into MI-2360
Codecov ReportBase: 52.66% // Head: 52.25% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## epic_phase_3 #110 +/- ##
================================================
- Coverage 52.66% 52.25% -0.41%
================================================
Files 15 15
Lines 2136 2147 +11
================================================
- Hits 1125 1122 -3
- Misses 926 940 +14
Partials 85 85
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
…n-azure-devops into MI-2360
* [MI-2304] Pipeline subscription 1. Updated API to support creating pipeline subscriptions. 2. Updated the UI for subscription modal to display pipeline event types. 3. Updated the UI of subscription card for for displaying pipeline subscriptions. * [MI-2315] Added slash command to add/list pipeline subscriptions * [MI-2304] Fixed casing of event type description * [MI-2321] Created notification post for "Release Created" and "Build Created" event type * [MI-2321] Added notification post for "Release Abandoned", "Release deployment started" and "Release deployment completed" * [MI-2321] Added notification post for "Run stage state changed" and "Run state changed" event type * [MI-2321] Refactored code * [MI-2321] Removed commented code * [MI-2321] Removed unused struct * [MI-2321] Fixed bug: Pull reqest commented event notification not working * [MI-2339][server]: Added support to show pipeline build link preview. * [MI-2339][server]: Added mock method for pipeline build * [MI-2321] Fixed author icon css on notification post * [MI-2339][server]: Updated error message * [MI-2343][server+webapp]: Added support to show pipeline release link preview. * [MI-2304] Review fixes * [MI-2315] Review fixes * [MI-2304] Review fixes * [MI-2345][server+webapp]: Added feature for user to Approve/Reject a pipeline job request from requested user via MM post. * [MI-2339][server][review_fix]: Minor refactoring * [MI-2345][server]: Added mock method for UpdatePipelineApprovalRequest * [MI-2345][server]: Fixed variable name for failing CI * [MI-2350][server]: Add feature to update status of an already approved/rejected Pipeline release request. * [MI-2350][server]: Changed variable names to prevent shadow declarations * [MI-2304] Review fixes * [MI-2315] Review fixes 1. Created map for displayEventTypes * [MI-2321] Review fixes * [MI-2339][server][review_fix]: Added debug logs and changed casings * [MI-2343][server][review_fix]: Minor refactoring * [MI-2304] Review fixes 1. Updated screenshots in docs * [MI-2345][server][review_fix]: Minor refactoring * [MI-2321] Review fixes * [MI-2339][server]: Changed pipeline icon name * [MI-2419][server]: Added support to approve/reject run stage pipeline events. * [MI-2450] Added testcases and Makefile command to generate mocks 1. TestGetSubscriptionFIlterPossibleValues 2. TestCheckIfUserIsProjectAdmin 3. TestGetBuildDetails 4. TestPostBuildDetailsPreview 5. TestHandleDeleteAllSubscriptions 6. TestHandleGetSubscriptionFilterPossibleValues * [MI-2450] Added testcases for command.go * [MI-2450] Delete cover.out file * [MI-2450] Added some more testcases for command.go * [MI-2450] Removed cover.out file * [MI-2456] Added testcases for handleSubscriptionNotification * [MI-2461] Added testcases for release link preview * [MI-2450] Self review fix * [MI-2339][server]: Added support to show pipeline build link preview. (#104) * [MI-2339][server]: Added support to show pipeline build link preview. * [MI-2339][server]: Added mock method for pipeline build * [MI-2339][server]: Updated error message * [MI-2339][server][review_fix]: Minor refactoring * [MI-2339][server][review_fix]: Added debug logs and changed casings * [MI-2339][server]: Changed pipeline icon name Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: raghavaggarwal2308 <[email protected]> * [MI-2345][server][review_fix]: Changed place of path variable * [MI-2350][server][review_fix]: Changed spelling * [MI-2463] Added testcases for pipeline job request * [MI-2466] Added testcases for run stage job request feature * [MI-2463] Added testcases for client.go * [MI-2466] Updated varible names * [MI-2467] Updated documentation for pipeline features * [MI-2462] Moved files in assets to public folder * [MI-2474] Added comment modal for approving/rejecting pipeline requests * [MI-2341][webapp+server] Added filters for "Build" and "Release" events (#107) * [MI-2258]: [server]: Create plugin API to request Azure DevOps and fetch repository list for a project * [MI-2258][server][review_fix][CI_fix]: review fixes and added mock method. * [MI-2279][webapp]: Created UI and integrated repository filter for Repos * [MI-2279][webapp]: Fixed util * [MI-2279][webapp]: Enhanced UX * [MI-2262][server]: Created plugin API to request branches for a repo. * [MI-2262][server]: Added mocked client method * WIP * [MI-2284][server+webapp]: Made server changes to add filters as unique identifier and Created UI and integrated target-branch filter support. * [server+webapp]: Differentiated payload for service-type and Created chip UI for displaying filters on subscription cards. * [MI-2288][server+webapp]: Changed struct type for publisher inputs * [MI-2288][server+webapp]: Modified projectID field name * [MI-2288][webapp]: Added tolltip on chip * [MI-2288][webapp]: Fixed import order * [MI-2294][server]: Created plugin API to fetch possible values for subscription filters. * [MI-2294][server]: Added mocked client function * [MI-2294][server]: Fixed golint error * [MI-2314][server+webapp]: Made changes in plugin API for returning filter values and integrate UI subscripton filter flow with API. * merge changes synced * [MI-2314][server+Webapp]: Implemented conditional filters for Repos and Area Path for Boards. * [MI-2294][server][review_fix]: Minor refactoring * [MI-2294][server][review_fix]: Reverted extra line removal * [MI-2294][server][review_fix]: used constants and added server log * [MI-2294][server]: Removed extra mock methods * [MI-2314][webapp]: Refactoring * [MI-2314][webapp]: Refactoring * [MI-2314][MI-2287] Fixed failing testcases * [MI-2314][webapp]: Exported constant variables * [MI-2339][server]: Added support to show pipeline build link preview. * [MI-2339][server]: Added mock method for pipeline build * [MI-2339][server]: Updated error message * [MI-2341][webapp+server] Added filters for "Build" and "Release" events 1. Added "Release Pipeline", "Approval Status", "Approval Type", "Stage Name" and "Status" for release events. 2. Added "Build Pipeline" and "Build Status" for build events. 3. Updated the API to get filter values for above events. * [MI-2341] Changed name of struct field 'ReleaseDefinitionID : ReleasePipeline' * [MI-2339][server][review_fix]: Minor refactoring * [MI-2341] Review fixes * [MI-2339][server][review_fix]: Added debug logs and changed casings * [MI-2341] Review fix * [MI-2339][server]: Changed pipeline icon name * [MI-2341] Review fixes Co-authored-by: Abhishek Verma <[email protected]> * [MI-2476] Enhancements: a. Remove the white background color from the icon on the notification post b. Remove unused code in ExecuteCommand function in command.go * [MI-2476] Updated help command for pipelines * [MI-2360] Updated APIs to create/delete subscriptions and subscription card for "Build" and "Release" events (#110) * [MI-2258]: [server]: Create plugin API to request Azure DevOps and fetch repository list for a project * [MI-2258][server][review_fix][CI_fix]: review fixes and added mock method. * [MI-2279][webapp]: Created UI and integrated repository filter for Repos * [MI-2279][webapp]: Fixed util * [MI-2279][webapp]: Enhanced UX * [MI-2262][server]: Created plugin API to request branches for a repo. * [MI-2262][server]: Added mocked client method * WIP * [MI-2284][server+webapp]: Made server changes to add filters as unique identifier and Created UI and integrated target-branch filter support. * [server+webapp]: Differentiated payload for service-type and Created chip UI for displaying filters on subscription cards. * [MI-2288][server+webapp]: Changed struct type for publisher inputs * [MI-2288][server+webapp]: Modified projectID field name * [MI-2288][webapp]: Added tolltip on chip * [MI-2288][webapp]: Fixed import order * [MI-2294][server]: Created plugin API to fetch possible values for subscription filters. * [MI-2294][server]: Added mocked client function * [MI-2294][server]: Fixed golint error * [MI-2314][server+webapp]: Made changes in plugin API for returning filter values and integrate UI subscripton filter flow with API. * merge changes synced * [MI-2314][server+Webapp]: Implemented conditional filters for Repos and Area Path for Boards. * [MI-2294][server][review_fix]: Minor refactoring * [MI-2294][server][review_fix]: Reverted extra line removal * [MI-2294][server][review_fix]: used constants and added server log * [MI-2294][server]: Removed extra mock methods * [MI-2314][webapp]: Refactoring * [MI-2314][webapp]: Refactoring * [MI-2314][MI-2287] Fixed failing testcases * [MI-2314][webapp]: Exported constant variables * [MI-2339][server]: Added support to show pipeline build link preview. * [MI-2339][server]: Added mock method for pipeline build * [MI-2339][server]: Updated error message * [MI-2341][webapp+server] Added filters for "Build" and "Release" events 1. Added "Release Pipeline", "Approval Status", "Approval Type", "Stage Name" and "Status" for release events. 2. Added "Build Pipeline" and "Build Status" for build events. 3. Updated the API to get filter values for above events. * [MI-2341] Changed name of struct field 'ReleaseDefinitionID : ReleasePipeline' * [MI-2339][server][review_fix]: Minor refactoring * [MI-2360] Updated "CreateSubscription" API and subscription card according to pipeline filters * [MI-2360] Fixed failing testcases * [MI-2360] Removed redundant code * [MI-2360] Removed unused code and updated mock_client * [MI-2341] Review fixes * [MI-2339][server][review_fix]: Added debug logs and changed casings * [MI-2341] Review fix * [MI-2360] Minor fix * [MI-2339][server]: Changed pipeline icon name * [MI_2360] Changed name of struct fields * [MI-2341] Review fixes * [MI-2360] Generated MD5 hash for subscription key Co-authored-by: Abhishek Verma <[email protected]> * [MI-2474] Changed modal title * [MI-2470] Add dropdown for AreaPath field in create task modal * [MI-2345][server+webapp]: Added feature for user to Approve/Reject a pipeline job request from requested user via MM post. (#109) * [MI-2345][server+webapp]: Added feature for user to Approve/Reject a pipeline job request from requested user via MM post. * [MI-2345][server]: Added mock method for UpdatePipelineApprovalRequest * [MI-2345][server]: Fixed variable name for failing CI * [MI-2345][server][review_fix]: Minor refactoring * [MI-2345][server][review_fix]: Changed place of path variable * [MI-2345][server][review_fix]: Minor refactoring * [MI-2345] Fix lint error * [MI-2350][server]: Added a feature to update the status of an already approved/rejected Pipeline release request. (#111) * [MI-2350][server]: Add feature to update status of an already approved/rejected Pipeline release request. * [MI-2350][server]: Changed variable names to prevent shadow declarations * [MI-2350][server][review_fix]: Changed spelling * [MI-2350][server][review_fix]: Minor refactoring * [MI-2350][server][review_fix]: Changed variable name Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: raghavaggarwal2308 <[email protected]> Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: raghavaggarwal2308 <[email protected]> * [MI-2343][server+webapp]: Added support to show pipeline release link preview. (#105) * [MI-2339][server]: Added support to show pipeline build link preview. * [MI-2339][server]: Added mock method for pipeline build * [MI-2339][server]: Updated error message * [MI-2343][server+webapp]: Added support to show pipeline release link preview. * [MI-2339][server][review_fix]: Minor refactoring * [MI-2339][server][review_fix]: Added debug logs and changed casings * [MI-2343][server][review_fix]: Minor refactoring * [MI-2339][server]: Changed pipeline icon name * [MI-2343] Review fix * [MI-2343][server][review_fix]: Minor refactoring * [MI-2343] Fix lint errors Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: raghavaggarwal2308 <[email protected]> * [MI-2359] Added filters in subscription modal for "Run" events (#118) * [MI-2258]: [server]: Create plugin API to request Azure DevOps and fetch repository list for a project * [MI-2258][server][review_fix][CI_fix]: review fixes and added mock method. * [MI-2279][webapp]: Created UI and integrated repository filter for Repos * [MI-2279][webapp]: Fixed util * [MI-2279][webapp]: Enhanced UX * [MI-2262][server]: Created plugin API to request branches for a repo. * [MI-2262][server]: Added mocked client method * WIP * [MI-2284][server+webapp]: Made server changes to add filters as unique identifier and Created UI and integrated target-branch filter support. * [server+webapp]: Differentiated payload for service-type and Created chip UI for displaying filters on subscription cards. * [MI-2288][server+webapp]: Changed struct type for publisher inputs * [MI-2288][server+webapp]: Modified projectID field name * [MI-2288][webapp]: Added tolltip on chip * [MI-2288][webapp]: Fixed import order * [MI-2294][server]: Created plugin API to fetch possible values for subscription filters. * [MI-2294][server]: Added mocked client function * [MI-2294][server]: Fixed golint error * [MI-2314][server+webapp]: Made changes in plugin API for returning filter values and integrate UI subscripton filter flow with API. * merge changes synced * [MI-2314][server+Webapp]: Implemented conditional filters for Repos and Area Path for Boards. * [MI-2294][server][review_fix]: Minor refactoring * [MI-2294][server][review_fix]: Reverted extra line removal * [MI-2294][server][review_fix]: used constants and added server log * [MI-2294][server]: Removed extra mock methods * [MI-2314][webapp]: Refactoring * [MI-2314][webapp]: Refactoring * [MI-2314][MI-2287] Fixed failing testcases * [MI-2314][webapp]: Exported constant variables * [MI-2339][server]: Added support to show pipeline build link preview. * [MI-2339][server]: Added mock method for pipeline build * [MI-2339][server]: Updated error message * [MI-2341][webapp+server] Added filters for "Build" and "Release" events 1. Added "Release Pipeline", "Approval Status", "Approval Type", "Stage Name" and "Status" for release events. 2. Added "Build Pipeline" and "Build Status" for build events. 3. Updated the API to get filter values for above events. * [MI-2341] Changed name of struct field 'ReleaseDefinitionID : ReleasePipeline' * [MI-2339][server][review_fix]: Minor refactoring * [MI-2360] Updated "CreateSubscription" API and subscription card according to pipeline filters * [MI-2360] Fixed failing testcases * [MI-2360] Removed redundant code * [MI-2360] Removed unused code and updated mock_client * [MI-2341] Review fixes * [MI-2359] Added filters in subscription modal for "Run" events * [MI-2339][server][review_fix]: Added debug logs and changed casings * [MI-2341] Review fix * [MI-2360] Minor fix * [MI-2339][server]: Changed pipeline icon name * [MI_2360] Changed name of struct fields * [MI-2359] Review fix * [MI-2359] Fix CI * [MI-2359] Reset values of resultId and stageId when value of state and pipeline if changed respectively * [MI-2341] Review fixes * [MI-2360] Generated MD5 hash for subscription key * [MI-2361] Updated API to create/delete "Run" event subscriptions with… (#120) * [MI-2361] Updated API to create/delete "Run" event subscriptions with filters * [MI-2361] Review fixes * [MI-2359] Review fixes * [MI-2410] Updated subscription card to display run event filters and filter popover for pipelines (#123) * [MI-2361] Updated API to create/delete "Run" event subscriptions with filters * [MI-2410] Updated subscription card to display run event filters * [MI-2410] Updated the filter popover for pipelines * [MI-2361] Review fixes * [MI-2410] Review fixes * [MI-2410] Review fix * [MI-2410] Review fix Co-authored-by: Abhishek Verma <[email protected]> * [MI-2467] Review fixes * [MI-2419][server]: Added support to approve/reject run stage pipeline events. (#3) * [MI-2345][server+webapp]: Added feature for user to Approve/Reject a pipeline job request from requested user via MM post. * [MI-2345][server]: Added mock method for UpdatePipelineApprovalRequest * [MI-2345][server]: Fixed variable name for failing CI * [MI-2350][server]: Add feature to update status of an already approved/rejected Pipeline release request. * [MI-2350][server]: Changed variable names to prevent shadow declarations * [MI-2345][server][review_fix]: Minor refactoring * [MI-2419][server]: Added support to approve/reject run stage pipeline events. * [MI-2419][server][review_fix]: Minor refactoring and error handling * [MI-2419][server][review_fix]: Minor refactoring * [MI-2419][server]: Added loader message post for release requests * [MI-2447][server]: Created slack attachment for pipelines release/run approval completion. (#5) Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: raghavaggarwal2308 <[email protected]> * [MI-2467] Review fix Co-authored-by: Abhishek Verma <[email protected]> * [MI-2495] Removed unused code * [MI-2495] Minor bug fixes * [MI-2495] Reset unlink confirmation modal error state on hide. * [Fix]: Fixed organization name for Pipelines (#132) Co-authored-by: Abhishek Verma <[email protected]> * [MI-2495] Code refactor * [MI-2495] Bump plugin version to v3.0.0 * [MI-2495] Review fix * [MI-2476] Review fix Co-authored-by: Ayush Thakur <[email protected]> * [MI-2462] Review fix 1. Created assets folder in public folder * [MI-2462] Changed plugin version on plugin.go * [MI-2450] Fix testcases * [MI-2450] Review fixes * [MI-2456] Review fixes * [MI-2461] Review fixes * [MI-2461] Removed unused image * Fixed lint error * [MI-2463] Removed unused code * [MI-2463] Fix testcases * [MI-2466] Changed name of testcases * [MI-2462] Fix errors * [MI-2476] Fix invalid command constant * [MI-2450] Review fixes * [MI-2461] Review fixes * [MI-2463] Review fixes * [MI-2466] Review fixes * [MI-2461] Review fixes * [MI-2474] Review fixes * [MI-2470] Review fixes * [MI-2450] Review fixes * [MI-2474] Review fixes * [MI-2461] Review fixes * [MI-2470] Review fix Co-authored-by: Abhishek Verma <[email protected]> * [MI-2524] Fix and add testcases on branch MI-2474 * [MI-2524] Review fixes * [MI-2524] Review fixes * Bump plugin verstion to v3.1.0 * [MI-2504][server+webapp]: Generated manifest files and Changed "Hide" to "Close" on filter popover. (#17) (#21) * [MI-2504][webapp]: Changed Hide to Close on filter popover * [MI-2504][server]: Generated manifest files * [MI-2504][server]: Updated version in manifest Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: Abhishek Verma <[email protected]> * [Fix]: Fixed Circle CI * [Fix]: Fixed manifest file * [MI-2511] Created constants for common mocks * [MI-2511] Review fixes * [MI-2511] Review fix * [MI-2611]: Fixed modals not opening on multiple clients in case of cloud servers (#25) Co-authored-by: Abhishek Verma <[email protected]> * [MI-2505]: Added logic to protect subscriptions notification webhook API and fixed Boards update subscription. (#22) * [MI-2505][server]: Added logic to protect subscriptions notification webhook API and fixed Boards update subscription. * [MI-2505][MI-2518] Fix failing testcases * [MI-2505]:Added webhook secret encoding and review fixes * [MI-2505]:Added webhook secret encryption * [MI-2505]: Fixed CI * [MI-2505]: Reverted change of auth scopes * [MI-2505]: Fixed CI * [MI-2505][MI-2603] Fixed testcases * [MI-2505]: Used constant for path * [MI-2505]: Refinded message * [MI-2505]: Minor review fixes * [MI-2505][MI-2603] Review fix Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: raghavaggarwal2308 <[email protected]> * [MI-2613]: Fixed resetting error message on Link modal, showing descr… (#26) * [MI-2611]: Fixed modals not opening on multiple clients in case of cloud servers * [MI-2613]: Fixed resetting error message on Link modal, showing descriptive error messages on UI and handling modals if account is not connected * [MI-2613]: Fixed channel validation for DMs * [MI-2613]: Added checks for filter API calls and user friendly error message * [MI-2613]: Added logic to check if a subscription is not found on the Azure DevOps portal then delete it from the Mattermost's KV store * [MI-2613]: Review fixes * [MI-2613]: Review fixes Co-authored-by: Abhishek Verma <[email protected]> * [MI-2621]: Created font icons for subscription card and changed subscription titles to default color. (#27) * [MI-2611]: Fixed modals not opening on multiple clients in case of cloud servers * [MI-2613]: Fixed resetting error message on Link modal, showing descriptive error messages on UI and handling modals if account is not connected * [MI-2613]: Fixed channel validation for DMs * [MI-2613]: Added checks for filter API calls and user friendly error message * [MI-2613]: Added logic to check if a subscription is not found on the Azure DevOps portal then delete it from the Mattermost's KV store * [MI-2621]: Created font icons for subscription card and changed subscription titles to default color. * [MI-2621]: Fixed test cases * [MI-2621]: Fixed test cases * [MI-2621]: Refactoring * [MI-2621]: Added tooltip on project list card * [MI-2621]: Fixed test cases * [MI-2621]: Review fix * [MI-2651]: Changed texts for work-item, added workitem in boards command, changed plugin name (#28) * [MI-2651]: Changed texts for work-item, added workitem in boards command, changed plugin name * [MI-2651]: Changed texts * [MI-2651]: Made anyone as default arg for subscription list * [MI-2651]: Added azd prefix for modal classes * [MI-2651]: Added CSS util classes * [MI-2651]: Fixed test cases Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: Abhishek Verma <[email protected]> * [Review fix]: Removed unused files * [MI-2669]: Added some key-values in plugin.json file and created separate functions for custom error components (#30) * Added some key-values in plugin.json file and created separate functions for custom error components * [MI-2669]: Added block lines --------- Co-authored-by: Abhishek Verma <[email protected]> * [MI-2672]: Removed consumerInput form subscription response, added validation to check channel access (#29) * [MI-2672]: Removed consumerInput form subscription response, added validation to check channel access * [MI-2672]: Fixed lint * [MI-2672]: Fixed lint * [MI-2672]: Added check for DM and groups with minor refactoring * [MI-2672]: Review fixes * [MI-2672]: Changed variable * [MI-2672]: Fixed test case --------- Co-authored-by: Abhishek Verma <[email protected]> * [Fix]: Updated manifest file * [MI-2669]: Made changes for subscriptionID to be used as key for KV-s… (#33) * [MI-2669]: Made changes for subscriptionID to be used as key for KV-store, sorted subscriptions on basis of createdAt, users cannot see subscriptions of not participating channels * [MI-2669]: Modified comment --------- Co-authored-by: Abhishek Verma <[email protected]> * [MI-2669_1]: Added a top level CSS class as a unique selector (#31) * [MI-2669_1]: Added a top level CSS class as a unique selector * [MI-2669]: Added top level class selector for components and review fixes --------- Co-authored-by: Abhishek Verma <[email protected]> * [MI-2669]: Created a hook for intercepting redux changes and moved the central login into it, formatted code (#32) * [MI-2669]: Created a hook for intercepting redux changes and moved the central login into it, formatted code * [MI-2669]: Modified comment * [MI-2669]: Review fixes --------- Co-authored-by: Abhishek Verma <[email protected]> * [Refactor]: Removed unused util * [MI-2669]: Created hook to fetch and load filters (#34) Co-authored-by: Abhishek Verma <[email protected]> * [Fix]: Moved subscriptionID field at the top in struct * [MI-2748]: Implemented 1:1 mapping between MM user and Azure DevOps user for oAuth. (#35) * [MI-2748]: Implemented 1:1 mapping between MM user and Azure DevOps user for oAuth. * [MI-2748]: Added 1 test case and http response code * [MI-2748]: Fixed condition * [MI-2748]: Fixed token refresh logic * [MI-2748]: Fixed CI * [MI-2748]: Fixed CI * [MI-2748]: Review fixes * [MI-2748]: Fixed CI * [MI-2748]: Review fixes * [MI-2748]: Review fixes --------- Co-authored-by: Abhishek Verma <[email protected]> * [MI-2750]: Implemented fetching channel list on webapp and removes from plugin's server. (#36) * [MI-2750]: Implemented fetching channel list on webapp and remove from plugin's server. * [MI-2750]: Review fixes * [MI-2750]: Changed comment message --------- Co-authored-by: Abhishek Verma <[email protected]> * [MI-2765]: Used @mattermost/client for making webapp calls to MM server (#37) * [MI-2765]: Used @mattermost/client for making webapp calls to MM server * [MI-2765]: Review fix * [MI-2765]: Review fix * [MI-2765]: Removed Mattermost API call RTK service * [MI-2765]: Fixed CI --------- Co-authored-by: Abhishek Verma <[email protected]> --------- Co-authored-by: raghavaggarwal2308 <[email protected]> Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: Ayush Thakur <[email protected]>
…144) * [MI-2304] Pipeline subscription 1. Updated API to support creating pipeline subscriptions. 2. Updated the UI for subscription modal to display pipeline event types. 3. Updated the UI of subscription card for for displaying pipeline subscriptions. * [MI-2315] Added slash command to add/list pipeline subscriptions * [MI-2304] Fixed casing of event type description * [MI-2321] Created notification post for "Release Created" and "Build Created" event type * [MI-2321] Added notification post for "Release Abandoned", "Release deployment started" and "Release deployment completed" * [MI-2321] Added notification post for "Run stage state changed" and "Run state changed" event type * [MI-2321] Refactored code * [MI-2321] Removed commented code * [MI-2321] Removed unused struct * [MI-2321] Fixed bug: Pull reqest commented event notification not working * [MI-2339][server]: Added support to show pipeline build link preview. * [MI-2339][server]: Added mock method for pipeline build * [MI-2321] Fixed author icon css on notification post * [MI-2339][server]: Updated error message * [MI-2343][server+webapp]: Added support to show pipeline release link preview. * [MI-2304] Review fixes * [MI-2315] Review fixes * [MI-2304] Review fixes * [MI-2345][server+webapp]: Added feature for user to Approve/Reject a pipeline job request from requested user via MM post. * [MI-2339][server][review_fix]: Minor refactoring * [MI-2345][server]: Added mock method for UpdatePipelineApprovalRequest * [MI-2345][server]: Fixed variable name for failing CI * [MI-2350][server]: Add feature to update status of an already approved/rejected Pipeline release request. * [MI-2350][server]: Changed variable names to prevent shadow declarations * [MI-2304] Review fixes * [MI-2315] Review fixes 1. Created map for displayEventTypes * [MI-2321] Review fixes * [MI-2339][server][review_fix]: Added debug logs and changed casings * [MI-2343][server][review_fix]: Minor refactoring * [MI-2304] Review fixes 1. Updated screenshots in docs * [MI-2345][server][review_fix]: Minor refactoring * [MI-2321] Review fixes * [MI-2339][server]: Changed pipeline icon name * [MI-2419][server]: Added support to approve/reject run stage pipeline events. * [MI-2450] Added testcases and Makefile command to generate mocks 1. TestGetSubscriptionFIlterPossibleValues 2. TestCheckIfUserIsProjectAdmin 3. TestGetBuildDetails 4. TestPostBuildDetailsPreview 5. TestHandleDeleteAllSubscriptions 6. TestHandleGetSubscriptionFilterPossibleValues * [MI-2450] Added testcases for command.go * [MI-2450] Delete cover.out file * [MI-2450] Added some more testcases for command.go * [MI-2450] Removed cover.out file * [MI-2456] Added testcases for handleSubscriptionNotification * [MI-2461] Added testcases for release link preview * [MI-2450] Self review fix * [MI-2339][server]: Added support to show pipeline build link preview. (#104) * [MI-2339][server]: Added support to show pipeline build link preview. * [MI-2339][server]: Added mock method for pipeline build * [MI-2339][server]: Updated error message * [MI-2339][server][review_fix]: Minor refactoring * [MI-2339][server][review_fix]: Added debug logs and changed casings * [MI-2339][server]: Changed pipeline icon name Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: raghavaggarwal2308 <[email protected]> * [MI-2345][server][review_fix]: Changed place of path variable * [MI-2350][server][review_fix]: Changed spelling * [MI-2463] Added testcases for pipeline job request * [MI-2466] Added testcases for run stage job request feature * [MI-2463] Added testcases for client.go * [MI-2466] Updated varible names * [MI-2467] Updated documentation for pipeline features * [MI-2462] Moved files in assets to public folder * [MI-2474] Added comment modal for approving/rejecting pipeline requests * [MI-2341][webapp+server] Added filters for "Build" and "Release" events (#107) * [MI-2258]: [server]: Create plugin API to request Azure DevOps and fetch repository list for a project * [MI-2258][server][review_fix][CI_fix]: review fixes and added mock method. * [MI-2279][webapp]: Created UI and integrated repository filter for Repos * [MI-2279][webapp]: Fixed util * [MI-2279][webapp]: Enhanced UX * [MI-2262][server]: Created plugin API to request branches for a repo. * [MI-2262][server]: Added mocked client method * WIP * [MI-2284][server+webapp]: Made server changes to add filters as unique identifier and Created UI and integrated target-branch filter support. * [server+webapp]: Differentiated payload for service-type and Created chip UI for displaying filters on subscription cards. * [MI-2288][server+webapp]: Changed struct type for publisher inputs * [MI-2288][server+webapp]: Modified projectID field name * [MI-2288][webapp]: Added tolltip on chip * [MI-2288][webapp]: Fixed import order * [MI-2294][server]: Created plugin API to fetch possible values for subscription filters. * [MI-2294][server]: Added mocked client function * [MI-2294][server]: Fixed golint error * [MI-2314][server+webapp]: Made changes in plugin API for returning filter values and integrate UI subscripton filter flow with API. * merge changes synced * [MI-2314][server+Webapp]: Implemented conditional filters for Repos and Area Path for Boards. * [MI-2294][server][review_fix]: Minor refactoring * [MI-2294][server][review_fix]: Reverted extra line removal * [MI-2294][server][review_fix]: used constants and added server log * [MI-2294][server]: Removed extra mock methods * [MI-2314][webapp]: Refactoring * [MI-2314][webapp]: Refactoring * [MI-2314][MI-2287] Fixed failing testcases * [MI-2314][webapp]: Exported constant variables * [MI-2339][server]: Added support to show pipeline build link preview. * [MI-2339][server]: Added mock method for pipeline build * [MI-2339][server]: Updated error message * [MI-2341][webapp+server] Added filters for "Build" and "Release" events 1. Added "Release Pipeline", "Approval Status", "Approval Type", "Stage Name" and "Status" for release events. 2. Added "Build Pipeline" and "Build Status" for build events. 3. Updated the API to get filter values for above events. * [MI-2341] Changed name of struct field 'ReleaseDefinitionID : ReleasePipeline' * [MI-2339][server][review_fix]: Minor refactoring * [MI-2341] Review fixes * [MI-2339][server][review_fix]: Added debug logs and changed casings * [MI-2341] Review fix * [MI-2339][server]: Changed pipeline icon name * [MI-2341] Review fixes Co-authored-by: Abhishek Verma <[email protected]> * [MI-2476] Enhancements: a. Remove the white background color from the icon on the notification post b. Remove unused code in ExecuteCommand function in command.go * [MI-2476] Updated help command for pipelines * [MI-2360] Updated APIs to create/delete subscriptions and subscription card for "Build" and "Release" events (#110) * [MI-2258]: [server]: Create plugin API to request Azure DevOps and fetch repository list for a project * [MI-2258][server][review_fix][CI_fix]: review fixes and added mock method. * [MI-2279][webapp]: Created UI and integrated repository filter for Repos * [MI-2279][webapp]: Fixed util * [MI-2279][webapp]: Enhanced UX * [MI-2262][server]: Created plugin API to request branches for a repo. * [MI-2262][server]: Added mocked client method * WIP * [MI-2284][server+webapp]: Made server changes to add filters as unique identifier and Created UI and integrated target-branch filter support. * [server+webapp]: Differentiated payload for service-type and Created chip UI for displaying filters on subscription cards. * [MI-2288][server+webapp]: Changed struct type for publisher inputs * [MI-2288][server+webapp]: Modified projectID field name * [MI-2288][webapp]: Added tolltip on chip * [MI-2288][webapp]: Fixed import order * [MI-2294][server]: Created plugin API to fetch possible values for subscription filters. * [MI-2294][server]: Added mocked client function * [MI-2294][server]: Fixed golint error * [MI-2314][server+webapp]: Made changes in plugin API for returning filter values and integrate UI subscripton filter flow with API. * merge changes synced * [MI-2314][server+Webapp]: Implemented conditional filters for Repos and Area Path for Boards. * [MI-2294][server][review_fix]: Minor refactoring * [MI-2294][server][review_fix]: Reverted extra line removal * [MI-2294][server][review_fix]: used constants and added server log * [MI-2294][server]: Removed extra mock methods * [MI-2314][webapp]: Refactoring * [MI-2314][webapp]: Refactoring * [MI-2314][MI-2287] Fixed failing testcases * [MI-2314][webapp]: Exported constant variables * [MI-2339][server]: Added support to show pipeline build link preview. * [MI-2339][server]: Added mock method for pipeline build * [MI-2339][server]: Updated error message * [MI-2341][webapp+server] Added filters for "Build" and "Release" events 1. Added "Release Pipeline", "Approval Status", "Approval Type", "Stage Name" and "Status" for release events. 2. Added "Build Pipeline" and "Build Status" for build events. 3. Updated the API to get filter values for above events. * [MI-2341] Changed name of struct field 'ReleaseDefinitionID : ReleasePipeline' * [MI-2339][server][review_fix]: Minor refactoring * [MI-2360] Updated "CreateSubscription" API and subscription card according to pipeline filters * [MI-2360] Fixed failing testcases * [MI-2360] Removed redundant code * [MI-2360] Removed unused code and updated mock_client * [MI-2341] Review fixes * [MI-2339][server][review_fix]: Added debug logs and changed casings * [MI-2341] Review fix * [MI-2360] Minor fix * [MI-2339][server]: Changed pipeline icon name * [MI_2360] Changed name of struct fields * [MI-2341] Review fixes * [MI-2360] Generated MD5 hash for subscription key Co-authored-by: Abhishek Verma <[email protected]> * [MI-2474] Changed modal title * [MI-2470] Add dropdown for AreaPath field in create task modal * [MI-2345][server+webapp]: Added feature for user to Approve/Reject a pipeline job request from requested user via MM post. (#109) * [MI-2345][server+webapp]: Added feature for user to Approve/Reject a pipeline job request from requested user via MM post. * [MI-2345][server]: Added mock method for UpdatePipelineApprovalRequest * [MI-2345][server]: Fixed variable name for failing CI * [MI-2345][server][review_fix]: Minor refactoring * [MI-2345][server][review_fix]: Changed place of path variable * [MI-2345][server][review_fix]: Minor refactoring * [MI-2345] Fix lint error * [MI-2350][server]: Added a feature to update the status of an already approved/rejected Pipeline release request. (#111) * [MI-2350][server]: Add feature to update status of an already approved/rejected Pipeline release request. * [MI-2350][server]: Changed variable names to prevent shadow declarations * [MI-2350][server][review_fix]: Changed spelling * [MI-2350][server][review_fix]: Minor refactoring * [MI-2350][server][review_fix]: Changed variable name Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: raghavaggarwal2308 <[email protected]> Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: raghavaggarwal2308 <[email protected]> * [MI-2343][server+webapp]: Added support to show pipeline release link preview. (#105) * [MI-2339][server]: Added support to show pipeline build link preview. * [MI-2339][server]: Added mock method for pipeline build * [MI-2339][server]: Updated error message * [MI-2343][server+webapp]: Added support to show pipeline release link preview. * [MI-2339][server][review_fix]: Minor refactoring * [MI-2339][server][review_fix]: Added debug logs and changed casings * [MI-2343][server][review_fix]: Minor refactoring * [MI-2339][server]: Changed pipeline icon name * [MI-2343] Review fix * [MI-2343][server][review_fix]: Minor refactoring * [MI-2343] Fix lint errors Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: raghavaggarwal2308 <[email protected]> * [MI-2359] Added filters in subscription modal for "Run" events (#118) * [MI-2258]: [server]: Create plugin API to request Azure DevOps and fetch repository list for a project * [MI-2258][server][review_fix][CI_fix]: review fixes and added mock method. * [MI-2279][webapp]: Created UI and integrated repository filter for Repos * [MI-2279][webapp]: Fixed util * [MI-2279][webapp]: Enhanced UX * [MI-2262][server]: Created plugin API to request branches for a repo. * [MI-2262][server]: Added mocked client method * WIP * [MI-2284][server+webapp]: Made server changes to add filters as unique identifier and Created UI and integrated target-branch filter support. * [server+webapp]: Differentiated payload for service-type and Created chip UI for displaying filters on subscription cards. * [MI-2288][server+webapp]: Changed struct type for publisher inputs * [MI-2288][server+webapp]: Modified projectID field name * [MI-2288][webapp]: Added tolltip on chip * [MI-2288][webapp]: Fixed import order * [MI-2294][server]: Created plugin API to fetch possible values for subscription filters. * [MI-2294][server]: Added mocked client function * [MI-2294][server]: Fixed golint error * [MI-2314][server+webapp]: Made changes in plugin API for returning filter values and integrate UI subscripton filter flow with API. * merge changes synced * [MI-2314][server+Webapp]: Implemented conditional filters for Repos and Area Path for Boards. * [MI-2294][server][review_fix]: Minor refactoring * [MI-2294][server][review_fix]: Reverted extra line removal * [MI-2294][server][review_fix]: used constants and added server log * [MI-2294][server]: Removed extra mock methods * [MI-2314][webapp]: Refactoring * [MI-2314][webapp]: Refactoring * [MI-2314][MI-2287] Fixed failing testcases * [MI-2314][webapp]: Exported constant variables * [MI-2339][server]: Added support to show pipeline build link preview. * [MI-2339][server]: Added mock method for pipeline build * [MI-2339][server]: Updated error message * [MI-2341][webapp+server] Added filters for "Build" and "Release" events 1. Added "Release Pipeline", "Approval Status", "Approval Type", "Stage Name" and "Status" for release events. 2. Added "Build Pipeline" and "Build Status" for build events. 3. Updated the API to get filter values for above events. * [MI-2341] Changed name of struct field 'ReleaseDefinitionID : ReleasePipeline' * [MI-2339][server][review_fix]: Minor refactoring * [MI-2360] Updated "CreateSubscription" API and subscription card according to pipeline filters * [MI-2360] Fixed failing testcases * [MI-2360] Removed redundant code * [MI-2360] Removed unused code and updated mock_client * [MI-2341] Review fixes * [MI-2359] Added filters in subscription modal for "Run" events * [MI-2339][server][review_fix]: Added debug logs and changed casings * [MI-2341] Review fix * [MI-2360] Minor fix * [MI-2339][server]: Changed pipeline icon name * [MI_2360] Changed name of struct fields * [MI-2359] Review fix * [MI-2359] Fix CI * [MI-2359] Reset values of resultId and stageId when value of state and pipeline if changed respectively * [MI-2341] Review fixes * [MI-2360] Generated MD5 hash for subscription key * [MI-2361] Updated API to create/delete "Run" event subscriptions with… (#120) * [MI-2361] Updated API to create/delete "Run" event subscriptions with filters * [MI-2361] Review fixes * [MI-2359] Review fixes * [MI-2410] Updated subscription card to display run event filters and filter popover for pipelines (#123) * [MI-2361] Updated API to create/delete "Run" event subscriptions with filters * [MI-2410] Updated subscription card to display run event filters * [MI-2410] Updated the filter popover for pipelines * [MI-2361] Review fixes * [MI-2410] Review fixes * [MI-2410] Review fix * [MI-2410] Review fix Co-authored-by: Abhishek Verma <[email protected]> * [MI-2467] Review fixes * [MI-2419][server]: Added support to approve/reject run stage pipeline events. (#3) * [MI-2345][server+webapp]: Added feature for user to Approve/Reject a pipeline job request from requested user via MM post. * [MI-2345][server]: Added mock method for UpdatePipelineApprovalRequest * [MI-2345][server]: Fixed variable name for failing CI * [MI-2350][server]: Add feature to update status of an already approved/rejected Pipeline release request. * [MI-2350][server]: Changed variable names to prevent shadow declarations * [MI-2345][server][review_fix]: Minor refactoring * [MI-2419][server]: Added support to approve/reject run stage pipeline events. * [MI-2419][server][review_fix]: Minor refactoring and error handling * [MI-2419][server][review_fix]: Minor refactoring * [MI-2419][server]: Added loader message post for release requests * [MI-2447][server]: Created slack attachment for pipelines release/run approval completion. (#5) Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: raghavaggarwal2308 <[email protected]> * [MI-2467] Review fix Co-authored-by: Abhishek Verma <[email protected]> * [MI-2495] Removed unused code * [MI-2495] Minor bug fixes * [MI-2495] Reset unlink confirmation modal error state on hide. * [Fix]: Fixed organization name for Pipelines (#132) Co-authored-by: Abhishek Verma <[email protected]> * [MI-2495] Code refactor * [MI-2495] Bump plugin version to v3.0.0 * [MI-2495] Review fix * [MI-2476] Review fix Co-authored-by: Ayush Thakur <[email protected]> * [MI-2462] Review fix 1. Created assets folder in public folder * [MI-2462] Changed plugin version on plugin.go * [MI-2450] Fix testcases * [MI-2450] Review fixes * [MI-2456] Review fixes * [MI-2461] Review fixes * [MI-2461] Removed unused image * Fixed lint error * [MI-2463] Removed unused code * [MI-2463] Fix testcases * [MI-2466] Changed name of testcases * [MI-2462] Fix errors * [MI-2476] Fix invalid command constant * [MI-2450] Review fixes * [MI-2461] Review fixes * [MI-2463] Review fixes * [MI-2466] Review fixes * [MI-2461] Review fixes * [MI-2474] Review fixes * [MI-2470] Review fixes * [MI-2450] Review fixes * [MI-2474] Review fixes * [MI-2461] Review fixes * [MI-2470] Review fix Co-authored-by: Abhishek Verma <[email protected]> * [MI-2524] Fix and add testcases on branch MI-2474 * [MI-2524] Review fixes * [MI-2524] Review fixes * Bump plugin verstion to v3.1.0 * [MI-2504][server+webapp]: Generated manifest files and Changed "Hide" to "Close" on filter popover. (#17) (#21) * [MI-2504][webapp]: Changed Hide to Close on filter popover * [MI-2504][server]: Generated manifest files * [MI-2504][server]: Updated version in manifest Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: Abhishek Verma <[email protected]> * [Fix]: Fixed Circle CI * [Fix]: Fixed manifest file * [MI-2511] Created constants for common mocks * [MI-2511] Review fixes * [MI-2511] Review fix * [MI-2611]: Fixed modals not opening on multiple clients in case of cloud servers (#25) Co-authored-by: Abhishek Verma <[email protected]> * [MI-2505]: Added logic to protect subscriptions notification webhook API and fixed Boards update subscription. (#22) * [MI-2505][server]: Added logic to protect subscriptions notification webhook API and fixed Boards update subscription. * [MI-2505][MI-2518] Fix failing testcases * [MI-2505]:Added webhook secret encoding and review fixes * [MI-2505]:Added webhook secret encryption * [MI-2505]: Fixed CI * [MI-2505]: Reverted change of auth scopes * [MI-2505]: Fixed CI * [MI-2505][MI-2603] Fixed testcases * [MI-2505]: Used constant for path * [MI-2505]: Refinded message * [MI-2505]: Minor review fixes * [MI-2505][MI-2603] Review fix Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: raghavaggarwal2308 <[email protected]> * [MI-2613]: Fixed resetting error message on Link modal, showing descr… (#26) * [MI-2611]: Fixed modals not opening on multiple clients in case of cloud servers * [MI-2613]: Fixed resetting error message on Link modal, showing descriptive error messages on UI and handling modals if account is not connected * [MI-2613]: Fixed channel validation for DMs * [MI-2613]: Added checks for filter API calls and user friendly error message * [MI-2613]: Added logic to check if a subscription is not found on the Azure DevOps portal then delete it from the Mattermost's KV store * [MI-2613]: Review fixes * [MI-2613]: Review fixes Co-authored-by: Abhishek Verma <[email protected]> * [MI-2621]: Created font icons for subscription card and changed subscription titles to default color. (#27) * [MI-2611]: Fixed modals not opening on multiple clients in case of cloud servers * [MI-2613]: Fixed resetting error message on Link modal, showing descriptive error messages on UI and handling modals if account is not connected * [MI-2613]: Fixed channel validation for DMs * [MI-2613]: Added checks for filter API calls and user friendly error message * [MI-2613]: Added logic to check if a subscription is not found on the Azure DevOps portal then delete it from the Mattermost's KV store * [MI-2621]: Created font icons for subscription card and changed subscription titles to default color. * [MI-2621]: Fixed test cases * [MI-2621]: Fixed test cases * [MI-2621]: Refactoring * [MI-2621]: Added tooltip on project list card * [MI-2621]: Fixed test cases * [MI-2621]: Review fix * [MI-2651]: Changed texts for work-item, added workitem in boards command, changed plugin name (#28) * [MI-2651]: Changed texts for work-item, added workitem in boards command, changed plugin name * [MI-2651]: Changed texts * [MI-2651]: Made anyone as default arg for subscription list * [MI-2651]: Added azd prefix for modal classes * [MI-2651]: Added CSS util classes * [MI-2651]: Fixed test cases Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: Abhishek Verma <[email protected]> * [Review fix]: Removed unused files * [MI-2669]: Added some key-values in plugin.json file and created separate functions for custom error components (#30) * Added some key-values in plugin.json file and created separate functions for custom error components * [MI-2669]: Added block lines --------- Co-authored-by: Abhishek Verma <[email protected]> * [MI-2672]: Removed consumerInput form subscription response, added validation to check channel access (#29) * [MI-2672]: Removed consumerInput form subscription response, added validation to check channel access * [MI-2672]: Fixed lint * [MI-2672]: Fixed lint * [MI-2672]: Added check for DM and groups with minor refactoring * [MI-2672]: Review fixes * [MI-2672]: Changed variable * [MI-2672]: Fixed test case --------- Co-authored-by: Abhishek Verma <[email protected]> * [Fix]: Updated manifest file * [MI-2669]: Made changes for subscriptionID to be used as key for KV-s… (#33) * [MI-2669]: Made changes for subscriptionID to be used as key for KV-store, sorted subscriptions on basis of createdAt, users cannot see subscriptions of not participating channels * [MI-2669]: Modified comment --------- Co-authored-by: Abhishek Verma <[email protected]> * [MI-2669_1]: Added a top level CSS class as a unique selector (#31) * [MI-2669_1]: Added a top level CSS class as a unique selector * [MI-2669]: Added top level class selector for components and review fixes --------- Co-authored-by: Abhishek Verma <[email protected]> * [MI-2669]: Created a hook for intercepting redux changes and moved the central login into it, formatted code (#32) * [MI-2669]: Created a hook for intercepting redux changes and moved the central login into it, formatted code * [MI-2669]: Modified comment * [MI-2669]: Review fixes --------- Co-authored-by: Abhishek Verma <[email protected]> * [Refactor]: Removed unused util * [MI-2669]: Created hook to fetch and load filters (#34) Co-authored-by: Abhishek Verma <[email protected]> * [Fix]: Moved subscriptionID field at the top in struct * [MI-2748]: Implemented 1:1 mapping between MM user and Azure DevOps user for oAuth. (#35) * [MI-2748]: Implemented 1:1 mapping between MM user and Azure DevOps user for oAuth. * [MI-2748]: Added 1 test case and http response code * [MI-2748]: Fixed condition * [MI-2748]: Fixed token refresh logic * [MI-2748]: Fixed CI * [MI-2748]: Fixed CI * [MI-2748]: Review fixes * [MI-2748]: Fixed CI * [MI-2748]: Review fixes * [MI-2748]: Review fixes --------- Co-authored-by: Abhishek Verma <[email protected]> * [MI-2750]: Implemented fetching channel list on webapp and removes from plugin's server. (#36) * [MI-2750]: Implemented fetching channel list on webapp and remove from plugin's server. * [MI-2750]: Review fixes * [MI-2750]: Changed comment message --------- Co-authored-by: Abhishek Verma <[email protected]> * [MI-2765]: Used @mattermost/client for making webapp calls to MM server (#37) * [MI-2765]: Used @mattermost/client for making webapp calls to MM server * [MI-2765]: Review fix * [MI-2765]: Review fix * [MI-2765]: Removed Mattermost API call RTK service * [MI-2765]: Fixed CI --------- Co-authored-by: Abhishek Verma <[email protected]> * [MI-2820]: Modified API endpoint to require a project to be provided * [MI-2820]: Removed extra line * [MI-2820]: Review fixes * [MI-2820]: Added LogWarn and refactored code --------- Co-authored-by: raghavaggarwal2308 <[email protected]> Co-authored-by: Abhishek Verma <[email protected]> Co-authored-by: Ayush Thakur <[email protected]>