Skip to content
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

Release 1.5.10 #293

Merged
merged 158 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
3f853e5
remove required
skadefro Jan 28, 2024
0f59ca6
up
skadefro Feb 26, 2024
b76687d
fix "agent cleanup" logic. Cleanup settings
skadefro Feb 26, 2024
5807055
show invoke errors when process did not start
skadefro Feb 28, 2024
0a0b68c
work around to avoid double start message
skadefro Feb 28, 2024
627c9d6
fix double start message
skadefro Mar 1, 2024
62c1649
rewrite as ES module
skadefro Mar 9, 2024
3cd489b
filter packages based on runas
skadefro Mar 16, 2024
e2ed69a
move agent count check to "on start" in the driver
skadefro Mar 18, 2024
0f0d95e
bump
skadefro Mar 18, 2024
c25f1f0
allow admins access to formresources
skadefro Mar 19, 2024
95ef8fd
remove domain/mongodb from db config
skadefro Mar 26, 2024
4ec79e6
fix "cyclic dependency detected" error for createCollection
skadefro Mar 28, 2024
f380320
add verbose logging doing docker npm install
skadefro Mar 28, 2024
30ddc3e
up
skadefro Mar 29, 2024
61e1264
update nodeapi to allow collectionname for download file
skadefro Mar 30, 2024
7b5bbd6
allow downloading by filename
skadefro Mar 30, 2024
8f9fdda
fix download without collectionname
skadefro Mar 30, 2024
f68f81e
Preserve objectid on update / clear collectin cache on insert into new
skadefro Mar 31, 2024
646eb91
cleanup
skadefro Apr 1, 2024
f458f30
cleanup
skadefro Apr 1, 2024
9675e0c
add form data post function
skadefro Apr 1, 2024
17d609a
add experimental introspection support
skadefro Apr 1, 2024
61c13fa
remove obsolete version information
skadefro Apr 4, 2024
3eae845
stop creating obsolete roles doing startup
skadefro Apr 4, 2024
adb1008
add shutdown as custom command
skadefro Apr 4, 2024
8e97735
try to recover change streams on error
skadefro Apr 6, 2024
4a940e1
fix if statement
skadefro Apr 6, 2024
eab65da
fix saving updates inside textarea, add visual for all updates
skadefro Apr 10, 2024
cff1e6b
housekeeping_cleanup_openrpa_instances
skadefro Apr 10, 2024
ad2a104
turn down aggressive watch reconnect
skadefro Apr 12, 2024
2db96aa
prep for public source
skadefro Apr 12, 2024
b2da3d9
auto create dist on watch
skadefro Apr 26, 2024
58cadc2
Fix force_add_admins
skadefro Apr 26, 2024
c0d7ddb
bump
skadefro Apr 26, 2024
02a7664
stop mounting /etc/localtime and depend on TZ environment variable only
skadefro May 9, 2024
e4b6c7e
quick hack to disable PreAssertExchange
skadefro May 17, 2024
325db28
skip keeping users up to date, add history_obj_max_kb_size setting
skadefro May 17, 2024
f1f27b2
fix config updates back to default
skadefro May 18, 2024
180f68e
turn down logging by make TokenMessages debug not info
skadefro May 20, 2024
77716d3
move "Begin validating index" message
skadefro May 23, 2024
49af0f7
add replica setup
skadefro May 23, 2024
32158b0
avoid double configs on new setup
skadefro May 23, 2024
488b4a6
note for remove volumes
skadefro May 23, 2024
c121ecb
avoid double configs on new setup
skadefro May 23, 2024
ff1807a
better parse errors / fix size for files colllections
skadefro May 24, 2024
2583ae6
temp (?) add start housekeeping button on console page
skadefro May 24, 2024
8c057f6
up
skadefro May 24, 2024
3b0d9f0
Merge branch 'master' into 1.5.10
skadefro May 24, 2024
d36a2fa
add system.profile collection for admins for access to profiling
skadefro May 24, 2024
8f6ef16
move housekeeping to seperate class
skadefro May 27, 2024
db76441
rewrite caclulateSizeAndUsage to use cursor
skadefro May 27, 2024
686b2e5
move BuiltIn roles to housekeeping / cleanup index cache
skadefro May 27, 2024
3b5f3ae
raname DoHouseKeeping
skadefro May 27, 2024
c02212e
streamline tsconfig / update tests
skadefro May 28, 2024
602e0ec
harmonise use of "
skadefro May 29, 2024
32a6a74
update git for compression, use global watch
skadefro May 30, 2024
622220d
Filter system.profile from web interface and add to grafana
skadefro May 31, 2024
ecc0ed3
filter on .chunks not fs.chunks
skadefro May 31, 2024
42079bb
add max result size on queries
skadefro Jun 1, 2024
740fed0
check for 0 doing bulk insert in housekeeping
skadefro Jun 1, 2024
cdb63fb
Audit drop/create collection / re-add drop collection in ui
skadefro Jun 1, 2024
3d9e514
remove nodered prop
skadefro Jun 2, 2024
cdc9549
publish a few ee files
skadefro Jun 6, 2024
12bdbeb
part way push db snapshots
skadefro Jun 6, 2024
5de24a5
Hide image and plan form non docker agents
skadefro Jun 7, 2024
1a20f95
up
skadefro Jun 7, 2024
d144770
add enable analytics
skadefro Jun 7, 2024
a35094a
better buttons, make seperate snapshot function
skadefro Jun 9, 2024
b9ed3e1
up concurrency
skadefro Jun 9, 2024
fab9a80
optimize snapshot function
skadefro Jun 9, 2024
a27d885
restructure snapshot function
skadefro Jun 9, 2024
093147a
concat errors in insertorupdate many
skadefro Jun 10, 2024
5d78e9e
update for changes to cloud-git-mongodb
skadefro Jun 10, 2024
4c4e5cb
up
skadefro Jun 10, 2024
4f4eee3
add local login with guest when enabled
skadefro Jun 13, 2024
f84b1dd
add local login with guest when enabled, also in Auh
skadefro Jun 13, 2024
c36be03
force guest validated
skadefro Jun 13, 2024
2d59b16
fix menu for guest/users / add roles for guest
skadefro Jun 13, 2024
0c70b70
push one more test of git snapshots
skadefro Jun 14, 2024
95f16d1
fix perm on create repo and snapshot and restore snapshot
skadefro Jun 15, 2024
94642bf
Fix deleting fiiles with no metadata
skadefro Jun 15, 2024
cd56510
save where i got to, today. Broken with certain gridfs files
skadefro Jun 16, 2024
40da64f
bump version, for load testing
skadefro Jun 16, 2024
c8a018f
bump git
skadefro Jun 17, 2024
1e8830b
fix permissions for hd robots link
skadefro Jun 17, 2024
70afe9a
add snapshot suppoort for openrpa workflows/workitems and packages
skadefro Jun 20, 2024
f8681b9
fix well-known endpoint in openapi.json
skadefro Jun 20, 2024
d66d622
bump
skadefro Jun 20, 2024
46fe51e
ui updates regarding commits and branches
skadefro Jun 27, 2024
ccd8427
add snapshot custom commands
skadefro Jun 27, 2024
ccf0411
use distinct for repo list / add HEAD check in snapshot()
skadefro Jun 27, 2024
b7a98a3
quick hack to add blocking by CIDR blocks
skadefro Jun 27, 2024
97483bd
again
skadefro Jun 27, 2024
9b77972
lets remember to await the ipcheck
skadefro Jun 28, 2024
14ce864
fix update detection in snapshot() add uption to select git repositor…
skadefro Jul 2, 2024
d478703
update packages
skadefro Jul 2, 2024
9497796
add language translation / fix shwing gits on new package / add pws e…
skadefro Jul 2, 2024
d18309f
move dotenv
skadefro Jul 2, 2024
c2d059c
Add and enable git repository link
skadefro Jul 2, 2024
8c5d1c8
up
skadefro Jul 2, 2024
af1b146
tweak agents page to restart when needed
skadefro Jul 4, 2024
6dcee16
parse markdown files
skadefro Jul 5, 2024
47a8be7
fix guest / rewrite to use /ui for web interface
skadefro Jul 5, 2024
bc0ca3c
test
skadefro Jul 5, 2024
49c03b2
update ignores
skadefro Jul 6, 2024
e8899d9
move web interface to seperate repository
skadefro Jul 6, 2024
68c1750
less logging, push webupdate
skadefro Jul 6, 2024
1fda971
fix packages for build
skadefro Jul 6, 2024
bded9f2
up
skadefro Jul 7, 2024
5b93e84
improve drop collection for files collections
skadefro Jul 7, 2024
e2b7dac
add loginproviders to config
skadefro Jul 7, 2024
33c3977
add signout work around
skadefro Jul 7, 2024
d64445a
test setting failureFlash to false
skadefro Jul 10, 2024
0b64e46
update web / fix parsing no data grpc messages
skadefro Jul 15, 2024
3747973
rust hack, send ping right at connect
skadefro Jul 20, 2024
cfa9b57
bump to get latest fix out
skadefro Jul 20, 2024
13a281f
add enable_guest_file_upload option
skadefro Jul 23, 2024
b45c1b3
add traversejsondecode to send watch
skadefro Jul 23, 2024
7da78fa
fix distinctreply ?
skadefro Jul 25, 2024
82b1de4
add crude is file in use check in deleteone
skadefro Aug 10, 2024
6a732bd
allow deleting workitem files by sending filename only
skadefro Aug 11, 2024
650f965
fix
skadefro Aug 11, 2024
35240ad
allow pre-uploading files for push workitem
skadefro Aug 12, 2024
81d9297
fix getting version 0 using grpc
skadefro Aug 25, 2024
3369d02
bump version so I can push version fix
skadefro Aug 25, 2024
fbddd50
add workitemqueue rename check and better acl parsing
skadefro Aug 31, 2024
6df8da4
fix spelling
skadefro Aug 31, 2024
10b0afa
improve ensure customer name check
skadefro Sep 1, 2024
914b864
add fallback for Login
skadefro Nov 5, 2024
ad800ef
update images
skadefro Nov 12, 2024
ee6d89b
fix building for multiple architectures
skadefro Nov 17, 2024
3e0f73c
up
skadefro Nov 23, 2024
dfc2d18
Log info message on failed login
skadefro Dec 1, 2024
cac1f1c
limit openid response_types
skadefro Dec 5, 2024
3c345cb
Fix auth issue in swaggerui / update openapi with distinct and count
skadefro Dec 5, 2024
8cdd4d2
bump to 1.5.10.51
skadefro Dec 5, 2024
894ce15
remove unneeded checks
skadefro Dec 5, 2024
ab0dc1f
add CRUD interface for entities
skadefro Dec 5, 2024
4fc0af9
add oidc_max_roles
skadefro Dec 15, 2024
cc3c05a
clear cache before refreshing token
skadefro Dec 29, 2024
cd11fad
add local version of TokenUser and TokenUser
skadefro Dec 29, 2024
aa31ce9
add local version of GetUniqueIdentifier
skadefro Dec 29, 2024
4a69c83
make WellknownIdsArray and WellknownNamesArray, extend them and reuse…
skadefro Dec 29, 2024
47a3c3c
add defaults for license
skadefro Dec 29, 2024
3fe51f2
add EnsureUniqueRole and simplify EnsureRole arguments
skadefro Dec 29, 2024
7b8aa7f
update for simplifyes EnsureRole and ignore clients sending watchevent
skadefro Dec 29, 2024
0dace3d
update openflow-api to fix issue with assign adding nodered element o…
skadefro Dec 29, 2024
8bc6396
organize imports
skadefro Dec 29, 2024
bd9d889
ensure unit tests completes
skadefro Dec 29, 2024
682acad
fix issue when _id is missing from file
skadefro Dec 29, 2024
82b2c86
force reloading user on new token
skadefro Dec 29, 2024
a120a15
bump for unit and load testing
skadefro Dec 29, 2024
5c5bdfc
fix path's on watches from jsapi
skadefro Jan 2, 2025
2ccf4dd
remove redundant user check, add check for existing in InsertOne.
skadefro Jan 2, 2025
6fcda27
fix remote path, when attaching to process in kubernetes
skadefro Jan 2, 2025
d35a708
stop buiding arm for edge, add arm build for latest
skadefro Jan 2, 2025
36552f1
add first version of workspaces
skadefro Jan 2, 2025
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
4 changes: 2 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ temp
letsencrypt
.cache
.npmrc
.openflowapicache
.scannerwork
docker-package.json
.env
Expand All @@ -14,4 +13,5 @@ sonar-scanner.properties
sonar-project.properties
crash.log
.devcontainer.old
.clinic
.clinic
docker-compose.yml
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ temp
letsencrypt
.cache
.npmrc
.openflowapicache
.scannerwork
docker-package.json
.env
Expand All @@ -17,4 +16,8 @@ crash.log
package-lock.json
*.heapsnapshot
/proto
.clinic
.clinic
docker-compose.yml
.aider*
/public
/public2
6 changes: 3 additions & 3 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"require": "./register.js",
"reporter": "dot"
}
"$schema": "https://json.schemastore.org/mocharc.json",
"require": ["./register.js","tsx"]
}
12 changes: 4 additions & 8 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,20 @@
.vscode
.npmrc
.cache
.openflowapicache
src
config
docs
node_modules
logs
package-lock.json
tsconfig.json
OpenFlow
OpenFlowNodeRED
temp
letsencrypt
webpack.config.js
gulpfile.js
OpenFlow.code-workspace
CONTRIBUTING
Dockerfile
docker-compose.yml
docker-compose-toolbox.yml
docker-compose-traefik.yml
docker-compose-traefik-letsencrypt.yml
sonar-project.properties
.nyc_output
.scannerwor
Expand All @@ -36,4 +30,6 @@ register.js
docker-package.json
.dockerignore
*.heapsnapshot
.clinic
.clinic
/public
/public2
2 changes: 1 addition & 1 deletion .nyrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "@istanbuljs/nyc-config-typescript",
"include": [
"OpenFlow/src/**/*.ts"
"src/**/*.ts"
],
"exclude": [
"node_modules/"
Expand Down
13 changes: 7 additions & 6 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"args": [],
"cwd": "${workspaceRoot}",
"envFile": "${workspaceFolder}/config/.env",
"name": "OpenFlow",
"name": "Core",
"outFiles": [
"${workspaceRoot}/dist/**/*",
"**/node_modules/@openiap/**/*",
],
"outputCapture": "std",
"program": "${workspaceRoot}/OpenFlow/src/index.ts",
"program": "${workspaceRoot}/src/index.ts",
"request": "launch",
"preLaunchTask": "tsc: watch - OpenFlow/tsconfig.json",
"preLaunchTask": "tsc: watch - tsconfig.json",
"runtimeArgs": [
"--inspect"
],
Expand All @@ -22,7 +22,8 @@
"stopOnEntry": false,
"type": "node",
"env": {
"otel_log_level": "info"
"otel_log_level": "info",
"GIT_DEBUG": "1"
},
"resolveSourceMapLocations": [
"${workspaceFolder}/**",
Expand All @@ -34,11 +35,11 @@
"type": "node",
"request": "attach",
"name": "Attach to localhost",
"preLaunchTask": "tsc: watch - OpenFlow/tsconfig.json",
"preLaunchTask": "tsc: watch - tsconfig.json",
"address": "localhost",
"port": 5858,
"localRoot": "${workspaceFolder}/dist",
"remoteRoot": "/data"
"remoteRoot": "/app/dist"
}
]
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"options": [
"--proto_path=messages"
]
}
},
"compile-hero.disable-compile-files-on-did-save-code": true
}
74 changes: 0 additions & 74 deletions CODE_OF_CONDUCT.md

