0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
Commit Graph

259 Commits

Author SHA1 Message Date
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
Gabriel Sambarino
f81a070cc9 Fix typo ( s/pasword/password/ ) 2024-02-15 15:56:57 +01:00
David Goodwin
8c1369068f fix #801 - incorrect path for common.php 2024-02-06 08:29:54 +00:00
David Goodwin
64c34b2c0a fix deletion of app password - see #800 2024-02-05 20:30:31 +00:00
David Goodwin
45557a6ed4 code formatting fix 2024-01-11 08:57:27 +00:00
David Goodwin
c700f3c9c7 update mailbox - add smtp_active for #796 2024-01-10 10:02:07 +00:00
John Fawcett
668960ccf6 Add a flag to mailbox table for enable/disable smtp protocol. The table column name
is "smtp_active". This enables use of this flag instead of active flag for postfix
mysql queries. There is a new configuration parameter $CONF['smtp_active_flag'] =
YES or NO, which defaults to NO, providing the existing behaviour. When set to YES
the active_smtp field is displayed in the edit mode and can be modified.
The commit includes update to the language files and documentation.

The commit does not include the code to add the field to existing installs,
which I presume can be added during the release cycle in upgrade.php along the
lines of:

_db_add_field('mailbox',  'smtp_active', 'int DEFAULT 1');
2024-01-09 20:50:49 +01:00
David Goodwin
0632d39d0c login.php was writing to $_SESSION just before the 'init_session' function was called which just overwrote everything, so reorder code to fix #795
see https://github.com/postfixadmin/postfixadmin/issues/795 (thanks @kwitkow)
2024-01-05 19:30:36 +00:00
David Goodwin
0829e032d4 try and fix db schema for app password stuff for Sqlite 2023-12-27 16:17:55 +00:00
David Goodwin
ccbf3f9ab3 reformat/reorganise code 2023-12-23 21:59:33 +00:00
David Goodwin
8003978ca5 type hints etc and todo notes 2023-12-23 21:55:50 +00:00
David Goodwin
824ba906b1 more type hints 2023-12-23 21:49:57 +00:00
David Goodwin
015d4ec9cd reindent / reformat; add type hints for some of the app password stuff; try and make sure someone can only remove their own app password (see revokeAppPassword() ) 2023-12-23 21:43:31 +00:00
David Goodwin
4d17aa6ef9 manaul merge in of verdigado:master (see #753) (MFA/TOTP support) 2023-12-23 17:05:52 +00:00
David Goodwin
f1ee7b23a4 setup.php does not use the datetime widget or any funky bootstrap special effects, so we might as well remove JS from it 2023-06-17 19:24:53 +01:00
Christian Boltz
656b44d60c
also replace jquery 1.12.4 with 3.7.0 in setup.php
... and delete the old jquery-1.12.4.min.js
2023-06-13 13:25:02 +02:00
David Goodwin
f8e6cf408a replace jquery 1.12.4 with 3.7.0 - see #734 2023-06-13 11:06:43 +01:00
Dennis Lübke
5476bb3abd
Ignore CSV labels with a whitespace
Currently, exporting the alias list to CSV, the first column label is only a whitespace. For some reason the contents of this column consists of a long concatenation of "nbsp;"s.
This fix ignores the whitespace column label and gets rid of the "nbsp;nbsp;......" contents of this column.
This was successfully tested on a running installation of postfixadmin 3.2 on a Debian 11 system.
2023-02-01 12:28:58 +01:00
David Goodwin
fcf14f0165 rename some tables so someone migrating from 3.3.x to 3.4 (?) should not have problems 2022-12-08 20:46:47 +00:00
David Goodwin
ae6ff93c95 better markup; warn admin if admin_from is not defined - see #667 2022-11-30 21:18:32 +00:00
David Goodwin
65aea00a1f see https://github.com/postfixadmin/postfixadmin/issues/667 - re-use smtp_get_admin_email(), try and make sure there is a From: set in password recovery emails 2022-11-30 21:18:06 +00:00
David Goodwin
9fbb2fcc14 see https://github.com/postfixadmin/postfixadmin/issues/683 - add in error_log for e.g. fail2ban to pick up on someone trying to get into setup.php 2022-11-15 16:33:49 +00:00
Christian Boltz
43ce9feda1
Fix typos introduced in https://github.com/postfixadmin/postfixadmin/pull/665 / e279c77ca5 2022-10-18 23:24:38 +02:00
David Goodwin
7caf25244a composer format time 2022-10-12 20:41:14 +01:00
Jan Kruis
e279c77ca5 languages/nl.lang translation from english for new function such as dkim and password
public/editactive.php			edit wrong description text it said this module is used for deleting admin domains mailbos etc
					modify templates that it is used

public/list-virtual.php			modify templates that it is used
					modify the remarks behind arguments and internal , the texteditor thought the text after this was still remark text untl is see */

public/vacation.php and
model/VacantionHandel.php		adjust date string actionFrom and activeUntil these are written in the database as e.g. 2020-10-01 15:14:00 and 2020-10-30-15:14:00
					this should be 2020-10-01 00:00:00 and 2020-10-30 23:59:59 so that it contains all day, this happens if no holiday has been set for the account yet
					when adjusting the dates, the seconds of until are set to 00 instead of 59. When the holiday is canceled and then action is taken again, the from time
					to the time when the setting is made.

templates/editform.tpl			remove blank space

templates/list-virtual_mailbox.tpl	remove indent tabs
2022-10-12 17:46:15 +02:00
David Goodwin
80567e6920 see #642 - do the same pagination restoration stuff in editactive.php 2022-07-30 21:23:57 +01:00
David Goodwin
6cc7922284 see #642 - possible fix for pagination being lost 2022-07-25 09:44:12 +01:00
David Goodwin
d3e101e9d8 Merge remote-tracking branch 'origin/master' into feature/dkim 2022-07-18 08:55:07 +01:00
David Goodwin
38549c48ad composer format 2022-07-17 21:16:47 +01:00
David Goodwin
a99d6b7bc8 setup.php -> stray \n in error message 2022-07-17 21:15:32 +01:00
David Goodwin
64bb52d0e3 fix pgsql schema generation for dkim 2022-07-17 21:07:57 +01:00
Adrien Crivelli
a97771adfd
Automatic code style fixes 2022-07-15 11:29:55 +02:00
David Goodwin
2d6ded2786 PSR2 -> PSR12 formatting 2022-06-28 13:46:11 +01:00
Fredrik Falk
9e73025058 Add Domain Key handling 2022-06-23 20:40:06 +02:00
David Goodwin
ef36710ea7 print a better error message when password change is blocked 2022-06-11 09:03:03 +01:00
David Goodwin
41894e0875 see: 71199fd0cb and #596 2022-03-08 11:55:00 +00:00
Christian Eichert
38524f5c03
NOT && NOT && NOT = at lest 1
the logic is wrong, if you want to say at least of a list of negations you must put the condition with AND
2022-02-19 20:40:08 +01:00
David Goodwin
08ce130d58 try and improve mysql db collation fix - see #591 2022-02-14 21:36:33 +00:00
David Goodwin
272e5bddb9 stop psalm moaning about non-strict comparisons 2022-02-13 20:40:34 +00:00
David Goodwin
66c71418a6 mysql does not support DROP CONSTRAINT, looks like it is MariaDB only - see https://github.com/postfixadmin/postfixadmin/issues/591#issuecomment-1021340592 2022-01-25 16:58:35 +00:00
David Goodwin
fa9a9f36d1 reformat 2022-01-12 11:27:50 +00:00
benchea dan
ec6e974f10
Update viewlog.php 2022-01-12 11:54:18 +02:00
benchea dan
985273d07a
Update viewlog.php 2022-01-12 11:44:55 +02:00
benchea dan
d80041bf4e
Update viewlog.php 2022-01-12 10:39:16 +02:00
benchea dan
8690f1c2b6
Update viewlog.php 2022-01-12 10:37:29 +02:00
David Goodwin
52ed517f35 also fix collation on domain_admins.domain to be latin1_general_ci - see also #327 (else a domain admin cannot login) 2021-12-07 19:42:49 +00:00
David Goodwin
b0516193b0 see: https://github.com/postfixadmin/postfixadmin/issues/569 - dark theme from @polymeer, configure $CONF["theme_css"] = "css/dark-theme.css" 2021-12-01 11:33:36 +00:00
David Goodwin
047774b250 reorder upgrade sql, see #561 2021-11-21 21:32:24 +00:00
David Goodwin
7dcfb00377 composer format 2021-11-10 19:48:20 +00:00
David Goodwin
2ab28e795d fix more collation issues 2021-11-10 19:43:14 +00:00