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

use update instead of init in markdown bindingHandler #1279

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

patst
Copy link
Contributor

@patst patst commented Apr 27, 2021

I followed the guide to implement a custom widget (https://docs.microsoft.com/en-gb/azure/api-management/developer-portal-implement-widgets ) but had problems getting the markdown binding working.

After some debugging I found out it seems to be related to the httpClient.send await.
The markdown binding is called before the http response is returned with an empty value.

After taking a look at the other custom bindingHandlers they all use the update callback method (see https://knockoutjs.com/documentation/custom-bindings.html ).

@ghost
Copy link

ghost commented Apr 27, 2021

@patst, thank you for your contribution to the project! ❤

@ghost
Copy link

ghost commented Apr 27, 2021

@patst, thank you for your contribution to the project! ❤

@Azure Azure deleted a comment Apr 27, 2021
Copy link
Member

@azaslonov azaslonov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

@azaslonov azaslonov merged commit 0ef5be7 into Azure:master Apr 28, 2021
@patst patst deleted the update-markdown-binding branch April 29, 2021 05:26
@ghost
Copy link

ghost commented Jul 9, 2021

@patst, in recognition of your contributions, we would like to offer you a small token of appreciation. Could you send us the following details to apimportalfeedback@microsoft.com by Sunday, July 18th?

  • Your email address
  • Your GitHub username
  • This pull request number

EmilienBassez added a commit to BeMoTech/api-management-developer-portal that referenced this pull request Aug 19, 2021
* Fixed token setting issue. (Azure#1108)

* Fixed refresh logic for shared access signature tokens. Fixed time formatting. (Azure#1112)

* Hide the product subscription name on delegation (Azure#1113)

closes Azure#787

* Cleaned up authentication logic. Fixed issue with read-only props in schema. Fixes Map widget issue. (Azure#1115)

* Added headers in operation response docs (Azure#1117)

close Azure#693

* Operation list improvements (Azure#1116)

* Added toggle to manage operation name wrap
* Added a toggle to manage to show operation urlTemplate or name
* added search operation by urlTemplate
* changed wrap mode to break-word
close Azure#1019

* Added api products widgets (grid and tiles) (Azure#1126)

* Added API products widgets (grid and tiles)

* added style class for tiles

closes Azure#1072

* Fixed tabs for representation contentType (Azure#1127)

closes Azure#1119

* Fixed signout on close user account (Azure#1129)

Fixed signout on close user account
added notification parameter to send an email for the developer portal

* Added basic XSD schema support in API documentation. (Azure#1137)

* Fix for migration between subscription-to-subscription apim developer portal (Azure#1145)

* Fix for migration between subscription to subscription apim dev portal by passing the az login details in parameters

* updated description of parameter

* Fixed PR comments - updated optional description in parameters

* Added header to trace get mapi requests (Azure#1147)

* Process for migration scripts will return error code when scrip fails (Azure#1149)

* Added notification parameter for create user with AAD (Azure#1150)

* Fixed notification parameter for create user with OAuth (Azure#1152)

* Temporarily added supplying state parameter to the client. (Azure#1153)

* Added token retrieve from user activate MAPI request (Azure#1158)

* Added token retrive from user activate MAPI request
close Azure#1157

* Added logic to prevent DOM changes on request to prevent error (Azure#1160)

* Changed variable requestUrl to url (Azure#1159)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Added tiles widgets for api products and products list (Azure#1162)

* Changed conflict destToken -> destKey (Azure#1164)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Accessibility fix 8954122: removed action from operation name (Azure#1167)

* Upgraded paperbits libraries to 0.1.382. (Azure#1174)

* Fixed several bugs (Azure#1185)

* Bump elliptic from 6.5.3 to 6.5.4 (Azure#1178)

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](indutny/elliptic@v6.5.3...v6.5.4)

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

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

* Bump prismjs from 1.22.0 to 1.23.0 (Azure#1169)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](PrismJS/prism@v1.22.0...v1.23.0)

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

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

* Rolled back azure libraries due to discovered bugs. Upraded node-sass and sass-loader packages. (Azure#1188)

* Added support for tags as a refrence in url for apis and operations (Azure#1189)

* Fixed layout for blocks and inline-blocks. (Azure#1190)

* Fixed layout for navigation items. Fixed bug with "Open in new window" option. (Azure#1193)

* Fixed several accessibility issues. (Azure#1195)

* Added asterisks to required form fields.
* Fixed luminosity contrast ratio for the form group toggle button.
* Unified hyperlink selector controls across components. Fixed tooltip binding.
* Added setting the aria-selected tag to code samples tabs.

* Fixed some issues with hyperlink and anchor resolution. (Azure#1197)

* Increase apiversion to handle minimum apiversion set (Azure#1215)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Fixed issues with menu and hyperlink rendering. (Azure#1222)

* Fixed dropdown styles and functionality. Fixed report widgets. (Azure#1223)

* Extended "Operation details" widget with "Use CORS proxy" option. (Azure#1233)

* Fixed delegation actions names (Azure#1234)

Fixed delegation actions names

* Uncommented /portalRevisions endpoint to enable publishing. (Azure#1236)

* Contrast colors fix for try button and focus selection (Azure#1239)

* [scripts.v3] fix: http request fails when response code is 202, which means Accepted (Azure#1242)

Co-authored-by: Benas Taurosevicius <Benas.Taurosevicius@centric.eu>

* Fixes for token refresh logic. (Azure#1252)

* Removed devops scripts v1. (Azure#1259)

* Revise readme.md to point to new documentation (Azure#1263)

* Added support for "resource owner password" grant flow. (Azure#1219)

* Added missing hamburger icon style. (Azure#1270)

* Fixed close account. Reuse sign-out on account close. (Azure#1285)

* Fixed close account. Reuse signout on account close.

* use update instead of init in markdown bindingHandler (Azure#1279)

* Upgraded dependency libraries. Added new widget icons. (Azure#1288)

* Fixed several accessibility issues (Azure#1292)

* Fixed accessibility issues with tab controls.
* Fixed syntax highlight colors to comply with luminosity requirements.
* Added dialog-like behavior to Test console panel.

* Added capture/generate scripts metadata operations. (Azure#1295)

* Removed direct dependency of node-sass module. (Azure#1317)

* Fixed form controls focus highlight. (Azure#1318)

* Fixed serveal accessibility and security issues. Fixed build issues with sass-loader. (Azure#1324)

* Added support sso token in hash (Azure#1339)

* Ignore IDE files

* #1 Widget - Main layout bar

- Example of development of a custom widget
- Including external dependencies (ui libraries)

* WebSocket APIs (Azure#1297)

Added code templates for ws
Added API type in API list
Improved WebSockets examples
Improved WebSockets support in test console
Merged changes from managed version

* Leveraged B2C signout. Moved AAD/B2C configuration publishing into config.json. Added option to override reply URL(s). (Azure#1346)

* Fixed minor issues with B2C configuration. Switched publishing functionality to portal revisions API. (Azure#1349)

* Added support for setting folders and timestamp (Azure#1365)

Co-authored-by: Erik Mogensen <erik.mogensen@users.noreply.github.com>

* Added support for multipart request body in Test console (Azure#1359)

Co-authored-by: Igor O <igo@microsoft.com>

* Added basic mulitpart form data support to API documentation. (Azure#1381)

* Azure Devops pipeline to migrate APIM dev portal from one instance to another instance of APIM (Azure#1362)

* Revert "Azure Devops pipeline to migrate APIM dev portal from one instance to another instance of APIM (Azure#1362)" (Azure#1390)

This reverts commit 0c618f7.

* Upgraded dependencies. Replaced deprecated awesome-typescript-loader with ts-loader. Fixed Terser build configuration. (Azure#1391)

* Fixed minor issue with AAD signout. Rolled back terser-webpack-plugin version to mitigate build issues. (Azure#1392)

* feat: ignore .DS_Store files (Azure#1397)

* fix aadB2CClientConfig casing (Azure#1395)

* Disabled scrolling to operation name by default. (Azure#1402)

* Main layout in KO & design system implementaion

* Fix merge from Azure base project

* Clean workflow

Co-authored-by: Alexander Zaslonov <zaslonov.alexander@gmail.com>
Co-authored-by: Igor O <ygrik@hotmail.com>
Co-authored-by: Sanjeevi Subramani <ssanjeevi.ss@gmail.com>
Co-authored-by: Marcin Dudek <manekd@gmail.com>
Co-authored-by: Erik Mogensen <ErikMogensen@users.noreply.github.com>
Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benas Taurosevičius <b.taurosevicius@gmail.com>
Co-authored-by: Benas Taurosevicius <Benas.Taurosevicius@centric.eu>
Co-authored-by: Mike Budzynski <40186513+mikebudzynski@users.noreply.github.com>
Co-authored-by: patst <patrick.steinig@googlemail.com>
Co-authored-by: Erik Mogensen <erik.mogensen@users.noreply.github.com>
Co-authored-by: Igor O <igo@microsoft.com>
Co-authored-by: Bernhard Rode <mail@bernhardrode.de>
Co-authored-by: Émilien <E1001Ba16@msn.com>
EmilienBassez pushed a commit to BeMoTech/api-management-developer-portal that referenced this pull request Sep 29, 2021
* Fixed token setting issue. (Azure#1108)

* Fixed refresh logic for shared access signature tokens. Fixed time formatting. (Azure#1112)

* Hide the product subscription name on delegation (Azure#1113)

closes Azure#787

* Cleaned up authentication logic. Fixed issue with read-only props in schema. Fixes Map widget issue. (Azure#1115)

* Added headers in operation response docs (Azure#1117)

close Azure#693

* Operation list improvements (Azure#1116)

* Added toggle to manage operation name wrap
* Added a toggle to manage to show operation urlTemplate or name
* added search operation by urlTemplate
* changed wrap mode to break-word
close Azure#1019

* Added api products widgets (grid and tiles) (Azure#1126)

* Added API products widgets (grid and tiles)

* added style class for tiles

closes Azure#1072

* Fixed tabs for representation contentType (Azure#1127)

closes Azure#1119

* Fixed signout on close user account (Azure#1129)

Fixed signout on close user account
added notification parameter to send an email for the developer portal

* Added basic XSD schema support in API documentation. (Azure#1137)

* Fix for migration between subscription-to-subscription apim developer portal (Azure#1145)

* Fix for migration between subscription to subscription apim dev portal by passing the az login details in parameters

* updated description of parameter

* Fixed PR comments - updated optional description in parameters

* Added header to trace get mapi requests (Azure#1147)

* Process for migration scripts will return error code when scrip fails (Azure#1149)

* Added notification parameter for create user with AAD (Azure#1150)

* Fixed notification parameter for create user with OAuth (Azure#1152)

* Temporarily added supplying state parameter to the client. (Azure#1153)

* Added token retrieve from user activate MAPI request (Azure#1158)

* Added token retrive from user activate MAPI request
close Azure#1157

* Added logic to prevent DOM changes on request to prevent error (Azure#1160)

* Changed variable requestUrl to url (Azure#1159)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Added tiles widgets for api products and products list (Azure#1162)

* Changed conflict destToken -> destKey (Azure#1164)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Accessibility fix 8954122: removed action from operation name (Azure#1167)

* Upgraded paperbits libraries to 0.1.382. (Azure#1174)

* Fixed several bugs (Azure#1185)

* Bump elliptic from 6.5.3 to 6.5.4 (Azure#1178)

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](indutny/elliptic@v6.5.3...v6.5.4)

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

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

* Bump prismjs from 1.22.0 to 1.23.0 (Azure#1169)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](PrismJS/prism@v1.22.0...v1.23.0)

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

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

* Rolled back azure libraries due to discovered bugs. Upraded node-sass and sass-loader packages. (Azure#1188)

* Added support for tags as a refrence in url for apis and operations (Azure#1189)

* Fixed layout for blocks and inline-blocks. (Azure#1190)

* Fixed layout for navigation items. Fixed bug with "Open in new window" option. (Azure#1193)

* Fixed several accessibility issues. (Azure#1195)

* Added asterisks to required form fields.
* Fixed luminosity contrast ratio for the form group toggle button.
* Unified hyperlink selector controls across components. Fixed tooltip binding.
* Added setting the aria-selected tag to code samples tabs.

* Fixed some issues with hyperlink and anchor resolution. (Azure#1197)

* Increase apiversion to handle minimum apiversion set (Azure#1215)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Fixed issues with menu and hyperlink rendering. (Azure#1222)

* Fixed dropdown styles and functionality. Fixed report widgets. (Azure#1223)

* Extended "Operation details" widget with "Use CORS proxy" option. (Azure#1233)

* Fixed delegation actions names (Azure#1234)

Fixed delegation actions names

* Uncommented /portalRevisions endpoint to enable publishing. (Azure#1236)

* Contrast colors fix for try button and focus selection (Azure#1239)

* [scripts.v3] fix: http request fails when response code is 202, which means Accepted (Azure#1242)

Co-authored-by: Benas Taurosevicius <Benas.Taurosevicius@centric.eu>

* Fixes for token refresh logic. (Azure#1252)

* Removed devops scripts v1. (Azure#1259)

* Revise readme.md to point to new documentation (Azure#1263)

* Added support for "resource owner password" grant flow. (Azure#1219)

* Added missing hamburger icon style. (Azure#1270)

* Fixed close account. Reuse sign-out on account close. (Azure#1285)

* Fixed close account. Reuse signout on account close.

* use update instead of init in markdown bindingHandler (Azure#1279)

* Upgraded dependency libraries. Added new widget icons. (Azure#1288)

* Fixed several accessibility issues (Azure#1292)

* Fixed accessibility issues with tab controls.
* Fixed syntax highlight colors to comply with luminosity requirements.
* Added dialog-like behavior to Test console panel.

* Added capture/generate scripts metadata operations. (Azure#1295)

* Removed direct dependency of node-sass module. (Azure#1317)

* Fixed form controls focus highlight. (Azure#1318)

* Fixed serveal accessibility and security issues. Fixed build issues with sass-loader. (Azure#1324)

* Added support sso token in hash (Azure#1339)

* WebSocket APIs (Azure#1297)

Added code templates for ws
Added API type in API list
Improved WebSockets examples
Improved WebSockets support in test console
Merged changes from managed version

* Leveraged B2C signout. Moved AAD/B2C configuration publishing into config.json. Added option to override reply URL(s). (Azure#1346)

* Fixed minor issues with B2C configuration. Switched publishing functionality to portal revisions API. (Azure#1349)

* Added support for setting folders and timestamp (Azure#1365)

Co-authored-by: Erik Mogensen <erik.mogensen@users.noreply.github.com>

* Added support for multipart request body in Test console (Azure#1359)

Co-authored-by: Igor O <igo@microsoft.com>

* Added basic mulitpart form data support to API documentation. (Azure#1381)

* Azure Devops pipeline to migrate APIM dev portal from one instance to another instance of APIM (Azure#1362)

* Revert "Azure Devops pipeline to migrate APIM dev portal from one instance to another instance of APIM (Azure#1362)" (Azure#1390)

This reverts commit 0c618f7.

* Upgraded dependencies. Replaced deprecated awesome-typescript-loader with ts-loader. Fixed Terser build configuration. (Azure#1391)

* Fixed minor issue with AAD signout. Rolled back terser-webpack-plugin version to mitigate build issues. (Azure#1392)

* feat: ignore .DS_Store files (Azure#1397)

* fix aadB2CClientConfig casing (Azure#1395)

* Disabled scrolling to operation name by default. (Azure#1402)

* Fixed widget selection issue in layout editor. (Azure#1418)

* Added functionality to show legal text by default on product page load (Azure#1414)

* script to add GTM to developer portal (Azure#1405)

* Added npm dependencies

* Specify npm dependencies version

* Navigation menu for default layout update

* Import for icons fix

* Material icons import - Added sass logic

* Authentication

- Navigation menu through the widget designer
- Removed icon from B2C button

* Merge branch 'master' into feature/auth

* Testing Sign-in AD B2C

Co-authored-by: Alexander Zaslonov <zaslonov.alexander@gmail.com>
Co-authored-by: Igor O <ygrik@hotmail.com>
Co-authored-by: Sanjeevi Subramani <ssanjeevi.ss@gmail.com>
Co-authored-by: Marcin Dudek <manekd@gmail.com>
Co-authored-by: Erik Mogensen <ErikMogensen@users.noreply.github.com>
Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benas Taurosevičius <b.taurosevicius@gmail.com>
Co-authored-by: Benas Taurosevicius <Benas.Taurosevicius@centric.eu>
Co-authored-by: Mike Budzynski <40186513+mikebudzynski@users.noreply.github.com>
Co-authored-by: patst <patrick.steinig@googlemail.com>
Co-authored-by: Erik Mogensen <erik.mogensen@users.noreply.github.com>
Co-authored-by: Igor O <igo@microsoft.com>
Co-authored-by: Bernhard Rode <mail@bernhardrode.de>
Co-authored-by: Travis Whipps <88871562+traviswhipps@users.noreply.github.com>
Co-authored-by: Nik Osvalds <60047271+nosvalds@users.noreply.github.com>
adil-kar pushed a commit to BeMoTech/api-management-developer-portal that referenced this pull request Oct 20, 2021
* Fixed token setting issue. (Azure#1108)

* Fixed refresh logic for shared access signature tokens. Fixed time formatting. (Azure#1112)

* Hide the product subscription name on delegation (Azure#1113)

closes Azure#787

* Cleaned up authentication logic. Fixed issue with read-only props in schema. Fixes Map widget issue. (Azure#1115)

* Added headers in operation response docs (Azure#1117)

close Azure#693

* Operation list improvements (Azure#1116)

* Added toggle to manage operation name wrap
* Added a toggle to manage to show operation urlTemplate or name
* added search operation by urlTemplate
* changed wrap mode to break-word
close Azure#1019

* Added api products widgets (grid and tiles) (Azure#1126)

* Added API products widgets (grid and tiles)

* added style class for tiles

closes Azure#1072

* Fixed tabs for representation contentType (Azure#1127)

closes Azure#1119

* Fixed signout on close user account (Azure#1129)

Fixed signout on close user account
added notification parameter to send an email for the developer portal

* Added basic XSD schema support in API documentation. (Azure#1137)

* Fix for migration between subscription-to-subscription apim developer portal (Azure#1145)

* Fix for migration between subscription to subscription apim dev portal by passing the az login details in parameters

* updated description of parameter

* Fixed PR comments - updated optional description in parameters

* Added header to trace get mapi requests (Azure#1147)

* Process for migration scripts will return error code when scrip fails (Azure#1149)

* Added notification parameter for create user with AAD (Azure#1150)

* Fixed notification parameter for create user with OAuth (Azure#1152)

* Temporarily added supplying state parameter to the client. (Azure#1153)

* Added token retrieve from user activate MAPI request (Azure#1158)

* Added token retrive from user activate MAPI request
close Azure#1157

* Added logic to prevent DOM changes on request to prevent error (Azure#1160)

* Changed variable requestUrl to url (Azure#1159)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Added tiles widgets for api products and products list (Azure#1162)

* Changed conflict destToken -> destKey (Azure#1164)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Accessibility fix 8954122: removed action from operation name (Azure#1167)

* Upgraded paperbits libraries to 0.1.382. (Azure#1174)

* Fixed several bugs (Azure#1185)

* Bump elliptic from 6.5.3 to 6.5.4 (Azure#1178)

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](indutny/elliptic@v6.5.3...v6.5.4)

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

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

* Bump prismjs from 1.22.0 to 1.23.0 (Azure#1169)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](PrismJS/prism@v1.22.0...v1.23.0)

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

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

* Rolled back azure libraries due to discovered bugs. Upraded node-sass and sass-loader packages. (Azure#1188)

* Added support for tags as a refrence in url for apis and operations (Azure#1189)

* Fixed layout for blocks and inline-blocks. (Azure#1190)

* Fixed layout for navigation items. Fixed bug with "Open in new window" option. (Azure#1193)

* Fixed several accessibility issues. (Azure#1195)

* Added asterisks to required form fields.
* Fixed luminosity contrast ratio for the form group toggle button.
* Unified hyperlink selector controls across components. Fixed tooltip binding.
* Added setting the aria-selected tag to code samples tabs.

* Fixed some issues with hyperlink and anchor resolution. (Azure#1197)

* Increase apiversion to handle minimum apiversion set (Azure#1215)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Fixed issues with menu and hyperlink rendering. (Azure#1222)

* Fixed dropdown styles and functionality. Fixed report widgets. (Azure#1223)

* Extended "Operation details" widget with "Use CORS proxy" option. (Azure#1233)

* Fixed delegation actions names (Azure#1234)

Fixed delegation actions names

* Uncommented /portalRevisions endpoint to enable publishing. (Azure#1236)

* Contrast colors fix for try button and focus selection (Azure#1239)

* [scripts.v3] fix: http request fails when response code is 202, which means Accepted (Azure#1242)

Co-authored-by: Benas Taurosevicius <Benas.Taurosevicius@centric.eu>

* Fixes for token refresh logic. (Azure#1252)

* Removed devops scripts v1. (Azure#1259)

* Revise readme.md to point to new documentation (Azure#1263)

* Added support for "resource owner password" grant flow. (Azure#1219)

* Added missing hamburger icon style. (Azure#1270)

* Fixed close account. Reuse sign-out on account close. (Azure#1285)

* Fixed close account. Reuse signout on account close.

* use update instead of init in markdown bindingHandler (Azure#1279)

* Upgraded dependency libraries. Added new widget icons. (Azure#1288)

* Fixed several accessibility issues (Azure#1292)

* Fixed accessibility issues with tab controls.
* Fixed syntax highlight colors to comply with luminosity requirements.
* Added dialog-like behavior to Test console panel.

* Added capture/generate scripts metadata operations. (Azure#1295)

* Removed direct dependency of node-sass module. (Azure#1317)

* Fixed form controls focus highlight. (Azure#1318)

* Fixed serveal accessibility and security issues. Fixed build issues with sass-loader. (Azure#1324)

* Added support sso token in hash (Azure#1339)

* WebSocket APIs (Azure#1297)

Added code templates for ws
Added API type in API list
Improved WebSockets examples
Improved WebSockets support in test console
Merged changes from managed version

* Leveraged B2C signout. Moved AAD/B2C configuration publishing into config.json. Added option to override reply URL(s). (Azure#1346)

* Fixed minor issues with B2C configuration. Switched publishing functionality to portal revisions API. (Azure#1349)

* Added support for setting folders and timestamp (Azure#1365)

Co-authored-by: Erik Mogensen <erik.mogensen@users.noreply.github.com>

* Added support for multipart request body in Test console (Azure#1359)

Co-authored-by: Igor O <igo@microsoft.com>

* Added basic mulitpart form data support to API documentation. (Azure#1381)

* Azure Devops pipeline to migrate APIM dev portal from one instance to another instance of APIM (Azure#1362)

* Revert "Azure Devops pipeline to migrate APIM dev portal from one instance to another instance of APIM (Azure#1362)" (Azure#1390)

This reverts commit 0c618f7.

* Upgraded dependencies. Replaced deprecated awesome-typescript-loader with ts-loader. Fixed Terser build configuration. (Azure#1391)

* Fixed minor issue with AAD signout. Rolled back terser-webpack-plugin version to mitigate build issues. (Azure#1392)

* feat: ignore .DS_Store files (Azure#1397)

* fix aadB2CClientConfig casing (Azure#1395)

* Disabled scrolling to operation name by default. (Azure#1402)

* Fixed widget selection issue in layout editor. (Azure#1418)

* Added functionality to show legal text by default on product page load (Azure#1414)

* script to add GTM to developer portal (Azure#1405)

* Added npm dependencies

* Specify npm dependencies version

* Navigation menu for default layout update

* Import for icons fix

* Material icons import - Added sass logic

* Authentication

- Navigation menu through the widget designer
- Removed icon from B2C button

* Merge branch 'master' into feature/auth

* Testing Sign-in AD B2C

* Redirect to home when unauthorized

* Avatar menu when authenticated

* Fixed config modelBinder

* Custom widget config

* Custom avatar menu

* Fixing widget contract

* Basic widget contract and view model binder

* Removed widget editor

"Visible to" logic is directly set in the code not through the editor

* Code clean-up

* API custom tiles

* Seperating style for API tiles

* Same folder for custom style

* Include custom style in already existing file

* Custom documentation service

- Service to get markdowns from github repository

Co-authored-by: Alexander Zaslonov <zaslonov.alexander@gmail.com>
Co-authored-by: Igor O <ygrik@hotmail.com>
Co-authored-by: Sanjeevi Subramani <ssanjeevi.ss@gmail.com>
Co-authored-by: Marcin Dudek <manekd@gmail.com>
Co-authored-by: Erik Mogensen <ErikMogensen@users.noreply.github.com>
Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benas Taurosevičius <b.taurosevicius@gmail.com>
Co-authored-by: Benas Taurosevicius <Benas.Taurosevicius@centric.eu>
Co-authored-by: Mike Budzynski <40186513+mikebudzynski@users.noreply.github.com>
Co-authored-by: patst <patrick.steinig@googlemail.com>
Co-authored-by: Erik Mogensen <erik.mogensen@users.noreply.github.com>
Co-authored-by: Igor O <igo@microsoft.com>
Co-authored-by: Bernhard Rode <mail@bernhardrode.de>
Co-authored-by: Travis Whipps <88871562+traviswhipps@users.noreply.github.com>
Co-authored-by: Nik Osvalds <60047271+nosvalds@users.noreply.github.com>
phfrc added a commit to BeMoTech/api-management-developer-portal that referenced this pull request Oct 26, 2021
* Fixed token setting issue. (Azure#1108)

* Fixed refresh logic for shared access signature tokens. Fixed time formatting. (Azure#1112)

* Hide the product subscription name on delegation (Azure#1113)

closes Azure#787

* Cleaned up authentication logic. Fixed issue with read-only props in schema. Fixes Map widget issue. (Azure#1115)

* Added headers in operation response docs (Azure#1117)

close Azure#693

* Operation list improvements (Azure#1116)

* Added toggle to manage operation name wrap
* Added a toggle to manage to show operation urlTemplate or name
* added search operation by urlTemplate
* changed wrap mode to break-word
close Azure#1019

* Added api products widgets (grid and tiles) (Azure#1126)

* Added API products widgets (grid and tiles)

* added style class for tiles

closes Azure#1072

* Fixed tabs for representation contentType (Azure#1127)

closes Azure#1119

* Fixed signout on close user account (Azure#1129)

Fixed signout on close user account
added notification parameter to send an email for the developer portal

* Added basic XSD schema support in API documentation. (Azure#1137)

* Fix for migration between subscription-to-subscription apim developer portal (Azure#1145)

* Fix for migration between subscription to subscription apim dev portal by passing the az login details in parameters

* updated description of parameter

* Fixed PR comments - updated optional description in parameters

* Added header to trace get mapi requests (Azure#1147)

* Process for migration scripts will return error code when scrip fails (Azure#1149)

* Added notification parameter for create user with AAD (Azure#1150)

* Fixed notification parameter for create user with OAuth (Azure#1152)

* Temporarily added supplying state parameter to the client. (Azure#1153)

* Added token retrieve from user activate MAPI request (Azure#1158)

* Added token retrive from user activate MAPI request
close Azure#1157

* Added logic to prevent DOM changes on request to prevent error (Azure#1160)

* Changed variable requestUrl to url (Azure#1159)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Added tiles widgets for api products and products list (Azure#1162)

* Changed conflict destToken -> destKey (Azure#1164)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Accessibility fix 8954122: removed action from operation name (Azure#1167)

* Upgraded paperbits libraries to 0.1.382. (Azure#1174)

* Fixed several bugs (Azure#1185)

* Bump elliptic from 6.5.3 to 6.5.4 (Azure#1178)

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](indutny/elliptic@v6.5.3...v6.5.4)

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

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

* Bump prismjs from 1.22.0 to 1.23.0 (Azure#1169)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](PrismJS/prism@v1.22.0...v1.23.0)

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

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

* Rolled back azure libraries due to discovered bugs. Upraded node-sass and sass-loader packages. (Azure#1188)

* Added support for tags as a refrence in url for apis and operations (Azure#1189)

* Fixed layout for blocks and inline-blocks. (Azure#1190)

* Fixed layout for navigation items. Fixed bug with "Open in new window" option. (Azure#1193)

* Fixed several accessibility issues. (Azure#1195)

* Added asterisks to required form fields.
* Fixed luminosity contrast ratio for the form group toggle button.
* Unified hyperlink selector controls across components. Fixed tooltip binding.
* Added setting the aria-selected tag to code samples tabs.

* Fixed some issues with hyperlink and anchor resolution. (Azure#1197)

* Increase apiversion to handle minimum apiversion set (Azure#1215)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Fixed issues with menu and hyperlink rendering. (Azure#1222)

* Fixed dropdown styles and functionality. Fixed report widgets. (Azure#1223)

* Extended "Operation details" widget with "Use CORS proxy" option. (Azure#1233)

* Fixed delegation actions names (Azure#1234)

Fixed delegation actions names

* Uncommented /portalRevisions endpoint to enable publishing. (Azure#1236)

* Contrast colors fix for try button and focus selection (Azure#1239)

* [scripts.v3] fix: http request fails when response code is 202, which means Accepted (Azure#1242)

Co-authored-by: Benas Taurosevicius <Benas.Taurosevicius@centric.eu>

* Fixes for token refresh logic. (Azure#1252)

* Removed devops scripts v1. (Azure#1259)

* Revise readme.md to point to new documentation (Azure#1263)

* Added support for "resource owner password" grant flow. (Azure#1219)

* Added missing hamburger icon style. (Azure#1270)

* Fixed close account. Reuse sign-out on account close. (Azure#1285)

* Fixed close account. Reuse signout on account close.

* use update instead of init in markdown bindingHandler (Azure#1279)

* Upgraded dependency libraries. Added new widget icons. (Azure#1288)

* Fixed several accessibility issues (Azure#1292)

* Fixed accessibility issues with tab controls.
* Fixed syntax highlight colors to comply with luminosity requirements.
* Added dialog-like behavior to Test console panel.

* Added capture/generate scripts metadata operations. (Azure#1295)

* Removed direct dependency of node-sass module. (Azure#1317)

* Fixed form controls focus highlight. (Azure#1318)

* Fixed serveal accessibility and security issues. Fixed build issues with sass-loader. (Azure#1324)

* Added support sso token in hash (Azure#1339)

* WebSocket APIs (Azure#1297)

Added code templates for ws
Added API type in API list
Improved WebSockets examples
Improved WebSockets support in test console
Merged changes from managed version

* Leveraged B2C signout. Moved AAD/B2C configuration publishing into config.json. Added option to override reply URL(s). (Azure#1346)

* Fixed minor issues with B2C configuration. Switched publishing functionality to portal revisions API. (Azure#1349)

* Added support for setting folders and timestamp (Azure#1365)

Co-authored-by: Erik Mogensen <erik.mogensen@users.noreply.github.com>

* Added support for multipart request body in Test console (Azure#1359)

Co-authored-by: Igor O <igo@microsoft.com>

* Added basic mulitpart form data support to API documentation. (Azure#1381)

* Azure Devops pipeline to migrate APIM dev portal from one instance to another instance of APIM (Azure#1362)

* Revert "Azure Devops pipeline to migrate APIM dev portal from one instance to another instance of APIM (Azure#1362)" (Azure#1390)

This reverts commit 0c618f7.

* Upgraded dependencies. Replaced deprecated awesome-typescript-loader with ts-loader. Fixed Terser build configuration. (Azure#1391)

* Fixed minor issue with AAD signout. Rolled back terser-webpack-plugin version to mitigate build issues. (Azure#1392)

* feat: ignore .DS_Store files (Azure#1397)

* fix aadB2CClientConfig casing (Azure#1395)

* Disabled scrolling to operation name by default. (Azure#1402)

* Fixed widget selection issue in layout editor. (Azure#1418)

* Added functionality to show legal text by default on product page load (Azure#1414)

* script to add GTM to developer portal (Azure#1405)

* Added npm dependencies

* Specify npm dependencies version

* Navigation menu for default layout update

* Import for icons fix

* Material icons import - Added sass logic

* Authentication

- Navigation menu through the widget designer
- Removed icon from B2C button

* Merge branch 'master' into feature/auth

* Testing Sign-in AD B2C

* Redirect to home when unauthorized

* Avatar menu when authenticated

* Fixed config modelBinder

* Custom widget config

* Custom avatar menu

* Fixing widget contract

* Basic widget contract and view model binder

* Removed widget editor

"Visible to" logic is directly set in the code not through the editor

* Code clean-up

* API custom tiles

* Seperating style for API tiles

* Same folder for custom style

* Include custom style in already existing file

* Custom documentation service

- Service to get markdowns from github repository

* API tiles & Github service (documentation)

- Avatar menu
- Service for Github documentation
- API list

Co-authored-by: Alexander Zaslonov <zaslonov.alexander@gmail.com>
Co-authored-by: Igor O <ygrik@hotmail.com>
Co-authored-by: Sanjeevi Subramani <ssanjeevi.ss@gmail.com>
Co-authored-by: Marcin Dudek <manekd@gmail.com>
Co-authored-by: Erik Mogensen <ErikMogensen@users.noreply.github.com>
Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benas Taurosevičius <b.taurosevicius@gmail.com>
Co-authored-by: Benas Taurosevicius <Benas.Taurosevicius@centric.eu>
Co-authored-by: Mike Budzynski <40186513+mikebudzynski@users.noreply.github.com>
Co-authored-by: patst <patrick.steinig@googlemail.com>
Co-authored-by: Erik Mogensen <erik.mogensen@users.noreply.github.com>
Co-authored-by: Igor O <igo@microsoft.com>
Co-authored-by: Bernhard Rode <mail@bernhardrode.de>
Co-authored-by: Travis Whipps <88871562+traviswhipps@users.noreply.github.com>
Co-authored-by: Nik Osvalds <60047271+nosvalds@users.noreply.github.com>
EmilienBassez pushed a commit to BeMoTech/api-management-developer-portal that referenced this pull request Jan 31, 2022
* Fixed token setting issue. (Azure#1108)

* Fixed refresh logic for shared access signature tokens. Fixed time formatting. (Azure#1112)

* Hide the product subscription name on delegation (Azure#1113)

closes Azure#787

* Cleaned up authentication logic. Fixed issue with read-only props in schema. Fixes Map widget issue. (Azure#1115)

* Added headers in operation response docs (Azure#1117)

close Azure#693

* Operation list improvements (Azure#1116)

* Added toggle to manage operation name wrap
* Added a toggle to manage to show operation urlTemplate or name
* added search operation by urlTemplate
* changed wrap mode to break-word
close Azure#1019

* Added api products widgets (grid and tiles) (Azure#1126)

* Added API products widgets (grid and tiles)

* added style class for tiles

closes Azure#1072

* Fixed tabs for representation contentType (Azure#1127)

closes Azure#1119

* Fixed signout on close user account (Azure#1129)

Fixed signout on close user account
added notification parameter to send an email for the developer portal

* Added basic XSD schema support in API documentation. (Azure#1137)

* Fix for migration between subscription-to-subscription apim developer portal (Azure#1145)

* Fix for migration between subscription to subscription apim dev portal by passing the az login details in parameters

* updated description of parameter

* Fixed PR comments - updated optional description in parameters

* Added header to trace get mapi requests (Azure#1147)

* Process for migration scripts will return error code when scrip fails (Azure#1149)

* Added notification parameter for create user with AAD (Azure#1150)

* Fixed notification parameter for create user with OAuth (Azure#1152)

* Temporarily added supplying state parameter to the client. (Azure#1153)

* Added token retrieve from user activate MAPI request (Azure#1158)

* Added token retrive from user activate MAPI request
close Azure#1157

* Added logic to prevent DOM changes on request to prevent error (Azure#1160)

* Changed variable requestUrl to url (Azure#1159)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Added tiles widgets for api products and products list (Azure#1162)

* Changed conflict destToken -> destKey (Azure#1164)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Accessibility fix 8954122: removed action from operation name (Azure#1167)

* Upgraded paperbits libraries to 0.1.382. (Azure#1174)

* Fixed several bugs (Azure#1185)

* Bump elliptic from 6.5.3 to 6.5.4 (Azure#1178)

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](indutny/elliptic@v6.5.3...v6.5.4)

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

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

* Bump prismjs from 1.22.0 to 1.23.0 (Azure#1169)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](PrismJS/prism@v1.22.0...v1.23.0)

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

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

* Rolled back azure libraries due to discovered bugs. Upraded node-sass and sass-loader packages. (Azure#1188)

* Added support for tags as a refrence in url for apis and operations (Azure#1189)

* Fixed layout for blocks and inline-blocks. (Azure#1190)

* Fixed layout for navigation items. Fixed bug with "Open in new window" option. (Azure#1193)

* Fixed several accessibility issues. (Azure#1195)

* Added asterisks to required form fields.
* Fixed luminosity contrast ratio for the form group toggle button.
* Unified hyperlink selector controls across components. Fixed tooltip binding.
* Added setting the aria-selected tag to code samples tabs.

* Fixed some issues with hyperlink and anchor resolution. (Azure#1197)

* Increase apiversion to handle minimum apiversion set (Azure#1215)

Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>

* Fixed issues with menu and hyperlink rendering. (Azure#1222)

* Fixed dropdown styles and functionality. Fixed report widgets. (Azure#1223)

* Extended "Operation details" widget with "Use CORS proxy" option. (Azure#1233)

* Fixed delegation actions names (Azure#1234)

Fixed delegation actions names

* Uncommented /portalRevisions endpoint to enable publishing. (Azure#1236)

* Contrast colors fix for try button and focus selection (Azure#1239)

* [scripts.v3] fix: http request fails when response code is 202, which means Accepted (Azure#1242)

Co-authored-by: Benas Taurosevicius <Benas.Taurosevicius@centric.eu>

* Fixes for token refresh logic. (Azure#1252)

* Removed devops scripts v1. (Azure#1259)

* Revise readme.md to point to new documentation (Azure#1263)

* Added support for "resource owner password" grant flow. (Azure#1219)

* Added missing hamburger icon style. (Azure#1270)

* Fixed close account. Reuse sign-out on account close. (Azure#1285)

* Fixed close account. Reuse signout on account close.

* use update instead of init in markdown bindingHandler (Azure#1279)

* Upgraded dependency libraries. Added new widget icons. (Azure#1288)

* Fixed several accessibility issues (Azure#1292)

* Fixed accessibility issues with tab controls.
* Fixed syntax highlight colors to comply with luminosity requirements.
* Added dialog-like behavior to Test console panel.

* Added capture/generate scripts metadata operations. (Azure#1295)

* Removed direct dependency of node-sass module. (Azure#1317)

* Fixed form controls focus highlight. (Azure#1318)

* Fixed serveal accessibility and security issues. Fixed build issues with sass-loader. (Azure#1324)

* Added support sso token in hash (Azure#1339)

* WebSocket APIs (Azure#1297)

Added code templates for ws
Added API type in API list
Improved WebSockets examples
Improved WebSockets support in test console
Merged changes from managed version

* Leveraged B2C signout. Moved AAD/B2C configuration publishing into config.json. Added option to override reply URL(s). (Azure#1346)

* Fixed minor issues with B2C configuration. Switched publishing functionality to portal revisions API. (Azure#1349)

* Added support for setting folders and timestamp (Azure#1365)

Co-authored-by: Erik Mogensen <erik.mogensen@users.noreply.github.com>

* Added support for multipart request body in Test console (Azure#1359)

Co-authored-by: Igor O <igo@microsoft.com>

* Added basic mulitpart form data support to API documentation. (Azure#1381)

* Azure Devops pipeline to migrate APIM dev portal from one instance to another instance of APIM (Azure#1362)

* Revert "Azure Devops pipeline to migrate APIM dev portal from one instance to another instance of APIM (Azure#1362)" (Azure#1390)

This reverts commit 0c618f7.

* Upgraded dependencies. Replaced deprecated awesome-typescript-loader with ts-loader. Fixed Terser build configuration. (Azure#1391)

* Fixed minor issue with AAD signout. Rolled back terser-webpack-plugin version to mitigate build issues. (Azure#1392)

* feat: ignore .DS_Store files (Azure#1397)

* fix aadB2CClientConfig casing (Azure#1395)

* Disabled scrolling to operation name by default. (Azure#1402)

* Fixed widget selection issue in layout editor. (Azure#1418)

* Added functionality to show legal text by default on product page load (Azure#1414)

* script to add GTM to developer portal (Azure#1405)

* Added npm dependencies

* Specify npm dependencies version

* Navigation menu for default layout update

* Import for icons fix

* Material icons import - Added sass logic

* Authentication

- Navigation menu through the widget designer
- Removed icon from B2C button

* Merge branch 'master' into feature/auth

* Testing Sign-in AD B2C

* Redirect to home when unauthorized

* Avatar menu when authenticated

* Fixed config modelBinder

* Custom widget config

* Custom avatar menu

* Fixing widget contract

* Basic widget contract and view model binder

* Removed widget editor

"Visible to" logic is directly set in the code not through the editor

* Code clean-up

* API custom tiles

* Seperating style for API tiles

* Same folder for custom style

* Include custom style in already existing file

* Custom documentation service

- Service to get markdowns from github repository

* API tiles & Github service (documentation)

- Avatar menu
- Service for Github documentation
- API list

* Fixing navigation issues

Updating dependencies

* Documentation

- Documentation paperbits widget
- Dynamic menu
- Anchors

* Generate SAS Token

Co-authored-by: Alexander Zaslonov <zaslonov.alexander@gmail.com>
Co-authored-by: Igor O <ygrik@hotmail.com>
Co-authored-by: Sanjeevi Subramani <ssanjeevi.ss@gmail.com>
Co-authored-by: Marcin Dudek <manekd@gmail.com>
Co-authored-by: Erik Mogensen <ErikMogensen@users.noreply.github.com>
Co-authored-by: Erik Mogensen <erik.mogensen@hm.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benas Taurosevičius <b.taurosevicius@gmail.com>
Co-authored-by: Benas Taurosevicius <Benas.Taurosevicius@centric.eu>
Co-authored-by: Mike Budzynski <40186513+mikebudzynski@users.noreply.github.com>
Co-authored-by: patst <patrick.steinig@googlemail.com>
Co-authored-by: Erik Mogensen <erik.mogensen@users.noreply.github.com>
Co-authored-by: Igor O <igo@microsoft.com>
Co-authored-by: Bernhard Rode <mail@bernhardrode.de>
Co-authored-by: Travis Whipps <88871562+traviswhipps@users.noreply.github.com>
Co-authored-by: Nik Osvalds <60047271+nosvalds@users.noreply.github.com>
Co-authored-by: Phil Martinez <contact@phfrc.dev>
Co-authored-by: Émilien Bassez <emilien.bassez@be-mo.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants