David Goodwin
8c69c99745
patch some XSS issues in 3.3.x: incorrect use of smarty escape:quotes, failure to escape output from viewlog.php - thanks @mirko, create release for 3.3.17
2026-11-18 09:24:21 +00:00
Rodrigo Cortés Cano
cddb8c825b
Escape viewlog output by default ( #1134 )
...
Render log records through the default output sanitization path and
remove the inline JavaScript interpolation of log data.
Full log data remains available through a native details element without
placing it in a script context.
Refs #1128
thanks @TrapoSAMA
2026-11-18 09:17:27 +00:00
David Goodwin
b18ed591a2
bumping php-cs-fixer; formatting rules change slightly
2022-06-28 13:31:37 +01:00
David Goodwin
a97a2f9bda
revert: bc9c506a05 - should not have been on this branch
2021-12-16 21:06:32 +00:00
David Goodwin
e90fd37f06
reformat
2021-12-02 14:55:47 +00:00
David Goodwin
bc9c506a05
add test for pacrypt variant php_crypt:BLOWFISH
2021-11-13 20:23:15 +00:00
David Goodwin
197c826a10
ensure timestamps are non-empty after update for mailbox
2021-04-06 20:18:53 +01:00
David Goodwin
b46650f3b3
ensure MailboxHandler does result in modified timestamp being updated, and they are both set on insertion - see #469
2021-04-06 20:18:45 +01:00
David Goodwin
e0c986931c
add something to test Login::passwordChange() works
2021-02-23 18:02:46 +00:00
David Goodwin
378ee417b0
improve tests
2021-01-19 20:54:08 +00:00
David Goodwin
481c465712
merge e7e1ce9c28 to fix PostgreSQL tests
2021-01-19 19:24:08 +00:00
David Goodwin
0ca0efa7b8
fix test if quota is turned on
2021-01-18 20:50:08 +00:00
David Goodwin
df75df08ec
update changelog; try and improve tests
2021-01-14 17:05:50 +00:00
David Goodwin
0096a41693
format
2021-01-12 11:00:56 +00:00
David Goodwin
7090b5af75
changes to pacrypt to support a prefix like {SHA265-CRYPT} on a hash - @see https://github.com/postfixadmin/postfixadmin/issues/344
2021-01-12 10:59:25 +00:00
David Goodwin
a2dd768858
reformat
2020-12-23 16:24:41 +00:00
David Goodwin
4712d83c98
see: https://github.com/postfixadmin/postfixadmin/issues/390 - support a callable which
...
allows for password validation against any external service.
2020-11-09 21:37:47 +00:00
David Goodwin
ce8c636eb5
rejig Login::__construct() as only one arg is really needed
2020-09-26 09:58:05 +01:00
David Goodwin
7107e17c4c
composer format
2020-09-25 21:33:26 +01:00
David Goodwin
b868f950bf
refactor Login stuff out of Handler classes into Login... add tests
2020-09-25 21:32:53 +01:00
David Goodwin
f091948381
move password check and recovery code generation out of PFAHandlers and into a Login class
2020-09-25 21:32:03 +01:00
David Goodwin
3c7da4f3b8
Refactor some methods
...
PFAHandler::store() -> PFAHandler::save();
PFAHandler::storemore() -> PFAHandler::postSave();
PFAHandler::beforestore() -> PFAHandler::preSave();
2020-09-25 21:29:45 +01:00
David Goodwin
10c92da8c8
improve domain handler test
2020-09-24 22:32:19 +01:00
David Goodwin
12f68a6e3a
composer format time
2020-08-13 15:27:47 +01:00
David Goodwin
5bd5bdc25b
merge https://github.com/postfixadmin/postfixadmin/pull/375 add unit test
2020-08-13 15:00:22 +01:00
David Goodwin
ef1fb36133
improve unit tests for PostgreSQL
2020-06-23 21:43:19 +01:00
David Goodwin
85e15790bb
should fix : #351
2020-05-02 19:08:47 +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
1c0fd02323
composer format time
2020-03-14 22:34:52 +00:00
David Goodwin
3b9d8f867e
merge sha512.b64 encrypt support - see https://github.com/postfixadmin/postfixadmin/issues/58
2020-03-14 22:30:51 +00:00
David Goodwin
5e1a4e27dd
ensure edit works
2020-03-03 09:49:46 +00:00
David Goodwin
79ee5f82cb
add a far better MailboxHandler test case
2020-03-02 09:55:44 +00:00
David Goodwin
01b4d6c587
cleanup db after running
2020-03-02 09:55:35 +00:00
David Goodwin
6a7abbe663
fix formatting
2020-03-02 09:41:31 +00:00
David Goodwin
28a3f5f157
better testing
2020-03-02 09:37:17 +00:00
David Goodwin
c66755a0da
remove test for code that probably does not work
2019-09-17 21:45:20 +01:00
David Goodwin
cd8cf289b4
more empty tests
2019-09-17 21:40:41 +01:00
David Goodwin
f61cb513ae
might fix pg failing test?
2019-09-17 21:33:25 +01:00
David Goodwin
0e9a1ff0ff
emptyish tests
2019-09-17 21:31:16 +01:00
David Goodwin
a485a2d861
cleanup after test
2019-09-17 21:26:37 +01:00
David Goodwin
946c47dd66
postgres requires fkeys exist
2019-09-17 21:13:49 +01:00
David Goodwin
958df260ec
mostly empty test
2019-09-17 21:05:44 +01:00
David Goodwin
a603d36224
format
2019-09-17 20:46:52 +01:00
David Goodwin
29d990f5f4
fix page browser test for sqlite; see #87 and #161
2019-09-17 20:46:32 +01:00
David Goodwin
71e7859c91
see #161 and #87 - unit test that seems to trigger this bug
2019-09-15 21:11:20 +01:00
David Goodwin
28bef9e136
output $sqlite file ....
2019-09-15 21:08:46 +01:00
David Goodwin
8e2e4eb189
run: composer format
2019-06-08 20:38:54 +01:00
David Goodwin
cc19870923
drop function: db_connect_with_errors(); just throw from db_connect() if something goes wrong
2019-06-07 16:23:34 +01:00
David Goodwin
dcef888587
token test coverage
2019-03-01 21:20:34 +00:00
David Goodwin
e9ed15143e
add token MailboxHandler test
2019-02-18 21:20:07 +00:00