Skip to content
Open

Main #26

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
13943f4
Toggle input in c++/winrt! (#6303)
Sep 20, 2021
61677f2
Merge Jonwis' object model conversion into UWP (#6322)
Sep 21, 2021
e11d7a7
[Designer] Make everything accessible at high zoom levels (#6320)
paulcam206 Sep 22, 2021
2522400
Per triage, Xamarin is deprecated, so no need to hold on to this old …
paulcam206 Sep 22, 2021
1479772
[Shared] Add `password` `Input.Text` support (#6377)
paulcam206 Sep 23, 2021
19605af
[iOS] removed custom background color to return to system default (#6…
jwoo-msft Sep 26, 2021
36b2f6b
[iOS] Updated Radio Buttons / Check Boxes Contrast Ratio (#6372)
jwoo-msft Sep 26, 2021
ee724eb
Set wrapping to true for accessibility fix (#6324)
almedina-ms Sep 27, 2021
bf65cdd
Fix link traversal (#6317)
almedina-ms Sep 27, 2021
0039351
[iOS] Updated vertical content alignment, height and toggle Visibilit…
jwoo-msft Sep 28, 2021
da72d70
Add implementation and tests (#6406)
almedina-ms Sep 28, 2021
56b7377
[UWP] Fix risky cast in `GenerateElementProjection()` (#6412)
paulcam206 Sep 28, 2021
b09a24b
Fix style behaviour (#6419)
almedina-ms Sep 28, 2021
4990d9b
[JS] Add Password support to Input.Text (#6407)
almedina-ms Sep 28, 2021
c0c2746
[iOS] Password Masking (#6411)
jwoo-msft Sep 28, 2021
20de5f3
[iOS] Table Horizontal Alignment Update (#6401)
jwoo-msft Sep 28, 2021
72a8ae8
[iOS/Android/UWP/Shared] Fix handling of orphaned table child element…
paulcam206 Sep 29, 2021
71ac37e
Enabling blank issues for internal team use (#6445)
Sep 29, 2021
5bd45c8
[UWP] Remove button swapping behavior for overflowed show cards (#6444)
Sep 30, 2021
5376504
Update custom.props for release (#6395)
Sep 30, 2021
e3d82a0
[shared] table update (#6446)
jwoo-msft Sep 30, 2021
f0a1027
[Designer] Fix the card structure order problem (#6457)
licanhua Oct 1, 2021
e2ec0d4
[.NET] Update to .NET 5 (#6466)
paulcam206 Oct 1, 2021
0ef8b6c
[JS] Allow adaptivecards-react to be used by react typescript project…
licanhua Oct 1, 2021
ffbf44d
Added a property "AdditionalData" to ACRActionDelegate and sent true …
shabripabba Oct 1, 2021
99373b6
[iOS] Updated RichTextBlock wrap behavior (#6399)
jwoo-msft Oct 1, 2021
495987d
var to let (#6465)
licanhua Oct 1, 2021
0e810eb
[Designer] Emit action data in alert message (#6456)
paulcam206 Oct 1, 2021
1207bf1
[Samples] Add and update samples for tooltip feature (#6453)
Oct 1, 2021
3da6c76
Update uwp-ci.yml to limit test search scope
paulcam206 Oct 1, 2021
83e3e91
Update PerfApp certificate (#6470)
almedina-ms Oct 2, 2021
6a195d0
Update TestApp certificate (#6472)
almedina-ms Oct 2, 2021
fa458f5
[iOS] Implemented tooltip (#6409)
jwoo-msft Oct 2, 2021
a9b3d99
[Schema] Add password masking to the 1.5 schema (#6376)
paulcam206 Oct 2, 2021
4bd605c
[JS] Remove Action overflow button swapping (#6469)
paulcam206 Oct 2, 2021
11b0109
[iOS] Pod file and symbolic links update (#6473)
jwoo-msft Oct 4, 2021
96ebc33
[JS] Update nodejs dependencies ahead of schema 1.5 release (#6476)
paulcam206 Oct 4, 2021
36eb7f9
[Schema] Add `mode` property to `Action`s (#6474)
paulcam206 Oct 4, 2021
f2f18cf
[Samples] More tooltip updates for samples (#6499)
Oct 6, 2021
5c5b2dc
Add card level rtl property sample (#6507)
Oct 6, 2021
6a98d14
[Sample] Added Input.ChoiceSet.FitleredStyle.TestCard (#6512)
jwoo-msft Oct 6, 2021
bb14fe7
Update supported version for teams and appropriate warning message (#…
JeanRoca Oct 7, 2021
8271e9d
map title to value for input (#6526)
licanhua Oct 7, 2021
4cad146
[Samples] Update IsEnabled samples (#6522)
Oct 7, 2021
ba83ab1
[Samples] Update action overflow samples (#6521)
Oct 7, 2021
a45701c
[Samples] Update Input.Text.Style sample to include password style (#…
Oct 7, 2021
c74f588
[JS] Audit for vulnerabilities and remove beta tag from the versions …
licanhua Oct 8, 2021
cf1e0a8
JS Fixed Input Validation Issue on Empty Or Placeholder value (#6524)
jwoo-msft Oct 8, 2021
93d2803
[Sample] Add sample for Multiline Input.Text with Password style (#6527)
almedina-ms Oct 8, 2021
7ea77e7
[Android] Fix behaviour for Filtered ChoiceSet (#6525)
almedina-ms Oct 8, 2021
02e515e
[UWP] Input.Text password style support (#6479)
Oct 8, 2021
c8cbb29
[.Net] Fixed #6153 (#6197)
jwoo-msft Oct 8, 2021
883f9bb
[Samples] remove duplicate sample (#6552)
Oct 8, 2021
5b8f183
[iOS] Updated Podspec file as bitcode is not enabled for fluentUI pod…
jwoo-msft Oct 8, 2021
8cfd8c1
[iOS] 1.5 Podspec update (#6560)
jwoo-msft Oct 8, 2021
fa0843c
1.5 website schema explorer updates (#6550)
rahulamlekar Oct 8, 2021
27971e1
Changed pod to source form (#6582)
jwoo-msft Oct 12, 2021
4894381
[iOS] fixed empty filtered list issue (#6528)
jwoo-msft Oct 14, 2021
c553e77
Update blog (#6548)
JeanRoca Oct 14, 2021
49562a9
update website (#6595)
kat-y Oct 15, 2021
13fa2b2
[iOS] Cherry Picking to main from release 21.09 (#6597)
jwoo-msft Oct 15, 2021
88263df
monaco-editor has impact on loading umd modules, and should be the la…
licanhua Oct 18, 2021
b19a1bd
[JS] Add hostConfig to adaptivecards-react project (#6577)
licanhua Oct 19, 2021
d72f64a
Added placeholderColor support for ACRTextView and value submission b…
akaashdev Oct 19, 2021
07ffee4
Update FlightDetails Sample (#6615)
beervoley Oct 20, 2021
c62d893
[JS] Remove old visualizer code (#6606)
paulcam206 Oct 20, 2021
1678647
Host Config and CSS for Viva Connections (#6598)
SidGulatiMsft Oct 20, 2021
284951c
Fix blog release link (#6614)
JeanRoca Oct 20, 2021
ad4ca5c
bump up version to alpha.0 (#6583)
licanhua Oct 21, 2021
79f8007
[Designer] Add Berlin config (#6612)
licanhua Oct 21, 2021
45bd264
[JS] Make the default adaptivecards-react a simple wrapper for adapti…
licanhua Oct 22, 2021
072a8db
[JS] Remove aclint tool (#6625)
paulcam206 Oct 22, 2021
1320de3
[JS] remove adaptivecards-fabric (#6621)
licanhua Oct 22, 2021
13bd1c4
Add adaptivecards-react to release pipeline (#6564)
licanhua Oct 25, 2021
7bccd10
[JS] Move to npm ^8 and fix webpack config (#6639)
paulcam206 Oct 27, 2021
fcf1537
Add RTL Card Level support to UWP Renderer (#6661)
beervoley Oct 29, 2021
f823909
[JS] More reasonable HostConfig label defaults (#6662)
paulcam206 Oct 29, 2021
4af4976
stretch background to fill the berlin container and fix margin/paddin…
licanhua Nov 3, 2021
c49013f
[Docs] Update README files descriptions to signalize testing project …
almedina-ms Nov 4, 2021
7bab786
Add adaptivecards-react-testapp (#6603)
licanhua Nov 8, 2021
99dbba0
Update card size (#6696)
licanhua Nov 10, 2021
77f8a69
[UWP]: Update ObjectModelProjection.vcxproj to have control flow guar…
namar0x0309 Nov 12, 2021
554455b
Update AdaptiveCards package version for release (#6726)
almedina-ms Nov 13, 2021
65de1ad
Feature/carousel (#6724)
almedina-ms Nov 13, 2021
93695cf
Updating Bot Framework links (#6686)
rahulamlekar Nov 15, 2021
d0beb67
[JS] Update README.md for breaking changes (#6740)
paulcam206 Nov 15, 2021
19024da
Auto generate content for VNext Preview feature (#6695)
licanhua Nov 18, 2021
cfc865d
[Infrastructure][.NET] Update public key location for signing (#6589)…
almedina-ms Nov 19, 2021
f1b5339
restrain the min size for card design area (#6734)
licanhua Nov 19, 2021
ef3a272
Scenario cards + Website indentation fix (#6733)
JeanRoca Nov 19, 2021
0f8d286
[JS] Remove `role='menubar'` and `role='menuitem'` from `ActionCollec…
paulcam206 Nov 23, 2021
1fe7469
Source form distribution in cocoapods (#6795)
janusbal Dec 1, 2021
a5d337d
Removing deprecated .NET HTML renderer (#6800)
Dec 1, 2021
aed271d
[iOS] Added error messages in string for Unit Tests (#6793)
jwoo-msft Dec 3, 2021
5e71199
Update pipeline pool to minimum supported (#6801)
almedina-ms Dec 3, 2021
9ea15f7
Removing "Preview" from Viva Connections (#6791)
SidGulatiMsft Dec 6, 2021
de2242f
Deleting outdated VsCode extension (#6831)
Dec 8, 2021
7a46444
[JS] Modernize and automate code quality/formatting (#6815)
paulcam206 Dec 9, 2021
c05dca8
[JS] Fix #6810: onAnchorClicked() should pass the anchor element itse…
robin-liao Dec 9, 2021
727ae1c
[UWP]: Don't use AdaptiveImage to render BackgroundImage (#6838)
beervoley Dec 11, 2021
9e97494
Apply clang-format (#6799)
licanhua Dec 14, 2021
953d06e
[iOS] Unit Test Logging Update (#6844)
jwoo-msft Dec 14, 2021
b813d37
Added App extension to podspec (#6849)
jwoo-msft Dec 14, 2021
5fb8967
added heartbeat test ios build infrastructure (#6842)
jwoo-msft Dec 15, 2021
ded7350
[NodeJS] Fixes for UI tests to run (#6847)
almedina-ms Dec 15, 2021
130b1d6
moving resource bundle to core (#6853)
janusbal Jan 3, 2022
c2c751a
update test (#6864)
licanhua Jan 4, 2022
0e505ff
Rounding off to 2 decimals (#6863)
shabripabba Jan 4, 2022
d53a510
[ios] updated round off logic (#6866)
jwoo-msft Jan 6, 2022
790dc0d
clang-format files for iOS, shared and experimental (#6851)
licanhua Jan 6, 2022
494f5ca
update package-lock.json and use npm latest (#6869)
licanhua Jan 7, 2022
3e831e5
Remove pic2card source (#6790)
paulcam206 Jan 8, 2022
5b66a52
[Dev] Make nodejs pre-commit hook more resilient (#6836)
paulcam206 Jan 8, 2022
01527e6
[Typescript] enhance testing suite (#6865)
almedina-ms Jan 10, 2022
d32baa7
Added blog posts for oct and nov (#6873)
JeanRoca Jan 10, 2022
6280ed3
[ios] updated stack trace (#6877)
jwoo-msft Jan 11, 2022
f7dfed3
move swiper to peerdependency (#6870)
licanhua Jan 11, 2022
5f05d08
[iOS] Fixed Observer Issue (#6878)
jwoo-msft Jan 11, 2022
5f410a6
[JS] Create a JS pipeline (#6833)
licanhua Jan 13, 2022
beb7e3a
skip npx lint-staged on the hook (#6898)
licanhua Jan 22, 2022
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
  •  
  •  
  •  
30 changes: 30 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
# this file work is a derivative of .clang-format which follows
# https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md
#
Language: Cpp
BasedOnStyle: Microsoft
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AlignEscapedNewlines: DontAlign
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterCaseLabel: true
AfterUnion: true
AfterExternBlock: false
BreakConstructorInitializers: AfterColon
CompactNamespaces: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^"(stdafx.h|pch.h|precomp.h)"$'
Priority: -1
NamespaceIndentation: Inner
PenaltyExcessCharacter: 1
PointerAlignment: Left
SortIncludes: false
Standard: Cpp11
UseTab: Never
...
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
root = true

[**.{cpp,h,java,mm,cs,ts,js}]
[**.{cpp,h,java,mm,cs}]
indent_style = spaces
indent_size = 4
charset = utf-8
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
blank_issues_enabled: false
blank_issues_enabled: true
contact_links:
- name: Question
about: Please ask questions on GitHub Discussions
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
## files generated by popular Visual Studio add-ons.
.gitconfig

scripts/hooks/pre-commit

# User-specific files
*.suo
*.user
Expand Down Expand Up @@ -276,6 +278,8 @@ product.pbxproj
**/.DS_Store
.build/
xcuserdata/
Pods/
Podfile.lock

#Generated header from MIDL
**/UWP/Renderer/AdaptiveCards.Rendering.Uwp.h
Expand Down
2 changes: 1 addition & 1 deletion .pipelines/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ trigger:

pool:
name: Azure Pipelines
vmImage: macOS-10.14
vmImage: macOS-latest

steps:
- task: Gradle@2
Expand Down
61 changes: 61 additions & 0 deletions .pipelines/clang-format-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: $(Year:yy).$(Month).$(DayOfMonth).$(rev:r)

pr:
branches:
include:
- main

pool:
vmImage: ubuntu-latest

steps:
- task: NodeTool@0
inputs:
versionSpec: '14.x'
displayName: 'Install Node.js'

- script: |
npm i -g npm@latest
displayName: 'npm i -g npm@latest'
workingDirectory: source/nodejs

- script: |
npm install
displayName: 'npm install'
workingDirectory: source/nodejs

- script: |
npm run verify --verbose
displayName: 'npm run verify --verbose'
workingDirectory: source/nodejs

- bash: |
echo "##[command]Three ways to fix the format problem"
echo '##[command]1. powershell -ExecutionPolicy Bypass scripts\FormatSource.ps1 -ModifiedOnly $False'
echo "##[command]2. or cd source\nodejs, then npm run format --verbse"
echo "##[command]3. or download format.patch from pippeline, then git apply format.patch"
displayName: 'How to fix the format problem'
condition: failed()

- script: |
npm run format --verbose
displayName: 'npm run format --verbose'
workingDirectory: source/nodejs
condition: failed()

- script: |
git diff > format.patch
displayName: 'create format.patch'
condition: failed()

- task: CopyFiles@2
inputs:
contents: 'format.patch'
targetFolder: $(Build.ArtifactStagingDirectory)
condition: failed()

- task: PublishBuildArtifacts@1
inputs:
pathToPublish: $(Build.ArtifactStagingDirectory)
artifactName: drop
condition: failed()
25 changes: 25 additions & 0 deletions .pipelines/ios-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Xcode
# Build, test, and archive an Xcode workspace on macOS.
# Add steps that install certificates, test, sign, and distribute an app, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/xcode

name: $(Year:yy).$(Month).$(DayOfMonth).$(rev:r)

pr:
branches:
include:
- main
- feature/*
- release/*

schedules:
- cron: "0 0 * * 6"
displayName: testing
branches:
include:
- main
pool:
vmImage: 'macos-latest'

steps:
- template: templates/ios-ci-template.yml
65 changes: 65 additions & 0 deletions .pipelines/ios-heartbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: $(Year:yy).$(Month).$(DayOfMonth).$(rev:r)

pr: none
trigger: none

schedules:
- cron: "1 7 1,15 * *"
displayName: Send Heartbeat
branches:
include:
- main
jobs:
- job: specLint
displayName: 'check podspec health'
pool:
vmImage: 'macos-latest'
steps:
- template: templates/ios-spec-lint-template.yml

- job: unitTest
displayName: 'check code health'
pool:
vmImage: 'macos-latest'
steps:
- template: templates/ios-ci-template.yml

- job: certificateCheck
displayName: 'check certificate health'
pool:
vmImage: 'macos-latest'
steps:
- template: templates/ios-install-cert-template.yml

- job:
pool:
vmImage: 'windows-latest'
displayName: 'collect result'
dependsOn:
- specLint
- unitTest
- certificateCheck
condition: always()
variables:
j1: $[dependencies.specLint.result]
j2: $[dependencies.unitTest.result]
j3: $[dependencies.certificateCheck.result]
steps:
- task: PkgESSendMail@10
inputs:
to: '[email protected]'
subject: 'iOS Release Pipeline Health Check'
bodyType: 'string'
body: |
<!DOCTYPE html>
<html>
<body>
<h2>iOS Release Pipeline Health Check Report</h2>
<ol>
<li>spec linting check has $(j1)</li>
<li>code health check has $(j2)</li>
<li>certificate check has $(j3)</li>
</ol>
</body>
</html>
isHtml: true
99 changes: 99 additions & 0 deletions .pipelines/js-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: $(date:yyMM).$(date:dd)$(rev:rrr)

pr:
branches:
include:
- main
paths:
include:
- source/nodejs

pool:
name: Azure Pipelines
vmImage: windows-2019
demands:
- npm

parameters:
- name: target_packages
displayName: "Which packages is going to be built."
type: object
default:
- adaptivecards
- adaptivecards-controls
- adaptivecards-designer
- adaptivecards-templating
- adaptivecards-react

- name: test_apps
displayName: "Which project is going to be consume the built npm packages."
type: object
default:
- adaptivecards-ui-testapp
- adaptivecards-react-testapp

- name: test_projects
displayName: "project in tests/."
type: object
default:
# - test-adaptive-card-schema # bug https://github.com/microsoft/AdaptiveCards/issues/6882
# - ui-tests # bug https://github.com/microsoft/AdaptiveCards/issues/6885
- unit-tests

steps:
- task: NodeTool@0
name: NodeTool1
displayName: Use Node 14.x
inputs:
versionSpec: 14.x

- bash: |
npm i -g npm@latest
npm ci
npx lerna bootstrap --ci
npx lerna run release
workingDirectory: source/nodejs
displayName: 'Bash - lerna bootstrap'

- bash: |
npx lerna run test
workingDirectory: source/nodejs
displayName: 'Run all tests'
condition: failed() # This is disabled because of issue 6874

- ${{ each target_package in parameters.target_packages }}:
- task: Npm@1
displayName: '[${{ target_package }}] npm pack'
inputs:
command: custom
customCommand: pack
workingDir: source/nodejs/${{ target_package }}

- task: CopyFiles@2
inputs:
sourceFolder: source/nodejs/${{ target_package }}
contents: '${{ target_package }}*.tgz'
targetFolder: ../
displayName: 'Copy tgz to ../'

- ${{ each test_project in parameters.test_projects }}:
- bash: |
npm i
npm run build-and-test
workingDirectory: source/nodejs/tests/${{ test_project }}
displayName: 'Build and run test in tests/[${{ test_project }}]'

- bash: |
git clean -dxf
npm i
workingDirectory: source/nodejs
displayName: 'clean and re-install the package'

- ${{ each test_app in parameters.test_apps }}:
- bash: |
npm i ../../../../*.tgz --force
cat package.json
npm i
npm run build
workingDirectory: source/nodejs/${{ test_app }}
displayName: 'Install the built package and build the [${{ test_app }}]'
2 changes: 2 additions & 0 deletions .pipelines/js-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ parameters:
- adaptivecards-controls
- adaptivecards-designer
- adaptivecards-templating
- adaptivecards-react

- name: dry_run
displayName: "Dry run without pushing to npmjs"
type: object
Expand Down
37 changes: 37 additions & 0 deletions .pipelines/templates/ios-build-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
parameters:
- name: 'sdk'
default: 'iphonesimulator'
type: string

- name: 'signingOption'
default: 'default'
type: string

- name: 'packageApp'
default: false
type: boolean

- name: 'configuration'
default: 'Debug'
type: string

steps:
- task: CocoaPods@0
displayName: 'Installing dependency via pod'
inputs:
workingDirectory: 'source/ios/AdaptiveCards'
forceRepoUpdate: false

- task: Xcode@5
displayName: 'Compiling...'
inputs:
actions: 'build'
xcWorkspacePath: 'source/ios/AdaptiveCards/AdaptiveCards.xcworkspace'
scheme: 'ADCIOSVisualizer'
xcodeVersion: '12'
packageApp: ${{ parameters.packageApp }}
signingOption: ${{ parameters.signingOption }}
sdk: ${{ parameters.sdk }}
configuration: ${{ parameters.configuration }}
destinationPlatformOption: 'iOS'
destinationSimulators: 'iPhone 12'
Loading