Commit 5645f60
Enh/dx 737 taxonomy permission (#161)
* chore: replaced uid and other data
* refactor: adds and corrects types of ContentstackCollectin and marketplace functions
* fix: credentials in response fix; bulkOperation types fixes;
* test: ✅ improves code coverage
* Revert "Feat: NRP support, Audit logs, Type correction for User and CScollection added"
* fix: users, collection, other fixes, coverage improvements
* build: updates package-lock file
* chore: version changes in package file
* ci: removed secrets-scan file and app tests changes
* fix: type fix for environment param
* fix: 🐛 handles the error in refreshtoken instead of throwing it
* ci: 🔥 removed sast-scan yml file
* fix: 🐛 handles workflow response in object format
* feat: ✨ allows overwrite flag param in import of contenttype and global field
* test: ✅ adds CT and GF import test for overwrite flag
* refactor: ♻️ adds type support for overwrite flag param
* chore: 📦 version changes and package updates
* perf: 📦 packages update
* docs: 📝 Updates README
* feat: ✨ Taxonomy Implementation with docs, unit and api test cases
* test: ✅ changes made in taxonomy function in stack class
* test: uncommented 'detele' api test case
* feat: ✨ create, fetch, find, update, delete , ancestors and descendants functions are added
* test: ✅ added api test cases for terms implementation
* feat: ✨ allows content-type for asset upload
* test: ✅ unit test cases for terms implementation (except search and move)
* changes done in passing data to create function in api test case
* feat: ✨ added move and search functions for terms implementation
* test: ✅ updated and added search and move unit test cases
* test: ✅ updated and added search and move api test cases
* docs: 📝 updated api reference docs for search, ancestors, descendants and move
* build: 📦 updated axios module and version number
* chore: 🔊 update changelog file
* feat: ✨ taxonomy and terms implementation for typescript
* fix: 🐛 taxonomy bug fix
* feat: ✨ terms implementaion with descendants and move function
* fix: 🐛 taxonomy bug fix in query unit test case
* fix: taxonomy and terms fixes
* fix: 🐛 error message fix on refresh token error
* refactor: uncommented unit test cases
* test: ✅ taxonomy API test cases
* test: ✅ terms api test cases and search implementation
* test: ✅ changes in search unit test in terms
* changed default host name
* added entry on changelog file and changed version
* feat: ✨ teams implementation with unit and api tests
* docs: added teams documentation
* test: ✅ updated api and unit test cases for teams support
* feat: ✨ teams users implementation and api test cases
* test: ✅ added unit test cases for team users
* feat: ✨ stackrolemapping implementation and api test cases
* test: changes made in update implementation and its test case
* test: update stackrolemapping implementation and api test cases
* added assertions to check the response
* added unit test cases for stack role mapping
* replaced query with fetchAll function
* changing folder name to be same as class name
* ci: 💚 fix unit test github action
* ci: fix unit test github action
* feat: types support for teams
* chore: ⬆️ update axios lib
* added valid assertions for the test
* teams test cases for types support
* types support for team Users and api test cases
* interface changed from User to TeamUser in types
* types support for stackRoleMapping and test cases
* stackRoleMapping test cases in types support
* stackRoleMapping update test case on types support
* docs: 📝 updated version and changeLog
* test: added test cases to improve coverage report
* feat: ✨ early access headers implementation
* types support for earlyaccess and update changeLog
* fix: 🐛 early_access made optional
* fix: 🐛 added api_version param which is to be passed in headers
* test: ✅ updated response fetchAll unit test case
* fix: 🐛 create function response data update
* refactor: ♻️ changes users in teams to teamUsers
* fix: fixed issue while updating entries with assets
* feat: added api test
* fix: updated changelog and package lock file
* Implemented Management token support (#99)
* Implemented Management token support
* Fixed PR Comments
* test: added sanity tests for user and contenttype
* added a script in package.json
* Next (#97)
* fix: fixed issue while updating entries with assets
* feat: added api test
* fix: updated changelog and package lock file
* Implemented Management token support (#99)
* Implemented Management token support
* Fixed PR Comments
* test: added sanity tests for user and contenttype
* added a script in package.json
---------
Co-authored-by: sunil-lakshman <104969541+sunil-lakshman@users.noreply.github.com>
Co-authored-by: harshithad0703 <harshitha.d@contentstack.com>
Co-authored-by: harshithad0703 <104908717+harshithad0703@users.noreply.github.com>
* test: added entries, assets, organization and stack tests in sanity
* changed the decription for it in testcases
* test: added taxonomy and terms tests in sanity folder
* removed const stack as the api is read from env
* fix: changed the url in transferOwnership
* test: removed the skipped test case from organization test suit
* test: added branches and aliases test suits to sanity folder
* test: commented out the test case instead or removing
* test: updated url path in unit test case
* test: added 1 more test case to branch test suit
* test: added create branch test after stack creation test
* fix: 📦 updates axios version
* chore: update package version in package.json
* chore: 🔨 updates prerelease hook script
* chore: 📦 added a package for slack message integeration and script for same
* chore: slack integeration for sending test report summary on the channel
* test: added environment test to sanity and changes done in branch test
* chore: 📦 updated slack/bolt package to devDependencies
* Revert "chore: 📦 updated slack/bolt package to devDependencies"
This reverts commit 801b1b7.
* updated slack/bolt package dependency
* chore: added alldependencies required for slack/bolt package
* chore: updates LICENSE file
* test: Added locale test suit and delete test suit to sanity folder
* chore: updated package-lock file
* Added taxonomy import/export support (#112)
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
* Validating the object when update the entries with assets (#114)
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
* test: added delivery token test sanity folder
* test: added extension test suit to sanity
* test: updated test msg
* Next (#115)
* test: Added locale test suit and delete test suit to sanity folder
* chore: updated package-lock file
* Added taxonomy import/export support (#112)
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
* Validating the object when update the entries with assets (#114)
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
---------
Co-authored-by: harshithad0703 <harshitha.d@contentstack.com>
Co-authored-by: harshithad0703 <104908717+harshithad0703@users.noreply.github.com>
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
* cleared assertion error
* test: added assertions for failing tests
* Feat/cs 43619 taxonomy import export testcases (#118)
* Next (#115)
* test: Added locale test suit and delete test suit to sanity folder
* chore: updated package-lock file
* Added taxonomy import/export support (#112)
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
* Validating the object when update the entries with assets (#114)
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
---------
Co-authored-by: harshithad0703 <harshitha.d@contentstack.com>
Co-authored-by: harshithad0703 <104908717+harshithad0703@users.noreply.github.com>
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
* Added taxonomy import/export testcases.
---------
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
Co-authored-by: harshithad0703 <harshitha.d@contentstack.com>
Co-authored-by: harshithad0703 <104908717+harshithad0703@users.noreply.github.com>
* test: added global field test suit to sanity
* test: add sanity test for label
* Next (#119)
* test: Added locale test suit and delete test suit to sanity folder
* chore: updated package-lock file
* Added taxonomy import/export support (#112)
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
* Validating the object when update the entries with assets (#114)
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
* test: added delivery token test sanity folder
* test: added extension test suit to sanity
* test: updated test msg
* cleared assertion error
* test: added assertions for failing tests
* Feat/cs 43619 taxonomy import export testcases (#118)
* Next (#115)
* test: Added locale test suit and delete test suit to sanity folder
* chore: updated package-lock file
* Added taxonomy import/export support (#112)
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
* Validating the object when update the entries with assets (#114)
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
---------
Co-authored-by: harshithad0703 <harshitha.d@contentstack.com>
Co-authored-by: harshithad0703 <104908717+harshithad0703@users.noreply.github.com>
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
* Added taxonomy import/export testcases.
---------
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
Co-authored-by: harshithad0703 <harshitha.d@contentstack.com>
Co-authored-by: harshithad0703 <104908717+harshithad0703@users.noreply.github.com>
* test: added global field test suit to sanity
* test: add sanity test for label
---------
Co-authored-by: harshithad0703 <harshitha.d@contentstack.com>
Co-authored-by: harshithad0703 <104908717+harshithad0703@users.noreply.github.com>
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
* test: added sanity test for workflow-webhook-release
* updated sanity.js file
* test: added basic sanity for role
* test: added basic sanity for management token test suit
* fix: upgrade @slack/bolt from 3.17.0 to 3.17.1
Snyk has created this PR to upgrade @slack/bolt from 3.17.0 to 3.17.1.
See this package in npm:
https://www.npmjs.com/package/@slack/bolt
See this project in Snyk:
https://app.snyk.io/org/sunil-lakshman/project/d82509a3-a3c4-432f-b8d9-068ef2579b9b?utm_source=github&utm_medium=referral&page=upgrade-pr
* feat: ✨ adds params support in taxonomy export function
* test: added teams and stack share test suit to sanity
* test: changed uids of branches and aliases
* fix: fixed teams implementation according to the object received
* changes the flow of sanity test
* Update sca-scan.yml
* fix: upgrade axios from 1.6.5 to 1.6.6
Snyk has created this PR to upgrade axios from 1.6.5 to 1.6.6.
See this package in npm:
https://www.npmjs.com/package/axios
See this project in Snyk:
https://app.snyk.io/org/sunil-lakshman/project/d82509a3-a3c4-432f-b8d9-068ef2579b9b?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: 🐛 fixed update entry which was failing
the function cleanAssets was checking with null value
* test: removed organization name in assertion
* chore: updated changeLog and version
* fix: resolved undefined stack in error issue
* test: sanity test for bulk operation
* chore: 📦 update package version and changeLog
* chore: 📦 upgraded axios package to 1.6.8
* fix: added delete stack method
and test case
* chore: updated changeLog and package version
* chore: 📦 updated internal dependencies
* chore: 📦 updated sdk version to 1.15.4 and changelog update
* feat: ✨ get languages of an entry implementation
* test: ✅ added unit and api test cases
* docs: 📝 added docs for get locales
* chore: updated package version and changeLog
* feat: get locales types support
* test: changes done in branches deletion error message
* fix: added fix for missing fs error
* fix: updated package version
* fix: updated CHANGELOG.md
* assertions corrections for webhooks sanity tests
* build: upgraded qs package
* test: changed the order of test suites in sanity
* reorder test suites
* reorder test suites
* sca-scan.yml
* jira.yml
* sast-scan.yml
* codeql-analysis.yml
* fix: adding delay to check the issue with taxonomy
for checking gocd pipeline
* Added updateCT method for update an content type without fetch method (#157)
* Added updateCT method for update an content type without fetch method
* Updated node version
* Fixed merge conflits
* Added taxonomy permission test cases
* Fixed merge conflits
* Package publish issue fixed
---------
Co-authored-by: Nadeem Patwekar <nadeem.patwekar@contentstack.com>
Co-authored-by: Nadeem <110535104+nadeem-cs@users.noreply.github.com>
Co-authored-by: Shailesh Mishra <mshaileshr@gmail.com>
Co-authored-by: harshithad0703 <harshitha.d@contentstack.com>
Co-authored-by: harshithad0703 <104908717+harshithad0703@users.noreply.github.com>
Co-authored-by: Abhinav Gupta <abhinav.gupta@contentstack.com>
Co-authored-by: abhinav <63039365+abhinav-from-contentstack@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Aravind Kumar <aravind.kumar@contentstack.com>
Co-authored-by: Vikram Kalta <vikramkalta@Vikrams-MacBook-Pro.local>
Co-authored-by: Vikram Kalta <vikramkalta@vikrams-mbp.home>1 parent 559eedd commit 5645f60
File tree
10 files changed
+236
-24
lines changed- .github/workflows
- test
- api/mock
- sanity-check
- api
- mock
- unit
- mock
10 files changed
+236
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
2 | 7 | | |
3 | 8 | | |
4 | 9 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
17 | 47 | | |
18 | 48 | | |
19 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
12 | 25 | | |
13 | 26 | | |
14 | 27 | | |
| |||
49 | 62 | | |
50 | 63 | | |
51 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
52 | 78 | | |
53 | 79 | | |
54 | 80 | | |
| |||
141 | 167 | | |
142 | 168 | | |
143 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
144 | 184 | | |
145 | 185 | | |
146 | 186 | | |
147 | 187 | | |
148 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
77 | 107 | | |
78 | 108 | | |
79 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
146 | 229 | | |
147 | 230 | | |
148 | 231 | | |
| |||
897 | 980 | | |
898 | 981 | | |
899 | 982 | | |
900 | | - | |
| 983 | + | |
| 984 | + | |
901 | 985 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
91 | 107 | | |
92 | 108 | | |
93 | 109 | | |
| |||
0 commit comments