Граф коммитов

4314 Коммитов

Автор SHA1 Сообщение Дата
Scott Beddall 675786a2e9 fix issue with calls to docs 2024-10-25 17:21:05 -07:00
Scott Beddall 3fc0da96c6 offer a post-generation script 2024-10-25 17:04:28 -07:00
Jeremy Meng bf41c7b56c
[apiview-js-parser] more bug fixes (#9184)
- skipDiff for dependency header
- attach pre-release tags with their related lines
- add spaces before `|` and `&`
- add `export const` for constants
- fix type reference for multi-line code excerpt
- fix contextual keyword kind in property/method signature
- hide enum members from navigation list
- create a TypeName token for type parameter
- replace `export declare enum` with `export enum`
- group items by their kinds and add an order to the groups
2024-10-25 12:22:31 -07:00
Weidong Xu 4090e73b8c
examples-automation, handle corner cases and invalid cases from upstream (#9250) 2024-10-25 15:17:58 +08:00
Renhe Li 3e14dcaf28
Update CODEOWNERS (#9245)
Update the code owner of sdk tool
2024-10-24 15:58:32 -07:00
Praven Kuttappan 7e93b2ea0f
Update apiview token prefix (#9230)
* Update APIView token schema to include hasPrefixSpace property and process this when rendering API view
2024-10-24 16:56:30 -04:00
Scott Beddall 5ea3eeeefa
Resolve Failing Java Integration Tests (#9239)
* repair java integration tests by updating install order
2024-10-24 12:26:01 -07:00
James Suplizio 8b2d38442f
Refactor PackageProps to make the Yaml loading and processing methods common (#9236)
* Refactor PackageProps to make the Yaml loading and processing methods common

* Updates for feedback
2024-10-24 16:00:02 +00:00
Patrick Hallisey f4965c2a4a
Add azure-sdk-for-rust to utility pipelines (#8737)
* Add azure-sdk-for-rust to utility pipelines

* Update eng-workflows-sync.yml
2024-10-23 14:53:20 -07:00
Praven Kuttappan 4f150eaf1c
Support branch name with space in create review step (#9235) 2024-10-23 13:06:08 -04:00
Chidozie Ononiwu 439be76c87
fix bug causing monaco editor not to load (#9228) 2024-10-22 17:39:47 -07:00
Patrick Hallisey 818b3d2d34
Fix spelling of Regenerate in yaml (#9234) 2024-10-22 13:30:39 -07:00
Ben Broderick Phillips 29ed18c997
Disable auto-baseline on non default branch (#9225) 2024-10-22 15:24:30 -04:00
Wes Haggard 240c5e2551
Remove default sub config sub-config-azure-cloud-test-resources (#9229)
* Remove default sub config sub-config-azure-cloud-test-resources

We no longer want to default the configuration and instead
default from the service connection which had the info we need.

* Fix quoting
2024-10-21 20:10:26 -07:00
Pan Shao 4025ae6034
Bump openapi-to-typespec to 0.10.2 (#9219)
* Bump openapi-to-typespec to 0.10.2

* update
2024-10-22 10:02:01 +08:00
Wes Haggard b674943444
Move perf pipelines to TME subscription (#9216) 2024-10-21 13:43:22 -07:00
Chidozie Ononiwu b0ca561e5b
CSS BugFix (#9183)
* CSS BugFix

* Coment Resolutions

* Comments for Samples

* Fire api request with credentials

* Add HTML to Markdown Pipe

* Add MarkDown Editor
2024-10-18 21:02:03 -07:00
Meir Blachman 83d4995e53
prettify java-packages/codesnippet-maven-plugin readme java snippets (#8454) 2024-10-18 11:12:00 -04:00
Ben Broderick Phillips 08a486a5df
Handle cleanup for leased and encrypted storage accounts. Reduce throttling (#9212) 2024-10-18 14:55:36 +00:00
Scott Beddall 455479231a
Add ability to not trigger `PR` diff generation if the incoming service isn't `auto` (#9181)
* save-package-properties.yml only activates PR diff mechanism if the service directory is "auto"
2024-10-17 17:09:23 -07:00
Praven Kuttappan 68f32a9440
Update APIView token TypeSpec to generate valid JSON schema with top level properties (#9211) 2024-10-17 17:46:38 -04:00
Chidozie Ononiwu 80f94608ee
Resolve bug in file upload (#9185) 2024-10-17 09:45:07 -07:00
Daniel Jurek aedce140e7
Escape parentheses in includes to fix issues in publishing (#9177)
* Escape parentheses in includes to fix issues in publishing

* Only escape close parens

* Comments
2024-10-17 08:57:07 -07:00
Scott Beddall a2c01b5c5d
Handle missing artifacts without exception (#9179) 2024-10-16 18:59:33 -07:00
dependabot[bot] 341f987b75
Bump jsonpath-plus in /tools/sdk-testgen in the npm_and_yarn group (#9152)
Bumps the npm_and_yarn group in /tools/sdk-testgen with 1 update: [jsonpath-plus](https://github.com/s3u/JSONPath).


Updates `jsonpath-plus` from 9.0.0 to 10.0.0
- [Release notes](https://github.com/s3u/JSONPath/releases)
- [Changelog](https://github.com/JSONPath-Plus/JSONPath/blob/main/CHANGES.md)
- [Commits](https://github.com/s3u/JSONPath/commits)

---
updated-dependencies:
- dependency-name: jsonpath-plus
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 17:37:13 -07:00
Ben Broderick Phillips e711878ff0
Fix missing CloseAddressedIssues in gh event processor (#9199) 2024-10-16 22:28:27 +00:00
Ben Broderick Phillips 5c33c4de41
Set resource group env variable early so remove always works (#9202) 2024-10-16 22:27:48 +00:00
Patrick Hallisey 4909002c35
Changes required for sdk-repo based emitter pipelines (#9147) 2024-10-16 15:09:43 -07:00
dependabot[bot] c6258680c6
Bump eslint-plugin-prettier from 3.4.1 to 4.2.1 in /tools/sdk-testgen (#9138)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.4.1 to 4.2.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/commits/v4.2.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 08:18:17 -07:00
dependabot[bot] 5f6da725ed
Bump @types/jest from 26.0.24 to 29.5.13 in /tools/sdk-testgen (#9139)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.24 to 29.5.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 08:17:52 -07:00
Praven Kuttappan 7a0601f9d4
Update JS API parser to 2.0.2 (#9182) 2024-10-15 20:40:35 -04:00
Jeremy Meng 582847ca42
[apiview-js-parser] fix some bugs (#9180)
* [apiview-js-parser] add missing `type` keyword

* Set IsContextEndLine: true for closing brace
2024-10-15 17:11:52 -07:00
Ben Broderick Phillips 7a9ff945a1
Use $GITHUB_EVENT_PATH variable instead of inline file writing (#9134)
* Use $GITHUB_EVENT_PATH variable instead of inline file writing

* Archive github event data
2024-10-15 21:41:28 +00:00
PyBlend 5b06bc0f45
clean up remaining TODOs (#9178) 2024-10-15 14:38:27 -07:00
Chidozie Ononiwu e7f2d5e93f
091724/samples api view (#9038)
* Add Samples APIView Page

Samples Revison Select Panel

Pager options for samples

Add Samples MarkDown Page

Add Samples Add and Edit

Add Monaco Editor

Add Monaco Editor

Add Edit Samples View

Fix APIView tests

Samples PAge Update

Add commenting to code sections

Show comments and linenumbers in code sections

Commenting on Samples Page

CRUD for samples

Fix broken tests

Resolve PR comments

* Update Call to Action Cases
2024-10-15 12:19:43 -07:00
Praven Kuttappan 239e12f880
Upgrade the revisions on the fly (#9171)
* Upgrade the revisions on the fly
2024-10-15 13:34:26 -04:00
dependabot[bot] 0ea403420a
Bump the npm_and_yarn group across 2 directories with 3 updates (#9153)
Bumps the npm_and_yarn group with 3 updates in the /src/dotnet/APIView/ClientSPA directory: [cookie](https://github.com/jshttp/cookie), [socket.io](https://github.com/socketio/socket.io) and [express](https://github.com/expressjs/express).
Bumps the npm_and_yarn group with 2 updates in the /tools/keyvault-mock-attestation directory: [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express).


Updates `cookie` from 0.4.2 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.2)

Updates `socket.io` from 4.7.5 to 4.8.0
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io@4.7.5...socket.io@4.8.0)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.2)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: socket.io
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: cookie
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 15:50:37 -07:00
Chidozie Ononiwu f11ccd8408
Bug fix/api view cache (#9158)
* Revert Icon Url Change

* Version Service Worker Cache
2024-10-14 12:57:30 -07:00
Wes Haggard 77ed11b63e
Handle empty/null alias in function (#9155) 2024-10-14 11:01:11 -07:00
Chidozie Ononiwu 27a2d5aa4c
Add redirect URL to login requests (#9141) 2024-10-14 10:46:37 -07:00
Weidong Xu 7e5d208a55
sample-automation, bug fix on wrong api version folder (#9151)
* raise error if automation cannot find tsp-location for typespec

* bug fix, picked example in wrong api-version folder
2024-10-14 14:23:03 +08:00
16234397 3db4a75329
Invalid use of @overload v2 (#9127)
* Version 2 Checker Duplicated

* Test file missed

* should have been commited before

* Async removed as requested

* final tidy

* Extra File Removed
2024-10-11 16:16:26 -07:00
Praven Kuttappan 68c10a44cb
Update JS parser verison (#9145)
* Update JS parser version
2024-10-11 18:31:03 -04:00
16234397 7c98f1b455
Do not hardcode boolean connection verify v2 (#9118)
* Version 2 Checker Duplicated

* Function Positiona lArguments Added

* positional arg check removed
2024-10-11 14:19:38 -07:00
Scott Beddall 6852ce709f
Parse CI Artifacts (#9102)
* Add CompatibleConvertFrom-Yaml to common Package-Helpers
* Add CI artifact parsing to Save-Package-Properties, now each individual packageinfo.json file contains the relevant ci artifact lines for the package. This short circuits needing to re-parse this information in common checks.
2024-10-11 13:12:45 -07:00
PyBlend 6c5d46658a
[Pylint] Check client methods have approved name prefix (#9081)
* add placeholders

* add new placeholder comments

* exploring AST unfinished - minor emergency had to leave

* identifying some mismatched functions

* refactor checker and tests

* fix error with non-builtins decorators

* fine tuning and testing required

* add pylint report

* add ranked listing of reports

* format report as table

* add new verbs

* update report

* update reportcounts.md

* fix formatting for reportcounts.md

* update reportcounts.md

* minimal tests added

* Final Refactor

* not running multiple times picking up on different function types

* add TODOs

* removed code not reached

* Checks at a class level

* Looking into different connection_verify assignments

* Placeholders added back

* Checker base done

* exclue private namespaces and classes

* update reports

* Checker, Tests, & Readme done

* add new prefixes

* update unit tests

* remove reports

* remove commented code

* add checker to README

* Tidy Up

* Revert "Merge branch 'working-main' into approved_prefix"

This reverts commit 6d262e3c5c, reversing
changes made to 65e431f621.

* remove duplicate tests

---------

Co-authored-by: Alirose Burrell <16234397@massey.ac.nz>
Co-authored-by: JessicaBell00 <110268278+JessicaBell00@users.noreply.github.com>
Co-authored-by: 16234397 <110712668+16234397@users.noreply.github.com>
2024-10-11 10:32:31 -07:00
Praven Kuttappan d99e90ceca
Hide the navigation nodes for unmodified nodes in diff (#9015) 2024-10-11 12:12:30 -04:00
Chidozie Ononiwu 34d0ef64aa
Swagger APIView Bugfix (#9133) 2024-10-10 16:23:31 -07:00
JessicaBell00 88c86a668e
Pylint Exception logging (#9077)
* add placeholders

* add new placeholder comments

* exploring AST unfinished - minor emergency had to leave

* identifying some mismatched functions

* refactor checker and tests

* fix error with non-builtins decorators

* fine tuning and testing required

* add pylint report

* add ranked listing of reports

* format report as table

* add new verbs

* update report

* update reportcounts.md

* fix formatting for reportcounts.md

* update reportcounts.md

* minimal tests added

* Base code and unit tests

More testing still to come

* Refactored class to be more specific

Also added more test cases

* Added to README

Also added one test and link for python implementation

* Update README / fix merging

* Final Refactor

* Fixed false positives

Edits to fix false positives from testing against SDKs. Added more unit tests

* not running multiple times picking up on different function types

* add TODOs

* removed code not reached

* Checks at a class level

* Looking into different connection_verify assignments

* Placeholders added back

* Checker base done

* exclue private namespaces and classes

* update reports

* Checker, Tests, & Readme done

* Update pylint_guidelines_checker.py

Fix another false positive from the SDKs

* Fix another false positive

Added corresponding test

* Check either sides of indices

Fixed another false positive

* add new prefixes

* update unit tests

* remove reports

* remove commented code

* add checker to README

* Tidy Up

* Add TODO comment re other cases to investigate

* Revert "Merge branch 'working-main' into exception-logging"

This reverts commit e2dcbb9095, reversing
changes made to 7e7256b13d.

* Make checker more explicit

Switch "." and "name" to ".__name__"

---------

Co-authored-by: Joshua Bishop <13187637+MJoshuaB@users.noreply.github.com>
Co-authored-by: Alirose Burrell <16234397@massey.ac.nz>
Co-authored-by: 16234397 <110712668+16234397@users.noreply.github.com>
2024-10-10 13:57:16 -07:00
dependabot[bot] 4807474abb
Bump System.Text.Json (#9121)
Bumps the nuget group with 1 update in the /src/dotnet/APIView/APIView directory: [System.Text.Json](https://github.com/dotnet/runtime).


Updates `System.Text.Json` from 8.0.4 to 8.0.5
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)
2024-10-10 16:28:57 -04:00