Commit Graph
54 Commits
Author SHA1 Message Date
David Goodwin 59ec8b4f2b github actions build: stop clobbering $PATH in install.sh; add composer validate --no-check-lock before install.sh 2026-11-06 10:18:27 +00:00
Rodrigo Cortés Cano 0a894b0876 [4.x] Fix stored XSS in TOTP-exception and application-password lists (#1186)
Stored TOTP-exception and application-password descriptions bypass PFASmarty escaping on maintained 4.x, allowing mailbox-controlled markup to execute when a global administrator views the lists. Both controllers
now use the existing recursive HTML escaping so stored descriptions render as text, including records already in the database.

thanks @TrapoSAMA
2026-11-01 16:17:55 +00:00
David Goodwin 703b62d414 see #1049 - when building a 4.0.x release, include a build for PHP 8.4 as well as 7.4 2026-06-29 09:03:01 +01:00
David Goodwin d57fc2d0f3 when building a release, include composer.lock in the .tar.gz as it does allow us to easily tell what versions of various libraries we have installed 2026-06-27 11:31:02 +01:00
David Goodwin 7a9d57316c build releases for php7.4 for the 4.x branch 2026-06-16 13:18:50 +01:00
Kent Riboe 41294553b1 Add GitHub Actions workflow to build self-contained release archives (#999)
* Add GitHub Actions workflow to build self-contained release archives (#973)

Automatically builds a .tar.gz with vendor/ included when a release is published, this saves users from needing to use composer etc. Currently a single file, built for a PHP 8.2 environment. 

Thanks @knofte
2026-06-16 13:15:14 +01:00
Sven Strickroth 553d808f78 Do not use deprecated ::set-output any more
cf. https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Signed-off-by: Sven Strickroth <email@cs-ware.de>
2026-01-27 21:24:39 +01:00
David Goodwin 8746ea889a build / test against php 8.5 too 2025-11-23 16:04:02 +00:00
David Goodwin 53737ef163 move to use ubuntu 24.04 for github actions 2025-08-30 10:34:09 +01:00
David Goodwin 21b0ad22d7 build against PHP 8.4 as well 2025-07-13 10:29:40 +01:00
David Goodwin a605ef6c86 try caching composer vendor stuff in the github build 2024-12-05 14:33:30 +00:00
David Goodwin 05d87b16fe github build: suppress coverage report as it is broken 2024-04-22 21:09:16 +01:00
Shao Yu-Lung (Allen) 0876c368e4 feat: support Dovecot DIGEST-MD5 (#816)
Add support for dovecot DIGEST-MD5 auth (using : $CONF['pacrypt'] = 'dovecot:DIGEST-MD5') 

This also changes the pacrypt() function to take an optional 3rd argument (username). 
Thanks @bestlong
2024-04-12 09:57:19 +01:00
Shao Yu-Lung (Allen) 376b96bfa1 fix: Update php.yml
fix typo
2024-04-11 16:40:11 +08:00
David Goodwin 70ba81ec78 try removing support for php7.2/7.3 and add 8.3 to github build 2023-11-29 22:13:09 +00:00
David Goodwin f4a52f33d0 perhaps fix github actions build? try building on php8.2 2023-11-20 22:33:04 +00:00
David Goodwin eb7e449522 build_coverage_report is not important 2022-10-12 21:09:31 +01:00
David Goodwin 7caf25244a composer format time 2022-10-12 20:41:14 +01:00
Adrien Crivelli 315ac19963 Test against PHP 8.1 too 2022-07-15 11:24:41 +02:00
David Goodwin 3d231a54a2 Merge pull request #491 from postfixadmin/feature-improve-pacrypt
Feature - improve 'pacrypt' (reduce reliance on dovecot pw), add more hash algorithms
2021-10-26 19:02:45 +01:00
David Goodwin 7fd10d6aad typo fix thanks @gnanet 2021-10-24 11:24:55 +01:00
David Goodwin f83835578c token install script instead; try updating github action to match 2021-10-23 22:44:25 +01:00
David Goodwin d7d53a89e5 make github action step more legible 2021-10-22 22:43:01 +01:00
David Goodwin fccf74af97 hm, composer.lock makes it more annoying to test under different php variants 2021-10-22 22:42:27 +01:00
David Goodwin b21583ea40 lets get some output from coveralls to check what is going on 2021-10-12 22:12:26 +01:00
David Goodwin 7ca35bc7c9 and touch config.local.php here too 2021-09-29 21:17:17 +01:00
David Goodwin eca6f47b83 fix github action 2021-09-29 21:14:09 +01:00
David Goodwin 21514cfa31 fix github action dependencies 2021-09-29 21:12:43 +01:00
David Goodwin d3a2fe8845 try updating github action to have more meaningful labels and not try the matrix if psalm/format fail 2021-09-29 20:55:23 +01:00
David Goodwin b48ab571a3 what is an m or a d between friends? 2021-06-11 22:02:21 +01:00
David Goodwin d3851a840d coveralls... 2021-06-11 21:57:02 +01:00
David Goodwin 48d4435b84 try and get php-coveralls working 2021-06-11 21:55:02 +01:00
David Goodwin 31747fca89 try adding a php matrix in 2021-06-11 21:14:21 +01:00
David Goodwin bf3136b0fc remove --no-suggest 2020-12-23 16:41:20 +00:00
David Goodwin be20c87182 try specifying a php variant 2020-12-23 16:32:39 +00:00
David Goodwin 052f2faffb do not fail on error from coveralls 2020-05-02 19:12:44 +01:00
David Goodwin 3cd62f9f4f update to phpunit v8, try changing coveralls library, update github action 2020-04-14 21:03:10 +01:00
David Goodwin e49c25139e ignore coveralls erroring 2020-03-02 14:23:29 +00:00
David Goodwin 70fe1f93f2 rename build 2020-03-02 14:17:43 +00:00
David Goodwin 591ea333ea drop caching; we as we do not add composer.lock to git anyway 2020-03-02 13:47:36 +00:00
David Goodwin 22bb34ff60 try this 2020-03-02 13:45:05 +00:00
David Goodwin a00e551a8a try adding composer caching 2020-03-02 13:41:55 +00:00
David Goodwin 3809cf905f rinse repeat 2020-03-02 13:33:47 +00:00
David Goodwin fddd450df0 rinse, repeat 2020-03-02 13:30:40 +00:00
David Goodwin cd6386bdea - => _ 2020-03-02 13:26:52 +00:00
David Goodwin 6c3d595c0b coverage.xml 2020-03-02 13:25:14 +00:00
David Goodwin e661f2445a coveralls test - see https://github.com/renekorss/Banklink/blob/af8a5e1ebf5aa8d16c847d2f98119e5f9e32c76e/.github/workflows/build.yml and https://github.com/php-coveralls/php-coveralls/issues/273 2020-03-02 13:19:26 +00:00
David Goodwin 2444b0c16b Revert "try updating coveralls"
This reverts commit cffcd1c4ec.
2020-03-02 10:46:01 +00:00
David Goodwin cffcd1c4ec try updating coveralls 2020-03-02 09:57:51 +00:00
David Goodwin 5b16f4a483 composer build 2020-02-23 19:01:09 +00:00