Skip to content

Fix for #2736 timeout error: ETIMEDOUT when pushing new developer template #2746

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 336 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
336 commits
Select commit Hold shift + click to select a range
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
36e8929
Fixed non-closing list of APIs dropdown widget (#2450)
jsorohova Apr 3, 2024
234da42
Prepare release 2.27
mrcarlosdev Apr 3, 2024
2fea721
Update package-lock.json
mrcarlosdev Apr 3, 2024
ff2c5af
Migration script: added recursive download of media data from content…
rkolesnikovDX Apr 9, 2024
45035ab
Fixed overlapping API dropdown (#2459)
jsorohova Apr 10, 2024
eda67dc
API Dropdown - navigation fix (#2460)
JMach1 Apr 11, 2024
cd983ec
Revert "Move default media files to regional storage (#2407)" (#2461)
malincrist Apr 12, 2024
63975bc
Fix scripts.v2: migrate & capture (#2465)
rkolesnikovDX Apr 15, 2024
04e202d
Fixed auth servers in test console on switching apis (#2471)
ygrik Apr 23, 2024
549e6e8
Fixed enum values processing for console operations query and templat…
jsorohova May 1, 2024
2fb596a
Fixed toast notifications to appear on top of the Fluent UI overlays …
jsorohova May 15, 2024
07101ba
Fixed do not show AAD config message in runtime for sigin social widg…
ygrik May 16, 2024
a98f4a9
FUI - List of operations (#2475)
jsorohova May 20, 2024
c6d71e3
Fixed Custom widgets CORS issue in Safari (#2498)
JMach1 May 31, 2024
e54f0c3
Added pagination and filter support for subscriptions in the test con…
malincrist Jun 20, 2024
8fab2c8
Use basic auth for change password (#2396)
malincrist Jun 21, 2024
f144ece
Bumped version to 2.29 (#2531)
mpodriezov Jul 10, 2024
0077622
browser specific iframe sandbox tokens support (#2514)
JMach1 Jul 11, 2024
9476e6f
Reverted accidential redesign merge (#2532)
jsorohova Jul 15, 2024
01f9450
Create config.yml (#2536)
annaji-msft Jul 22, 2024
d468cb1
Update README.md (#2641)
annaji-msft Jul 22, 2024
7c09371
Update bug_report.md (#2647)
annaji-msft Jul 23, 2024
22556f0
What's new modal refactoring (#2657)
jsorohova Aug 16, 2024
4510713
Role and screen size dropdowns accessibility fix (#2659)
jsorohova Aug 16, 2024
1d87b9f
Made several left nav items keyboard accessible (#2660)
jsorohova Aug 19, 2024
8e44ec0
Multiple fixes for Site menu item modal (#2661)
jsorohova Aug 21, 2024
990a348
Removed paging from test console subscriptions dropdown (#2664)
ygrik Aug 22, 2024
d22c427
Developer portal version bump to 2.30 (#2662)
jsorohova Aug 22, 2024
a8b70bf
Fixed grouping apis subscriptions in test console selector (#2665)
ygrik Aug 28, 2024
dfe3d6c
Error processing and search fixes in Admin UI (#2666)
jsorohova Aug 28, 2024
3ed293c
Added a fix for incorrect validation (#2668)
jsorohova Aug 29, 2024
cca58a4
CR fix (#2669)
jsorohova Aug 29, 2024
5580269
Fixed integration user errors (#2679)
jsorohova Sep 24, 2024
d51e123
Fixed custom widgets editor configuration view (#2686)
rkolesnikovDX Oct 1, 2024
7955c98
Added allow-same-origin as a settings option for custom widgets (#2688)
mpodriezov Oct 2, 2024
92dbb62
Update package version to 2.31.0 (#2689)
rkolesnikovDX Oct 2, 2024
7bc743f
Fixed nonImageDetailModal to pass schema validation on saving of link…
rkolesnikovDX Oct 3, 2024
8d73aa8
Packages and styles upgrade (#2692)
ygrik Oct 4, 2024
4f5b452
Merged PR 10992070: fix(sitemenu): Fix linking for image site menu ->…
Oct 4, 2024
6a3912d
Merged PR 11000481: fix(media): Fixed reference url is not updatable
Oct 7, 2024
edd386a
Fixed styles after last packages update (#2694)
ygrik Oct 7, 2024
6c3028d
Update Paperbits packages and styles in api list widget (#2696)
ygrik Oct 11, 2024
f00301d
Fixed styles after packages upgrade (#2697)
jsorohova Oct 14, 2024
d8c6484
Fixed tabs styles and editor alignments (#2698)
jsorohova Oct 14, 2024
078b604
Developer portal version bump to 2.32 (#2699)
jsorohova Oct 18, 2024
a3d3920
chore: Remove unused workflow (#2706)
tomkerkhove Oct 23, 2024
18db5ae
Accessibility fixes for new Admin UI (#2710)
jsorohova Oct 25, 2024
c24a08d
Paperbits packages upgrade to 0.1.629 (#2713)
jsorohova Nov 1, 2024
852cfa9
Update license reference (#2716)
emmanuel-ferdman Nov 12, 2024
ad13e6d
Fixed pages and layouts validation and added No items text when searc…
jsorohova Nov 13, 2024
fcd9761
Fixed forms styles (#2722)
ygrik Nov 18, 2024
2b2be2a
Fixed layouts validation (#2723)
jsorohova Nov 19, 2024
07cacac
Fixed tooltip button position (#2724)
ygrik Nov 20, 2024
565ed54
Added new password validation must be different from old (#2730)
ygrik Dec 5, 2024
adf6b44
Update package.json engines to require Node pre v20 (#2731)
Onatolich Dec 6, 2024
ef0e8ef
Add IDEA specific files to .gitignore (#2732)
Onatolich Dec 10, 2024
33ae90b
Fix timeout error when pushing new developer template
annaji-msft Jan 15, 2025
94012bc
Merge pull request #2 from annaji-msft/fix-timeout-error
annaji-msft Jan 15, 2025
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
}
]
}
};
16 changes: 9 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name: Bug report
about: Report a glitch to help us improve the product
title: ''
labels: to-triage
labels: ''
assignees: ''

---

**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).**

> [!IMPORTANT]
> **PLEASE DO NOT CREATE ISSUES RELATED TO MANAGED DEVELOPER PORTAL IN THIS REPOSITORY**. Issues related to "Managed developer portal" will be closed automatically. Managed developer portal issues should be created directly in Azure Support + Troubleshooting in Azure portal. Contact Azure support (or) submit a post [on Stack Overflow](http://aka.ms/apimso). Feature requests can be raised [on the Azure Feedback Forum](https://aka.ms/apimwish).
Every self-hosted developer bug report should have precise description and reproduction steps; console traces (or) source code references are appreciated.

## Bug description

Expand All @@ -27,9 +27,11 @@ A clear and concise description of the bug.

A clear and concise description of what you expected to happen.

## Is your portal managed or self-hosted?
## Is self-hosted portal?

Managed / Self-hosted
Yes / No
> [!WARNING]
> "Managed developer portal issues" will be closed automatically. See above for more details.

## Release tag or commit SHA (if using self-hosted version)

Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
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"
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/eslint-formatter-sarif@2.1.7

- 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@v4
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@v4
if: failure()
with:
name: playwright-report
path: test-results/
retention-days: 30
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
.history/
.vs/
.vscode/
.idea/
*.iml
.DS_Store
dist/
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 [opencode@microsoft.com](mailto:opencode@microsoft.com) 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.**
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,20 @@ The `master` branch of this repository is used for daily development purposes an

## <a name="feedback"></a> Interactions

You can **report bugs** or **submit feature requests** in [the repository's Issues section](https://github.com/Azure/api-management-developer-portal/issues).
### Managed developer portal,
> **report bugs** in Azure Support + Troubleshooting in Azure portal

> **submit feature requests** [on the Azure Feedback Forum](https://aka.ms/apimwish).

### Self-hosted developer portal,
> **report bugs** in [the repository's Issues section](https://github.com/Azure/api-management-developer-portal/issues)

> **submit feature requests** under [Feature requests discussion section](https://github.com/Azure/api-management-developer-portal/discussions/categories/feature-request)

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

The developer portal is published under the [MIT license](license).
The developer portal is published under the [MIT license](LICENSE).
Loading
Loading