Skip to content

Commit

Permalink
Merge pull request #1252 from qoretechnologies/develop
Browse files Browse the repository at this point in the history
v4.3.9
  • Loading branch information
Foxhoundn authored Feb 2, 2024
2 parents b1b8014 + 97dd64a commit 889ec35
Show file tree
Hide file tree
Showing 12 changed files with 141 additions and 52 deletions.
21 changes: 20 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,24 @@
"docwriter.progress.trackTypes": true,
"docwriter.hotkey.mac": "⌥ + .",
"peacock.remoteColor": "#0b2016",
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib",
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#184630",
"activityBar.background": "#184630",
"activityBar.foreground": "#e7e7e7",
"activityBar.inactiveForeground": "#e7e7e799",
"activityBarBadge.background": "#9259c6",
"activityBarBadge.foreground": "#e7e7e7",
"commandCenter.border": "#e7e7e799",
"sash.hoverBorder": "#184630",
"statusBar.background": "#0b2016",
"statusBar.foreground": "#e7e7e7",
"statusBarItem.hoverBackground": "#184630",
"statusBarItem.remoteBackground": "#0b2016",
"statusBarItem.remoteForeground": "#e7e7e7",
"titleBar.activeBackground": "#0b2016",
"titleBar.activeForeground": "#e7e7e7",
"titleBar.inactiveBackground": "#0b201699",
"titleBar.inactiveForeground": "#e7e7e799"
}
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## Version 4.3.9

