David Goodwin
8abde0dc0b
move $version into $CONF / Config from functions.inc.php
2020-09-27 10:47:56 +01:00
David Goodwin
484acfbf59
Remove the random_compat lib.
2020-09-27 10:47:22 +01:00
David Goodwin
e4d5e4bee0
reformat
2020-09-26 09:58:16 +01:00
David Goodwin
ce8c636eb5
rejig Login::__construct() as only one arg is really needed
2020-09-26 09:58:05 +01:00
David Goodwin
6ad44679a7
change default theme to the bootstrap one
2020-09-25 21:52:22 +01:00
David Goodwin
d7fa33a3ed
s/store/save/g
2020-09-25 21:43:34 +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
07805ec6c6
Update Postfix-Dovecot-Postgresql-Example.md
...
v v v v v vmail .....
2020-09-23 11:55:57 +01:00
David Goodwin
8658ed7083
Update Postfix-Dovecot-Postgresql-Example.md
...
typo fix via Raul (emailed).
2020-09-23 11:45:02 +01:00
David Goodwin
3d46ec7959
revert: 1d1960a476
- see https://github.com/postfixadmin/postfixadmin/issues/384
2020-09-12 21:04:18 +01:00
David Goodwin
4d8b4558d7
might fix: https://github.com/postfixadmin/postfixadmin/issues/378
2020-08-13 16:59:40 +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
d8f6c38a97
Merge branch 'aliasfix' of https://github.com/GermanCoding/postfixadmin into GermanCoding-aliasfix
2020-08-13 14:48:00 +01:00
David Goodwin
b1ccb2b07b
merge in socket support for postgresql connections - see https://github.com/postfixadmin/postfixadmin/issues/370
2020-08-13 14:47:00 +01:00
GermanCoding
fe3e9e2702
Disallow alias that points to itself ( fixes #358 )
...
Based on an older commit, but this time done right. This change prevents any user-defined aliases
that point to themselves, because such aliases are not supported by Postfix and cause mail
delivery errors.
2020-08-07 22:15:45 +02:00
David Goodwin
c3a8875ca6
psalm fixes
2020-08-06 21:10:30 +01:00
David Goodwin
b0aa0141d7
reformat
2020-08-06 20:43:47 +01:00
David Goodwin
89aebea61d
Revert "Disallow aliases that point to themselves (fixes postfixadmin/postfixadmin/issues/358)"
...
This reverts commit c3d5b26740
.
2020-08-06 20:28:20 +01:00
David Goodwin
57a4787473
abort on any stderr output from doveadm ... see: https://github.com/postfixadmin/postfixadmin/issues/373#issuecomment-670007084
2020-08-06 19:42:34 +01:00
GermanCoding
c3d5b26740
Disallow aliases that point to themselves (fixes postfixadmin/postfixadmin/issues/358)
...
See github.com/postfixadmin/postfixadmin/issues/358 for details
2020-08-06 16:12:04 +01:00
David Goodwin
502bfca2f5
try and improve error handling if doveadm is not present etc - see https://github.com/postfixadmin/postfixadmin/issues/373
2020-08-06 15:33:37 +01:00
David Goodwin
ef1fb36133
improve unit tests for PostgreSQL
2020-06-23 21:43:19 +01:00
David Goodwin
d49de35189
improve docs
2020-06-23 21:14:29 +01:00
David Goodwin
e8f27969a3
psalm fixes
2020-06-21 16:44:43 +01:00
David Goodwin
ca24ff8300
perhaps improve logging - see : https://github.com/postfixadmin/postfixadmin/issues/364
2020-06-15 17:12:42 +01:00
David Goodwin
62f2bd32ef
Merge pull request #361 from ymarkus/master
...
fix vacation.pl resolver
2020-06-15 17:06:48 +01:00
Yannick Markus
d6385c03ff
fix vacation.pl resolver
2020-06-15 15:14:11 +02:00
David Goodwin
32aabd76eb
Merge pull request #359 from krhitoshi/fix-missing-semicolon
...
Add a missing semicolon in mailbox_remover.pl
2020-06-08 12:17:11 +01:00
Hitoshi Kurokawa
d668655c36
add missing semicolon
2020-06-08 18:35:26 +09:00
David Goodwin
bbf41c7acc
formatting
2020-06-02 12:59:47 +01:00
David Goodwin
befc18154f
see: 86852b3dbd (r39604078)
- fix MX lookup
2020-06-02 12:56:18 +01:00
David Goodwin
2bb2460bf3
add in error_log call just incase it helps someone
2020-06-02 12:54:26 +01:00
David Goodwin
44ffdd9459
Merge pull request #355 from rootwyrm/patch-1
...
Make pInvalidDomainDNS more forgiving
2020-06-02 12:53:45 +01:00
Phil Jaenke
d3a5db394c
Make pInvalidDomainDNS more forgiving
...
Make the pInvalidDomainDNS check more forgiving to accommodate newly created domains which also do not have an A record for the domain (which is generally not a best practice) or MX configured yet.
This adds a check for an `NS` record; if the NS exists, then the domain is valid and can be assumed to have just not been configured to receive email yet.
2020-05-15 16:06:59 -04:00
David Goodwin
864065cd37
fix MailboxHandler -> adding mailbox with empty quota field
2020-05-15 20:30:31 +01:00
David Goodwin
192c797fe1
add a support block to compoer.json
2020-05-10 13:01:33 +01:00
David Goodwin
052f2faffb
do not fail on error from coveralls
2020-05-02 19:12:44 +01:00
David Goodwin
85e15790bb
should fix : #351
2020-05-02 19:08:47 +01:00
Christian Boltz
ad4142134a
merge __parseParams() into parseParams()
2020-05-02 01:30:25 +02:00
Christian Boltz
9833a8f289
whitespace fix in __parseParams()
2020-05-02 01:26:35 +02:00
Christian Boltz
4e9e3db75d
Fix parameter parsing for '-1'
...
'--quota -1' gets parsed as two options ("quota" and "1"), but it's
meant to be "quota => -1".
Make sure '-1' is considered as a value, not as an option.
Also get rid of unset()'ing $params[$i] and (now?) superfluous recursive
calls to __parseParams() to make the code less confusing.
2020-05-02 01:24:08 +02:00
David Goodwin
fc464d6e69
update INSTALL.TXT - see also #349
2020-04-26 14:44:45 +01:00
David Goodwin
df9a400ea2
remove debug stuff
2020-04-22 09:37:31 +01:00
David Goodwin
fd48714615
fix issue reported with __LANG.$var - 844840c6a8 (commitcomment-38653465)
2020-04-22 09:34:25 +01:00
Christian Boltz
44c3ac5e20
language-update.sh: silence warning about undefined $CONF variable
...
This warning was for example
PHP Notice: Undefined variable: CONF in .../languages/en.lang on line 184
and is caused by some texts that include $CONF['admin_name']
2020-04-22 00:26:45 +02:00