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

Release to Marketplace #128

Closed
wants to merge 232 commits into from
Closed
Show file tree
Hide file tree
Changes from 222 commits
Commits
Show all changes
232 commits
Select commit Hold shift + click to select a range
8066d68
[MI-1846]: Base setup with bot and help command (#1)
avas27JTG Jul 25, 2022
2a1e24a
[MI-1854]: Implement OAuth to access Azure DevOps services (#2)
avas27JTG Jul 28, 2022
a52039a
[MI-1931] Add API to get projects and get tasks (#3)
ayusht2810 Aug 9, 2022
42f9cf1
[MI-1945] Add function to make protected routes (#4)
ayusht2810 Aug 9, 2022
d22b29b
[MI-1948] Add API to create task (#5)
ayusht2810 Aug 9, 2022
adf462f
Epic changes (all code merged here are already reviewed) (#24)
avas27JTG Aug 10, 2022
ec1a1af
[MI-1986]: Create plugin API to fetch linked projects list (#27)
avas27JTG Aug 12, 2022
8d21f7e
[MI-1987]: Integrated project list UI (#28)
avas27JTG Aug 18, 2022
fc74ee8
[MI-2002]: Created plugin API to fetch user details and UI integratio…
avas27JTG Aug 31, 2022
c87e47b
[MI-2049]: Added websocket support to detect user connection details …
avas27JTG Sep 1, 2022
023ebcb
[MI-2035]: Integrated unlinking project from details page (#33)
avas27JTG Sep 2, 2022
4f4d04f
[MI-1939]: Added refresh token logic (#34)
avas27JTG Sep 5, 2022
171e87f
[MI-2056]: Fixed create task flow and added user connection check on …
avas27JTG Sep 5, 2022
e63723d
[MI-2061]: Refactoring and optimisations around Forms, RTK query, and…
avas27JTG Sep 5, 2022
c7a920b
[MI-2085]: No projects linked handling on modals and refactor create-…
avas27JTG Sep 5, 2022
03423a7
[MI-2010]: API to create subscriptions (#32)
ayusht2810 Sep 5, 2022
bffcb47
[MI-2009] API to get list of subscriptions (#35)
ayusht2810 Sep 6, 2022
649b03f
[MI-2011] Add API to listen notifications (#65)
avas27JTG Sep 6, 2022
d0dc044
[MI-2023] API to delete subscriptions (#66)
avas27JTG Sep 6, 2022
ddbdfa8
[MI-2029] Add feature to create subscription from modal (#67)
avas27JTG Sep 6, 2022
c593bbb
[MI-2030] Add filter to fetch subscriptions related to project (#68)
avas27JTG Sep 6, 2022
c91a782
[MI-2057] Integrate subscription list page (#69)
avas27JTG Sep 6, 2022
738cf4d
[MI-1994] Add interface for the store
ayusht2810 Aug 22, 2022
415dc9f
Merge pull request #44 from Brightscout/MI-1994
ayusht2810 Sep 6, 2022
a9da9d2
[MI-2072] Add testcases for configuration
ayusht2810 Aug 23, 2022
d128a2d
[MI-2072] Review fixes
ayusht2810 Sep 5, 2022
44c0b7d
Merge pull request #47 from Brightscout/MI-2072
ayusht2810 Sep 6, 2022
d1f900e
[MI-2073] Add test cases for API
ayusht2810 Aug 23, 2022
72310cc
[MI-2073] Correct ci
ayusht2810 Aug 23, 2022
ad531d3
[MI-2073] Review fix
ayusht2810 Aug 23, 2022
fbbddc2
[MI-2073] Review fixes
ayusht2810 Sep 5, 2022
2284a5c
[MI-2073] Corrections after changes in master
ayusht2810 Sep 6, 2022
32fb9d6
Merge pull request #48 from Brightscout/MI-2073
ayusht2810 Sep 6, 2022
a15cf4f
[MI-2074] Add test cases for client and command
ayusht2810 Aug 23, 2022
a23dbfa
[MI-2074] Correct ci
ayusht2810 Aug 23, 2022
b794618
[MI-2074] Review fixes
ayusht2810 Sep 5, 2022
05fa592
[MI-2074] Changes from master
ayusht2810 Sep 6, 2022
957e847
Merge pull request #49 from Brightscout/MI-2074
ayusht2810 Sep 6, 2022
ae8a1e2
[MI-2075] Add test cases for oAuth
ayusht2810 Aug 23, 2022
53d1a27
[MI-2075] Correct ci
ayusht2810 Aug 23, 2022
e221c09
[MI-2075] Review fixes
ayusht2810 Aug 24, 2022
81b1ab5
[MI-2075] Review fixes
ayusht2810 Sep 5, 2022
3bd1c94
[MI-2075] Update test cases after changes from master
ayusht2810 Sep 6, 2022
2423929
Merge pull request #50 from Brightscout/MI-2075
ayusht2810 Sep 6, 2022
855fa9c
[MI-2076] Add test cases for plugin and plugin utils
ayusht2810 Aug 23, 2022
9911efb
[MI-2076] Correct ci
ayusht2810 Aug 23, 2022
ab3b8b4
[MI-2076] Correct description
ayusht2810 Sep 5, 2022
e7fc6d4
[MI-2076] Correct test cases after changes from master
ayusht2810 Sep 6, 2022
2375567
Merge pull request #51 from Brightscout/MI-2076
ayusht2810 Sep 6, 2022
e048c99
[MI-2077] Add test cases for storing oAuth and user details in store …
ayusht2810 Aug 23, 2022
96eeefc
[MI-2077] Correct ci
ayusht2810 Aug 23, 2022
0a666ed
[MI-2077] Correct description
ayusht2810 Sep 5, 2022
bfddbd0
Merge pull request #52 from Brightscout/MI-2077
ayusht2810 Sep 6, 2022
527678f
[MI-2087] Add missing serializers, validations and middleware
ayusht2810 Aug 24, 2022
8682e9f
[MI-2087] Review fixes
ayusht2810 Aug 24, 2022
c71bccc
Merge pull request #56 from Brightscout/MI-2087
ayusht2810 Sep 6, 2022
59f5e22
[MI-2085]: No projects linked handling on modals and refactor create-…
avas27JTG Aug 24, 2022
fafc37e
[MI-2082] Add area path field in create task modal
ayusht2810 Aug 24, 2022
8b36c62
[MI-2082] Add slack attachment for the task post
ayusht2810 Aug 24, 2022
e02212a
[MI-2082] Update message of created task
ayusht2810 Aug 24, 2022
2a38028
[MI-2082] Change help text in plugin.json
ayusht2810 Aug 25, 2022
8fcb505
[MI-1939]: Review fixes
avas27JTG Aug 17, 2022
2191e84
[MI-1939]: Used epoch time
avas27JTG Aug 18, 2022
8d6cbcd
[MI-2090]: Updated UI from Figma
avas27JTG Aug 24, 2022
c84bfac
[MI-2082] Review fix
ayusht2810 Aug 26, 2022
c6d536d
[MI-2082] Pull from master
ayusht2810 Sep 6, 2022
d07da31
[MI-2082] Correct comment
ayusht2810 Sep 6, 2022
7fc9ed4
Merge pull request #55 from Brightscout/MI-2082
ayusht2810 Sep 6, 2022
3feb32b
[MI-2081] Add feature to delete and disconnect user on encryption sec…
ayusht2810 Aug 24, 2022
aef05aa
[MI-2081] Review fixes
ayusht2810 Aug 26, 2022
3e16902
[MI-2081] Rename function
ayusht2810 Aug 26, 2022
5137b2d
[MI-2081] Changes after changing base to master
ayusht2810 Sep 6, 2022
9dfdc15
Merge pull request #59 from Brightscout/MI-2081
ayusht2810 Sep 6, 2022
e2b96ab
[MI-2092] Add success modal to the modals
ayusht2810 Aug 25, 2022
c9e3de7
[MI-2092] Review fixes
ayusht2810 Aug 26, 2022
f7b1337
[MI-2092] Correct operator
ayusht2810 Aug 26, 2022
5653c0b
[MI-2092] Revert a change
ayusht2810 Aug 26, 2022
dc724a9
[MI-2092] Review fixes
ayusht2810 Sep 5, 2022
d13a6fd
[MI-2092] Correct help text
ayusht2810 Sep 5, 2022
a7b4c26
[MI-2092] Changes from master
ayusht2810 Sep 6, 2022
51e7faa
Merge pull request #58 from Brightscout/MI-2092
ayusht2810 Sep 6, 2022
cea7e52
[MI-2078] Add test cases for storing project and subscription details…
ayusht2810 Sep 6, 2022
5e1f753
[MI-1969] Add comment in command (#57)
ayusht2810 Sep 6, 2022
4d073fc
[MI-2094] Add toggle feature and some minor fixes
ayusht2810 Sep 6, 2022
26987bd
Merge pull request #71 from Brightscout/MI-2094_1
ayusht2810 Sep 7, 2022
adad9af
[MI-2098]: Refactor phase-1 code base for final release (#61)
avas27JTG Sep 7, 2022
82cff6c
[MI-2125]: Updated documentation for plugin phase-1 (#72)
avas27JTG Sep 7, 2022
06a2fe9
[MI-2109]: Revamped UI and minor fixes (#63)
avas27JTG Sep 8, 2022
af88404
[MI-2128]: Added logic to auto select dropdown values based on best s…
avas27JTG Sep 8, 2022
ce82434
[Fix]: Fixed accessibility (#74)
avas27JTG Sep 8, 2022
060d103
[MI-2135]: Moved filter on the server side to get subscriptions for t…
avas27JTG Sep 14, 2022
75ca025
[MI-2136]: Implemented pagination on server and webapp (#76)
avas27JTG Sep 20, 2022
c6547d8
[MI-2175]: Handle error on link project modal (#77)
avas27JTG Sep 21, 2022
51f329c
[MI-2165]: Implemented Admin management flow for subscriptions.
avas27JTG Sep 26, 2022
bc8beaf
[MI-2165]: Fixed CI
avas27JTG Sep 26, 2022
b578682
[MI-2165]: Added validation for userID
avas27JTG Sep 26, 2022
abb22b9
[MI-2165]: Removed toggle
avas27JTG Sep 26, 2022
ddc6774
[MI-2165]: Review Fixes: formatting
avas27JTG Sep 27, 2022
796c63b
[MI-2165] Fixed failing testcases
raghavaggarwal2308 Sep 27, 2022
28179fc
Merge branch 'MI-2165' of github.com:Brightscout/mattermost-plugin-az…
raghavaggarwal2308 Sep 27, 2022
dd4a557
[MI-2165] Review fixes - Update server/plugin/api_test.go
raghavaggarwal2308 Sep 27, 2022
f22f949
[MI-2189] Updated the APIs to create and delete subscription to suppo…
raghavaggarwal2308 Sep 28, 2022
d915c55
[MI-2189] Modifed webapp code
raghavaggarwal2308 Sep 29, 2022
2c7f953
[MI-2165]: Implemented Admin management flow for subscriptions. (#78)
avas27JTG Sep 29, 2022
01dfd29
Merge branch 'master' of github.com:Brightscout/mattermost-plugin-azu…
raghavaggarwal2308 Sep 29, 2022
61900cb
[MI-2193]: Added flags on server in list subscription slash command t…
avas27JTG Sep 28, 2022
261bad3
[MI-2193]: Made changes on server to support filters and refactored a…
avas27JTG Sep 29, 2022
c7f3039
[MI-2193]: Fixed linting
avas27JTG Sep 29, 2022
3d387d3
[MI-2193]: Fixed linting
avas27JTG Sep 29, 2022
c0d8523
[MI-2189] Updated notification posts
raghavaggarwal2308 Sep 30, 2022
bd28e45
[MI-2189] Refactored code for Notification posts and motdified the lo…
raghavaggarwal2308 Sep 30, 2022
feaf27b
[MI-2189] Self review fixes
raghavaggarwal2308 Sep 30, 2022
974178d
[MI-2193]: Review fixes: Minor refactoring
avas27JTG Oct 3, 2022
364556b
Merge branch 'MI-2193' of github.com:Brightscout/mattermost-plugin-az…
raghavaggarwal2308 Oct 3, 2022
4700a9f
[MI-2193]: Made changes on server to support filters and refactored a…
avas27JTG Oct 3, 2022
629e3a2
[MI-2209] Added slash commands for repos
raghavaggarwal2308 Oct 4, 2022
00adce2
[MI-2203] Used a shorter commit id for notification post
raghavaggarwal2308 Oct 4, 2022
a1f6cb3
[MI-2209] Fixed failing tests
raghavaggarwal2308 Oct 4, 2022
11b7cf7
[MI-2189] Review fixes
raghavaggarwal2308 Oct 4, 2022
1b85f2a
[MI-2189] Added icon in footer
raghavaggarwal2308 Oct 4, 2022
4ac2728
Merge branch 'MI-2189' of github.com:Brightscout/mattermost-plugin-az…
raghavaggarwal2308 Oct 4, 2022
d850029
Merge pull request #82 from Brightscout/MI-2203
raghavaggarwal2308 Oct 4, 2022
9895b05
Merge branch 'master' of github.com:Brightscout/mattermost-plugin-azu…
raghavaggarwal2308 Oct 4, 2022
9ded653
Merge branch 'MI-2189' of github.com:Brightscout/mattermost-plugin-az…
raghavaggarwal2308 Oct 4, 2022
cea0791
Merge branch 'MI-2189' of github.com:Brightscout/mattermost-plugin-az…
raghavaggarwal2308 Oct 4, 2022
b922895
[MI-2209] Self review fix
raghavaggarwal2308 Oct 4, 2022
005f7f8
[MI-2209] Review fixes
raghavaggarwal2308 Oct 5, 2022
44be2c5
[MI-2189] Review fixes
raghavaggarwal2308 Oct 5, 2022
eb7055e
Merge branch 'MI-2189' of github.com:Brightscout/mattermost-plugin-az…
raghavaggarwal2308 Oct 5, 2022
ae0fe3b
[MI-2209] Fixed CI errors
raghavaggarwal2308 Oct 5, 2022
2dce5a0
[MI-2189] Removed space before colon in commit list notification
raghavaggarwal2308 Oct 5, 2022
df3bf2b
[MI-2216] Pull request link preview
raghavaggarwal2308 Oct 6, 2022
21d37df
[MI-2189] Fixed a minor bug
raghavaggarwal2308 Oct 6, 2022
37d84cc
Merge pull request #80 from Brightscout/MI-2189
raghavaggarwal2308 Oct 7, 2022
77688aa
[MI-2199]: Made changes on server to add constraints on project/chann…
avas27JTG Oct 7, 2022
4d3eb6f
[MI-2209] Review fixes
raghavaggarwal2308 Oct 7, 2022
d099bdc
[MI-2209] Fixed docs
raghavaggarwal2308 Oct 7, 2022
67c81a4
[MI-2209] Updated screenshot in docs
raghavaggarwal2308 Oct 7, 2022
c3f780d
Merge pull request #81 from Brightscout/MI-2209
raghavaggarwal2308 Oct 7, 2022
2e3adde
[MI-2216] Added testcases and updated UI for task link preview
raghavaggarwal2308 Oct 7, 2022
2776ac8
Changed plugin version to v1.3.0
raghavaggarwal2308 Oct 7, 2022
b8def1d
Merge pull request #86 from Brightscout/release-1.3.0
raghavaggarwal2308 Oct 7, 2022
c4f1860
[MI-2231] Updated UI
raghavaggarwal2308 Oct 10, 2022
7cb28e7
[MI-2231] Fixed linting errors
raghavaggarwal2308 Oct 10, 2022
070c58c
Merge branch 'master' of github.com:Brightscout/mattermost-plugin-azu…
raghavaggarwal2308 Oct 10, 2022
931f5b2
[MI-2226] User already existing struct and function
raghavaggarwal2308 Oct 10, 2022
e5d48d0
[MI-2231] Review fixes and fixed minor bugs
raghavaggarwal2308 Oct 10, 2022
d6b5484
[MI-2216] Updated logic to check for link in posted message
raghavaggarwal2308 Oct 11, 2022
76cc0d5
[MI-2216] Self review fix
raghavaggarwal2308 Oct 11, 2022
7da0110
[MI-2216] Review fixs
raghavaggarwal2308 Oct 11, 2022
500e860
[MI-2216] Review fixes
raghavaggarwal2308 Oct 11, 2022
f9710ad
[MI-2216] Added author name in preview header
raghavaggarwal2308 Oct 12, 2022
48e6e2d
[MI-2216] Review fixes
raghavaggarwal2308 Oct 12, 2022
0154339
[MI-2231] Review fixes
raghavaggarwal2308 Oct 13, 2022
3895173
[MI-2235][Server]: Added admin constraints on slash commands (#88)
avas27JTG Oct 13, 2022
0d97587
Update comment in webapp/src/styles/_components.scss
raghavaggarwal2308 Oct 13, 2022
2bcc9d9
[MI-2216] Review fixes
raghavaggarwal2308 Oct 13, 2022
dd8a84e
Merge pull request #87 from Brightscout/MI-2231
raghavaggarwal2308 Oct 13, 2022
452f977
Merge branch 'master' of github.com:Brightscout/mattermost-plugin-azu…
raghavaggarwal2308 Oct 13, 2022
0d080c6
[MI-2216] Fixed a minor bug in regex expression to check link in a me…
raghavaggarwal2308 Oct 13, 2022
3ec0410
[MI-2225][Server+Webapp]: Created and integrated filter component and…
avas27JTG Oct 13, 2022
65ddbf2
Merge branch 'master' of github.com:Brightscout/mattermost-plugin-azu…
raghavaggarwal2308 Oct 13, 2022
0e8c9e6
Merge pull request #84 from Brightscout/MI-2216
raghavaggarwal2308 Oct 13, 2022
44d1f79
Bump plugin version to v2.0.0
raghavaggarwal2308 Oct 13, 2022
4c615c2
Merge pull request #91 from Brightscout/release-2.0.0
raghavaggarwal2308 Oct 13, 2022
a5c7b37
[MI-2177][Documentation]: Updated readme files (#90)
avas27JTG Oct 21, 2022
38c94b8
[MI-2239][Server]: Written unit test cases for utils (#89)
avas27JTG Oct 26, 2022
9af4ff1
[MI-2258][server]: Created plugin API to request Azure DevOps and fet…
avas27JTG Oct 26, 2022
0f0a109
[MI-2262][server]: Created plugin API to request branches for a repo.…
avas27JTG Oct 28, 2022
45c220a
Bump plugin version to v2.1.0
raghavaggarwal2308 Oct 28, 2022
9e65c78
Update plugin.json
raghavaggarwal2308 Oct 28, 2022
49ec0a7
Merge pull request #99 from Brightscout/release-2.1.0
raghavaggarwal2308 Oct 28, 2022
0df430d
[MI-2294][server]: Created plugin API to fetch possible values for su…
avas27JTG Nov 10, 2022
918317e
Bump plugin version to v2.2.0
raghavaggarwal2308 Nov 10, 2022
c1d2b80
Merge pull request #106 from Brightscout/v2.2.0
raghavaggarwal2308 Nov 10, 2022
c69f5e6
[MI-2365] Added util function to generate md5 hash of a key
raghavaggarwal2308 Nov 16, 2022
4459246
[MI-2365] Resolved "gosec" errors
raghavaggarwal2308 Nov 17, 2022
c02d24f
[MI-2365] Review fixes
raghavaggarwal2308 Nov 17, 2022
43ef8a9
[MI-2365] Added MD5 hashing to all the KV store keys whereever needed
raghavaggarwal2308 Nov 18, 2022
8d4ff60
Merge branch 'MI-2365' of github.com:Brightscout/mattermost-plugin-az…
raghavaggarwal2308 Nov 18, 2022
6afd956
Merge pull request #108 from Brightscout/MI-2365
raghavaggarwal2308 Nov 18, 2022
9d3a068
[MI-2374] Fixed bug: Repos subscription for "Merge attempt" event wit…
raghavaggarwal2308 Nov 21, 2022
44a6aef
[MI-2374] Fixed bug: If we select "All" manually in the filters whose…
raghavaggarwal2308 Nov 21, 2022
a35d962
[MI-2374] Fixed bug: Filters value not getting reset when the eventTy…
raghavaggarwal2308 Nov 21, 2022
823ad82
[MI-2374] FIxed bug: Make api call whenever we open RHS - To update t…
raghavaggarwal2308 Nov 21, 2022
53a31a5
[MI-2374] Fixed oauth config constants
raghavaggarwal2308 Nov 21, 2022
aea38df
[MI-2374] Review fixes
raghavaggarwal2308 Nov 22, 2022
0cdbb08
[MI-2374] Fix lint errors
raghavaggarwal2308 Nov 22, 2022
eb58116
Merge pull request #112 from Brightscout/MI-2374
raghavaggarwal2308 Nov 23, 2022
a355e52
[MI-2387] Fix bug: On subscription modal error message is visible all…
raghavaggarwal2308 Nov 23, 2022
5bf0dbc
[MI-2387] Fix bug: Refresh token expiry issue
raghavaggarwal2308 Nov 23, 2022
50128c1
[MI-2387] Fixed lint error
raghavaggarwal2308 Nov 23, 2022
89fc906
Merge pull request #113 from Brightscout/MI-2387
raghavaggarwal2308 Nov 24, 2022
bfbf25a
[MI-2388] Enhancement: Give option to delete all subscriptions on unl…
raghavaggarwal2308 Nov 24, 2022
a8454c4
[MI-2388] Minor enhancements
raghavaggarwal2308 Nov 24, 2022
3c3049a
[MI-2388] Enhancements:
raghavaggarwal2308 Nov 25, 2022
031752e
[MI-2388] Self review fix
raghavaggarwal2308 Nov 25, 2022
61c4821
[MI-2388] Review fixes
raghavaggarwal2308 Nov 25, 2022
c924549
[MI-2388] Fixed OAuth scopes
raghavaggarwal2308 Nov 25, 2022
4146415
[MI-2388] Fixed documentation
raghavaggarwal2308 Nov 25, 2022
2811858
[MI-2388] Review fixes
raghavaggarwal2308 Nov 25, 2022
513808d
[MI-2388] Review fixes
raghavaggarwal2308 Nov 25, 2022
c123e52
[MI-2388] Review fixes
raghavaggarwal2308 Nov 25, 2022
f39d88b
[MI-2395][webapp]: Fix UI bugs on different versions of MM. (#115)
avas27JTG Nov 25, 2022
5193f8f
[MI-2388] Minor bug fix and UI enhancements
raghavaggarwal2308 Nov 25, 2022
3096f6e
Merge pull request #114 from Brightscout/MI-2388
raghavaggarwal2308 Nov 25, 2022
5359c16
Bump plugin version to v2.2.1
raghavaggarwal2308 Nov 25, 2022
03c1727
[MI-2401][webapp]: Fixed MM v5.37 UI bugs and filter API call issues …
avas27JTG Nov 28, 2022
f74813b
Merge branch 'master' of github.com:Brightscout/mattermost-plugin-azu…
raghavaggarwal2308 Nov 28, 2022
ebf7556
Merge pull request #116 from Brightscout/release-2.2.1
raghavaggarwal2308 Nov 28, 2022
7e07ef9
[MI-2405] Fix bug: Store small case string for organization name and …
raghavaggarwal2308 Nov 29, 2022
95880af
Merge pull request #119 from Brightscout/MI-2405
raghavaggarwal2308 Nov 30, 2022
36afd1b
[MI-2416] Updated help command text for repos
raghavaggarwal2308 Dec 1, 2022
54c5950
[MI-2416] Reset target branch value when repository value is changed …
raghavaggarwal2308 Dec 1, 2022
469d125
Merge pull request #121 from Brightscout/MI-2416
raghavaggarwal2308 Dec 1, 2022
dd04a77
[MM-48694] Setup CircleCI config for release (#124)
hanzei Dec 2, 2022
a9e3faa
Fix linter errors (#125)
hanzei Dec 2, 2022
5facc95
Added flag in Makefile to prevent failing test case in circle CI (#130)
raghavaggarwal2308 Dec 5, 2022
64e83ed
Bugs fixes and enhancements (#131)
raghavaggarwal2308 Dec 19, 2022
a6073ba
[MI-2428] Enhancement: Change the flow to list subscription: Check fo…
raghavaggarwal2308 Dec 19, 2022
285f6a3
Migrate from CircleCI to Github actions (#134)
spirosoik Jan 10, 2023
2d2f0ab
[Feature]: Pipelines(phase-3) (#133)
avas27JTG Feb 21, 2023
51e31f9
[MM-51250]: Added max limit for reading responses (#147)
avas27JTG Mar 21, 2023
c9399d6
[MM-51253][MM-51275]: Added check for full name and refactored error …
avas27JTG Mar 28, 2023
f499afd
[MM-51247][MM-51248]: Added validations for path inputs and fixed typ…
avas27JTG Mar 28, 2023
b866a70
[MI-51272]: Refactored and removed unused code. (#150)
avas27JTG Mar 28, 2023
4f8e0b0
[MI-2820]: Modified API endpoint to require a project to be provided …
avas27JTG Mar 29, 2023
54b09d8
Fix regex for tags trigger in CI/CD (#151)
hanzei Mar 30, 2023
788729d
[MM-51404]: Added logic to generate unique webhook secret for subscri…
avas27JTG Apr 4, 2023
c6f41cc
[MI-2561] Fixed the issue of new Oauth tab not closing automatically …
manojmalik20 Apr 12, 2023
d3dcd43
Release v3.2.0 (#153)
mickmister Apr 12, 2023
a583ee2
[Fix]: Fixed github issue #154 of adding whitespace on toggle button …
avas27JTG Apr 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .circleci/config.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: cd
on:
workflow_run:
workflows: ["ci"]
types:
- completed
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

permissions:
contents: read

jobs:
plugin-cd:
uses: mattermost/actions-workflows/.github/workflows/plugin-cd.yml@main
secrets: inherit
84 changes: 12 additions & 72 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,78 +1,18 @@
# Continuous Integration Workflow to check pushes to master and pull requests:
# - code style guidelines are followed (make check-style)
# - tests pass (make test)
# - code builds (make dist)
name: CI

name: ci
on:
pull_request:
schedule: # nightly builds
- cron: "0 0 * * *"
push:
branches:
- master
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
pull_request:

jobs:
ci:
name: Check style; build; test
runs-on: ubuntu-latest

steps:
- name: Set up Go v1.16.x
uses: actions/setup-go@v2
with:
go-version: 1.16.x

- name: Set up Node.js v14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
registry-url: https://npm.pkg.github.com/

- name: Install golangci
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.36.0

- uses: actions/checkout@v2

- name: Cache go modules
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

- name: Cache node modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Install webapp dependencies
run: make webapp/node_modules
env:
TERM: dumb

- name: check style
run: make check-style
env:
TERM: dumb

- name: run tests
run: make test
env:
TERM: dumb

- name: Build and bundle the plugin
id: build
run: |
make dist
echo ::set-output name=BUNDLE_NAME::$(cd dist; ls *.tar.gz)
env:
TERM: dumb
permissions:
contents: read

- name: Upload the built plugin as an artifact
uses: actions/upload-artifact@v2
with:
name: ${{ steps.build.outputs.BUNDLE_NAME }}
path: dist/${{ steps.build.outputs.BUNDLE_NAME }}
jobs:
plugin-ci:
uses: mattermost/actions-workflows/.github/workflows/plugin-ci.yml@main
secrets: inherit
69 changes: 0 additions & 69 deletions .github/workflows/release.yml

This file was deleted.

14 changes: 2 additions & 12 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ linters-settings:
gofmt:
simplify: true
goimports:
local-prefixes: github.com/mattermost/mattermost-starter-template
golint:
min-confidence: 0
local-prefixes: github.com/mattermost/mattermost-plugin-azure-devops
govet:
check-shadowing: true
enable-all: true
Expand All @@ -21,34 +19,26 @@ linters:
disable-all: true
enable:
- bodyclose
- deadcode
- errcheck
- gocritic
- gofmt
- goimports
- golint
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- revive
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unused
- varcheck
- whitespace

issues:
exclude-rules:
- path: server/manifest.go
linters:
- deadcode
- unused
- varcheck
- path: server/configuration.go
linters:
- unused
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.21.1
40 changes: 27 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CURL ?= $(shell command -v curl 2> /dev/null)
MM_DEBUG ?=
MANIFEST_FILE ?= plugin.json
GOPATH ?= $(shell go env GOPATH)
GO_TEST_FLAGS ?= -race
GO_TEST_FLAGS ?= -race -gcflags=-l
GO_BUILD_FLAGS ?=
MM_UTILITIES_DIR ?= ../mattermost-utilities
DLV_DEBUG_PORT := 2346
Expand All @@ -31,6 +31,11 @@ ifneq ($(wildcard build/custom.mk),)
include build/custom.mk
endif

## Propagates plugin manifest information into the server/ and webapp/ folders as required.
.PHONY: apply
apply:
./build/bin/manifest apply

## Checks the code style, tests, builds and bundles the plugin.
.PHONY: all
all: check-style test dist
Expand Down Expand Up @@ -63,25 +68,25 @@ ifneq ($(HAS_SERVER),)
ifeq ($(MM_DEBUG),)
ifneq ($(MM_SERVICESETTINGS_ENABLEDEVELOPER),)
@echo Building plugin only for $(DEFAULT_GOOS)-$(DEFAULT_GOARCH) because MM_SERVICESETTINGS_ENABLEDEVELOPER is enabled
cd server && $(GO) build $(GO_BUILD_FLAGS) -trimpath -o dist/plugin-$(DEFAULT_GOOS)-$(DEFAULT_GOARCH);
cd server && env CGO_ENABLED=0 $(GO) build $(GO_BUILD_FLAGS) -trimpath -o dist/plugin-$(DEFAULT_GOOS)-$(DEFAULT_GOARCH);
else
cd server && env GOOS=linux GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -trimpath -o dist/plugin-linux-amd64;
cd server && env GOOS=linux GOARCH=arm64 $(GO) build $(GO_BUILD_FLAGS) -trimpath -o dist/plugin-linux-arm64;
cd server && env GOOS=darwin GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -trimpath -o dist/plugin-darwin-amd64;
cd server && env GOOS=darwin GOARCH=arm64 $(GO) build $(GO_BUILD_FLAGS) -trimpath -o dist/plugin-darwin-arm64;
cd server && env GOOS=windows GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -trimpath -o dist/plugin-windows-amd64.exe;
cd server && env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -trimpath -o dist/plugin-linux-amd64;
cd server && env CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $(GO) build $(GO_BUILD_FLAGS) -trimpath -o dist/plugin-linux-arm64;
cd server && env CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -trimpath -o dist/plugin-darwin-amd64;
cd server && env CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 $(GO) build $(GO_BUILD_FLAGS) -trimpath -o dist/plugin-darwin-arm64;
cd server && env CGO_ENABLED=0 GOOS=windows GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -trimpath -o dist/plugin-windows-amd64.exe;
endif
else
$(info DEBUG mode is on; to disable, unset MM_DEBUG)
ifneq ($(MM_SERVICESETTINGS_ENABLEDEVELOPER),)
@echo Building plugin only for $(DEFAULT_GOOS)-$(DEFAULT_GOARCH) because MM_SERVICESETTINGS_ENABLEDEVELOPER is enabled
cd server && $(GO) build $(GO_BUILD_FLAGS) -gcflags "all=-N -l" -trimpath -o dist/plugin-$(DEFAULT_GOOS)-$(DEFAULT_GOARCH);
cd server && env CGO_ENABLED=0 $(GO) build $(GO_BUILD_FLAGS) -gcflags "all=-N -l" -trimpath -o dist/plugin-$(DEFAULT_GOOS)-$(DEFAULT_GOARCH);
else
cd server && env GOOS=linux GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -gcflags "all=-N -l" -trimpath -o dist/plugin-linux-amd64;
cd server && env GOOS=linux GOARCH=arm64 $(GO) build $(GO_BUILD_FLAGS) -gcflags "all=-N -l" -trimpath -o dist/plugin-linux-arm64;
cd server && env GOOS=darwin GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -gcflags "all=-N -l" -trimpath -o dist/plugin-darwin-amd64;
cd server && env GOOS=darwin GOARCH=arm64 $(GO) build $(GO_BUILD_FLAGS) -gcflags "all=-N -l" -trimpath -o dist/plugin-darwin-arm64;
cd server && env GOOS=windows GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -gcflags "all=-N -l" -trimpath -o dist/plugin-windows-amd64.exe;
cd server && env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -gcflags "all=-N -l" -trimpath -o dist/plugin-linux-amd64;
cd server && env CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $(GO) build $(GO_BUILD_FLAGS) -gcflags "all=-N -l" -trimpath -o dist/plugin-linux-arm64;
cd server && env CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -gcflags "all=-N -l" -trimpath -o dist/plugin-darwin-amd64;
cd server && env CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 $(GO) build $(GO_BUILD_FLAGS) -gcflags "all=-N -l" -trimpath -o dist/plugin-darwin-arm64;
cd server && env CGO_ENABLED=0 GOOS=windows GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -gcflags "all=-N -l" -trimpath -o dist/plugin-windows-amd64.exe;
endif
endif
endif
Expand Down Expand Up @@ -132,6 +137,15 @@ endif
.PHONY: dist
dist: server webapp bundle

## Generates mock golang interfaces for testing
.PHONY: mock
mock:
ifneq ($(HAS_SERVER),)
$(GO) install github.com/golang/mock/mockgen@v1.6.0
mockgen -destination=mocks/mock_store.go -package=mocks github.com/mattermost/mattermost-plugin-azure-devops/server/store KVStore
mockgen -destination=mocks/mock_client.go -package=mocks github.com/mattermost/mattermost-plugin-azure-devops/server/plugin Client
endif

## Builds and installs the plugin to a server.
.PHONY: deploy
deploy: dist
Expand Down
Loading