Commit Graph
324 Commits
Author SHA1 Message Date
David Goodwin 79fd31f013 fix header url for users - see #416 2021-01-13 10:52:09 +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 97e2222e6c fixes https://github.com/postfixadmin/postfixadmin/issues/412 (footer links - sf.net does not support https etc) 2021-01-09 19:04:14 +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
David Goodwin 27ff96f4f7 fix links to look like buttons in list-virtual (mailboxes) 2021-01-07 19:40:24 +00: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
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 897e57d403 update bootstrap to v3.4.1 2020-12-09 22:52:21 +00:00
David Goodwin e35bbb3d90 add width: min-content; min-width: 600px to the main template to try and make it render better for wide list tables 2020-10-03 20:12:43 +01:00
David Goodwin aab725eaee put a min-width on the main container to cover up it not rendering very well when too many features are turned on etc etc etc 2020-10-01 21:01:31 +01:00
David Goodwin 68a8caac28 move the bootstrap theme to be the default 2020-09-28 20:32:57 +01:00
David Goodwin 36d747832e reindent some html 2020-09-27 20:45:53 +01:00
David Goodwin 0922db8210 change deletion to be a POST request, use btn-danger etc 2020-09-27 20:44:03 +01:00
David Goodwin a3386ee8f7 change alias/mailbox deletion to be a POST request 2020-09-27 20:41:25 +01:00
gotty 13549cea0f Favicon config and ru_lang:
1. Favicon configuration of the project:
  a. Fixed incorrect link to favicon from the subfolder /users/
  b. Added ability to set favicon via config
2. Completed translation of all string constants into Russian language.
2019-10-19 18:33:18 +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
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
HeavyThumper 16bf5cab7f list.tpl - fix lowercase typo for $CONF variable reference for quota handling 2019-06-03 07:32:24 -07: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 74002bbf57 psalm fixes 2018-12-27 21:43:11 +00:00
Damien Martins 84533224ba Adds colored indicators for password expired, account disabled and vacation enabled accounts 2018-08-21 16:04:28 +02:00
Damien Martins b33d79125c Merge branch 'master' of github.com:doktoil-makresh/postfixadmin 2018-08-21 16:02:02 +02:00
Damien Martins d809e0fbf7 Adds colored indicators for password expired, account disabled and vacation enabled accounts 2018-08-21 15:57:06 +02:00
Damien Martins 72dddbc93b Adds colored indicators for password expired, account disabled and vacation enabled accounts 2018-08-21 15:49:40 +02:00
Damien Martins e786609aa9 Adding support for password expiration. Please read README.password_expiration for more details 2018-08-17 16:07:14 +02:00
root bd85b3725f Bootstrap TPL for user interface 2018-05-04 14:25:27 +02:00
root 5dcd203d8f Gestion des dates de vacation 2018-05-04 13:52:29 +02:00
root fb3e968cfc Bootstrap template integration 2018-05-04 13:25:34 +02:00
David Goodwin d305374568 make the html slightly more html5 like; remove possibility of smarty.session.lang being undefined and erroring 2018-02-05 20:46:27 +00:00
David Goodwin aad433eceb stop undefined error on CONF[sendmail_all_admins] 2018-01-26 20:03:29 +00:00
HLFH 0972df8243 favicon within images folder 2017-12-16 10:36:35 +00:00
Sylvain Tissot ffb84283c2 Harden password reset process
The improvements are:

- Die with an explicit message when a user is trying to reset his lost password and the option is disabled in config
- Redirect user to main page after password change using relative URL
- Don't leak info whether user exists or has recovery info defined
- Throttle password reset requests to prevent brute force attacks
- Show phone/alt email fields in mailbox/admin edit form only when the password reset option is enabled
- Make database upgrade code compatible with other databases types
- Use the existing password generator to generate OTP. It is now stored in database, unique to each user, valid only for 1 hour and can only by used once.
2017-10-09 11:45:51 +09:00
David Goodwin 8bb6000072 Merge pull request #60 from Vilican/master
Security fixes
2017-10-06 11:19:26 +01:00
Matyáš Koc 3c95ec4a09 Add CSRF token 2017-09-03 14:55:50 +02:00
Sylvain Tissot 9c9ba64a7f Allows a user or admin to reset his/her forgotten password with a code sent by email/SMS #18 2017-08-21 13:05:25 +02:00
Matyáš Koc e903484692 Links with target="_blank" should have rel="noopener" 2017-07-17 14:35:34 +02:00
Christian Boltz 4d9a0717d0 Merge pull request #26 from medarion/master
added config option to disable "edit_alias" function for users
2017-07-09 14:32:09 +02:00
Jan-Frederik Rieckers 54532e7cee Fix issue with checkbox in broadcast 2017-04-17 14:02:37 +02:00
Christian Boltz 8aecf3eae3 Merge branch 'master' into broadcast_improvements 2017-04-17 13:22:16 +02:00
Christian Boltz 67a6d0e27a use $CONF[page_size] in viewlog.php
This replaces the hardcoded "LIMIT 10" with "LIMIT <page_size>".

Patch by Dan <dannyro @SF>, https://sourceforge.net/p/postfixadmin/patches/133/

Additional change on top of Dan's patch:
- wrap $CONF['page_size'] in intval() to avoid that a broken config
  setting can break or exploit the query
2017-03-04 00:34:45 +01:00
Martin Oemus 9aba43ee48 added config option to disable "edit_alias" function for users 2017-02-14 20:18:31 +01:00
Christian Boltz 04e54508e5 Merge pull request #19 from rmcaninch/rmcaninch-patch-1
add css id #update-check to footer.tpl

This allows to hide the "check for updates" link using a custom CSS with '#update-check { display:none; }'
2017-02-12 23:43:15 +01:00
Jan-Frederik Rieckers 3c360f646f Switch config item for broadcast.
The new config item is now `sendmail_all_admins`
2017-02-12 20:39:37 +01:00
Jan-Frederik Rieckers 3c3d844130 Improve the broadcast message tool
* Make it possible by config option that non global admins can send
  broadcast messages to their domains.
* Allow the sender to select the domains the broadcast message should be
  delivered to
* Allow the sender to decide if the broadcast message should just be
  delivered to mailboxes
2017-02-11 23:16:43 +01:00
rmcaninch 137c9ac9d1 css id update-check added to footer.tpl
Simplify hiding the software update check from display. Not really for security. More for aesthetics; and keeping the more basic users from questioning it. Add #update-check {display: none;} to your custom css. See related feature patch: https://sourceforge.net/p/postfixadmin/patches/134/
2016-11-05 01:17:45 -04:00
Christian Boltz 74130b478c list-virtual.tpl: add missing "download as CSV" for mailboxes
Reported by Dan <dannyro @SF> in
https://sourceforge.net/p/postfixadmin/patches/135/

Note that I'm using a completely different patch to fix it.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1880 a1433add-5e2c-0410-b055-b7f2511e0802
2016-11-01 19:31:41 +00:00
Christian Boltz 52a7df2b3a Add CSRF protection for POST requests
Add the CSRF token to all forms, and validate it when those forms are
submitted.

https://sourceforge.net/p/postfixadmin/bugs/372/



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1842 a1433add-5e2c-0410-b055-b7f2511e0802
2016-05-20 20:42:04 +00:00
Christian Boltz 530c489ec4 editform.tpl:
- add {if} block for description column to make customization for
  special fields/cases easier


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1829 a1433add-5e2c-0410-b055-b7f2511e0802
2016-03-11 21:19:14 +00:00