Package: shaarli / 0.14.0+dfsg-2

Metadata

Package Version Patches format
shaarli 0.14.0+dfsg-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Change install paths.patch | (download)

application/config/ConfigManager.php | 24 12 + 12 - 0 !
1 file changed, 12 insertions(+), 12 deletions(-)

 change install paths

Set the location of the data, cache, pagecache and tmp directories to
/var/lib/shaarli/data
/var/cache/shaarli/cache
/var/cache/shaarli/pagecache
/var/cache/shaarli/tmp

instead of their paths being relative to the application's directory.

0002 Skip tests that don t work under root user.patch | (download)

tests/HistoryTest.php | 1 1 + 0 - 0 !
tests/helper/FileUtilsTest.php | 5 5 + 0 - 0 !
tests/legacy/LegacyUpdaterTest.php | 1 1 + 0 - 0 !
tests/updater/UpdaterTest.php | 1 1 + 0 - 0 !
4 files changed, 8 insertions(+)

 skip tests that don't work under root user

0003 Use installed fork awesome scss.patch | (download)

assets/default/scss/shaarli.scss | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 use installed fork-awesome scss and fonts

0004 Don t use sass loader in webpack.patch | (download)

webpack.config.js | 6 2 + 4 - 0 !
1 file changed, 2 insertions(+), 4 deletions(-)

 don't use sass-loader in webpack

0005 Use installed purecss.patch | (download)

assets/default/scss/shaarli.scss | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 use installed purecss

0006 Use vendored pure extras.patch | (download)

assets/default/scss/shaarli.scss | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use vendored pure-extras

0007 Skip tests that depend on working directory.patch | (download)

tests/front/controller/admin/ServerControllerTest.php | 2 2 + 0 - 0 !
tests/helper/FileUtilsTest.php | 1 1 + 0 - 0 !
2 files changed, 3 insertions(+)

 skip tests that depend on working directory

0008 webpack Resolve from system install paths.patch | (download)

webpack.config.js | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

 webpack: resolve from system install paths

0009 webpack css loader Disable url resolving.patch | (download)

webpack.config.js | 14 12 + 2 - 0 !
1 file changed, 12 insertions(+), 2 deletions(-)

 webpack: css-loader: disable url() resolving


0010 Makefile Don t run git clean.patch | (download)

Makefile | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 makefile: don't run git clean

0011 Makefile Skip use of venv and pip.patch | (download)

Makefile | 7 1 + 6 - 0 !
1 file changed, 1 insertion(+), 6 deletions(-)

 makefile: skip use of venv and pip

0012 Makefile Remove vendor bin from paths.patch | (download)

Makefile | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 makefile: remove vendor/bin from paths

0013 Skip tests that require internet access.patch | (download)

tests/ThumbnailerTest.php | 2 2 + 0 - 0 !
tests/front/controller/admin/ServerControllerTest.php | 1 1 + 0 - 0 !
tests/helper/ApplicationUtilsTest.php | 1 1 + 0 - 0 !
tests/http/HttpUtils/GetHttpUrlTest.php | 1 1 + 0 - 0 !
4 files changed, 5 insertions(+)

 skip tests that require internet access

0015 Makefile Remove code coverage during test.patch | (download)

Makefile | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 makefile: remove code coverage during test

0016 Use installed third party libraries.patch | (download)

index.php | 2 1 + 1 - 0 !
init.php | 4 2 + 2 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 use installed third party libraries

0017 testHumanBytes Skip 2 GiB test on 32 bit systems.patch | (download)

tests/UtilsTest.php | 10 8 + 2 - 0 !
1 file changed, 8 insertions(+), 2 deletions(-)

 testhumanbytes: skip 2 gib test on 32-bit systems


0018 Specify locale when running tests.patch | (download)

Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 specify locale when running tests


0019 Remove .doctrees folder after building docs.patch | (download)

Makefile | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 remove .doctrees folder after building docs


0020 Remove compiling message for blhc.patch | (download)

Makefile | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 remove compiling message for blhc

Forwared: not-needed

0021 Make test providers static.patch | (download)

tests/front/controller/admin/ShaareManageControllerTest/PinBookmarkTest.php | 2 1 + 1 - 0 !
tests/helper/DailyPageHelperTest.php | 18 9 + 9 - 0 !
tests/legacy/LegacyControllerTest.php | 2 1 + 1 - 0 !
3 files changed, 11 insertions(+), 11 deletions(-)

 make test providers static


0022 RequiresPhpunit 11 for test failing with PHPUnit 11.patch | (download)

tests/front/controller/admin/ManageTagControllerTest.php | 3 3 + 0 - 0 !
tests/front/controller/admin/PluginsControllerTest.php | 2 2 + 0 - 0 !
tests/front/controller/admin/ShaareManageControllerTest/AddOrDeleteTagTest.php | 3 3 + 0 - 0 !
tests/front/controller/admin/ShaareManageControllerTest/ChangeVisibilityBookmarkTest.php | 3 3 + 0 - 0 !
tests/front/controller/admin/ShaareManageControllerTest/DeleteBookmarkTest.php | 3 3 + 0 - 0 !
tests/front/controller/admin/ShaareManageControllerTest/PinBookmarkTest.php | 4 2 + 2 - 0 !
tests/front/controller/admin/ShaarePublishControllerTest/DisplayCreateFormTest.php | 3 3 + 0 - 0 !
tests/front/controller/admin/ShaarePublishControllerTest/SaveBookmarkTest.php | 3 3 + 0 - 0 !
tests/front/controller/visitor/BookmarkListControllerTest.php | 3 3 + 0 - 0 !
tests/front/controller/visitor/DailyControllerTest.php | 3 3 + 0 - 0 !
tests/front/controller/visitor/FeedControllerTest.php | 4 4 + 0 - 0 !
tests/front/controller/visitor/PictureWallControllerTest.php | 2 2 + 0 - 0 !
tests/front/controller/visitor/TagCloudControllerTest.php | 7 7 + 0 - 0 !
tests/helper/DailyPageHelperTest.php | 37 10 + 27 - 0 !
tests/legacy/LegacyControllerTest.php | 5 2 + 3 - 0 !
15 files changed, 53 insertions(+), 32 deletions(-)

 requiresphpunit('< 11') for test failing with phpunit 11

Bug-Debian: https://bugs.debian.org/1039855

0023 Rename PluginQrcodeTest as PluginReadItLaterTest PHP.patch | (download)

tests/plugins/PluginReadItLaterTest.php | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 =?utf-8?q?rename_pluginqrcodetest_as_pluginreaditlatertest_=28phpu?=
 =?utf-8?q?nit_11=C2=A0fix=29?=


0024 RequiresPhpunit 12 for test failing with PHPUnit 12.patch | (download)

tests/config/ConfigPhpTest.php | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 requiresphpunit('< 12') for test failing with phpunit 12


0025 fix reflected XSS via searchtags parameter.patch | (download)

application/front/controller/visitor/TagCloudController.php | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix reflected xss via searchtags parameter

Applied from upstream commit:
https://github.com/shaarli/Shaarli/commit/e77c04a76601cdcd62e74c396a931d750e007c45

Fix for CVE-2025-55291:
https://security-tracker.debian.org/tracker/CVE-2025-55291