David Goodwin
bee5fcbe24
improve setup form - only display "add superadmin account" if setup password is configured; change verbs depending on context etc; see https://github.com/postfixadmin/postfixadmin/issues/263
2019-08-13 09:19:22 +01:00
David Goodwin
fa27c7c8b7
reindent/reformat
2019-08-13 09:00:21 +01:00
David Goodwin
7b18d0386c
Merge pull request #287 from gabrielfin/fix-pagination
...
Fix pagination
2019-08-13 08:55:14 +01:00
David Goodwin
296fc2f48e
silence psalm error - cast $show_password_fields to an int in model/MailboxHandler.php lines 33/34
2019-08-13 08:53:43 +01:00
David Goodwin
c3d3a9dbc8
apply patch for vacation body encoding - see #288
2019-08-12 10:24:42 +01:00
David Goodwin
a0b4e690b2
only load random_compat if PHP_VERSION is < 7.0
2019-08-10 21:33:39 +01:00
David Goodwin
d788c6ac99
Merge pull request #285 from Nutomic/ssl-sendmail
...
Use TLS to send emails
2019-07-23 20:36:54 +01:00
Felix Ableitner
8ba1cf20a7
use config::bool instead of read_string
2019-07-22 13:06:07 +02:00
David Goodwin
55bf13298e
Merge pull request #286 from gabrielfin/master
...
Use percentage for quota levels
2019-07-20 09:38:45 +01:00
Unknown
88587f4cd3
Fix pagination
2019-07-19 19:11:54 -03:00
Unknown
7583decbcb
Use percentage for quota levels in bootstrap theme
2019-07-19 17:51:43 -03:00
Gabriel
c3065bdace
Use percentage for quota levels
2019-07-19 17:38:03 -03:00
Felix Ableitner
a46245eecc
Add config option for TLS
2019-07-17 11:44:04 +02:00
Felix Ableitner
61ede42800
Send emails with TLS
2019-07-17 11:44:04 +02:00
David Goodwin
8b19ef21cf
add default value for password_expiry (default to one year)
...
should fix: https://github.com/postfixadmin/postfixadmin/issues/280
2019-07-16 19:01:48 +01:00
David Goodwin
c53d17fff7
support TRUE orFALSE strings just incase
2019-07-12 10:53:27 +01:00
David Goodwin
01477f0009
Merge pull request #277 from Nutomic/admin-smtp-password
...
Add option to use smtp password when sending admin emails (fixes #272 )
2019-07-11 16:43:45 +01:00
Felix Ableitner
600248e955
Add option to use smtp password when sending admin emails ( fixes #272 )
2019-07-02 13:41:58 +02:00
Christian Boltz
55858bf3a0
Fix table names in gen_show_status()
...
... by using table_by_key() instead of reading $CONF directly.
Otherwise, $CONF['database_prefix'] gets ignored and the query tries to
use a wrong table name.
This fixes a bug introduced in d809e0fbf7
2019-06-30 15:28:25 +02:00
David Goodwin
651688c802
if we are generating passwords, there will only be one password value; so reduce the fields we check before deciding whether to update password_expiry - see https://github.com/postfixadmin/postfixadmin/issues/266
2019-06-11 21:05:53 +01:00
David Goodwin
1d1960a476
if CONF['generate_password'] == 'YES' then do not display password fields
...
Given we autogenerate a password ....
2019-06-11 21:03:39 +01:00
David Goodwin
ae476950f2
try and avoid smarty complaining about no variable $conf - see https://github.com/postfixadmin/postfixadmin/issues/266
2019-06-10 20:14:50 +01:00
David Goodwin
3ff2436f2f
try a bit harder to avoid non-numeric argument issues with $multiplier
...
(see https://github.com/postfixadmin/postfixadmin/issues/266 )
2019-06-10 20:13:22 +01:00
David Goodwin
8e2e4eb189
run: composer format
2019-06-08 20:38:54 +01:00
David Goodwin
03b9483204
default to providing a password_expiry datetime value - even if password_expiry is turned off - this should fix https://github.com/postfixadmin/postfixadmin/issues/280
2019-06-08 20:34:07 +01:00
David Goodwin
95429a6963
reindent, remove comment
2019-06-08 20:05:59 +01:00
David Goodwin
3322b43bb6
see: https://github.com/postfixadmin/postfixadmin/issues/282 - try and ensure local_part contains an @ on creating a mailbox
2019-06-08 20:05:33 +01:00
David Goodwin
78764578db
update languages to include the mailbox local_part string
2019-06-08 20:04:00 +01:00
David Goodwin
d64eadf609
try and stop $_SERVER[REQUEST_SCHEME] not being defined - see https://github.com/postfixadmin/postfixadmin/issues/279
2019-06-07 16:28:00 +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
87746e6de8
Merge pull request #281 from Nutomic/db-exceptions
...
Dont swallow database connection exceptions
2019-06-07 16:15:45 +01:00
Felix Ableitner
5d0a587fe7
Dont swallow database connection exceptions
2019-06-07 15:37:21 +02:00
David Goodwin
31de6c6d66
Merge pull request #278 from HeavyThumper/master
...
list.tpl - fix lowercase typo for $CONF variable reference for quota …
2019-06-03 15:36:42 +01:00
HeavyThumper
16bf5cab7f
list.tpl - fix lowercase typo for $CONF variable reference for quota handling
2019-06-03 07:32:24 -07:00
David Goodwin
71402e9051
comment
2019-04-26 11:46:57 +01:00
David Goodwin
ad858592f4
remove password_expiry logic from generic db_update function; the various *Handler classes should fix the password_expiry field already and this just breaks PgSQL; see #264
2019-04-26 11:34:21 +01:00
David Goodwin
7ed4df5459
Merge pull request #265 from r0l1/master
...
Allow Top-Level-Domain with 1 char
2019-04-14 18:06:31 +01:00
Roland Singer
23a7f1bfda
allow TLD with 1 char
2019-04-14 16:25:15 +02:00
David Goodwin
3fc5c74040
drop old / invalid postfix paramaeters - see #262
2019-04-12 19:52:53 +01:00
David Goodwin
d4d47e02cc
.deb packaging: move php-imap from being a dependency to a suggestion - see https://github.com/postfixadmin/postfixadmin/issues/251
2019-03-21 09:38:39 +00:00
David Goodwin
684cf3d829
Merge pull request #255 from csware/quota-level
...
Make quota levels configurable
2019-03-17 15:24:16 +00:00
Sven Strickroth
56395709f3
Make quota levels configurable
...
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2019-03-16 16:06:58 +01:00
David Goodwin
852a09f138
move version string output to only be shown to logged in users - see #252
2019-03-05 12:56:03 +00:00
David Goodwin
dcef888587
token test coverage
2019-03-01 21:20:34 +00:00
David Goodwin
045a19ae33
re-format
2019-02-27 14:44:20 +00:00
David Goodwin
7ed57a0cda
assume the db updates work if no exception was thrown
2019-02-27 14:44:20 +00:00
David Goodwin
9024dddf46
move password_expiration code into the MailboxHandler.
2019-02-27 14:44:20 +00:00
David Goodwin
b8ee437169
add throw_exceptions parameter to db_update and db_insert.
2019-02-27 14:44:20 +00:00
David Goodwin
df99e66b2d
try and stop "A non-numeric value encountered in ..."; see #239
2019-02-27 14:44:20 +00:00
David Goodwin
4a084d91b5
Merge pull request #249 from mtdcr/scram-sha-1
...
pacrypt_dovecot: Don't blacklist SCRAM-SHA-1
2019-02-19 20:08:59 +00:00