Commit Graph
3147 Commits
Author SHA1 Message Date
John Fawcett 8a314079bd Updates to POSTFIX_CONF.txt for configuration of authenticaiton with
dovecot sasl and configuration of Postfix submission service
2024-01-09 23:15:57 +01: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 6e6e4301ed an empty check would catch null ... while != "" will also match null it feels wrong 2024-01-05 19:31:54 +00: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 6b5801c666 typo fixes 2024-01-05 19:30:16 +00:00
David Goodwin 39e378c783 improve type hinting 2023-12-27 16:17:55 +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 dc792a0222 add unit test to cover some of Login::addAppPassword() 2023-12-27 16:17:55 +00:00
David Goodwin eaf79688f0 add note on CHANGELOG.TXT 2023-12-25 22:08:10 +00:00
David Goodwin 2ee4b3832e formatting 2023-12-24 19:40:49 +00:00
David Goodwin a368104fad token test 2023-12-24 19:39:47 +00:00
David Goodwin b65f7ef627 fix composer.json irc spec, move to use phar/psalm 2023-12-24 19:34:37 +00:00
David Goodwin 06c32173c5 Update README.md
add note on releases/branches etc
2023-12-23 22:09:15 +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 4d6767cc37 avoid sql injection 2023-12-23 21:47: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 1dc6ebe834 i thought i moved php to >= 7.4 2023-12-23 21:30:43 +00:00
David Goodwin 56b21b7cf4 update CHANGELOG.TXT with MFA/TOTP line 2023-12-23 17:07:54 +00:00
David Goodwin ae472699fb fix syntax 2023-12-23 17:06:03 +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 14a572bac7 perhaps fix issue with url encoding - see #705 2023-12-23 16:28:00 +00:00
David Goodwin de067a0ea5 Merge pull request #787 from postfixadmin/change-php-reqs-83-etc
removes support for php7.2/7.3 and adds php 8.3 to github build
2023-12-23 16:15:02 +00:00
David Goodwin 3b5fb0dc5b Revert "upstream php project no longer supports PHP 8.0 or below, Wordpress requires at least 7.4 ... so perhaps claiming to support 7.2/7.3 is unnecessary"
This reverts commit 4e29d3e719.
2023-11-29 22:15:22 +00:00
David Goodwin 70ba81ec78 try removing support for php7.2/7.3 and add 8.3 to github build 2023-11-29 22:13:09 +00:00
David Goodwin 4e29d3e719 upstream php project no longer supports PHP 8.0 or below, Wordpress requires at least 7.4 ... so perhaps claiming to support 7.2/7.3 is unnecessary 2023-11-29 22:08:29 +00:00
David Goodwin 03e73aa390 try updating the changelog - might help if we have a release this year i guess - see #783 2023-11-29 21:50:51 +00:00
David Goodwin 594a847dca add missing src_port to sql query and perl - see #784 - thanks @tempixx 2023-11-24 12:08:07 +00:00
David Goodwin f4a52f33d0 perhaps fix github actions build? try building on php8.2 2023-11-20 22:33:04 +00:00
David Goodwin ecdd40c9aa see #782 - merge in fix from @johnfawcett - escape slashes in the raw password 2023-11-20 21:58:15 +00:00
David Goodwin 36b59cc8b0 chat protocol update -> drop links to gitter (no one is using it); change freenode to libera.chat link in composer.json 2023-10-29 20:44:19 +00:00
David Goodwin 249e2634dd Merge pull request #766 from verdigado/feature/validate-username
Add missing "# XXX" to failed translations
2023-10-02 14:58:20 +01:00
Fredrik Boström 4b2b0a8e1f Add missing "# XXX" to failed translations 2023-09-27 15:49:19 +02:00
David Goodwin 143a31d3a0 Merge pull request #765 from verdigado/feature/validate-username
Javascript validation of username to prevent illegal characters
2023-09-26 15:52:34 +01:00
Fredrik Boström ea121c721b Add Alert() about illegal character in username 2023-09-26 15:27:24 +02:00
Fredrik Boström 7b8532b2b0 Add javascript check for illegal characters in username
Signed-off-by: Fredrik Boström <fredrik.bostroem@verdigado.com>
2023-09-26 14:12:33 +02:00
David Goodwin bb743df34b Merge pull request #761 from knofte/patch-2
Links and typos Update INSTALL.TXT
2023-09-19 09:35:59 +01:00
knofte 564725ab8f Links and typos Update INSTALL.TXT
- Removed broken link.
+ Updated IRC links and networks.
+ Fixed some typos, grammar and spacing issues.
2023-09-19 00:30:25 +03:00
David Goodwin 5691d3938d Merge pull request #760 from knofte/patch-1
Typos fix - Update UPGRADE.txt
2023-09-18 20:04:25 +01:00
knofte 2ea74cabb7 Typos fix - Update UPGRADE.txt
A few simple typos fixed.
2023-09-18 20:13:39 +03:00
David Goodwin 2324cf6594 Merge pull request #756 from puck/unset-smtp_client
Fix default $smtp_client setting if we aren't connecting to the SMTP …
2023-08-29 20:41:19 +01:00
Andrew Ruthven c9551cbb32 Fix default $smtp_client setting if we aren't connecting to the SMTP server on localhost.
This fixes the issue noted on https://github.com/postfixadmin/postfixadmin/discussions/648
2023-08-18 23:23:15 +12:00
David Goodwin 5c1725aef8 Merge pull request #755 from puck/try-log-to-file
Try log to file
2023-08-16 10:42:42 +01:00
Andrew Ruthven d15012c814 Fix some spelling and grammer mistakes 2023-08-16 21:15:11 +12:00
Andrew Ruthven b5275bb4af If we can write to the logfile, and syslog is off, enable logging to the logfile. 2023-08-16 21:07:12 +12:00
Andrew Ruthven e0438a703b Disable the Log4Perl warning if it isn't initialised. 2023-08-16 21:06:36 +12:00
David Goodwin 447b22a529 default to logging to syslog - see #586 2023-08-16 09:03:22 +01:00
David Goodwin 0f5983ee3b Merge pull request #749 from reinks2112/toggle-active-button-style
toggle the style of the active buttons
2023-07-29 08:44:03 +01:00
reinks2112 873bc8c43b toggle the style of the active buttons, 2nd
This is a small optical enhancement that toggles the style of the "active" buttons depending on the actual state of the corresponding entry.
This is the second file I forgot to add in the previous commit.
2023-07-29 00:19:19 +02:00