Skip to content

API Search on description element. #2448

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

Open
wants to merge 279 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
279 commits
Select commit Hold shift + click to select a range
692e6f9
Supporting Graphql Subscriptions (#1723)
javierbo1989 Apr 15, 2022
fc1cf64
Fixed nested complex schemas rendering (#1726)
jsorohova Apr 15, 2022
94bdd0c
Landing focus on Try It blade (#1729)
javierbo1989 Apr 19, 2022
9160102
Added iframe sandbox "allow-popups" attribute (#1736)
JMach1 Apr 21, 2022
d23d304
Added a support for read-only properties displaying (#1742)
jsorohova Apr 27, 2022
211a6ff
Hide "subscribe" button when subscriptions are pending (#1747)
malincrist Apr 29, 2022
eabd1f7
Fixed disappearing authorization header (#1752)
jsorohova May 3, 2022
ac4c62d
Fixed copy to clipboard command. Fixed liquid templates (#1749)
malincrist May 3, 2022
1580846
Wss protocol validations, building graphql path, added subscription-k…
javierbo1989 May 3, 2022
25cd312
Added all definitions listed in props to the list of definitions (#1755)
jsorohova May 6, 2022
0e0edd6
Added support for new captcha API and prepare current one for depreca…
ygrik May 9, 2022
09c4e92
Switched Auth servers loading from publishing to get request (#1764)
ygrik May 10, 2022
68160f3
Create codeql-analysis.yml (#1771)
azaslonov May 16, 2022
0de3544
Fixed luminosity ratio for placeholders (#1769)
malincrist May 16, 2022
7792148
Fixed: default schema view combobox gets dismissed (#1770)
malincrist May 16, 2022
ea351d0
Fixed Authorization header behaviour (#1777)
jsorohova May 19, 2022
51936b6
Migrate msal to @azure/msal-browser (#1643)
ygrik May 20, 2022
4607229
Fixed luminosity rato for margin and padding borders from the box edi…
malincrist May 31, 2022
becf65c
Accessibility/luminosity on selection (#1790)
JMach1 May 31, 2022
ad0f69f
Change workshop container height (#1785)
Mielek Jun 1, 2022
7787473
Fixed wildcard operation path behavior (#1793)
malincrist Jun 2, 2022
87ca051
Revert "Change workshop container height (#1785)" (#1795)
Mielek Jun 3, 2022
2f3fd32
validation-summary added to profile - templates/default.json updated …
JMach1 Jun 3, 2022
83130aa
Upgraded dependencies (#1800)
azaslonov Jun 5, 2022
bb48b1b
tslint --fix (#1802)
JMach1 Jun 6, 2022
4bbf6a4
Fixed operation list layout issue. (#1804)
azaslonov Jun 7, 2022
e2f535b
Fixed Custom HTML widget layout and icons. (#1808)
azaslonov Jun 7, 2022
beb8094
consoleHeader.ts move validation above return early (#1803)
JMach1 Jun 9, 2022
c5e5cce
Upgraded dependencies. (#1815)
azaslonov Jun 11, 2022
77b9b12
Pasted gql queries with required parameters displayed properly in the…
javierbo1989 Jun 13, 2022
6672d4c
Removed unneccessary focus from widget editors (#1806)
malincrist Jun 13, 2022
273b8f1
Fixed height in graphql console (#1811)
javierbo1989 Jun 13, 2022
85cf24c
Dispatch errors to validation-summary refactor (#1799)
JMach1 Jun 14, 2022
e075f08
Migrated from deprecated TSLint to ESLint with @typescript-eslint/esl…
azaslonov Jun 14, 2022
5cb91a6
Added warning message in editor and console error in runtime if backe…
ygrik Jun 16, 2022
27478ec
Release date column should show date of creation of release not date …
dldl-cmd Jun 16, 2022
265fc0f
Add top param for document content type (#1796)
harunrst Jun 16, 2022
b9f96a5
Enhancing login error message (#1817)
maciejtreder Jun 17, 2022
874a533
Improved load and show GraphQL schemas. (#1807)
ygrik Jun 20, 2022
2142f03
Fixed Auth header not being cleared on No auth select (#1836)
jsorohova Jun 23, 2022
e955330
accessability issue fix (#1837)
FlorianGiner Jun 23, 2022
4d5935d
Fixed operation list layout and accessibility issues. (#1839)
azaslonov Jun 24, 2022
04e7f69
Fixed consoles height (#1840)
malincrist Jun 27, 2022
24a1aab
Fixed multiple mapcharts to work independently on mouse move (#1843)
malincrist Jun 29, 2022
17feb36
Fixed delegation flow (#1852)
ygrik Jul 7, 2022
4951856
Create .editorconfig (#1854)
JanuszNowak Jul 11, 2022
34cb018
operation-details examples column (#1856)
JMach1 Jul 11, 2022
091cbef
Fixed required attribute for Other properties in complex schemas (#1850)
jsorohova Jul 11, 2022
dc94b40
Introduce base dev portal logger (#1848)
f-alizada Jul 14, 2022
371e066
examples for headers fix (#1859)
JMach1 Jul 14, 2022
1149682
Upgraded dependencies to latest versions. (#1860)
azaslonov Jul 15, 2022
b2b3c41
Added file download to Test console. (#1849)
jsorohova Jul 15, 2022
25c7525
Switching to the latest API version (#1858)
maciejtreder Jul 15, 2022
47abee5
Merging back from managed repo. (#1861)
azaslonov Jul 15, 2022
5249058
Fixed "copy" button reveals secrets in test console (#1863)
malincrist Jul 21, 2022
89f08c5
Fixed headers when sending request from test console (#1869)
malincrist Jul 22, 2022
85d4347
Create eslint.yml (#1870)
azaslonov Jul 22, 2022
23da159
Added logging to OAuthService. Removed unused method. (#1871)
azaslonov Jul 22, 2022
c5d060d
Fixed authentication method to include id_token cases. (#1874)
azaslonov Jul 27, 2022
17a9fca
Fixed validation error handling in Basic sign-in flow. (#1875)
azaslonov Jul 27, 2022
334b4d2
Description rendering for examples (#1876)
jsorohova Jul 27, 2022
b45e399
Fixed the focus switch on test console opening. (#1879)
azaslonov Jul 29, 2022
df7affd
Fixed default release name format. (#1882)
azaslonov Aug 2, 2022
2f351a2
Fixed: api-details page breaks for long display name (#1884)
malincrist Aug 3, 2022
9d96c0a
Removed duplicated ids for group by tag (#1883)
malincrist Aug 3, 2022
1c61c99
Fixed: remove/edit test console required headers (#1892)
malincrist Aug 8, 2022
2514e77
Added suppression tags for cred scan false-positives. (#1895)
azaslonov Aug 8, 2022
0d0f2b3
Replaced logging to console with error when mapping grant types. (#1897)
azaslonov Aug 8, 2022
634f23f
Fixed cached schemas for operations (#1898)
ygrik Aug 9, 2022
13055ae
Added token as GitHub secret (#1899)
malincrist Aug 9, 2022
4b1df4b
Fixed: show subscription keys only if they are active (#1886)
malincrist Aug 9, 2022
952b008
Upgraded paperbits dependencies (#1900)
malincrist Aug 12, 2022
8309436
Add exception trace to log (#1901)
f-alizada Aug 12, 2022
d8deb7f
Remove response from error object (#1904)
f-alizada Aug 12, 2022
9bc9530
Unified Test console request and error handling (#1905)
azaslonov Aug 13, 2022
f417633
Fixed: ensure ARIA attributes are allowed for an element's role (#1906)
malincrist Aug 16, 2022
0c91e7c
Revert "Upgraded paperbits dependencies (#1900)" (#1911)
azaslonov Aug 16, 2022
41aadce
Custom widget scaffolding tool (#1910)
JMach1 Aug 18, 2022
d2d7830
pointless spaces removed (#1915)
JMach1 Aug 19, 2022
f7b3ef0
custom widgets df testing fixes (#1917)
JMach1 Aug 22, 2022
37c884e
Fixed operation console error on response without content type header…
ygrik Aug 25, 2022
4f38182
Improved luminosity ratio for focus indicators (#1916)
jsorohova Aug 26, 2022
51ec561
Custom widget development instructions - widget folder path fix (#1923)
JMach1 Aug 27, 2022
6c8538e
Fixed formatting response body (#1929)
malincrist Sep 6, 2022
1afb427
Added handling and telemetry for failed captcha initialization. (#1932)
azaslonov Sep 7, 2022
3ebd4a8
Fixed description error appearing on SOAP APIs (#1934)
jsorohova Sep 7, 2022
b5141c9
Added handling for hash part of URL in case of server-side redirect. …
azaslonov Sep 8, 2022
f59530d
Remove locales from search (#1937)
Mielek Sep 9, 2022
474d3b8
Fixed authorization header remove logic (#1940)
malincrist Sep 14, 2022
0c4bb80
Added support for PKCE extension for Authorization code grant. (#1945)
azaslonov Sep 15, 2022
f4ad331
sync hash between main window URL & custom widget iframes src (#1949)
JMach1 Sep 20, 2022
d812a1e
collapsibles refactor to use native details summary components (#1960)
JMach1 Sep 28, 2022
368b9a7
fixed scrolling issue with gql console (#1964)
javierbo1989 Oct 4, 2022
f2ccec0
Fixing inconsistency between Sample request body select label and ari…
jsorohova Oct 6, 2022
d60af57
Fixed handling of unknown status codes. Added default status text for…
azaslonov Oct 14, 2022
c5b68e7
Added support for popups. (#1893)
azaslonov Oct 14, 2022
fb62ef0
returnUrl open-redirect security bug fixed (#1975)
JMach1 Oct 20, 2022
d10f4af
Fixed section styles. Made backendUrl warning dismissible. (#1978)
azaslonov Oct 21, 2022
72c7fa6
Upgraded dependencies. Added Forms module. (#1922)
azaslonov Oct 22, 2022
fb057d4
Custom widgets - added time zone to "deployed" timestamp (#1942)
JMach1 Oct 26, 2022
502b1ee
custom-widget - auto-sizing of the editor window fixed (#1977)
JMach1 Nov 1, 2022
6982df6
Fixed the build script for FuncApp-based publisher example. (#1983)
azaslonov Nov 1, 2022
0ae10ca
Update CONTRIBUTIONS.md (#1986)
mikebudzynski Nov 4, 2022
c719f2f
Contributions update 2 (#1987)
mikebudzynski Nov 4, 2022
9837cc8
Accessibility improvement - request body format accessibility improve…
jsorohova Nov 8, 2022
52a9546
scrollbars color adjusted to improve accessibility (#1990)
JMach1 Nov 8, 2022
6567e23
Fied: every form element has a label in List of APIs(tiles) editor (#…
malincrist Nov 9, 2022
1df8a84
Upgraded paperbits dependencies (#1994)
malincrist Nov 9, 2022
7dc7404
operation-console aria-labels added (#1997)
JMach1 Nov 14, 2022
986767f
List of APIs & operations collapsible by tags (#2003)
JMach1 Nov 18, 2022
652e4b7
Fixed issues with Text block and Map widget editors. (#2009)
azaslonov Nov 20, 2022
d85abf8
fixed readme and yaml (#2008)
mazer-rakham Nov 20, 2022
6e09ea8
Fixed Table view/Raw view visibility on high contrast theme (#1999)
jsorohova Nov 20, 2022
e066bac
package-lock.json updated (#2014)
JMach1 Nov 22, 2022
4608b6e
Bugfix - Custom widget URL hash sync in published portal (#1993)
JMach1 Nov 28, 2022
aa3a332
Added missing icon. (#2022)
azaslonov Nov 28, 2022
f30cc70
API version selector redesigned (#2024)
JMach1 Dec 1, 2022
0939b62
Examples column added to operation details table (#2012)
JMach1 Dec 1, 2022
579f823
Fixed: Sign in button visible after successful sign in (#2021)
malincrist Dec 1, 2022
9ec70a4
Subscription Key is a required field now in the test console if API r…
javierbo1989 Dec 2, 2022
3e7af5c
Fixed Table widget editor issues. (#2027)
azaslonov Dec 4, 2022
cc1b8e0
Fixed issues with dependency libraries. (#2037)
azaslonov Dec 11, 2022
e8d0e23
Fix pipeline (#2040)
harunrst Dec 16, 2022
159c0ad
Fixed URL concatenation for PKCE auth flow. (#2043)
azaslonov Dec 19, 2022
cc428e4
Sign in & sign up messages corrected (#2049)
JMach1 Dec 27, 2022
bc35b86
Custom widgets iframes media & clipboard access allowed (#2050)
JMach1 Jan 3, 2023
4af4744
Fixed required attribute displaying in complex schemas (#2060)
jsorohova Jan 12, 2023
effbd87
decreased the apis schema refresh timeout from 60 to 5 min (#2065)
ygrik Jan 17, 2023
e5f5675
Fixed announcing correct state information for tab items (#2066)
malincrist Jan 17, 2023
56e0fa5
Add unit test workflow (#2064)
f-alizada Jan 19, 2023
f23b624
Fixed permalink validation issues. (#2071)
azaslonov Jan 19, 2023
12be6aa
fixed report view with other country (#2075)
javierbo1989 Jan 20, 2023
3e18b2d
Added missing aria-labels (#2076)
JMach1 Jan 24, 2023
2fbcb75
Display close account button for users signed in with delegation (#2073)
malincrist Feb 2, 2023
9baaa04
sync graphql-language-service library (#2097)
javierbo1989 Feb 10, 2023
3845892
Added line breaks to parameter names on API details page (#2096)
jsorohova Feb 13, 2023
c8867b0
Adding default domain to hostnames (#2051)
javierbo1989 Feb 13, 2023
40d19b8
Upgraded dependencies. (#2084)
azaslonov Feb 13, 2023
a468b81
E2E tests (#2061)
JMach1 Feb 17, 2023
26904e3
Extend api list with two apis. Add randomizer (#2108)
f-alizada Feb 20, 2023
6103542
Extend test widget functionality (#2109)
f-alizada Feb 20, 2023
cdb86a7
Fixed several designer issues. (#2111)
azaslonov Feb 20, 2023
396ea23
Used custom dropdown from paperbits in widget editor (#2118)
malincrist Feb 27, 2023
e985668
Fixed: product name disappears when changing subscription (#2120)
malincrist Mar 1, 2023
a984002
Added negative lookahead to getResourceName regex (#2122)
JMach1 Mar 2, 2023
8ce9465
Remove heading block that contains popup (#2126)
malincrist Mar 6, 2023
69db90c
Upgraded dependencies. (#2127)
azaslonov Mar 7, 2023
23c45d0
Upgraded dependencies. (#2130)
azaslonov Mar 11, 2023
ef9ff61
Upgraded dependencies to fix several designer issues. (#2133)
azaslonov Mar 15, 2023
76d5918
Fix trailing slash issue (#2137)
harunrst Mar 24, 2023
630aced
Update liquid, trancate-html libs (#2140)
f-alizada Mar 28, 2023
7f3dd27
Update paperbits dependencies to 0.1.576 (#2141)
f-alizada Mar 30, 2023
19271d1
prevent infinity loop on logging unhandled error (#2147)
ygrik Apr 4, 2023
fe5c83c
properly process unhandled error on logger error (#2148)
ygrik Apr 4, 2023
0b43193
Re-enabled popup controls and snippets. (#2156)
azaslonov Apr 20, 2023
a1086a7
Fixed UI bugs for Subscriptions on the profile page (#2185)
jsorohova May 23, 2023
e873140
Custom widgets - send location info of the main window to widgets (#2…
JMach1 May 25, 2023
5e6df1a
Fixed non-working images in API descriptions (#2188)
jsorohova May 29, 2023
3869cf4
Provide proper error on GET request with body (#2138)
harunrst May 29, 2023
655f8ef
added "group by tag" toggle for api list dropdown widget; implemented…
malincrist May 31, 2023
ef4b854
Added developer portal type header for all requests (#2171)
harunrst May 31, 2023
f73c9b6
Made page content section stretch by default for all viewport sizes (…
malincrist May 31, 2023
9993be4
Replace deprecated methods from cred generation (#2192)
f-alizada Jun 1, 2023
6df1119
Revert "Added developer portal type header for all requests (#2171)" …
harunrst Jun 1, 2023
2f6572a
Added pagination for user subscriptions (#2189)
malincrist Jun 1, 2023
435f7b8
Upgraded dependencies. (#2191)
azaslonov Jun 3, 2023
53bfff2
Fixed scroll to operation (#2200)
malincrist Jun 5, 2023
4cb0764
Increase dev-portal version to 2.24.0 (#2199)
f-alizada Jun 5, 2023
7977733
Upgrade paperbits to 0.1.587 (#2204)
f-alizada Jun 7, 2023
c2d53d5
Removed duplicated styles (#2206)
jsorohova Jun 8, 2023
72d11e5
Removed menu styles from test console (#2197)
malincrist Jun 12, 2023
518c428
Add dropdown for the case when there are multiple examples (#2208)
f-alizada Jun 13, 2023
c3a0eeb
Remove not needed async and wait for the server listen event before t…
f-alizada Jun 14, 2023
2805ab9
Subscription key improvements (#2212)
malincrist Jun 20, 2023
f299905
fixed regex that extracts resource name (#2205)
malincrist Jun 20, 2023
9fe6440
Upgraded dependencies and default theme. (#2198)
azaslonov Jun 25, 2023
255c87c
fix typos and spelling errors (#2195)
Jul 3, 2023
a0c75d7
Updated widget registration model. (#2235)
azaslonov Jul 10, 2023
d395754
Add navigation menu for default pages (#2257)
f-alizada Jul 25, 2023
e350f81
Playwright tests (#2254)
f-alizada Aug 7, 2023
7d46bed
Fix seach bar overlapping (#2276)
SenpuDev Aug 22, 2023
ea30ee9
operation-details - hide examples columns fix (#2289)
JMach1 Sep 14, 2023
e393ad4
Fixed adding parameters for GraphQL APIs that have parameters (#2286)
malincrist Sep 15, 2023
3a67d03
Upgraded dependencies. (#2294)
azaslonov Sep 16, 2023
d86cb77
Fixed Format and Readonly properties displaying (#2296)
jsorohova Sep 20, 2023
68e1254
Added logic to decompress request body if it has gzip encoding header…
ygrik Sep 25, 2023
db96030
Increase min version for management api (#2298)
f-alizada Sep 26, 2023
762bcc9
Fixed typo in the method name. (#2307)
azaslonov Oct 11, 2023
6e947bf
Fix B2C signout (#2224)
MichdeJong Oct 17, 2023
73bb8aa
Fixed nested definitions listing (#2315)
jsorohova Oct 18, 2023
b02619a
Registered operationDetails widget (#2323)
MichaelJLiu Oct 25, 2023
5d754f2
Fixed Product APIs registration (#2324)
malincrist Nov 8, 2023
3d6cccd
feat: add option to configure a default to expand all group tags (#2330)
jan-mrm Nov 8, 2023
d69668a
Admin UI redesign (#2121)
jsorohova Nov 16, 2023
e3e9957
Pagination simplified for data API (#2304)
JMach1 Nov 16, 2023
d787bc6
Accessibility fixes (#2343)
jsorohova Nov 27, 2023
e1ad59f
Nav link color fix (#2346)
jsorohova Nov 30, 2023
9967069
Fixed: UTF-8 characters that have more than 1 byte get truncated by m…
malincrist Dec 1, 2023
82842ff
API operation-details - use correct protocol (#2357)
JMach1 Dec 12, 2023
5cd2ddd
APIs dropdown close fix and Product API widget target fix (#2352)
jsorohova Dec 13, 2023
63fed3d
Fixed Settings modal incorrect behaviour (#2361)
jsorohova Dec 15, 2023
1271723
Packages update - custom widgets overrides default widget fix (#2363)
JMach1 Jan 9, 2024
c1b53a5
Increase dev-portal version to 2.25.0
mrcarlosdev Jan 10, 2024
acfa018
skipWorkspaces query param added to APIs & Products services (#2366)
JMach1 Jan 10, 2024
dff7932
Fixed error when changing OAuth flow (#2368)
malincrist Jan 18, 2024
b43c5cb
Fixed: custom HTML widget not rendering on published portals (#2370)
malincrist Jan 18, 2024
3e2d250
Validation fixes (#2374)
jsorohova Jan 22, 2024
b32da31
Fixed Link media functionality (#2377)
jsorohova Jan 25, 2024
8abd865
Fixed: error when loading operations grouped by tags without apiId (#…
malincrist Jan 25, 2024
590ba34
Fixed: error when loading subscriptions without user signed in (#2375)
malincrist Jan 25, 2024
79a2972
iframe sandbox allowed tags fixed for safari
JMach1 Jan 22, 2024
cffee03
Fixed subscription header always required (#2382)
malincrist Jan 29, 2024
d613aef
use of outdated custom widget scaffolder by npx fixed (#2383)
JMach1 Jan 29, 2024
a3f5cf6
Added role view dropdown (#2378)
jsorohova Jan 29, 2024
8b3c6f9
Update to 2.26 version
mrcarlosdev Jan 27, 2024
9f4d773
Disable reset password for signed in users (#2308)
malincrist Jan 30, 2024
0e1a8ea
Fixed heavily truncated description for APIs and Products (#2386)
malincrist Jan 30, 2024
3ef57c1
Added mime type to media linking (#2390)
jsorohova Jan 31, 2024
517f571
GitHub CI permissions change (#2393)
jsorohova Feb 2, 2024
04befc3
Paperbits version bump (#2391)
jsorohova Feb 2, 2024
51a55fb
Fixed media empty permalink errors (#2395)
jsorohova Feb 6, 2024
95d7ba7
Bumped paperbits version to sync with the managed (#2397)
jsorohova Feb 6, 2024
1f68f15
Fixed non-working anchors for definitions, made multiple complex sche…
jsorohova Feb 8, 2024
9fe526d
Fixed management API version mismatch (#2385)
jsorohova Feb 8, 2024
3ae9d33
Added UI interface for multiple auth servers (#2337)
malincrist Feb 8, 2024
e8bc014
Upgrade dependency follow-redirects (#2401)
f-alizada Feb 12, 2024
ba97701
Commented out markdown announcement
jsorohova Feb 13, 2024
fe35c31
Deleted markdown announcement slide
jsorohova Feb 13, 2024
51e5758
Fixed default home page menu text color (#2406)
jsorohova Feb 14, 2024
019c451
Bump undici from 5.28.2 to 5.28.3 (#2410)
dependabot[bot] Feb 19, 2024
1baf9b4
Fixed: registered apiProducts widget correctly (#2411)
malincrist Feb 19, 2024
74b9886
Fixed validation behaviour (#2412)
jsorohova Feb 19, 2024
a44e8dd
Used naming cinvention with dash (#2414)
malincrist Feb 19, 2024
5941570
fixed api products widget editor registration (#2416)
malincrist Feb 20, 2024
dc7e69e
Improved logging around AAD B2C flows (#2402)
malincrist Feb 20, 2024
4a51397
Move default media files to regional storage (#2407)
malincrist Feb 23, 2024
6a0c19a
Alt tag for images in the Media modal (#2423)
jsorohova Feb 28, 2024
4cb8563
Fixed: API not loaded the first time (#2424)
malincrist Feb 29, 2024
43f34bd
aria-label attributes for fields with custom labels (#2427)
jsorohova Feb 29, 2024
02a0c07
Fixed multiple media files deletion (#2434)
jsorohova Mar 13, 2024
cf9a32f
Update issue templates (#2436)
sthirthala Mar 16, 2024
bfa8c74
Create cleanUpOpenedIssues.yml
mrcarlosdev Mar 25, 2024
fdbaf20
Update cleanUpOpenedIssues.yml
mrcarlosdev Mar 25, 2024
f407d8d
Update cleanUpOpenedIssues.yml
mrcarlosdev Mar 25, 2024
06cfa8d
Update cleanUpOpenedIssues.yml
mrcarlosdev Mar 25, 2024
6b6dbe4
Update cleanUpOpenedIssues.yml
mrcarlosdev Mar 25, 2024
ebceb6e
Update cleanUpOpenedIssues.yml
mrcarlosdev Mar 25, 2024
5b26d67
Update cleanUpOpenedIssues.yml
mrcarlosdev Mar 25, 2024
15b7735
Update cleanUpOpenedIssues.yml
mrcarlosdev Mar 25, 2024
c78808f
API Search on description element.
Apr 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
root = true

[*]
trim_trailing_whitespace = true
35 changes: 35 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
plugins: [
"@typescript-eslint"
],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
],
rules: {
"no-constant-condition": "warn",
"no-async-promise-executor": "off",
"no-extra-boolean-cast": "warn",
"no-useless-escape": "off",
"no-ex-assign": "warn",
"prefer-spread": "off",
"prefer-const": "warn",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/quotes": [
"warn",
"double",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
]
}
};
6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@
name: Bug report
about: Report a glitch to help us improve the product
title: ''
labels: to-triage
labels: ''
assignees: ''

---

** PLEASE DO NOT CREATE ISSUES RELATED TO MANAGED DEVELOPER PORTAL IN THIS REPOSITORY. Issues related to "Managed developer portal" will be closed automatically. These issues should be created directly in Azure Support + Troubleshooting in Azure portal**

**Every bug report should have precise description and reproduction steps; console traces or source code references are appreciated.**

**For assistance requests, contact Azure support or submit a post [on Stack Overflow](http://aka.ms/apimso). We don't provide support through GitHub Issues. Feature requests can be raised [on the Azure Feedback Forum](https://aka.ms/apimwish).**




## Bug description

A clear and concise description of the bug.
Expand Down
13 changes: 13 additions & 0 deletions .github/scripts/wait-for-server.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
param ($HostName = $(throw "HostName parameter is required."))
$Counter = 0
while ($Counter -ne 2 ){
Start-Sleep -Seconds 4
$Response = Invoke-WebRequest -Uri $HostName
if ($Response.StatusCode -eq 200){
Write-Host "server returned 200"
exit 0
}
$Counter++
}

Write-Error "Server didn't return 200 status"
35 changes: 35 additions & 0 deletions .github/workflows/cleanUpOpenedIssues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Fetch Open Issues

on:
workflow_dispatch:

jobs:
fetch-issues:
runs-on: ubuntu-latest
steps:
- name: Fetch open issues
id: issues
uses: octokit/[email protected]
with:
route: GET /repos/Azure/api-management-developer-portal/issues?state=open
env:
GITHUB_TOKEN: ${{ secrets.GITHUBACTIONS_TOKEN }}

- name: Write issues to file
run: |
echo '${{ steps.issues.outputs.data }}' > issues.json

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Print issue URLs
run: |
const fs = require('fs');
const issues = JSON.parse(fs.readFileSync('issues.json', 'utf8'));
const filteredIssues = issues.filter(issue => issue.body.includes('Is your portal managed or self-hosted?\r\n\r\nManaged'));
for (const issue of filteredIssues) {
console.log(issue.html_url);
}
shell: bash
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '25 16 * * 4'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'typescript' ]

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
45 changes: 45 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# ESLint is a tool for identifying and reporting on patterns
# found in ECMAScript/JavaScript code.
# More details at https://github.com/eslint/eslint
# and https://eslint.org

name: ESLint

on:
pull_request:
branches:
- master

jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install
run:
npm install
npm install @microsoft/[email protected]

- name: Run ESLint
run: npx eslint src/**/*.ts
--config .eslintrc.cjs
--format @microsoft/eslint-formatter-sarif
--output-file ./eslint-results.sarif
continue-on-error: true

- name: Upload report artifacts
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ./eslint-results.sarif
wait-for-processing: true
continue-on-error: true
46 changes: 46 additions & 0 deletions .github/workflows/mainCI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI

on:
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
permissions:
actions: read
checks: write
contents: read
deployments: read
packages: none
pull-requests: write
security-events: write

steps:
- name: Use Node.js 16.x
uses: actions/checkout@v2
with:
node-version: 16.x

- name: Install
run: npm install

- name: Build
run: npm run build-static-data

- name: Scan for accessibility issues
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
uses: microsoft/accessibility-insights-action@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
site-dir: ${{ github.workspace }}/dist/website
localhost-port: 12345
input-urls: http://localhost:12345/profile http://localhost:12345/500 http://localhost:12345/404

- name: Upload report artifact
uses: actions/upload-artifact@v2
with:
name: accessibility-reports
path: ${{ github.workspace }}/_accessibility-reports
60 changes: 60 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Test

on:
pull_request:
branches:
- master

jobs:
tests:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install
run: npm install

- name: Run tests
run: npm run test

end2end-tests:
runs-on: windows-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run: npm install

- name: Compile
run: npx tsc -p tests\tsconfig.json

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Build static data
run: npm run build-mock-static-data

- name: Start mock server
run: npm run serve-website &
shell: bash

- name: Wait for the server
run: ./.github/scripts/wait-for-server.ps1 -HostName "http://localhost:8080"
shell: pwsh

- name: Run tests
run: npx playwright test tests/ --workers 1

- uses: actions/upload-artifact@v3
if: failure()
with:
name: playwright-report
path: test-results/
retention-days: 30
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ node_modules/
src/config.design.json
src/config.publish.json
src/config.runtime.json

test-results/
tsconfig.tsbuildinfo
2 changes: 1 addition & 1 deletion .pipeline/migrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
command: "install"

- pwsh: |
node ./migrate --sourceSubscriptionId "$(sourceSubscriptionId)" --sourceResourceGroupName "$(sourceResourceGroupName)" --sourceServiceName "$(sourceServiceName)" --destServiceName "$(destServiceName)" --destSubscriptionId "$(destSubscriptionId)" --destResourceGroupName "$(destResourceGroupName)" --sourceTenantId "$(sourceAzureTenantId)" --sourceServicePrincipal "$(sourceServicePrincipal)" --sourceSecret "$(sourceServicePrincipalSecret)" --destTenantId "$(sourceAzureTenantId)" --destServicePrincipal "$(destServicePrincipal)" --destSecret "$(destServicePrincipalSecret)"
node ./migrate --sourceSubscriptionId "$(sourceSubscriptionId)" --sourceResourceGroupName "$(sourceResourceGroupName)" --sourceServiceName "$(sourceServiceName)" --destServiceName "$(destServiceName)" --destSubscriptionId "$(destSubscriptionId)" --destResourceGroupName "$(destResourceGroupName)" --sourceTenantId "$(sourceAzureTenantId)" --sourceServicePrincipal "$(sourceServicePrincipal)" --sourceSecret "$(sourceServicePrincipalSecret)" --destTenantId "$(destAzureTenantId)" --destServicePrincipal "$(destServicePrincipal)" --destSecret "$(destServicePrincipalSecret)"
workingDirectory: "$(System.DefaultWorkingDirectory)/scripts.v3"
displayName: Run Migrate cmd from $(sourceServiceName) to $(destinationServiceName)

Expand Down
4 changes: 2 additions & 2 deletions .pipeline/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ Then select Run. This saves and executes your pipeline for the fist time, seen b
| destServiceName | Destination APIM service name |
| destSubscriptionId | Destination APIM service resource subscription ID |
| destResourceGroupName | Destination APIM service resource group name |
| sourceTenantId | Source Azure tenant ID |
| sourceAzureTenantId | Source Azure tenant ID |
| sourceServicePrincipal | Source Azure service principal |
| sourceServicePrincipalSecret | Source Azure service principal secret |
| destTenantId | Destination Azure tenant ID |
| destAzureTenantId | Destination Azure tenant ID |
| destServicePrincipal | Destination Azure service principal|
| destServicePrincipalSecret | Destination Azure service principal secret |
| existingEnvUrls | Existing environment URLs (URLs used in the developer portal from source APIM to replace, if we have multiple urls then comma separated values to be given.) |
Expand Down
2 changes: 0 additions & 2 deletions CONTRIBUTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ This project welcomes contributions and suggestions. Most contributions require
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.

**Refer to the [contribution guidelines](https://github.com/Azure/api-management-developer-portal/wiki/Widget-contribution-guidelines) for more information.**
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You can **report bugs** or **submit feature requests** in [the repository's Issu

Microsoft Azure Support assistance is limited to managed portals and only the initial setup of self-hosted portals ([documentation](https://aka.ms/apimdocs/selfhostportal)); best effort support is provided for problems that are caused by environmental factors, such as (but not limited to): hosting platform, development environment, network configuration. Other self-hosted portal assistance requests (for example, problem with custom widgets) should be submitted [on Stack Overflow](https://aka.ms/apimso) with the `azure-api-management` tag. **We don't provide support through GitHub Issues**.

We welcome and appreciate [community contributions](CONTRIBUTIONS.md). Refer to the [contribution guidelines](https://aka.ms/apimdocs/portal/contribute) for more information.
We welcome and appreciate [community contributions](CONTRIBUTIONS.md).

## <a name="license"></a> License

Expand Down
Loading