Skip to content
Closed
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
5c77511
Update appliance.class.php
enboig Sep 9, 2024
90f7ca6
Update appliance.class.php
enboig Sep 9, 2024
383c5b2
Create github action
RomainLvr Dec 19, 2024
6027eb6
Create .pot file
RomainLvr Dec 19, 2024
371cd8b
Rename to pdf.pot & fix .tx/config
RomainLvr Dec 19, 2024
aefe5a1
Merge pull request #2 from RomainLvr/github-action
stonebuzz Dec 19, 2024
e68fb62
Fix(chore): fix transifex slug
stonebuzz Dec 20, 2024
c363afd
Fix(chore): fix transifex slug
stonebuzz Dec 20, 2024
02a5b79
Fix(chore): fix transifex org
stonebuzz Dec 20, 2024
dae0ee6
Update locales (#4)
cedric-anne Dec 20, 2024
f620057
Fix CI (#3)
RomainLvr Dec 26, 2024
0263903
Add php-cs-fixer (#5)
Rom1-B Jan 7, 2025
7624dea
Create README.md (#1)
RomainLvr Jan 9, 2025
8efc93b
Fix display when otherserial is null
RomainLvr Jan 10, 2025
1904d1a
Fix PHP Lint
RomainLvr Jan 10, 2025
320a78c
Fix By visible
RomainLvr Jan 15, 2025
efb76e2
Replace next() by current() to access first row
RomainLvr Jan 15, 2025
f93aa33
Migrate setup for release CI (#12)
RomainLvr Jan 15, 2025
e85d2e7
Fix itilsolution picture visibility (#10)
RomainLvr Jan 15, 2025
e4d1022
Fix ticket task picture visibility (#9)
RomainLvr Jan 15, 2025
20cb1ed
Merge pull request #11 from RomainLvr/fix/replace-next-by-current
Rom1-B Jan 15, 2025
955d6bf
Merge pull request #8 from RomainLvr/fix/by-visible
Rom1-B Jan 15, 2025
9f444cc
Feat(repo): add missing CHANGELOG.md file
stonebuzz Jan 15, 2025
b29a54d
Update PR template
Rom1-B Jan 16, 2025
6304dcf
Merge pull request #15 from Rom1-B/update_pr_template
Rom1-B Jan 16, 2025
40692a1
Merge pull request #6 from RomainLvr/fix/null_otherserial_display
Rom1-B Jan 16, 2025
4314ccc
Merge pull request #14 from pluginsGLPI/add_changelog
Rom1-B Jan 16, 2025
1ed8bcb
Load logo from Branding when activated (#13)
RomainLvr Feb 24, 2025
6ba65ee
Prepare for v4.0.0 (#16)
RomainLvr Mar 6, 2025
138075d
4.0.0 (#17)
stonebuzz Mar 6, 2025
46025cf
Fix(Marketplace): fix inconsistency plugin info
stonebuzz Mar 6, 2025
d762a1f
Merge pull request #18 from pluginsGLPI/fix_plugin_xml
Rom1-B Mar 6, 2025
83ba585
Change default font for special letters
RomainLvr Mar 6, 2025
c2813d4
Add verification of Branding version for logo feature (#19)
RomainLvr Mar 7, 2025
673a649
Remove 'glpipdffont' session variable usage
RomainLvr Mar 7, 2025
22b86f4
Update CHANGELOG
RomainLvr Mar 10, 2025
0ffb2d1
Merge pull request #20 from RomainLvr/fix/font-for-greek
Rom1-B Mar 10, 2025
9e9e818
4.0.1
stonebuzz Mar 10, 2025
01d2010
Merge pull request #21 from pluginsGLPI/4.0.1
Rom1-B Mar 10, 2025
bd18fc1
Revert commit that change default font for special letters
RomainLvr Mar 10, 2025
ddc2001
Merge pull request #22 from RomainLvr/fix/revert-glpipdffont-commit
Rom1-B Mar 10, 2025
6ef0281
Fix versions compatibility in xml (#23)
RomainLvr Mar 10, 2025
f38f633
phpstan level 0
Rom1-B Mar 21, 2025
c4e98db
php-cs-fixer
Rom1-B Mar 21, 2025
d0b04ea
Merge pull request #24 from Rom1-B/feat_phpstan
Rom1-B Mar 21, 2025
c4bb881
phpstan level 1
Rom1-B Mar 24, 2025
fdd87e9
phpstan level 2
Rom1-B Mar 24, 2025
5acce40
phpstan level 3
Rom1-B Mar 24, 2025
a6b00d6
phpstan level 4
Rom1-B Mar 24, 2025
928a7dd
phpstan level 5
Rom1-B Mar 24, 2025
1d741f3
composer update
Rom1-B Mar 24, 2025
221e072
fix
Rom1-B Mar 24, 2025
34ccc4b
fix
Rom1-B Mar 24, 2025
06de2e3
Merge pull request #25 from Rom1-B/phpstan
Rom1-B Mar 24, 2025
60a1241
Feat(CI): TwigCS
Rom1-B Apr 14, 2025
a2c4423
Merge pull request #26 from Rom1-B/feat_twigcs
Rom1-B Apr 14, 2025
2900e46
fix(export): resolve blank page issue on PDF export
MyvTsv Apr 24, 2025
74112a0
Merge pull request #27 from MyvTsv/pdf_not_displayed
Rom1-B Apr 24, 2025
c56430e
fix(export): images missing in exported Knowledge Base PDF
MyvTsv Apr 24, 2025
0122bd5
Update CHANGELOg.md
MyvTsv Apr 24, 2025
d78db98
resize img
MyvTsv Apr 25, 2025
0178bc7
Fix: front/ check
Rom1-B May 2, 2025
43e69f4
stan
Rom1-B May 5, 2025
7131185
Merge pull request #29 from Rom1-B/front_check
Rom1-B May 5, 2025
d7daa0d
Close stale issue (#30)
Rom1-B May 20, 2025
78e7b0d
Merge pull request #28 from MyvTsv/ticket37471
Rom1-B May 21, 2025
24c1b13
Change signature of permissions check to comply with GLPI 11 (#31)
Vireth4114 Jun 27, 2025
882f2c9
beta1 (#33)
stonebuzz Jul 1, 2025
1569207
GLPI 11 compat: XML for beta (#34)
Rom1-B Jul 28, 2025
9680643
formatNumber Cast currency value to float (#35)
MrYoloPotato Aug 20, 2025
07f7871
Merge remote-tracking branch 'origin/main'
llforns Sep 17, 2025
cb2f14d
Fix: $content alreadi decoded at ~inc/simplepdf.class.php:348
llforns Sep 17, 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
137 changes: 137 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
#
# ---------------------------------------------------------------------
#
# GLPI - Gestionnaire Libre de Parc Informatique
#
# http://glpi-project.org
#
# @copyright 2015-2024 Teclib' and contributors.
# @copyright 2003-2014 by the INDEPNET Development Team.
# @licence https://www.gnu.org/licenses/gpl-3.0.html
#
# ---------------------------------------------------------------------
#
# LICENSE
#
# This file is part of GLPI.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# ---------------------------------------------------------------------
#

name: Bug Report
description: Create a report to help us improve pdf
body:
- type: markdown
attributes:
value: |

Dear GLPI plugin user.

**⚠️ Please never use standard issues to report security problems. See [security policy](https://github.com/pluginsGLPI/pdf/security/policy) for more details. ⚠️**

BEFORE SUBMITTING YOUR ISSUE, please make sure to read and follow these steps:

* We do not track feature requests nor enhancements here. Propose them on the [suggest dedicated site](https://suggest.glpi-project.org).
* Keep this tracker in ENGLISH. If you want support in your language, the [community forum](https://forum.glpi-project.org) is the best place.
* Always try to reproduce your issue at least on latest stable release.

The GLPI team.
- type: markdown
attributes:
value: |
## Professional Support

We do not guarantee any processing / resolution time for community issues.

If you need a quick fix or any guarantee, you should consider to buy a GLPI Network Subscription.

More information here: https://glpi-project.org/subscriptions/
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow hereinabove rules and [Contribution guide](https://github.com/glpi-project/glpi/blob/main/CONTRIBUTING.md)
options:
- label: I agree to follow this project's Code of Conduct
validations:
required: true
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
validations:
required: true
- type: input
id: glpi-version
attributes:
label: GLPI Version
description: What version of our GLPI are you running?
validations:
required: true
- type: input
id: plugin-version
attributes:
label: Plugin version
description: What version of `pdf` are you running?
validations:
required: true
- type: textarea
attributes:
label: Bug description
description: A concise description of the problem you are experiencing and what you expected to happen.
validations:
required: false
- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output. Find them in `*-error.log` files under `glpi/files/_log/`.

Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
render: shell
- type: input
id: url
attributes:
label: Page URL
description: If applicable, page URL where the bug happens.
validations:
required: false
- type: textarea
attributes:
label: Steps To reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. With this config...
2. Go to...
3. Scroll down to...
4. See error...
validations:
required: false
- type: textarea
attributes:
label: Your GLPI setup information
description: Please copy and paste information you will find in GLPI in `Setup > General` menu, `System` tab.
validations:
required: false
- type: textarea
attributes:
label: Anything else?
description: Add any other context about the problem here.
validations:
required: false
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2
updates:
# Ensure GitHub Actions are used in their latest version
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"

# Strategy for composer dependencies
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "monthly"
allow:
- dependency-type: "direct"
open-pull-requests-limit: 100
versioning-strategy: "increase"
groups:
dev-dependencies:
dependency-type: "development"
25 changes: 25 additions & 0 deletions .github/label-commenter-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
labels:
- name: "invalid"
labeled:
issue:
body: |
This issue has been closed because you did not provide the requested information.
action: "close"
- name: "support"
labeled:
issue:
body: |
This issue has been closed as we only track bugs here.

You can get community support on [forums](https://forum.glpi-project.org/) or you can consider [taking a subscription](https://glpi-project.org/subscriptions/) to get professional support.
You can also [contact GLPI editor team](https://portal.glpi-network.com/contact-us) directly.
action: close
- name: "feature suggestion"
labeled:
issue:
body: |
This issue has been closed as we only track bugs here.

You can open a topic to discuss with community about this enhancement on [suggestion website](https://glpi.userecho.com/).
You can also [contact GLPI editor team](https://portal.glpi-network.com/contact-us) directly if you are willing to sponsor this feature.
action: close
15 changes: 15 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Checklist before requesting a review

*Please delete options that are not relevant.*

- [ ] I have performed a self-review of my code.
- [ ] I have added tests (when available) that prove my fix is effective or that my feature works.
- [ ] I have updated the CHANGELOG with a short functional description of the fix or new feature.
- [ ] This change requires a documentation update.

## Description

- It fixes # (issue number, if applicable)
- Here is a brief description of what this PR does

## Screenshots (if appropriate):
15 changes: 15 additions & 0 deletions .github/workflows/auto-tag-new-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Automatically tag new version"

on:
push:
branches:
- "main"
paths:
- "setup.php"

jobs:
auto-tag-new-version:
name: "Automatically tag new version"
uses: "glpi-project/plugin-release-workflows/.github/workflows/auto-tag-new-version.yml@v1"
secrets:
github-token: "${{ secrets.AUTOTAG_TOKEN }}"
35 changes: 35 additions & 0 deletions .github/workflows/close_stale_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'Close stale issues'
on:
schedule:
- cron: '0 8 * * *'

jobs:
stale:
if: github.repository == 'pluginsGLPI/pdf'
permissions:
issues: write # for actions/stale to close stale issues
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: >-
There has been no activity on this issue for some time and therefore it is considered stale
and will be closed automatically in 10 days.


If this issue is related to a bug, please try to reproduce on latest release. If the problem persist,
feel free to add a comment to revive this issue.

If it is related to a new feature, please open a topic to discuss with community about this enhancement
on [suggestion website](https://glpi.userecho.com/).


You may also consider taking a [subscription](https://glpi-project.org/subscriptions/) to get professionnal
support or [contact GLPI editor team](https://portal.glpi-network.com/contact-us) directly.
days-before-issue-stale: 15
days-before-pr-stale: -1 # PR will be marked as stale manually.
days-before-close: 5
exempt-issue-labels: "bug,enhancement,question,security" # Issues with "bug", "enhancement", "question" or "security" labels will not be marked as stale
exempt-all-milestones: true # Do not check issues/PR with defined milestone.
ascending: true # First check older issues/PR.
operations-per-run: 750 # Max API calls per run.
68 changes: 68 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#
# ---------------------------------------------------------------------
#
# GLPI - Gestionnaire Libre de Parc Informatique
#
# http://glpi-project.org
#
# @copyright 2015-2024 Teclib' and contributors.
# @copyright 2003-2014 by the INDEPNET Development Team.
# @licence https://www.gnu.org/licenses/gpl-3.0.html
#
# ---------------------------------------------------------------------
#
# LICENSE
#
# This file is part of GLPI.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# ---------------------------------------------------------------------
#

name: "Continuous integration"

on:
push:
branches:
- "main"
tags:
- "*"
pull_request:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
generate-ci-matrix:
name: "Generate CI matrix"
uses: "glpi-project/plugin-ci-workflows/.github/workflows/generate-ci-matrix.yml@v1"
with:
glpi-version: "10.0.x"
ci:
name: "GLPI ${{ matrix.glpi-version }} - php:${{ matrix.php-version }} - ${{ matrix.db-image }}"
needs: "generate-ci-matrix"
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.generate-ci-matrix.outputs.matrix) }}
uses: "glpi-project/plugin-ci-workflows/.github/workflows/continuous-integration.yml@v1"
with:
plugin-key: "pdf"
glpi-version: "${{ matrix.glpi-version }}"
php-version: "${{ matrix.php-version }}"
db-image: "${{ matrix.db-image }}"
20 changes: 20 additions & 0 deletions .github/workflows/label-commenter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Label commenter"

on:
issues:
types:
- "labeled"
- "unlabeled"

jobs:
comment:
permissions:
contents: "read"
issues: "write"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"

- name: "Label commenter"
uses: "peaceiris/actions-label-commenter@v1"
14 changes: 14 additions & 0 deletions .github/workflows/locales-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Synchronize locales"

on:
schedule:
- cron: "0 0 * * 1-5"
workflow_dispatch:

jobs:
sync-with-transifex:
name: "Sync with transifex"
uses: "glpi-project/plugin-translation-workflows/.github/workflows/transifex-sync.yml@v1"
secrets:
github-token: "${{ secrets.LOCALES_SYNC_TOKEN }}"
transifex-token: "${{ secrets.TRANSIFEX_TOKEN }}"
13 changes: 13 additions & 0 deletions .github/workflows/locales-update-source.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "Update locales sources"

on:
push:
branches:
- "main"

jobs:
push-on-transifex:
name: "Push locales sources"
uses: "glpi-project/plugin-translation-workflows/.github/workflows/transifex-push-sources.yml@v1"
secrets:
transifex-token: "${{ secrets.TRANSIFEX_TOKEN }}"
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "Publish release"

on:
push:
tags:
- '*'

jobs:
publish-release:
permissions:
contents: "write"
name: "Publish release"
uses: "glpi-project/plugin-release-workflows/.github/workflows/publish-release.yml@v1"
Loading