David Goodwin
31d4407b4e
formatting
2024-05-18 10:11:10 +01:00
David Goodwin
2faa37e04c
add link to ticket
2024-05-17 22:10:25 +01:00
David Goodwin
07ea084732
add link from TODO to ticket for #802
2024-05-17 22:10:25 +01:00
David Goodwin
977e436d1b
remove autocomplete from totp login - see #806
2024-05-17 22:10:25 +01:00
David Goodwin
5c5c36cad7
add error_log() logging to mailbox save failure - see #780
2024-05-17 22:10:25 +01:00
David Goodwin
7eef9a9e93
formatting
2024-05-17 22:10:25 +01:00
David Goodwin
c4a1188209
something to help me not forget
2024-05-17 22:10:25 +01:00
David Goodwin
8faf1dc2ff
test updates
2024-05-17 22:10:25 +01:00
David Goodwin
6e1cba7802
move app password code into Login
2024-05-17 22:10:25 +01:00
David Goodwin
97328e304b
html changes
2024-05-17 22:10:25 +01:00
David Goodwin
192848b1f8
pass Login into TotpPf etc
2024-05-17 22:10:25 +01:00
David Goodwin
cdbc8d9451
try to reorganise a little
2024-05-17 22:10:25 +01:00
David Goodwin
fc8e7cc271
pass Login instance into TotpPf
2024-05-17 22:10:25 +01:00
David Goodwin
bbb6e85904
menu: Change TOTP -> Manage TOTP; try to use "Exemption" rather than "Exception" for user labels
2024-05-17 22:10:25 +01:00
David Goodwin
0324a875b5
formatting
2024-05-17 22:10:25 +01:00
David Goodwin
1c47b4f192
we now pass a login thing into the TotpPf class
2024-05-17 22:10:25 +01:00
David Goodwin
c1a2736883
we now pass a login thing into the TotpPf class
2024-05-17 22:10:25 +01:00
David Goodwin
600e45fe66
if totp is not enabled, nuke the session and redirect to login.php
2024-05-17 22:10:25 +01:00
David Goodwin
b53fa74fdb
reformat?
2024-05-17 22:10:25 +01:00
David Goodwin
d2157a481a
try and ensure a domain admin can only do things for their domains; and a boring user can only do things for themself (totp_exception stuff)
2024-05-17 22:10:25 +01:00
David Goodwin
fd1920c042
Login - add type hints; add @todo for future self
2024-05-17 22:10:25 +01:00
David Goodwin
3c802080ec
add more type hints
2024-05-17 22:10:25 +01:00
David Goodwin
e31cd655d6
add new lines to break it up a bit
2024-05-17 22:10:25 +01:00
David Goodwin
046f8f66b7
dead code?
2024-05-17 22:10:23 +01:00
David Goodwin
3de3100137
empty file
2024-05-17 22:10:06 +01:00
David Goodwin
b43590b5c7
slightly better docs for app passwords
2024-05-17 22:10:06 +01:00
David Goodwin
f3ce7e232d
token formatting changes
2024-05-17 22:03:55 +01:00
David Goodwin
56dd787ce2
when going through password recovery, only wipe the recovery token after the user has updated their password
...
see https://github.com/postfixadmin/postfixadmin/issues/550
2024-05-17 22:02:01 +01:00
Marat Zimnurov
5dfee5aa8d
docs(install): fix a typo for unarchived dir ( #828 )
...
Thank you!
2024-05-12 10:00:58 +01:00
David Goodwin
6c84ceeb94
see #826 - avoid $no_vacation_pattern of "" causing everyone to be skipped
2024-05-09 08:35:57 +01:00
David Goodwin
05d87b16fe
github build: suppress coverage report as it is broken
2024-04-22 21:09:16 +01:00
David Goodwin
2eb7f34844
try and fix phpunit deprecation warning - assertRegExp => assertMatchesRegularExpression
2024-04-22 21:08:57 +01:00
David Goodwin
f01274ec94
try relaxing composer dependencies to allow php8.2 dev support, reformat so composer format passes
2024-04-22 21:02:01 +01:00
David Goodwin
d3dfe6382b
fix syntax error added in 4ae78cd172
and #823
2024-04-22 21:00:12 +01:00
Nuno Tavares
4ae78cd172
dont assume 'quota' will be in the values, just like block before wasn't assuming ( #823 )
...
Co-authored-by: Nuno Tavares <n.tavares@portavita.eu>
2024-04-22 08:35:55 +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
David Goodwin
53426ac148
Merge pull request #819 from ntavares/replace_string-date-parsing-errors
...
casting the date fields directly in the query
2024-04-12 10:05:03 +02:00
Nuno Tavares
a75c0471fc
casting the date fields directly in the query
2024-04-12 01:41:47 +02:00
David Goodwin
e0e2d006c5
Merge pull request #817 from bestlong/patch-1
...
fix: Update php.yml
2024-04-11 11:43:13 +02:00
Shao Yu-Lung (Allen)
376b96bfa1
fix: Update php.yml
...
fix typo
2024-04-11 16:40:11 +08:00
David Goodwin
279e7f682d
underlying db field is set to an int (for mysql and pgsql), pgsql does not cope with t/f being set for an inty field, so change the model definition .... - see #814
2024-04-07 19:37:41 +01:00
David Goodwin
065d68afbd
update changelog to include not on #472 and #812
2024-04-04 08:54:47 +01:00
David Goodwin
62a76734c9
see #812 - remove config options for create_mailbox_subdirs_* due to the php-imap module being deprecated; leave in an error_log message to perhaps avoid future support tickets asking why this does not work
2024-04-01 19:38:31 +01:00
David Goodwin
81a1d45617
drop use of the deprecated PHP imap extension (php-imap) - see #472 and #812
2024-04-01 19:32:47 +01:00
David Goodwin
582680889e
Merge pull request #811 from hguilbert/patch-3
...
Update fr.lang
2024-03-30 21:14:44 +01:00
hguilbert
fd74832842
Update fr.lang
...
deleting comments # XXX
2024-03-30 14:11:01 +01:00
David Goodwin
c472868afe
Merge pull request #810 from hguilbert/patch-2
...
Update fr.lang - thanks @hguilbert
2024-03-29 21:00:40 +01:00
hguilbert
53829e065f
Update fr.lang
2024-03-29 06:41:31 +01:00
David Goodwin
c422a4bad2
see #808 - db_log expects 3 strings ... make sure we do not pass in a null
2024-03-08 11:46:14 +00:00
David Goodwin
20136f257f
Merge pull request #807 from hguilbert/patch-1
...
Update fr.lang
2024-03-03 20:26:18 +00:00