-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat: Add advanced PDF report system #1996
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
Open
MatthewReed303
wants to merge
53
commits into
frangoteam:master
Choose a base branch
from
MatthewReed303:reports-pdfme
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
18c5390
Node-RED Integration for FUXA
MatthewReed303 7ef0c00
Uncomment npm cache clearing step in workflow
MatthewReed303 a871e31
add node-red path electron build
MatthewReed303 fe0413a
move fuxa nodes to server directory
MatthewReed303 ad26fef
change nodes to use functionGlobalContext
MatthewReed303 7ffc3f0
Add new fuxa node get tag change
MatthewReed303 b0e6e79
Node-RED Integration for FUXA
MatthewReed303 0e129cb
New Feature: Scheduler Gauge Component
MatthewReed303 b535b29
FIX production build
MatthewReed303 e1f03b5
FIX production build github actions
MatthewReed303 c38ef64
Add custom elements app.modules
MatthewReed303 7cd4fb3
Add clear cache
MatthewReed303 342f2f8
Remove no-cache option from build command
MatthewReed303 d444df8
Remove debugging consolde.logs
MatthewReed303 45b9f6b
Merge pull request #1 from MatthewReed303/node-red
MatthewReed303 d779d65
Merge branch 'dev' into scheduler
MatthewReed303 5d9b97f
Merge pull request #2 from MatthewReed303/scheduler
MatthewReed303 7f6c805
Delete node-red/node-red-contrib-fuxa directory
MatthewReed303 577b276
feat: Add advanced PDF report system with PDFME integration
MatthewReed303 2d62732
Update pdfme dependencies
MatthewReed303 dfe63aa
update electron npm workflow
MatthewReed303 ef9b752
install cairo before building pdfme
MatthewReed303 d399ce5
increase build memory
MatthewReed303 d468a58
add pdfme to server dep
MatthewReed303 a8ef704
Update Paths to work with electron app
MatthewReed303 155558d
Update electron working path and adjust report paths
MatthewReed303 45a2980
update electron user dir
MatthewReed303 31a944c
fix report paths for electron
MatthewReed303 e3d6bce
Fix Template manger PNG
MatthewReed303 92ca07b
change to OCI
MatthewReed303 afff1b8
change pdfme docker install
MatthewReed303 6cb33b1
Don't use build scripts
MatthewReed303 ba67008
copy files first before building react app
MatthewReed303 ce2e759
allow flexiable docker build from forks
MatthewReed303 58cc86f
Increase Node Memory Limit
MatthewReed303 501f455
Increase memory for all builds
MatthewReed303 b8c0b86
increase workflow memory
MatthewReed303 a51f1bd
Increase memory to 8192
MatthewReed303 435f2d4
Fix JS memory issues
MatthewReed303 cf105b5
Set all node commands to use 8GB memory
MatthewReed303 2eabf5a
Change back npm config
MatthewReed303 f27de32
no cache for doocker test build
MatthewReed303 5a99ef8
Remove 32bit build
MatthewReed303 65f22e2
Merge origin/master into reports-pdfme, accepting master's changes
MatthewReed303 2e66674
Fix Node-Red and Report Paths
MatthewReed303 aae1122
remove unused templates
MatthewReed303 490598a
Update electron workflow
MatthewReed303 ca1c743
Fix File Viewer
MatthewReed303 5ec8440
Remove old node-red contrib location
MatthewReed303 de318c5
refactor
MatthewReed303 907223a
Merge upstream/master into reports-pdfme
MatthewReed303 66152ff
Build and push PDFme
MatthewReed303 68afa7c
Merge remote-tracking branch 'upstream/master' into reports-pdfme
MatthewReed303 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,49 @@ | ||
| name: Docker Test Build | ||
|
|
||
| env: | ||
| app: fuxa | ||
| version: test | ||
| # for available platforms see output of a previous run - | ||
| # ie the "Setup Docker BuildX" / "Inspect Builder" section | ||
| # has eg "node_platforms": "linux/amd64,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6" | ||
| # but the platforms must also be included in the os image chosen - | ||
| # eg the ubuntu image doesn't include linux/arm/v6. | ||
| platforms: linux/amd64,linux/arm64 | ||
|
|
||
| on: workflow_dispatch | ||
|
|
||
| jobs: | ||
| build-container: | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| NODE_OPTIONS: --max-old-space-size=8192 | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up QEMU emulator | ||
| uses: docker/setup-qemu-action@v3 | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 | ||
|
|
||
| - name: Build Docker image | ||
| uses: docker/build-push-action@v5 | ||
| with: | ||
| context: . | ||
| platforms: ${{ env.platforms }} | ||
| tags: frangoteam/${{ env.app }}:${{ env.version }} | ||
| outputs: type=oci,dest=/tmp/${{ env.app }}-${{ env.version }}.tar | ||
| no-cache: true | ||
| build-args: | | ||
| REPO_URL=${{ github.server_url }}/${{ github.repository }} | ||
| BRANCH_NAME=${{ github.head_ref || github.ref_name }} | ||
| NODE_OPTIONS_ARG=--max-old-space-size=8192 | ||
|
|
||
| - name: Upload Docker image as artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: ${{ env.app }}-docker-image-${{ env.version }} | ||
| path: /tmp/${{ env.app }}-${{ env.version }}.tar | ||
| retention-days: 7 |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is it for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@unocelli github actions workflow to build docker image and save image as an artifact, so you don't have to push to docker hub each time for testing docker images and can test different branches and saves having setup docker buildx etc on local dev machine.