This repository was archived by the owner on Dec 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 848
release: merge develop to master #957
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
b13eaf6
Fix ymax and rename Tensorflow nama everywhere (#763)
JacopoMangiavacchi 5574cd9
feat: Save partial project progress during project creation (#769)
wbreza 929c91d
feat: CNTK Export Provider (#771)
wbreza 1e0a460
Fix: Enables selection of azure region for custom vision export (#765)
wbreza d19a64e
refactor: Remove editor footer
tbarlow12 cc98d5f
Project service functions
tbarlow12 94df15d
Added tests for project service
tbarlow12 295dcad
Added confirm and strings for tag and rename operations
tbarlow12 2f6ff66
Split out project functions and asset functions into respective services
tbarlow12 0fa8dba
Editor Page and canvas upates
tbarlow12 f11edfa
Register mixins and run async loop
tbarlow12 57f430f
Saving assets in async foreach loop
tbarlow12 3322363
Delete tag working
tbarlow12 d08b90b
Rename tag function in editor page
tbarlow12 1eb23e0
Fix tag removal test for editor page
tbarlow12 48ac5db
Clean up and docs
tbarlow12 390ab50
Lint fixes
tbarlow12 f45cf24
Dummy commit to kick off build again
tbarlow12 466902f
fix: Refactored project tag/delete updates
wbreza d1cd728
test: Refactored editor page tests
wbreza 4d99c1c
test: Verify tag update/delete project actions
wbreza 54ecbe1
fix: Rename/delete tags throughout assets (#764)
tbarlow12 7774509
refactor: Remove editor footer (#774)
tbarlow12 276f284
doc: Add bug & feature templates (#780)
wbreza 6ff2657
Create CODE_OF_CONDUCT.md (#779)
wbreza 655d7b7
docs: updates to readme and changelog (#781)
pjlittle 4431557
feat: Active Learning Updates (#778)
wbreza ee6cc77
fix: Fix display of tag color picker (#782)
tbarlow12 bae8338
feat: Add CSV Exporter (#757)
JacopoMangiavacchi dba3130
fix: change method for alloc string to buffer (#777)
golee c38daca
fix: Updates export options for pascalVOC rename (#788)
wbreza 44f9e4b
fix: Updates backwards compat & fixes cntk export image bug (#789)
wbreza 6df00da
fix: Use image/jpeg as MIME type for canvas.toBlob (#844)
mloenow e4ee4cd
fix: remove duplicated border-radius CSS (#843)
GuilhermeHideki 60ebb41
Merge pull request #856 from microsoft/master
tbarlow12 add4680
fix: Resolve UnhandledPromiseRejection in test (#859)
tbarlow12 5e25dc5
feat: move asset preview to horizontal (#870)
elizabethhalper c0201ca
Revert "feat: move asset preview to horizontal (#870)" (#874)
tbarlow12 9d64f4a
fix: test asset distribution to include all tags on test/train split …
hermanho 15881b7
feat: move asset preview to horizontal (#876)
elizabethhalper a4f9f65
chore: pipeline for preview release (queue manually) (#879)
mydiemho 11c962b
feat: add preview of filepaths to project settings source and target …
luisamiranda 90577ca
Revert horizontal asset bar (#881)
wbreza 5447357
feat: add web server for login support
johnshew 51462af
chore: install dependabot (#872)
mydiemho ed2d28f
feat: Japanese language support (#922)
bart-jansen a19d2b7
Upgrade windows & mac agents per AzDO removing older support (#945)
mydiemho 0d5fdd0
feat: Traditional Chinese language support (#949)
aykhara 2b68e21
feat: Korean language support (#950)
aykhara 347f609
feat: Simplified Chinese language support (#948)
aykhara 94f0990
Merge branch 'develop'
mydiemho 9154f51
fix: tests failing on windows agent
mydiemho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| version: 1 | ||
|
|
||
| update_configs: | ||
| target_branch: "develop" | ||
|
|
||
| # Keep package.json (& lockfiles) up to date weekly | ||
| - package_manager: "javascript" | ||
| directory: "/" | ||
| update_schedule: "weekly" | ||
|
|
||
| default_labels: | ||
| - "dependencies" | ||
| - "dependabot" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops#job-templates-with-parameters | ||
| jobs: | ||
| - job: ${{ parameters.name }} | ||
| pool: ${{ parameters.pool }} | ||
| timeoutInMinutes: 15 # how long to run the job before automatically cancelling | ||
| steps: | ||
| - task: NodeTool@0 | ||
| displayName: 'Use Node 10.x' | ||
| inputs: | ||
| versionSpec: 10.x | ||
|
|
||
| - bash: | | ||
| set -ex | ||
|
|
||
| # clean install | ||
| npm ci | ||
| npm run release-ci | ||
|
|
||
| OS=${{ parameters.os }} | ||
| ARTIFACT_NAME=${{ parameters.artifact }} | ||
|
|
||
| mkdir -p ${OS} | ||
| cp releases/${ARTIFACT_NAME} ${OS}/ | ||
|
|
||
| displayName: Build | ||
|
|
||
| - publish: $(System.DefaultWorkingDirectory)/${{ parameters.os }} | ||
| artifact: ${{ parameters.os }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| parameters: | ||
| GitHubConnection: '' # defaults for any parameters that aren't specified | ||
| repositoryName: '' | ||
| releaseNotesSource: input | ||
| addChangeLog: false | ||
| isPreRelease: true | ||
| isDraft: true | ||
|
|
||
| jobs: | ||
| - job: Create_Github_Release | ||
| timeoutInMinutes: 30 # timeout on job if deploy is not completed in 30 minutes | ||
| pool: | ||
| vmImage: ubuntu-16.04 | ||
| steps: | ||
| - checkout: none # we already have the artifacts built, don't need the code | ||
|
|
||
| - download: current | ||
|
|
||
| - task: GitHubRelease@0 | ||
| displayName: 'GitHub release (create)' | ||
| inputs: | ||
| gitHubConnection: ${{ parameters.GitHubConnection }} | ||
| repositoryName: ${{ parameters.repositoryName }} | ||
| releaseNotesSource: ${{ parameters.releaseNotesSource }} | ||
| target: $(Build.SourceBranch) | ||
| assets: | | ||
| ../linux/* | ||
| ../windows/* | ||
| ../mac/* | ||
| addChangeLog: ${{ parameters.addChangeLog }} | ||
| isDraft: true # for testing, change to true when ready to merge | ||
| isPreRelease: ${{ parameters.isPrelease }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| trigger: none # manual queue only when we're ready to release | ||
| pr: none # disable CI build for PR | ||
|
|
||
| stages: | ||
| - stage: version_bump_commit | ||
| jobs: | ||
| - job: "version_bump" | ||
|
|
||
| variables: | ||
| - group: GitHub-Deploy-Creds | ||
|
|
||
| timeoutInMinutes: 30 # timeout on job if deploy is not completed in 30 minutes | ||
| cancelTimeoutInMinutes: 1 # time limit to wait for job to cancel | ||
|
|
||
| pool: | ||
| vmImage: macOS-10.15 # ssh key was generated on a Mac so using the same type of OS here | ||
|
|
||
| steps: | ||
| - task: NodeTool@0 | ||
| inputs: | ||
| versionSpec: 10.x | ||
| displayName: 'Install Node.js' | ||
|
|
||
| # Download secure file | ||
| # Download a secure file to the agent machine | ||
| - task: DownloadSecureFile@1 | ||
| # name: sshKey # The name with which to reference the secure file's path on the agent, like $(mySecureFile.secureFilePath) | ||
| inputs: | ||
| secureFile: vott_id_rsa | ||
|
|
||
| # Install an SSH key prior to a build or deployment | ||
| - task: InstallSSHKey@0 # https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/install-ssh-key?view=azure-devops | ||
| inputs: | ||
| knownHostsEntry: $(KNOWN_HOSTS_ENTRY) | ||
| sshPublicKey: $(SSH_PUBLIC_KEY) | ||
| #sshPassphrase: # Optional | ||
| sshKeySecureFile: vott_id_rsa | ||
| env: | ||
| KNOWN_HOSTS_ENTRY: $(KNOWN_HOSTS_ENTRY) | ||
| SSH_PUBLIC_KEY: $(SSH_PUBLIC_KEY) # map to the right format (camelCase) that Azure credentials understand | ||
|
|
||
| - task: Bash@3 | ||
| name: BumpNpmVersion | ||
| displayName: Bump NPM Prerelease Version | ||
| inputs: | ||
| targetType: filePath | ||
| filePath: ./scripts/version-bump-commit.sh | ||
| env: | ||
| SOURCE_BRANCH: $(Build.SourceBranch) | ||
|
|
||
| - stage: package_build | ||
| dependsOn: version_bump_commit | ||
| jobs: | ||
| - template: azure-pipelines/templates/build-artifact.yml | ||
| parameters: | ||
| name: Linux | ||
| pool: | ||
| vmImage: ubuntu-16.04 | ||
| os: linux | ||
| artifact: vott*.snap | ||
|
|
||
| - template: azure-pipelines/templates/build-artifact.yml | ||
| parameters: | ||
| name: Windows | ||
| pool: | ||
| vmImage: "windows-2019" | ||
| os: windows | ||
| artifact: vott*.exe | ||
|
|
||
| - template: azure-pipelines/templates/build-artifact.yml | ||
| parameters: | ||
| name: MacOS | ||
| pool: | ||
| vmImage: macOS-10.15 | ||
| os: mac | ||
| artifact: vott*.dmg | ||
|
|
||
| - stage: github_release | ||
| dependsOn: package_build | ||
| jobs: | ||
| - template: azure-pipelines/templates/create-github-release.yml | ||
| parameters: | ||
| GitHubConnection: 'GitHub connection' # defaults for any parameters that aren't specified | ||
| repositoryName: 'Microsoft/VoTT' | ||
| releaseNotesSource: input | ||
| addChangeLog: false | ||
| isPreRelease: true | ||
| isDraft: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| #!/bin/bash | ||
| set -euo pipefail | ||
|
|
||
| NPM_RELEASE_TYPE=${1-"prepatch --preid=preview"} | ||
|
|
||
| # Get full branch name excluding refs/head from the env var SOURCE_BRANCH | ||
| SOURCE_BRANCH_NAME=${SOURCE_BRANCH/refs\/heads\/} | ||
|
|
||
| # Configure git to commit as SLS Azure Functions Service Account | ||
| echo "Configuring git to use deploy key..." | ||
| git config --local user.email "[email protected]" | ||
| git config --local user.name "Vott" | ||
|
|
||
| echo "SOURCE_BRANCH: ${SOURCE_BRANCH_NAME}" | ||
| git pull origin ${SOURCE_BRANCH_NAME} | ||
| git checkout ${SOURCE_BRANCH_NAME} | ||
| echo "Checked out branch: ${SOURCE_BRANCH_NAME}" | ||
|
|
||
| NPM_VERSION=`npm version ${NPM_RELEASE_TYPE} -m "release: Update ${NPM_RELEASE_TYPE} version to %s ***NO_CI***"` | ||
| echo "Set NPM version to: ${NPM_VERSION}" | ||
|
|
||
| SHA=`git rev-parse HEAD` | ||
|
|
||
| export GIT_SSH_COMMAND="ssh -vvv -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" | ||
| git remote add authOrigin [email protected]:microsoft/VoTT.git | ||
| git push authOrigin ${SOURCE_BRANCH_NAME} --tags | ||
|
|
||
| echo "Pushed new tag: ${NPM_VERSION} @ SHA: ${SHA:0:8}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| APP_ID=xyz | ||
| APP_SECRET=asdf | ||
| COOKIE_SECRETS="[ { key: '12345678901234567890123456789012', iv: '123456789012' }, { key: 'abcdefghijklmnopqrstuvwxyzabcdef', iv: 'abcdefghijkl' }, ])" | ||
| ALLOW_HTTP=true | ||
| BASE_URL=http://localhost:3000/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| { | ||
| // Use IntelliSense to learn about possible attributes. | ||
| // Hover to view descriptions of existing attributes. | ||
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "type": "node", | ||
| "request": "launch", | ||
| "name": "Launch via NPM", | ||
| "runtimeExecutable": "npm", | ||
| "runtimeArgs": [ | ||
| "run-script", | ||
| "debug" | ||
| ], | ||
| "port": 9229 | ||
| }, | ||
| { | ||
| "type": "node", | ||
| "request": "launch", | ||
| "name": "Launch Program", | ||
| "program": "${workspaceFolder}/lib/app.js", //"${workspaceFolder}\\lib\\app.js", | ||
| "args": [ | ||
| "|", | ||
| "bunyan" | ||
| ], | ||
| "outFiles": [ | ||
| "${workspaceFolder}/**/*.js" | ||
| ], | ||
| "console": "internalConsole", | ||
| "outputCapture": "std", | ||
| } | ||
|
|
||
| ] | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| { | ||
| // See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
mydiemho marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| // for the documentation about the tasks.json format | ||
| "version": "2.0.0", | ||
| "tasks": [ | ||
| { | ||
| "type": "npm", | ||
| "script": "build", | ||
| "problemMatcher": [ | ||
| "$tsc" | ||
| ], | ||
| "group": "build" | ||
| }, | ||
| { | ||
| "type": "typescript", | ||
| "tsconfig": "tsconfig.json", | ||
| "option": "watch", | ||
| "problemMatcher": [ | ||
| "$tsc-watch" | ||
| ], | ||
| "group": "build" | ||
| } | ||
| ] | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.