Commit graph

265 commits

Author SHA1 Message Date
Vitor Mattos
ae273a01bc
chore: bump dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-08 18:15:19 -03:00
Vitor Mattos
8b5fe81ecb
chore: bump dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-11-27 16:07:19 -03:00
dependabot[bot]
99b9930bd9
chore(deps-dev): Bump bamarni/composer-bin-plugin from 1.8.2 to 1.8.3
Bumps [bamarni/composer-bin-plugin](https://github.com/bamarni/composer-bin-plugin) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/bamarni/composer-bin-plugin/releases)
- [Commits](https://github.com/bamarni/composer-bin-plugin/compare/1.8.2...1.8.3)

---
updated-dependencies:
- dependency-name: bamarni/composer-bin-plugin
  dependency-version: 1.8.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-25 16:14:24 +00:00
Vitor Mattos
587e481e64
fix: psalm issues
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-11-24 15:31:59 -03:00
Vitor Mattos
c338bd9f40
chore: move phpseclib to main package manager
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-11-21 13:09:24 -03:00
Vitor Mattos
7c89f278db
chore: bump dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-11-04 11:30:47 -03:00
Vitor Mattos
f29a6ccb8f
chore: bump dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-28 19:00:02 -03:00
Vitor Mattos
85ed7a58bd
chore: bump dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-14 23:09:10 -03:00
Vitor Mattos
7d791493da
chore: bump dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-14 15:52:03 -03:00
Vitor Mattos
40ef20e63d
chore: bump php version to 8.2
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-08 13:57:41 -03:00
Vitor Mattos
7c962a2a1f
chore: bump php minimum version to 8.2 as defined at server side
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-07 18:22:22 -03:00
Vitor Mattos
9af9efab92
chore: update composer after dependencies moved to 3rdparty folder
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-07 15:12:39 -03:00
dependabot[bot]
106092ff83
chore(deps): Bump mikehaertl/php-pdftk from 0.14.0 to 0.14.2
Bumps [mikehaertl/php-pdftk](https://github.com/mikehaertl/php-pdftk) from 0.14.0 to 0.14.2.
- [Release notes](https://github.com/mikehaertl/php-pdftk/releases)
- [Commits](https://github.com/mikehaertl/php-pdftk/compare/0.14.0...0.14.2)

---
updated-dependencies:
- dependency-name: mikehaertl/php-pdftk
  dependency-version: 0.14.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 16:27:04 +00:00
Vitor Mattos
6784f2a2ad
chore: bump PHP dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-09-30 09:42:15 -03:00
Vitor Mattos
07a231aea2
fix: isolate PHP-pdftk dependency
I identified some issues with the follow log:

```
[PHP] Warning: include(): Failed opening '<redacted>/apps/richdocuments/vendor/composer/../mikehaertl/php-pdftk/src/Pdf.php' for inclusion (include_path='<redacted>/3rdparty/pear/archive_tar:/<redacted>/3rdparty/pear/console_getopt:<redacted>/3rdparty/pear/pear-core-minimal/src:/<redacted>/3rdparty/pear/pear_exception:/<redacted>/apps') at /<redacted>/lib/composer/composer/ClassLoader.php#576
	GET /ocs/v2.php/apps/libresign/api/v1/file/validate/file_id/2556
```

It's only occurr when use the app richdocuments, I saw that the package
mikehaertl/php-pdftk also is used by this app and because this the
autoload was mixed.

To solve this issue I used the package humbug/php-scoper that isolate
the dependency into a different namespace.

I also followed this article:

https://arthur-schiwon.de/isolating-nextcloud-app-dependencies-php-scoper

And the follow search results to see implementation examples:

https://github.com/search?q=OCA+path%3Ascoper.inc.php&type=code
https://github.com/search?q=org%3Anextcloud+path%3Ascoper.inc.php&type=code

Considering that we already have tests to cover the usage of pdftk,
isn't necessary to add new tests, if the test pass, this change worked
fine because loaded the isolated packages and the isolated packages made
the necessary.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-09-03 09:55:55 -03:00
Vitor Mattos
5ffdd03502
chore: bump dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-09-02 08:48:48 -03:00
Vitor Mattos
b07ef41605
chore: bump dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-09-01 11:55:27 -03:00
dependabot[bot]
ceb3ec7c19
chore(deps): Bump mpdf/mpdf from 8.2.5 to 8.2.6
Bumps [mpdf/mpdf](https://github.com/mpdf/mpdf) from 8.2.5 to 8.2.6.
- [Release notes](https://github.com/mpdf/mpdf/releases)
- [Changelog](https://github.com/mpdf/mpdf/blob/development/CHANGELOG.md)
- [Commits](https://github.com/mpdf/mpdf/compare/v8.2.5...v8.2.6)

---
updated-dependencies:
- dependency-name: mpdf/mpdf
  dependency-version: 8.2.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-22 16:29:58 +00:00
Vitor Mattos
a7d9b0ee40 chore: bump dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-08-19 16:40:32 -03:00
Vitor Mattos
277b33c86d chore: bump dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-08-13 20:29:41 -03:00
Vitor Mattos
5ea0dbdecb chore: bump dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-08-12 15:38:20 -03:00
Vitor Mattos
41735e41ce
chore: bump dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-08-09 12:54:35 -03:00
Vitor Mattos
8d805d6888
chore: bump dependencies
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-08-08 16:53:54 -03:00
dependabot[bot]
bc3543460e
chore(deps): Bump setasign/fpdi from 2.6.3 to 2.6.4
Bumps [setasign/fpdi](https://github.com/Setasign/FPDI) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/Setasign/FPDI/releases)
- [Commits](https://github.com/Setasign/FPDI/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: setasign/fpdi
  dependency-version: 2.6.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-05 21:11:27 +00:00
Vitor Mattos
fb083164e6
chore: bump dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-07-21 09:49:54 -03:00
Vitor Mattos
ac11030858
chore: bump dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-07-21 09:49:46 -03:00
Vitor Mattos
a109c14d3a
chore: bump dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-07-08 21:21:36 -03:00
dependabot[bot]
22a8425850
chore(deps): Bump phpseclib/phpseclib from 3.0.45 to 3.0.46
Bumps [phpseclib/phpseclib](https://github.com/phpseclib/phpseclib) from 3.0.45 to 3.0.46.
- [Release notes](https://github.com/phpseclib/phpseclib/releases)
- [Changelog](https://github.com/phpseclib/phpseclib/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phpseclib/phpseclib/compare/3.0.45...3.0.46)

---
updated-dependencies:
- dependency-name: phpseclib/phpseclib
  dependency-version: 3.0.46
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-30 19:01:30 +00:00
dependabot[bot]
1f4d9211d7
chore(deps): Bump phpseclib/phpseclib from 3.0.44 to 3.0.45
Bumps [phpseclib/phpseclib](https://github.com/phpseclib/phpseclib) from 3.0.44 to 3.0.45.
- [Release notes](https://github.com/phpseclib/phpseclib/releases)
- [Changelog](https://github.com/phpseclib/phpseclib/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phpseclib/phpseclib/compare/3.0.44...3.0.45)

---
updated-dependencies:
- dependency-name: phpseclib/phpseclib
  dependency-version: 3.0.45
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 17:54:50 +00:00
Vitor Mattos
15447354e1
chore: bump PHP dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-06-19 11:35:20 -03:00
dependabot[bot]
c5c2c21105
chore(deps): Bump phpseclib/phpseclib from 3.0.43 to 3.0.44
Bumps [phpseclib/phpseclib](https://github.com/phpseclib/phpseclib) from 3.0.43 to 3.0.44.
- [Release notes](https://github.com/phpseclib/phpseclib/releases)
- [Changelog](https://github.com/phpseclib/phpseclib/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phpseclib/phpseclib/compare/3.0.43...3.0.44)

---
updated-dependencies:
- dependency-name: phpseclib/phpseclib
  dependency-version: 3.0.44
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-16 17:51:46 +00:00
Vitor Mattos
0af84d7bde
chore: bump PHP dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-05-19 16:56:09 -03:00
Vitor Mattos
b701d4835e
chore: bump PHP dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-05-13 15:16:52 -03:00
Vitor Mattos
6507b83d4a
chore: bump php dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-05-05 22:09:45 -03:00
dependabot[bot]
87ab9af7a1
chore(deps): Bump twig/twig from 3.20.0 to 3.21.1
Bumps [twig/twig](https://github.com/twigphp/Twig) from 3.20.0 to 3.21.1.
- [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG)
- [Commits](https://github.com/twigphp/Twig/compare/v3.20.0...v3.21.1)

---
updated-dependencies:
- dependency-name: twig/twig
  dependency-version: 3.21.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 16:51:03 +00:00
Vitor Mattos
60a4bf1376
feat: Admin frontend of custom signature template
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:41:53 -03:00
Vitor Mattos
1313d6ea20
chore: bump dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-09 09:03:41 -03:00
dependabot[bot]
0bdfed3c17
chore(deps): Bump smalot/pdfparser from 2.11.0 to 2.12.0
Bumps [smalot/pdfparser](https://github.com/smalot/pdfparser) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/smalot/pdfparser/releases)
- [Commits](https://github.com/smalot/pdfparser/compare/v2.11.0...v2.12.0)

---
updated-dependencies:
- dependency-name: smalot/pdfparser
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 16:29:01 +00:00
Vitor Mattos
4225594ffa
chore: bump dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-03-25 21:38:20 -03:00
Vitor Mattos
9044562373
chore: bump dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-03-20 09:36:28 -03:00
Samuelson Brito
e79552e4be chore:bump dependencies
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
2025-02-10 14:24:55 -04:00
Vitor Mattos
2d47143fa6 chore: bump dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-01-18 19:36:44 -03:00
Vitor Mattos
421c16cf8b chore: bump dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-01-16 19:07:58 -03:00
Vitor Mattos
f6f3d12c31 chore: Bump dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-01-13 07:43:24 -03:00
Vitor Mattos
9d70396d70
Merge pull request #4239 from LibreSign/feat/validate-from-uploaded-file
feat: validate from uploaded file
2025-01-09 13:32:22 -03:00
Vitor Mattos
9ec53a0013
chore: bump dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-01-08 10:43:12 -03:00
Vitor Mattos
0165354454
feat: add signingTime to signer data
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-01-06 00:19:43 -03:00
Vitor Mattos
a5c75850d9
chore: Bump dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-12-23 10:31:56 -03:00
nextcloud-command
a9ae34f208 chore(dev-deps): Bump nextcloud/ocp package
Signed-off-by: GitHub <noreply@github.com>
2024-12-22 02:55:03 +00:00
Vitor Mattos
cf1bfb378d chore: bump dependencies
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-12-16 11:30:33 -03:00