Commit graph

242 commits

Author SHA1 Message Date
d4486664e0 web: Update to Javalin 6
All checks were successful
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline was successful
ci/woodpecker/push/oci-image-build/2 Pipeline was successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
ci/woodpecker/tag/java/1 Pipeline was successful
ci/woodpecker/tag/java/2 Pipeline was successful
ci/woodpecker/tag/java/3 Pipeline was successful
ci/woodpecker/tag/java/4 Pipeline was successful
ci/woodpecker/tag/nodejs Pipeline was successful
ci/woodpecker/tag/oci-image-build/1 Pipeline was successful
ci/woodpecker/tag/oci-image-build/2 Pipeline was successful
ci/woodpecker/tag/oci-image-build/3 Pipeline was successful
ci/woodpecker/tag/oci-image-build/4 Pipeline was successful
2024-02-15 22:59:26 +01:00
168a5d6c81 web: Remove old variable for the nodejs plugin
All checks were successful
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline was successful
ci/woodpecker/push/oci-image-build/2 Pipeline was successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
ci/woodpecker/tag/java/1 Pipeline was successful
ci/woodpecker/tag/java/2 Pipeline was successful
ci/woodpecker/tag/java/3 Pipeline was successful
ci/woodpecker/tag/java/4 Pipeline was successful
ci/woodpecker/tag/nodejs Pipeline was successful
ci/woodpecker/tag/oci-image-build/1 Pipeline was successful
ci/woodpecker/tag/oci-image-build/2 Pipeline was successful
ci/woodpecker/tag/oci-image-build/3 Pipeline was successful
ci/woodpecker/tag/oci-image-build/4 Pipeline was successful
2024-01-25 20:35:07 +01:00
b77836effb misc: Make all variables final 2024-01-25 20:32:30 +01:00
e58980cea3 misc: Make classes final 2024-01-25 19:04:04 +01:00
ca95bb45cb misc: Reformat and optimise imports 2024-01-25 18:58:31 +01:00
ab48afd5ed db: Introduce interface to enable testability 2024-01-25 18:56:51 +01:00
5c67a47806 misc: Update dependencies
All checks were successful
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline was successful
ci/woodpecker/push/oci-image-build/2 Pipeline was successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
2024-01-25 18:36:58 +01:00
4282c7208c ci: Update buildx image to 2.3.0
All checks were successful
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline was successful
ci/woodpecker/push/oci-image-build/2 Pipeline was successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
ci/woodpecker/tag/java/1 Pipeline was successful
ci/woodpecker/tag/java/2 Pipeline was successful
ci/woodpecker/tag/java/3 Pipeline was successful
ci/woodpecker/tag/java/4 Pipeline was successful
ci/woodpecker/tag/nodejs Pipeline was successful
ci/woodpecker/tag/oci-image-build/1 Pipeline was successful
ci/woodpecker/tag/oci-image-build/2 Pipeline was successful
ci/woodpecker/tag/oci-image-build/3 Pipeline was successful
ci/woodpecker/tag/oci-image-build/4 Pipeline was successful
2024-01-07 18:47:37 +01:00
b6e5aa6e23 bot: Set ignore on ChatGPTResponse de/serialisation of unknown fields
Some checks failed
ci/woodpecker/tag/java/1 Pipeline was successful
ci/woodpecker/tag/java/2 Pipeline was successful
ci/woodpecker/tag/java/3 Pipeline was successful
ci/woodpecker/tag/java/4 Pipeline was successful
ci/woodpecker/tag/nodejs Pipeline was successful
ci/woodpecker/tag/oci-image-build/1 Pipeline failed
ci/woodpecker/tag/oci-image-build/2 Pipeline failed
ci/woodpecker/tag/oci-image-build/3 Pipeline failed
ci/woodpecker/tag/oci-image-build/4 Pipeline failed
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline failed
ci/woodpecker/push/oci-image-build/2 Pipeline failed
ci/woodpecker/push/oci-image-build/3 Pipeline failed
ci/woodpecker/push/oci-image-build/4 Pipeline failed
OpenAI added a "logprobs" field that broke the deserialization. We now
just ignore all new fields to prevent the bot from breaking in the near
future just because they add a new field.
2024-01-07 17:48:39 +01:00
bd3267da5b bot: Use constructor injection for the ObjectMapper
Some checks failed
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline failed
ci/woodpecker/push/oci-image-build/2 Pipeline failed
ci/woodpecker/push/oci-image-build/3 Pipeline failed
ci/woodpecker/push/oci-image-build/4 Pipeline failed
2023-12-10 21:03:30 +01:00
aa041df240 bot: Refactor to use pattern matching for building the message context 2023-12-10 20:58:25 +01:00
79f448f340 bot: Remove differentiating between direct and reply request 2023-12-10 20:14:03 +01:00
c5b6e47da0 bot: Extract message type check into own method
Makes it easier to read.
2023-12-10 19:55:51 +01:00
1ce2658b55 bot: Add missing ChatGptResponse field
All checks were successful
ci/woodpecker/tag/java/1 Pipeline was successful
ci/woodpecker/tag/java/2 Pipeline was successful
ci/woodpecker/tag/java/3 Pipeline was successful
ci/woodpecker/tag/java/4 Pipeline was successful
ci/woodpecker/tag/nodejs Pipeline was successful
ci/woodpecker/tag/oci-image-build/1 Pipeline was successful
ci/woodpecker/tag/oci-image-build/2 Pipeline was successful
ci/woodpecker/tag/oci-image-build/3 Pipeline was successful
ci/woodpecker/tag/oci-image-build/4 Pipeline was successful
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline was successful
ci/woodpecker/push/oci-image-build/2 Pipeline was successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
This field was newly introduced an broke the serialization.
I opted against using the ignore-unknown Jackson annotation to get
informed about model changes. It might be a interesting field...
This just a hobby project :)
2023-12-09 22:27:39 +01:00
f0731e6754 bot: Reduce MessageCacheSize to reduce memory usage
I don't care that much in this case about speed I just want it to host
it on as few resources as possible :)
2023-12-09 22:14:52 +01:00
dbf6e17bfb ci: Fix running build-only and build on tag events
All checks were successful
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline was successful
ci/woodpecker/push/oci-image-build/2 Pipeline was successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
Only the build step should be executed.
2023-12-09 20:53:59 +01:00
594cfd2398 ci: Enable auto tagging of images
Some checks failed
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline failed
ci/woodpecker/tag/java/1 Pipeline was successful
ci/woodpecker/tag/java/2 Pipeline was successful
ci/woodpecker/tag/java/3 Pipeline was successful
ci/woodpecker/tag/java/4 Pipeline was successful
ci/woodpecker/tag/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 unknown status
ci/woodpecker/push/oci-image-build/2 unknown status
ci/woodpecker/push/oci-image-build/3 unknown status
ci/woodpecker/push/oci-image-build/4 unknown status
ci/woodpecker/tag/oci-image-build/1 Pipeline was successful
ci/woodpecker/tag/oci-image-build/2 Pipeline was successful
ci/woodpecker/tag/oci-image-build/3 Pipeline was successful
ci/woodpecker/tag/oci-image-build/4 Pipeline failed
2023-12-09 20:04:00 +01:00
3e99edb54f ci: Disable amd64 image builds
All checks were successful
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline was successful
ci/woodpecker/push/oci-image-build/2 Pipeline was successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
I currently only need prebuild arm64 images.
2023-12-09 14:34:25 +01:00
1e57aaaeee misc: Disable preview-feature
All checks were successful
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline was successful
ci/woodpecker/push/oci-image-build/2 Pipeline was successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
ci/woodpecker/push/oci-image-build/5 Pipeline was successful
ci/woodpecker/push/oci-image-build/6 Pipeline was successful
ci/woodpecker/push/oci-image-build/7 Pipeline was successful
ci/woodpecker/push/oci-image-build/8 Pipeline was successful
There is no need for the preview feature after the upgrade to JDK 21
to access virtual threads :)
2023-12-08 20:27:03 +01:00
ba5d5cc41a web: Remove maven plugin to copy static files into jar
The ui gets no longer package in the jar...
2023-12-08 20:24:41 +01:00
624d0b4f80 misc: Add missing restart policies
Some checks failed
ci/woodpecker/push/java/1 Pipeline is pending
ci/woodpecker/push/java/2 Pipeline is pending
ci/woodpecker/push/java/3 Pipeline is pending
ci/woodpecker/push/java/4 Pipeline is pending
ci/woodpecker/push/nodejs Pipeline is pending
ci/woodpecker/push/oci-image-build/1 unknown status
ci/woodpecker/push/oci-image-build/2 unknown status
ci/woodpecker/push/oci-image-build/3 unknown status
ci/woodpecker/push/oci-image-build/4 unknown status
ci/woodpecker/push/oci-image-build/5 unknown status
ci/woodpecker/push/oci-image-build/6 unknown status
ci/woodpecker/push/oci-image-build/7 unknown status
ci/woodpecker/push/oci-image-build/8 unknown status
2023-12-08 20:17:35 +01:00
03693b0e20 web: Make api request debug log configurable through env var 2023-12-08 20:16:04 +01:00
b49018abfc ui: Fix title in browser tab 2023-12-08 20:07:24 +01:00
8e66e0cbad build: Fix caddy config 2023-12-08 20:06:28 +01:00
297196fef6 misc: Fix ui container not being assinged an Ip 2023-12-08 20:05:17 +01:00
8e38a944de misc: Fix port mapping 2023-12-08 19:35:59 +01:00
4ce49cb68f ci: Add build steps for the ui before building the oci image
All checks were successful
ci/woodpecker/manual/java/1 Pipeline was successful
ci/woodpecker/manual/java/2 Pipeline was successful
ci/woodpecker/manual/java/3 Pipeline was successful
ci/woodpecker/manual/java/4 Pipeline was successful
ci/woodpecker/manual/nodejs Pipeline was successful
ci/woodpecker/manual/oci-image-build/1 Pipeline was successful
ci/woodpecker/manual/oci-image-build/2 Pipeline was successful
ci/woodpecker/manual/oci-image-build/3 Pipeline was successful
ci/woodpecker/manual/oci-image-build/4 Pipeline was successful
ci/woodpecker/manual/oci-image-build/5 Pipeline was successful
ci/woodpecker/manual/oci-image-build/6 Pipeline was successful
ci/woodpecker/manual/oci-image-build/7 Pipeline was successful
ci/woodpecker/manual/oci-image-build/8 Pipeline was successful
2023-12-08 00:08:40 +01:00
f0e7038a05 ci: Refactor java steps into one file 2023-12-08 00:03:27 +01:00
97d2c80f85 ci: Add build steps befor oci-image-build steps 2023-12-07 23:45:21 +01:00
09bebecd9f ci: Add compile steps before test steps 2023-12-07 23:42:01 +01:00
3a03657b1c ci: Rename oci image build step file
This is to enable a previous build out side of the container context.
2023-12-07 23:34:37 +01:00
e3ba53fa70 misc: Add network isolation between docker compose services 2023-12-07 23:32:21 +01:00
1bb00fcda9 misc: Add config volume for caddy
All checks were successful
ci/woodpecker/manual/test/1 Pipeline was successful
ci/woodpecker/manual/test/2 Pipeline was successful
ci/woodpecker/manual/test/3 Pipeline was successful
ci/woodpecker/manual/test/4 Pipeline was successful
ci/woodpecker/manual/build/1 Pipeline was successful
ci/woodpecker/manual/build/2 Pipeline was successful
ci/woodpecker/manual/build/3 Pipeline was successful
ci/woodpecker/manual/build/4 Pipeline was successful
ci/woodpecker/manual/build/5 Pipeline was successful
ci/woodpecker/manual/build/6 Pipeline was successful
ci/woodpecker/manual/build/7 Pipeline was successful
ci/woodpecker/manual/build/8 Pipeline was successful
Makes the container runnable.
2023-12-07 16:37:28 +01:00
beb7d72a9e build: Extend caddy config 2023-12-07 16:36:27 +01:00
1d52665659 ci: Fix woodpecker version 2 platform selection deprecation 2023-12-07 01:30:33 +01:00
9ab413c614 ui: Remove old build script
Some checks failed
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/manual/test/1 Pipeline was successful
ci/woodpecker/manual/test/2 Pipeline was successful
ci/woodpecker/manual/test/3 Pipeline was successful
ci/woodpecker/manual/test/4 Pipeline was successful
ci/woodpecker/manual/build/1 Pipeline was successful
ci/woodpecker/manual/build/2 Pipeline was successful
ci/woodpecker/manual/build/3 Pipeline was successful
ci/woodpecker/manual/build/4 Pipeline was successful
ci/woodpecker/manual/build/5 Pipeline was successful
ci/woodpecker/manual/build/6 Pipeline was successful
ci/woodpecker/manual/build/7 Pipeline was successful
ci/woodpecker/manual/build/8 Pipeline failed
2023-11-23 22:56:17 +01:00
99603fc4fc ui: Remove vs-code configuration
Don't checkin editor specific configs.
2023-11-23 22:55:03 +01:00
9f22c9d6f1 build: Remove old build script 2023-11-23 22:53:35 +01:00
e1477673b2 doc: Add minimal section for the UI 2023-11-23 22:50:36 +01:00
3a5763e40f doc: Remove pull instructions
I don't provide public/stable pre build images and you would anyway
need to build it locally for the caddy proxy...
2023-11-23 22:45:16 +01:00
ba258cd3a7 ci: Add test step before build
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
The project doesn't include tests but this might hopefully change
in the future.
2023-11-23 22:38:56 +01:00
f844b01309 ui: Update package-lock 2023-11-23 22:24:40 +01:00
9e45ef3071 misc: Ignore data directory from local setup 2023-11-23 22:08:35 +01:00
ae961c182d misc: Add ui and caddy to the docker-compose setup 2023-11-23 22:05:28 +01:00
5dde21b991 build: Add caddy build for revers proxy between ui and web
Caddy should be later used with the docker-compose setup.
The idea is to have it for local development. In production
you should use a reverse proxy with auth and certificate
managment (https).

I had to update the syntax version to support EOF with cat.
2023-11-23 21:58:05 +01:00
2e20c7e307 ci: Change to create steps for each platform
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This should make debugging an parallelisation easier.
2023-11-23 21:30:31 +01:00
4d1094b003 ci: Add ui target
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-11-23 21:21:30 +01:00
739c4f5da8 ci: Replace pipeline with steps
Some checks failed
ci/woodpecker/push/build Pipeline failed
Pipeline was an old way to declare steps.
2023-11-23 21:18:51 +01:00
5418f632b6 ci: Update buildx plugin image to 2.2.1
Should fix git issues.
2023-11-23 21:17:44 +01:00
c49f1525ec ci: Add build step for none main branch
Only build without pushing if not on main branch.
2023-11-23 21:15:59 +01:00