Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/maven/org.apache.pdfbox-preflig…
Browse files Browse the repository at this point in the history
…ht-3.0.1

# Conflicts:
#	doc-factory-test/pom.xml
  • Loading branch information
Hoang Vu Huy committed Dec 19, 2024
2 parents 3df851a + 28e0db8 commit d0e2f5c
Show file tree
Hide file tree
Showing 43 changed files with 318 additions and 78 deletions.
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

Dear @ivy-sgi, we have found the following bug:

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

Dear @ivy-sgi, it would be cool to have the following feature in the market place:

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
26 changes: 19 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,25 @@ on:
type: string
default: '-Divy.engine.download.url=https://dev.axonivy.com/permalink/nightly-10/axonivy-engine.zip'
required: false
javaVersion:
type: number
default: 17
mvnVersion:
type: string
default: 3.6.3


jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Java JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
java-version: ${{ inputs.javaVersion || '17' }}
distribution: temurin

- name: Decide to deploy or not
Expand All @@ -44,8 +50,13 @@ jobs:
"password": "${{ secrets.NEXUS_AXONIVY_COM_PASSWORD }}"
}]
- name: Setup Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: ${{ inputs.mvnVersion || '3.6.3' }}

- name: Build with Maven
run: mvn clean ${{ steps.condval.outputs.value }} --batch-mode ${{ inputs.mvnArgs }}
run: mvn clean ${{ steps.condval.outputs.value }} --batch-mode --fail-at-end ${{ inputs.mvnArgs }}

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
Expand All @@ -56,14 +67,15 @@ jobs:
!*/target/*-reports/failsafe-summary.xml
- name: Archive build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: |
*/target/*.iar
*/target/*-[0-9]*.jar
*product/target/*.zip
- name: Archive test reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ jobs:
uses: './.github/workflows/ci.yml'
secrets: inherit
with:
mvnArgs: '"-Divy.engine.download.url=https://dev.axonivy.com/permalink/dev/axonivy-engine.zip" "-Divy.engine.version=11.3.0" "-Dproject-build-plugin-version=11.3.0-SNAPSHOT" "-Dweb-tester.version=11.3.0-SNAPSHOT" -Dmaven.deploy.skip=true'

mvnArgs: '"-Divy.engine.download.url=https://dev.axonivy.com/permalink/dev/axonivy-engine.zip" "-Divy.engine.version=(10.0.0,]" "-Dproject.build.plugin.version=11.4.0-SNAPSHOT" "-Dtester.version=11.4.0-SNAPSHOT" "-Dselenide.version=7.0.3" -Dmaven.deploy.skip=true'
javaVersion: 21
mvnVersion: 3.9.8
18 changes: 18 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish Release

on:
push:
tags:
- "v*.*.*"

permissions:
contents: write
pull-requests: read

jobs:
build:
uses: axonivy-market/github-workflows/.github/workflows/publish-release.yml@v4
# The 'publish_release' input parameter is used to control whether the release should be published automatically.
# Uncomment and set to 'false' if you want to prevent the release from being published immediately.
# with:
# publish_release: false
16 changes: 16 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Release Drafter

on:
push:
branches:
- master
pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: write
pull-requests: write

jobs:
build:
uses: axonivy-market/github-workflows/.github/workflows/release-drafter.yml@v4
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v6
uses: tj-actions/branch-names@v8

- name: Setup Java JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
Expand Down
2 changes: 1 addition & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>com.axonivy.utils.docfactory</name>
<name>DocFactoryModules</name>
<comment></comment>
<projects>
</projects>
Expand Down
24 changes: 24 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Our Pledge

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone.
As part of the Ricoh Group, Axon Ivy is guided by [The spirit of the three loves](https://www.ricoh.com/about/ricoh-way):

- **Love your neighbor** 🤝
We love to get in touch with people and are willing to help others when we are aware of their issues and ideas. Everyone who participates as a user or contributor in this repository is our neighbor.

- **Love your country** 🗺
We love the place we’re located at and enjoy the nature around us. We take care of the environment and are eager to learn from cultures around the globe.

- **Love your work** 👷‍♂️
We are passionate developers, eager to work with new technologies, and are happy to be part of the digital transformation. We love to be creative at work and see our visions accomplished.

## Our Guidelines

This repository is intended to facilitate a friendly and inspiring exchange in which we focus on technical content.

- Be friendly and patient.
- Be welcoming.
- Be considerate.
- Be respectful.
- Be careful in the words that you choose.
- When we disagree, try to understand why.
25 changes: 25 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Reporting a Vulnerability

At Axon Ivy, we take security seriously. If you believe you've found a security vulnerability in our software, we encourage you to let us know right away. We investigate all reported vulnerabilities promptly.

To report a vulnerability, please send an email to [[email protected]](mailto:[email protected]) with the following information:

- Description of the vulnerability
- Steps to reproduce the vulnerability
- Any additional information or context that may be helpful

Please refrain from publicly disclosing the vulnerability until it has been addressed by our team.

## Response Time

We strive to respond to security vulnerability reports as quickly as possible. Upon receiving your report, we will acknowledge it within 72 hours and we will release a patch as soon as possible depending on complexity, but historically within a few days.
Please report (suspected) security vulnerabilities at https://support.axonivy.com/.


## Responsible Disclosure

We encourage responsible disclosure of security vulnerabilities. We believe that working together with security researchers and the broader community helps us improve the security of our software for everyone.

## Contact

For any questions or concerns regarding security, please contact us at [[email protected]](mailto:[email protected]).
13 changes: 12 additions & 1 deletion aspose-barcode-demo-product/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,15 @@
Aspose.Barcode is a powerful development library to generate & recognize barcodes.
The aspose-barcode.jar is not part of the aspose components included the Axon Ivy DocFactory but can be added to the project classpath via maven extension as shown in this demo.

![Aspose.Barcode Demo](doc.png)
## Demo

With our demo for the connector we provide a simple UI for entering a string:
![Aspose.Barcode UI](UI.png)

By pressing **Proceed** this string is converted to a barcode:
![Aspose.Barcode Demo](barcode.png)


## Setup

Simply install the marketplace connector - nothing else needs to be done :blush:
5 changes: 5 additions & 0 deletions aspose-barcode-demo-product/README_DE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Aspose.Barcode Demo

Aspose.Barcode ist eine leistungsfähige Entwicklungsbibliothek zur Generierung und Erfassung von Barcodes.

Die `aspose-barcode.jar` ist nicht Bestandteil der aspose-Komponenten der AxonIvy-DocFactory. Sie kann aber, wie in dieser Demo gezeigt, über eine Maven-Erweiterung zum Projekt-`CLASSPATH` hinzugefügt werden.
Binary file added aspose-barcode-demo-product/UI.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added aspose-barcode-demo-product/barcode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion aspose-barcode-demo-product/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.axonivy.utils.docfactory</groupId>
<artifactId>aspose-barcode-demo-product</artifactId>
<version>10.0.11-SNAPSHOT</version>
<version>10.0.14-SNAPSHOT</version>
<packaging>pom</packaging>

<build>
Expand Down
2 changes: 1 addition & 1 deletion aspose-barcode-demo-product/zip.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<directory>.</directory>
<includes>
<include>product.json</include>
<include>README.md</include>
<include>README*.md</include>
<include>**/*.png</include>
</includes>
</fileSet>
Expand Down
10 changes: 5 additions & 5 deletions aspose-barcode-demo-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.axonivy.utils.docfactory</groupId>
<artifactId>aspose-barcode-demo-test</artifactId>
<version>10.0.11-SNAPSHOT</version>
<version>10.0.14-SNAPSHOT</version>
<packaging>iar-integration-test</packaging>

