0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
Commit Graph

258 Commits

Author SHA1 Message Date
David Goodwin
ba825ef3c1 see #506 and #327 - this might unify enough of our textual latin1 columns to resolve collation issues 2021-10-21 22:08:25 +01:00
David Goodwin
447a0ebb28 try and use up more of the page, see also #533 2021-09-12 16:59:24 +01:00
David Goodwin
cd73f27569 remove unnecessary warning if sqlite is available but not the configured db backend - see https://github.com/postfixadmin/postfixadmin/issues/534 2021-09-02 21:45:38 +01:00
David Goodwin
bf273904e6 indentation / stray ; 2021-08-04 20:36:52 +01:00
David Goodwin
25ac89f6a7 see https://github.com/postfixadmin/postfixadmin/issues/523 - improve randomness when creating the PFA_token field; reported by @michaellrowley via huntr.dev. 2021-08-04 17:00:55 +01:00
David Goodwin
0b07b052fc fix formatting! 2021-07-17 10:33:08 +01:00
David Goodwin
6d00833c75 probable fix for https://github.com/postfixadmin/postfixadmin/issues/516 - admins can see all domains so no fDomain parameter etc 2021-07-17 10:31:06 +01:00
David Goodwin
088c528d12
Merge pull request #513 from gabrielfin/viewlog-all
Allow super admins to view all log entries
2021-07-06 09:20:52 +01:00
Unknown
5faa292cfb Allow super admins to view all logs 2021-07-05 17:13:37 -03:00
Unknown
029d749fb8 Redirect to listview after editing 2021-07-05 15:39:51 -03:00
Christian Boltz
6b1be117f0
Remove non-expanded (and superfluous) {$rel_path}
Reported by mirko on IRC
2021-07-04 17:19:24 +02:00
Matt Darcy
7b66b9baa9 removed broken link to postfixadmin.org website 2021-06-03 12:54:19 +01:00
David Goodwin
884147e6df composer format time ... i shouldh ave a commit hook for this 2021-05-15 11:43:06 +01:00
David Goodwin
ba17fbe6d6 improve setup.php to apply database updates and avoid deadlock with not being able to login - see https://github.com/postfixadmin/postfixadmin/issues/494 2021-05-15 11:42:20 +01:00
David Goodwin
5a305bc830 allow vacation settings to include a time (but specify a time if one is not), this should stop us overwriting the time - see https://sourceforge.net/p/postfixadmin/discussion/676076/thread/5637ae3bc5/?limit=25#24a5 2021-05-13 16:16:22 +01:00
David Goodwin
b271ae8cb8 composer format! 2021-05-13 13:17:07 +01:00
David Goodwin
8518d53906 merge postfixadmin_3.3 into master 2021-05-13 13:15:27 +01:00
David Goodwin
59f0b89233 explode on errors when performing db upgrade; try and fix #498 by updating domain created/modified columns to something MySQL might be happier with 2021-05-08 20:11:58 +01:00
David Goodwin
b9ca22c918 change mailbox.name to be utf8mb4 too - see #484 2021-05-07 20:07:18 +01:00
David Goodwin
4e7b69e04c formatting 2021-05-07 19:54:17 +01:00
David Goodwin
df34c100ea schema changes for https://github.com/postfixadmin/postfixadmin/pull/484 - changing vacation.subject and vacation.text to be utf8mb4 2021-05-07 19:52:45 +01:00
David Goodwin
269515b1ad see: https://github.com/postfixadmin/postfixadmin/issues/105 - log the ip address from the users/login.php page too 2021-04-22 12:53:40 +01:00
David Goodwin
e8f3c40442 ignore this for sqlite which does not like a pk field being added 2021-04-13 21:26:11 +01:00
David Goodwin
2edabc3e03 phpcs insists on some brace changes 2021-04-13 21:19:16 +01:00
David Goodwin
bbec16aac1 see: #475 - add domain_admins.id pk autoincrement field 2021-04-13 21:08:49 +01:00
David Goodwin
823f27b29d phpcs wants to change ... 2021-03-22 09:28:28 +00:00
David Goodwin
4f1ef668d9 stop undefined indexes etc - see https://github.com/postfixadmin/postfixadmin/issues/470 2021-03-15 20:26:21 +00:00
David Goodwin
2a58056fff be more consistent with how we load common.php, improve comments 2021-03-09 20:34:09 +00:00
David Goodwin
a51cc34b83 try and avoid relying on output buffering for setup.php 2021-03-09 20:33:40 +00:00
David Goodwin
0565cde6f3 ensure POST[domains] is not empty 2021-03-02 21:25:49 +00:00
David Goodwin
84de818f22 merge postgresql fix from postfixadmin_3.3 2021-02-24 21:35:13 +00:00
David Goodwin
599b39b833 fix sql for postgres bool / t 2021-02-24 21:33:42 +00:00
David Goodwin
9107cc9a46 possible fix for #461 - postgresql does not like ints for bool fields... 2021-02-24 21:15:45 +00:00
David Goodwin
f6bbf116d8 possible fix for #461 - postgresql does not like ints for bool fields... 2021-02-24 21:15:13 +00:00
David Goodwin
c755e82a36 Merge branch 'postfixadmin_3.3' 2021-02-18 12:12:27 +00:00
David Goodwin
b2831d1241 psalm improvements 2021-02-17 21:29:18 +00:00
David Goodwin
6d81439f41 unused var 2021-02-07 20:36:55 +00:00
David Goodwin
d9813d4cf8 see #446 - try and detect site url but allow for $CONF['site_url'] override to be used. 2021-02-07 20:35:58 +00:00
David Goodwin
4d505211ef reformat 2021-02-04 20:40:45 +00:00
David Goodwin
4e7d86ca07 try and improve setup.php labels/layout - see #445 2021-02-04 20:40:38 +00:00
David Goodwin
3fa1716ad7 composer format 2021-02-04 20:40:31 +00:00
David Goodwin
01d1967de0 move html around a bit, list existing admin users if setup_password confirmed 2021-02-04 20:40:20 +00:00
David Goodwin
b531925859 message seems unnecessary if you have logged in 2021-02-04 20:40:12 +00:00
David Goodwin
d0c3cdc4d5 try and make setup.php more useful (error detection, logging etc) 2021-02-04 20:39:31 +00:00
David Goodwin
5bcafb9c91 reformat 2021-02-03 20:28:32 +00:00
David Goodwin
50ca5944b6 try and improve setup.php labels/layout - see #445 2021-02-03 20:27:53 +00:00
David Goodwin
582b5e91b9 composer format 2021-01-29 21:46:57 +00:00
Gianluca Giacometti
79284ddff8
Call to the template fixed
The name ogìf the template is missing the prefix "broadcast-"
2021-01-29 22:24:51 +01:00
David Goodwin
2cb7749dde move html around a bit, list existing admin users if setup_password confirmed 2021-01-29 21:15:51 +00:00
David Goodwin
23db330473 message seems unnecessary if you have logged in 2021-01-28 22:28:41 +00:00
David Goodwin
4063ca151c try and make setup.php more useful (error detection, logging etc) 2021-01-28 22:18:09 +00:00
David Goodwin
237615502a Merge remote-tracking branch 'origin/postfixadmin_3.3' 2021-01-27 09:29:57 +00:00
David Goodwin
dd9b08f3a6 domain_selected -> reduce default down to '' rather than 'invalid' 2021-01-26 20:42:38 +00:00
David Goodwin
c61939ce5c bootstrap 3.x does not have a .ml-x or .mr-x class, so create something for now so i can move buttons apart a little 2021-01-26 19:25:31 +00:00
David Goodwin
34678ccb4d bootstrap 3.x does not have a .ml-x or .mr-x class, so create something for now so i can move buttons apart a little 2021-01-26 19:07:06 +00:00
David Goodwin
7cf3c4c9bd merge postfixadmin 3.3 back into master 2021-01-21 20:57:30 +00:00
David Goodwin
b4a475c185 see: https://github.com/postfixadmin/postfixadmin/issues/432 - add/fix missing template variable "domain_selected" 2021-01-21 20:52:28 +00:00
David Goodwin
7f8a3d4bde also fix password-change include path - see https://github.com/postfixadmin/postfixadmin/issues/430 2021-01-21 13:57:31 +00:00
David Goodwin
829b27fc20 re-fix password-change 2021-01-21 13:54:53 +00:00
David Goodwin
e10f6f3df5 merge postfixadmin_3.3 into master 2021-01-21 13:52:41 +00:00
David Goodwin
481c465712 merge e7e1ce9c28 to fix PostgreSQL tests 2021-01-19 19:24:08 +00:00
David Goodwin
e7e1ce9c28 fix postgresql test 2021-01-19 16:50:56 +00:00
David Goodwin
dd86dcad30 fix forget-password (+ themeing), see #427 2021-01-19 09:19:59 +00:00
David Goodwin
95b431599d fix forget-password (+ themeing), see #427 2021-01-19 09:19:30 +00:00
David Goodwin
70bf59edc4 composer format; fix syntax issue; comment out code in model/Login which fails psalm check 2021-01-14 22:22:27 +00:00
David Goodwin
cb161a7cec
Merge pull request #421 from BotoX/master-crypt
Suport for dovecot mail-crypt-plugin via new mailbox_postpassword_script hook
2021-01-14 20:11:14 +00:00
David Goodwin
d4c19506b3 rejig setup.php so it displys error messages if admin creation fails etc 2021-01-14 17:07:55 +00:00
David Goodwin
79737bc049 reformat 2021-01-14 17:07:55 +00:00
David Goodwin
61585e8b02 do not lose login error for users/ - see https://github.com/postfixadmin/postfixadmin/issues/420 2021-01-14 17:07:55 +00:00
David Goodwin
08e4c35141 Fix for https://github.com/postfixadmin/postfixadmin/issues/418 2021-01-14 17:07:55 +00:00
David Goodwin
0ca76d82f5 indent 2021-01-14 17:07:55 +00:00
David Goodwin
aa674aa233 be more strict about the format of an obsolete setup_password 2021-01-14 17:07:55 +00:00
David Goodwin
391d9a0f57 rejig setup.php so it displys error messages if admin creation fails etc 2021-01-14 16:44:10 +00:00
David Goodwin
18a019690c reformat 2021-01-14 11:26:04 +00:00
David Goodwin
24eb45be92 do not lose login error for users/ - see https://github.com/postfixadmin/postfixadmin/issues/420 2021-01-14 11:22:53 +00:00
David Goodwin
89940dd6ab Fix for https://github.com/postfixadmin/postfixadmin/issues/418 2021-01-13 22:26:51 +00:00
David Goodwin
1ac1eb07d5 indent 2021-01-13 10:52:15 +00:00
David Goodwin
0f2aefe471 be more strict about the format of an obsolete setup_password 2021-01-13 09:26:32 +00:00
David Goodwin
5d77e3514b try and detect old setup_password and output appropriate message on setup.php 2021-01-12 22:31:05 +00:00
David Goodwin
d80d3573f1 format 2021-01-12 22:15:28 +00:00
David Goodwin
a20f05ca71 try and fix vacation editing etc - see https://github.com/postfixadmin/postfixadmin/issues/416 2021-01-12 22:08:35 +00:00
David Goodwin
ea7ecb113d better wording as we are using PDO 2021-01-11 21:41:19 +00:00
David Goodwin
6940210402 code already depends on php 7.0 return types, so tidy up setup.php to not allow php5.x; remove setup check for phar as this is not required with php 7.0+ 2021-01-11 21:35:54 +00:00
BotoX
c6ae3ea2f3 Suport for dovecot mail-crypt-plugin via new mailbox_postpassword_script hook.
Uses doveadm mailbox cryptokey on create user / password change to adjust user encryption key.
https://doc.dovecot.org/configuration_manual/mail_crypt_plugin/
2021-01-11 21:07:45 +01:00
Christian Boltz
c2571694d1
Drop now unused users/css/default.css 2021-01-11 20:57:04 +01:00
David Goodwin
6b2fa8e607 see: https://github.com/postfixadmin/postfixadmin/issues/415 - fix setup page to use password type field - thanks @efelon 2021-01-11 13:01:37 +00:00
David Goodwin
431d885e4e see: //github.com/postfixadmin/postfixadmin/issues/410 - ignore theme_css if it points to css/default.css; drop css/default.css 2021-01-09 19:43:43 +00:00
David Goodwin
c7850b78eb fix bootstrap theme for users/ urls; make some other links use https. 2021-01-07 20:34:06 +00:00
Christian Boltz
4f0e41c4e2
delete unused calendar js, css and images 2021-01-07 20:54:47 +01:00
Christian Boltz
8b6ad23dbf
setup.php: load bootstrap.min.css locally
... instead of using maxcdn.bootstrapcdn.com
2021-01-07 20:23:23 +01:00
Christian Boltz
e38174abf4
Drop unused bootstrap 3.3.7 2021-01-07 20:19:35 +01:00
Christian Boltz
2c6968b805
use a local copy of jquery
... instead of loading it from code.jquery.com
2021-01-07 20:18:15 +01:00
Christian Boltz
9d81facf32
fix typos in setup.php 2021-01-06 13:03:21 +01:00
David Goodwin
d391847ed9 manual merge of fix from https://github.com/postfixadmin/postfixadmin/issues/404
(try and filter CSV export lists to the current selected domain)
2020-12-24 10:46:07 +00:00
David Goodwin
a2dd768858 reformat 2020-12-23 16:24:41 +00:00
David Goodwin
4a77e93984 drop pointless text 2020-12-09 23:00:00 +00:00
David Goodwin
7545005426 rejig setup.php; retheme with bootstrap; hide sensitive info until someone has logged in (see #402) 2020-12-09 22:53:29 +00:00
David Goodwin
897e57d403 update bootstrap to v3.4.1 2020-12-09 22:52:21 +00:00
David Goodwin
92a7042ba1 fix typo checks 2020-11-09 21:56:08 +00:00
David Goodwin
2b33e8f3c3 remove conditional; should be unnecessary 2020-11-09 21:50:17 +00:00