This file was deleted.

35 changes: 0 additions & 35 deletions CONTRIBUTING

This file was deleted.

43 changes: 22 additions & 21 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
FROM node:lts-alpine as builder
# --omit=optional
RUN npm install gulp typescript browserify tsify -g
# FROM node:lts-alpine
# FROM node:22.9.0-alpine3.20 AS base
# FROM node:lts-alpine3.16
FROM node:22.9-slim
# alpine
# RUN apk add --no-cache bash nano
# debian
RUN apt-get update && apt-get install -y nano git curl && rm -rf /var/lib/apt/lists/*

RUN mkdir /app
WORKDIR /app
COPY package*.json /app/
RUN npm install
COPY package.json /app/
# https://github.com/nodejs/docker-node/issues/1946#issuecomment-2459881919
# ENV NPM_VERSION=10.3.0
# RUN npm install -g npm@"${NPM_VERSION}" --omit=dev --production --no-audit --verbose --force

RUN npm install --omit=dev --production --no-audit --verbose --force
COPY . /app/
RUN gulp sass
RUN npm run build
COPY public /app/dist/public
COPY public.template /app/dist/public.template

RUN gulp
RUN tsc --build OpenFlow/tsconfig.json
WORKDIR /app/dist

FROM node:lts-alpine
ENV NODE_ENV=production
RUN apk add --no-cache bash nano
ENV HOME=.
EXPOSE 3000
EXPOSE 5858
WORKDIR /data
COPY --from=builder /app/package*.json .
COPY --from=builder /app/dist/ .
# RUN npm install --omit=dev
# RUN npm install mongodb
ENV HOME=.
RUN npm install --omit=dev --production

# ENTRYPOINT ["/usr/local/bin/node", "index.js"]
ENTRYPOINT ["/usr/local/bin/node", "--inspect=0.0.0.0:5858", "index.js"]

# docker buildx build --platform linux/amd64 -t openiap/openflow:edge . --push
# docker buildx build --platform linux/amd64 -t openiap/openflow:dev . --push
# docker buildx build --platform linux/amd64 -t openiap/openflow:dev . --push

# docker run -it --rm openiap/openflow:edge /bin/bash
5 changes: 0 additions & 5 deletions OpenFlow/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion OpenFlow/.npmignore

This file was deleted.

20 changes: 0 additions & 20 deletions OpenFlow/src/Auth.ts

This file was deleted.

Loading
Loading