Skip to content

Dev->Prod v 2.1 #397

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

Merged
merged 72 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
2f500fd
build(deps): bump word-wrap from 1.2.3 to 1.2.4 in /client
dependabot[bot] Jul 19, 2023
726b77f
login/register through third party oauth
raheeliftikhar5 Sep 21, 2023
e8ca478
feat: fix multiple oauth buttons spacing
raheeliftikhar5 Sep 21, 2023
7a69d65
fix: fixed profile dropdown warnning
raheeliftikhar5 Sep 22, 2023
4de487c
feat: added env variable for custom welcome message on org auth page
raheeliftikhar5 Sep 22, 2023
8b01d78
feat: oauth flow updates for third party login options
raheeliftikhar5 Sep 27, 2023
d8bb618
Merge pull request #391 from lowcoder-org/main
FalkWolsky Sep 28, 2023
843a327
build(deps-dev): bump @types/react-resizable in /client
dependabot[bot] Oct 1, 2023
451cb73
feat: show custom message if set
raheeliftikhar5 Oct 2, 2023
8e14e7b
Merge branch 'dev' into oauth-fe
FalkWolsky Oct 6, 2023
1aa9f11
agora integration initial setaup
freddysundowner Oct 7, 2023
cf0fac6
Small fixes to make it running locally
Oct 7, 2023
e799728
build(deps): bump postcss from 8.4.24 to 8.4.31 in /client
dependabot[bot] Oct 7, 2023
6ca3d4d
v
freddysundowner Oct 9, 2023
82c198b
Merge branch 'agora-integrationn' of https://github.com/lowcoder-org/…
freddysundowner Oct 9, 2023
5017338
renaming refactoring of the components
freddysundowner Oct 9, 2023
213381c
Merge pull request #389 from raheeliftikhar5/oauth-fe
FalkWolsky Oct 9, 2023
d1050eb
more meeting components name refactoring fixes
freddysundowner Oct 9, 2023
f7f37fc
Merge branch 'main' into dev
FalkWolsky Oct 10, 2023
db0753f
initial-participants listview with videos
freddysundowner Oct 10, 2023
26a980a
implemented user leaving the call and removing the user from the list…
freddysundowner Oct 12, 2023
36de39c
added sharing of screen
freddysundowner Oct 12, 2023
834c825
refactored control buttons
freddysundowner Oct 12, 2023
5472d95
fixed button data fields
freddysundowner Oct 13, 2023
b808ac9
added styling of the video component
freddysundowner Oct 13, 2023
e62d64c
added meeting name to the meeting controller data field
freddysundowner Oct 13, 2023
34a001e
fixed video component styling
freddysundowner Oct 13, 2023
c78a54c
added video stream controller events
freddysundowner Oct 14, 2023
17d0d43
Fix 2 bugs
aq-ikhwa-tech Oct 14, 2023
a5270c4
Merge branch 'dev' into fix-for-email-sign-up-env-var-not-applicable
aq-ikhwa-tech Oct 14, 2023
84c9749
fixed styling for VideoStream Component
Oct 15, 2023
c278c6d
finished audio/mute event on video stream component
freddysundowner Oct 16, 2023
a02fd07
Merge branch 'agora-integrationn' of https://github.com/lowcoder-org/…
freddysundowner Oct 16, 2023
d131b71
Feat: video toggle event
freddysundowner Oct 16, 2023
2dd01e5
Feat: video click event
freddysundowner Oct 16, 2023
03b21f0
refactored/cleaned the code
freddysundowner Oct 17, 2023
6964628
new: add keycloak authentication
ludomikula Oct 17, 2023
8f85d57
fix: fix github refresh token link
ludomikula Oct 18, 2023
7420095
Fix: audio echo on the local user
freddysundowner Oct 18, 2023
bcde50c
fix: update syntax for spring security 6
ludomikula Oct 18, 2023
8a4c0f6
Merge pull request #411 from lowcoder-org/keycloak_auth
FalkWolsky Oct 18, 2023
447dd8e
Merge branch 'dev' into agora-integrationn
FalkWolsky Oct 18, 2023
8a8ee3f
Merge pull request #413 from lowcoder-org/agora-integrationn
FalkWolsky Oct 18, 2023
8c40725
Fix to allow first user(admin) to sign up
aq-ikhwa-tech Oct 18, 2023
bc84015
Merge branch 'dev' into fix-for-email-sign-up-env-var-not-applicable
aq-ikhwa-tech Oct 18, 2023
7437e9d
build(deps): bump @babel/traverse in /server/node-service
dependabot[bot] Oct 19, 2023
4cf05b0
build(deps): bump @babel/traverse from 7.21.5 to 7.23.2 in /client
dependabot[bot] Oct 19, 2023
ad20fbc
adding broadcast using agora rtm
freddysundowner Oct 20, 2023
ebc4bc4
fix: display of json data sent by agora rtm
freddysundowner Oct 20, 2023
47fb124
fix: agora-rtm-sdk installation error
freddysundowner Oct 20, 2023
d459a73
fix: agora rtm install error
freddysundowner Oct 20, 2023
4ead97c
Merge branch 'dev' into agora-integrationn
FalkWolsky Oct 20, 2023
accb05c
Merge pull request #419 from lowcoder-org/main
FalkWolsky Oct 20, 2023
bcc1a3e
Merge branch 'dev' into agora-integrationn
FalkWolsky Oct 20, 2023
852d8ab
Merge pull request #418 from lowcoder-org/agora-integrationn
FalkWolsky Oct 20, 2023
75f41f0
Merge branch 'dev' into fix-for-email-sign-up-env-var-not-applicable
FalkWolsky Oct 20, 2023
93a0023
Merge pull request #401 from lowcoder-org/fix-for-email-sign-up-env-v…
FalkWolsky Oct 20, 2023
b96b468
Merge branch 'dev' into dependabot/npm_and_yarn/client/word-wrap-1.2.4
FalkWolsky Oct 20, 2023
2242865
Adding eCharts Wordcloud Support
Oct 20, 2023
4f5f228
Merge pull request #297 from lowcoder-org/dependabot/npm_and_yarn/cli…
FalkWolsky Oct 20, 2023
c016c9e
Merge branch 'dev' into dependabot/npm_and_yarn/client/babel/traverse…
FalkWolsky Oct 20, 2023
7a7f854
Merge pull request #415 from lowcoder-org/dependabot/npm_and_yarn/cli…
FalkWolsky Oct 20, 2023
93e0051
Merge branch 'dev' into echarts-wordcloud
FalkWolsky Oct 20, 2023
d2bf3f7
Adding eCharts Wordcloud and Mermaid
Oct 20, 2023
358f1ab
Merge pull request #420 from lowcoder-org/echarts-wordcloud
FalkWolsky Oct 20, 2023
dbdb301
Merge branch 'dev' into dependabot/npm_and_yarn/server/node-service/b…
FalkWolsky Oct 20, 2023
a24df4d
Merge pull request #414 from lowcoder-org/dependabot/npm_and_yarn/ser…
FalkWolsky Oct 20, 2023
917d176
Merge branch 'dev' into dependabot/npm_and_yarn/client/postcss-8.4.31
FalkWolsky Oct 20, 2023
4e46fa7
Merge pull request #394 from lowcoder-org/dependabot/npm_and_yarn/cli…
FalkWolsky Oct 20, 2023
5e0b558
Adapting Version Display
Oct 20, 2023
3b2607c
Merge branch 'dev' into dependabot/npm_and_yarn/client/dev/types/reac…
FalkWolsky Oct 20, 2023
a07a418
Merge pull request #392 from lowcoder-org/dependabot/npm_and_yarn/cli…
FalkWolsky Oct 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion client/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.8
2.1.0
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@types/qrcode.react": "^1.0.2",
"@types/react-grid-layout": "^1.3.0",
"@types/react-helmet": "^6.1.5",
"@types/react-resizable": "^1.7.4",
"@types/react-resizable": "^3.0.5",
"@types/react-router-dom": "^5.3.2",
"@types/shelljs": "^0.8.11",
"@types/styled-components": "^5.1.19",
Expand Down
1 change: 1 addition & 0 deletions client/packages/lowcoder-cli/client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ declare var LOWCODER_NODE_SERVICE_URL: string;
declare var LOWCODER_SHOW_BRAND: string;
declare var LOWCODER_CUSTOM_LOGO: string;
declare var LOWCODER_CUSTOM_LOGO_SQUARE: string;
declare var LOWCODER_CUSTOM_AUTH_WELCOME_TEXT: string;
declare var REACT_APP_ENV: string;
declare var REACT_APP_BUILD_ID: string;
declare var REACT_APP_LOG_LEVEL: string;
Expand Down
18 changes: 18 additions & 0 deletions client/packages/lowcoder-comps/icons/mermaidchart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 13 additions & 4 deletions client/packages/lowcoder-comps/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lowcoder-comps",
"version": "0.0.13",
"version": "0.0.15",
"type": "module",
"license": "MIT",
"dependencies": {
Expand All @@ -15,6 +15,7 @@
"@types/react-dom": "17",
"big.js": "^6.2.1",
"echarts-extension-gmap": "^1.6.0",
"echarts-wordcloud": "^2.1.0",
"lowcoder-cli": "workspace:^",
"lowcoder-sdk": "workspace:^",
"mermaid": "^10.2.4",
Expand All @@ -29,16 +30,16 @@
"name": "Chart",
"icon": "./icons/icon-chart.svg",
"layoutInfo": {
"w": 11,
"h": 35
"w": 15,
"h": 40
}
},
"imageEditor": {
"name": "Image Editor",
"icon": "./icons/icon-chart.svg",
"layoutInfo": {
"w": 15,
"h": 60
"h": 40
}
},
"calendar": {
Expand All @@ -48,6 +49,14 @@
"w": 15,
"h": 60
}
},
"mermaid": {
"name": "Mermaid",
"icon": "./icons/mermaidchart.svg",
"layoutInfo": {
"w": 15,
"h": 40
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as echarts from "echarts";
import "echarts-wordcloud";
import { EChartsReactProps, EChartsInstance, EChartsOptionWithMap } from "./types";
import EChartsReactCore from "./core";

Expand Down
2 changes: 2 additions & 0 deletions client/packages/lowcoder-comps/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { ChartCompWithDefault } from "./comps/chartComp/chartComp";
import { ImageEditorComp } from "./comps/imageEditorComp/index";
import { CalendarComp } from "./comps/calendarComp/calendarComp";
import { MermaidComp } from "comps/mermaidComp";

export default {
chart: ChartCompWithDefault,
imageEditor: ImageEditorComp,
calendar: CalendarComp,
mermaid: MermaidComp,
};
18 changes: 18 additions & 0 deletions client/packages/lowcoder-design/src/icons/icon-mermaid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions client/packages/lowcoder-design/src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export { ReactComponent as AudioCompIcon } from "./icon-insert-audio.svg";
export { ReactComponent as VideoCompIcon } from "./icon-insert-video.svg";
export { ReactComponent as videoPlayTriangle } from "./icon-video-play-triangle.svg";
export { ReactComponent as DrawerCompIcon } from "./icon-drawer.svg";
export { ReactComponent as LeftMeetingIcon } from "./icon-left-comp-video.svg";
export { ReactComponent as PlusIcon } from "./icon-plus.svg";
export { ReactComponent as HomeIcon } from "./icon-application-home.svg";
export { ReactComponent as HomeModuleIcon } from "./icon-application-module.svg";
Expand Down Expand Up @@ -223,6 +224,7 @@ export { ReactComponent as GraphqlIcon } from "./icon-query-Graphql.svg";
export { ReactComponent as SnowflakeIcon } from "./icon-query-snowflake.svg";
export { ReactComponent as MariaDBIcon } from "./icon-query-MariaDB.svg";
export { ReactComponent as imageEditorIcon } from "./icon-insert-imageEditor.svg";
export { ReactComponent as MermaidIcon } from "./icon-mermaid.svg";
export { ReactComponent as HomeSettingsIcon } from "./icon-home-settings.svg";
export { ReactComponent as HomeSettingsActiveIcon } from "./icon-home-settings-active.svg";
export { ReactComponent as HelpGithubIcon } from "./icon-help-github.svg";
Expand All @@ -236,6 +238,7 @@ export { ReactComponent as LeftContainer } from "./icon-left-comp-container.svg"
export { ReactComponent as LeftDate } from "./icon-left-comp-date.svg";
export { ReactComponent as LeftDivider } from "./icon-left-comp-divider.svg";
export { ReactComponent as LeftDrawer } from "./icon-left-comp-drawer.svg";
export { ReactComponent as LeftMeeting } from "./icon-left-comp-video.svg";
export { ReactComponent as LeftFile } from "./icon-left-comp-file.svg";
export { ReactComponent as LeftFileViewer } from "./icon-left-comp-fileViewer.svg";
export { ReactComponent as LeftForm } from "./icon-left-comp-form.svg";
Expand Down
4 changes: 4 additions & 0 deletions client/packages/lowcoder-dev-utils/buildVars.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ export const buildVars = [
name: "LOWCODER_NODE_SERVICE_URL",
defaultValue: "",
},
{
name: "LOWCODER_CUSTOM_AUTH_WELCOME_TEXT",
defaultValue: "",
},
{
name: "REACT_APP_ENV",
defaultValue: "production",
Expand Down
99 changes: 99 additions & 0 deletions client/packages/lowcoder/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
version: '3'

services:
mysql:
image: mysql:8.0.22
command: --default-authentication-plugin=mysql_native_password
volumes:
- mysqlvol:/var/lib/mysql
- ./backup:/var/backup
environment:
MYSQL_ROOT_PASSWORD: defaultpassword
ports:
- "3306:3306"

redis:
image: redis
volumes:
- redisvol:/data

taxi-rider-api:
image: ridyio/ridy-rider-api
restart: always
depends_on:
- "mysql"
- "redis"
- "taxi-admin-api"
volumes:
- ./img:/app/uploads
- ./config-new:/app/config
environment:
- MYSQL_HOST=mysql
- GATEWAY_SERVER_URL=http://x.x.x.x:3333
- RIDER_SERVER_URL=http://x.x.x.x:4000
- ENCRYPTION_KEY=lPw3ethAy4WqnWa3b4TAbCUJr89RifEs
- REDIS_HOST=redis
ports:
- "4000:3000"

taxi-driver-api:
image: ridyio/ridy-driver-api
restart: always
depends_on:
- "mysql"
- "redis"
- "taxi-admin-api"
volumes:
- ./img:/app/uploads
- ./config-new:/app/config
environment:
- MYSQL_HOST=mysql
- GATEWAY_SERVER_URL=http://x.x.x.x:3333
- DRIVER_SERVER_URL=http://x.x.x.x:4002
- REDIS_HOST=redis
- ENCRYPTION_KEY=lPw3ethAy4WqnWa3b4TAbCUJr89RifEs
ports:
- "4002:3000"

taxi-admin-api:
image: ridyio/ridy-admin-api
restart: always
depends_on:
- "mysql"
- "redis"
links:
- mysql
volumes:
- ./img:/app/uploads
- ./config-new:/app/config
environment:
- MYSQL_HOST=mysql
- REDIS_HOST=redis
ports:
- "4001:3000"

taxi-admin-panel:
image: ridyio/ridy-admin-panel
restart: always
volumes:
- taxiassets:/usr/share/nginx/html/assets
ports:
- "4003:80"

payment-gateways:
image: ridyio/delivery-gateway-box
depends_on:
- "taxi-rider-api"
ports:
- "3333:3333"
environment:
- MYSQL_HOST=mysql
- TEST_MODE=true
- MYSQL_DB=ridy
- GATEWAY_SERVER_URL=http://x.x.x.x:3333
- ENCRYPTION_KEY=lPw3ethAy4WqnWa3b4TAbCUJr89RifEs

volumes:
redisvol:
mysqlvol:
taxiassets:
4 changes: 4 additions & 0 deletions client/packages/lowcoder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
"@types/react-signature-canvas": "^1.0.2",
"@types/react-test-renderer": "^18.0.0",
"@types/react-virtualized": "^9.21.21",
"agora-access-token": "^2.0.4",
"agora-rtc-sdk-ng": "^4.19.0",
"agora-rtm-sdk": "^1.5.1",
"ali-oss": "^6.17.1",
"antd": "5.7.2",
"antd-img-crop": "^4.12.2",
Expand All @@ -46,6 +49,7 @@
"copy-to-clipboard": "^3.3.3",
"core-js": "^3.25.2",
"echarts": "^5.4.2",
"echarts-wordcloud": "^2.1.0",
"eslint4b-prebuilt-2": "^7.32.0",
"file-saver": "^2.0.5",
"github-markdown-css": "^5.1.0",
Expand Down
10 changes: 7 additions & 3 deletions client/packages/lowcoder/src/api/configApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ export interface ConfigResponse extends ApiResponse {
}

class ConfigApi extends Api {
static configURL = "/v1/configs";
static configURL = "/configs";

static fetchConfig(): AxiosPromise<ConfigResponse> {
return Api.get(ConfigApi.configURL);
static fetchConfig(orgId?: string): AxiosPromise<ConfigResponse> {
let authConfigURL = ConfigApi.configURL;
if(orgId?.length) {
authConfigURL += `?orgId?=${orgId}`;
}
return Api.get(authConfigURL);
}
}

Expand Down
3 changes: 2 additions & 1 deletion client/packages/lowcoder/src/api/inviteApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ export type InviteInfo = {
inviteCode: string;
createUserName: string;
invitedOrganizationName: string;
invitedOrganizationId: string;
};

class InviteApi extends Api {
static getInviteURL = "/v1/invitation";
static getInviteURL = "/invitation";
static acceptInviteURL = (invitationId: string) => `/v1/invitation/${invitationId}/invite`;

// generate invitation
Expand Down
5 changes: 3 additions & 2 deletions client/packages/lowcoder/src/api/userApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export interface CommonLoginParam {
invitationId?: string;
authId?: string;
source?: string;
orgId?: string;
}

export interface CommonBindParam {
Expand All @@ -17,8 +18,8 @@ export interface CommonBindParam {
source?: string;
}

interface ThirdPartyAuthRequest {
state: string;
export interface ThirdPartyAuthRequest {
state?: string;
code: string;
redirectUrl: string;
}
Expand Down
1 change: 1 addition & 0 deletions client/packages/lowcoder/src/app-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ declare var LOWCODER_NODE_SERVICE_URL: string;
declare var LOWCODER_SHOW_BRAND: string;
declare var LOWCODER_CUSTOM_LOGO: string;
declare var LOWCODER_CUSTOM_LOGO_SQUARE: string;
declare var LOWCODER_CUSTOM_AUTH_WELCOME_TEXT: string;
declare var REACT_APP_ENV: string;
declare var REACT_APP_BUILD_ID: string;
declare var REACT_APP_LOG_LEVEL: string;
Expand Down
Loading