<properties>
<project-build-plugin-version>10.0.14</project-build-plugin-version>
<web-tester.version>10.0.14</web-tester.version>
<project.build.plugin.version>10.0.16</project.build.plugin.version>
<tester.version>10.0.16</tester.version>
</properties>

<dependencies>
Expand All @@ -21,7 +21,7 @@
<dependency>
<groupId>com.axonivy.ivy.webtest</groupId>
<artifactId>web-tester</artifactId>
<version>${web-tester.version}</version>
<version>${tester.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -32,7 +32,7 @@
<plugin>
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<version>${project-build-plugin-version}</version>
<version>${project.build.plugin.version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
Expand Down
6 changes: 3 additions & 3 deletions aspose-barcode-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.axonivy.utils.docfactory</groupId>
<artifactId>aspose-barcode-demo</artifactId>
<version>10.0.11-SNAPSHOT</version>
<version>10.0.14-SNAPSHOT</version>
<packaging>iar</packaging>
<properties>
<project-build-plugin-version>10.0.14</project-build-plugin-version>
<project.build.plugin.version>10.0.16</project.build.plugin.version>
<aspose.version>23.4</aspose.version>
</properties>
<dependencies>
Expand Down Expand Up @@ -39,7 +39,7 @@
<plugin>
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<version>${project-build-plugin-version}</version>
<version>${project.build.plugin.version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
Expand Down
23 changes: 22 additions & 1 deletion aspose-email-demo-product/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Aspose.Email Demo

Aspose.Email is a powerful library to create, manipulate and convert email formats including MSG, EML, EMLX and MHT without any Microsoft Outlook dependencies.
The aspose-mail.jar is not part of the aspose components included the Axon Ivy DocFactory but can be added to the project classpath via maven extension as shown in this demo.

![Aspose.Email Demo](doc.png)
## Demo

![Aspose.Email Demo](asposeemail0.png)


When you start this demo, a UI opens:

![Aspose.Email Demo](asposeemail1.png)

Pushing the button "Create" will generate a `newEmail.msg` file, according to you input you have entered in the UI before.

![Aspose.Email Demo](asposeemail2.png)

The `newEmail.msg` file can be opened with Outlook

![Aspose.Email Demo](asposeemail3.png)


## Setup

Simply install the marketplace connector - nothing else needs to be done :blush:
5 changes: 5 additions & 0 deletions aspose-email-demo-product/README_DE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Aspose.Email Demo

Aspose.Email ist eine mächtige Bibliothek zum Erstellen, Bearbeiten und Konvertieren von E-Mail-Formaten wie MSG, EML, EMLX und MHT ohne Abhängigkeiten zu Microsoft Outlook.

Die `aspose-mail.jar` ist nicht Bestandteil der aspose-Komponenten der AxonIvy-DocFactory. Sie kann aber, wie in dieser Demo gezeigt, über eine Maven-Erweiterung zum Projekt-CLASSPATH hinzugefügt werden.
Binary file added aspose-email-demo-product/asposeemail0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added aspose-email-demo-product/asposeemail1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added aspose-email-demo-product/asposeemail2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added aspose-email-demo-product/asposeemail3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion aspose-email-demo-product/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.axonivy.utils.docfactory</groupId>
<artifactId>aspose-email-demo-product</artifactId>
<version>10.0.11-SNAPSHOT</version>
<version>10.0.14-SNAPSHOT</version>
<packaging>pom</packaging>

<build>
Expand Down
Loading

0 comments on commit d0e2f5c

Please sign in to comment.