- Fixed a bug where a config item with a data provider value that contained a { character could not be read properly
- Fixed a bug where git branches were not loaded properly in the Releases view beacuse of Microsoft API changes
- Changed the `Add Error` button to properly display `Add Method` in the Mapper Code methods manager
- Removed `Make Transition` option from FSMs context menu - please use the double click functionality to create transitions between states

## Version 4.3.6

- Qorus Developer Tools is now available on Open VSX extension market https://open-vsx.org/extension/qoretechnologies/qorus-vscode
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,17 @@

Qorus developer tools for the [Qorus Integration Engine](https://qoretechnologies.com/qorus_integration_engine/).
This extension makes it possible to easily create, deploy, and test Qorus interfaces directly from the Visual Studio Code editor.
It is a perfect tool for creating no-code solutions for the Qorus Integration Engine. The Qorus Developer Tools extension enables creating, editing, and extending reusable IT and AI building blocks for advanced automation challenges.
It is a perfect tool for creating no-code solutions for the Qorus Integration Engine. The Qorus Developer Tools extension enables
creating, editing, and extending reusable IT and AI building blocks for advanced automation challenges.

## Version 4.3.6
## Version 4.3.9

- Fixed a bug where a config item with a data provider value that contained a { character could not be read properly
- Fixed a bug where git branches were not loaded properly in the Releases view beacuse of Microsoft API changes
- Changed the `Add Error` button to properly display `Add Method` in the Mapper Code methods manager
- Removed `Make Transition` option from FSMs context menu - please use the double click functionality to create transitions between states

## Version 4.3.8

- Qorus Developer Tools is now available on Open VSX extension market https://open-vsx.org/extension/qoretechnologies/qorus-vscode

Expand Down
34 changes: 26 additions & 8 deletions frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "4.3.8",
"version": "4.3.9",
"private": false,
"dependencies": {
"@andrewhead/python-program-analysis": "^0.4.8",
Expand Down Expand Up @@ -128,21 +128,37 @@
"install-playwright": "npx playwright install --with-deps"
},
"eslintConfig": {
"extends": ["react-app", "react-app/jest"]
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [">0.2%", "not dead", "not op_mini all"],
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"roots": ["<rootDir>/__tests__"],
"collectCoverageFrom": ["src/**/*.{js,jsx,ts,tsx}", "!src/**/*.d.ts"],
"setupFiles": ["react-app-polyfill/jsdom"],
"setupFilesAfterEnv": ["<rootDir>/__tests__/setup.js"],
"roots": [
"<rootDir>/__tests__"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"setupFiles": [
"react-app-polyfill/jsdom"
],
"setupFilesAfterEnv": [
"<rootDir>/__tests__/setup.js"
],
"testMatch": [
"<rootDir>/__tests__/**/*.{spec,test}.{js,jsx,ts,tsx}",
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
Expand Down Expand Up @@ -187,7 +203,9 @@
"testTimeout": 60000
},
"babel": {
"presets": ["react-app"]
"presets": [
"react-app"
]
},
"devDependencies": {
"@storybook/addon-actions": "^7.0.0-beta.59",
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Field/connectors/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,13 @@ export const maybeBuildOptionProvider = (provider) => {
// Get everything between the < and >
//const factory = provider.substring(provider.indexOf('<') + 1, provider.indexOf('>'));
// Add / to the provider at the end if it doesn't already have it
const fixedProvider = provider.endsWith('/') ? provider : `${provider}/`;
const fixedProvider: string = provider.endsWith('/') ? provider : `${provider}/`;
// Get the factory name
const [factoryType]: string[] = fixedProvider.split('/');
// Get everything between the first / and { bracket
const factoryName = fixedProvider.substring(
fixedProvider.indexOf('/') + 1,
fixedProvider.lastIndexOf('{')
fixedProvider.indexOf('{')
);
// Get everything in the provider between first { and last }, which are the options
const options = fixedProvider.substring(
Expand Down
7 changes: 0 additions & 7 deletions frontend/src/containers/InterfaceCreator/fsm/state.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -686,13 +686,6 @@ const FSMState: React.FC<IFSMStateProps> = ({
{
title: t('Actions'),
},
{
item: 'Make transition',
onClick: () => {
onDblClick();
},
icon: 'LinkUnlink' as IReqoreIconName,
},
{
item: t('ManageTransitions'),
onClick: () => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/containers/InterfaceCreator/libraryView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const LibraryView: FunctionComponent<ILibraryView> = ({
tooltip={t('AddFunction')}
effect={PositiveColorEffect}
>
{t('AddError')}
{t('Add Method')}
</ReqoreMenuItem>
{functions.map((fun: { id: number; name?: string }, index: number) => (
<MethodSelector
Expand Down
43 changes: 33 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 28 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "qorus-vscode",
"displayName": "Qorus Developer Tools",
"description": "Qorus Integration Engine developer tools",
"version": "4.3.8",
"version": "4.3.9",
"publisher": "qoretechnologies",
"author": {
"name": "Qore Technologies",
Expand All @@ -11,7 +11,9 @@
"engines": {
"vscode": "^1.47.0"
},
"extensionDependencies": ["qoretechnologies.qore-vscode"],
"extensionDependencies": [
"qoretechnologies.qore-vscode"
],
"license": "SEE LICENSE IN LICENSE.txt",
"homepage": "https://github.com/qoretechnologies/qorus-vscode",
"repository": {
Expand All @@ -21,26 +23,43 @@
"bugs": {
"url": "https://github.com/qoretechnologies/qorus-vscode/issues"
},
"categories": ["Other", "Snippets"],
"categories": [
"Other",
"Snippets"
],
"icon": "images/QorusDeveloperTools_Medium.png",
"galleryBanner": {
"color": "#333333",
"theme": "dark"
},
"quokka": {
"babel": {
"presets": ["env"]
"presets": [
"env"
]
}
},
"keywords": ["qore", "qorus", "ide", "integration", "engine"],
"activationEvents": ["onStartupFinished"],
"keywords": [
"qore",
"qorus",
"ide",
"integration",
"engine"
],
"activationEvents": [
"onStartupFinished"
],
"main": "out/extension.js",
"contributes": {
"languages": [
{
"id": "qmapper",
"aliases": ["Qorus Mapper"],
"extensions": [".qmapper"],
"aliases": [
"Qorus Mapper"
],
"extensions": [
".qmapper"
],
"configuration": "./syntaxes/qmapper.configuration.json"
}
],
Expand Down Expand Up @@ -1655,6 +1674,7 @@
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.6.0",
"@types/fs-extra": "^9.0.13",
"@types/git": "^0.0.21",
"@types/glob": "^5.0.35",
"@types/mocha": "^2.2.43",
"@types/node": "^10.16.0",
Expand Down
4 changes: 2 additions & 2 deletions src/QorusRelease.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,10 @@ class QorusRelease {
}
}

getCommits(filters: any) {
async getCommits(filters: any) {
qorus_webview.postMessage({
action: 'release-return-commits',
commits: this.repository.commits(filters.hash, filters.branch, filters.tag),
commits: await this.repository.commits(filters.hash, filters.branch, filters.tag),
});
}

Expand Down
14 changes: 7 additions & 7 deletions src/QorusRepository.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export interface QorusRepositoryCurrentBranch {
name: string;
commit: string;
up_to_date: boolean;
name: string;
commit: string;
up_to_date: boolean;
}

export interface QorusRepository {
init(folder: string): Thenable<void>;
currentBranch(): QorusRepositoryCurrentBranch;
commits(hash_filter: string, branch_filter: string, tag_filter: string): string[];
changedFiles(commit: string, folder: string, source_dirs: string[]): Promise<string[]>;
init(folder: string): Thenable<void>;
currentBranch(): QorusRepositoryCurrentBranch;
commits(hash_filter: string, branch_filter: string, tag_filter: string): Promise<string[]>;
changedFiles(commit: string, folder: string, source_dirs: string[]): Promise<string[]>;
}
Loading

0 comments on commit 889ec35

Please sign in to comment.