PostfixAdmin for BananaNetwork - to apply required patches before release or release in async to the official version https://github.com/postfixadmin/postfixadmin
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Christian Boltz 1a0d584bf9 model/UserHandler.php: proofreading, lots of changes and added TODO comments
- change_pass() now returns the return value of change_pw()
- made most variables un-escaped (as expected by db_insert/db_update/
  db_delete). This means they HAVE TO BE ESCAPED when using them in a
  hand-written query. (Error messages also need escaping - the
  backslashes from escape_string wouldn't help there anyways.)
- escaped variables renamed to $E_whatever
- changed all return values to true (success) and false (failure)
  instead of shell-like 0 (success) and 1 (failure)
- removed unused global $config at various places
- removed timestamp columns from db_insert and db_update call where they
  match the default
- added db_log() for some (but not all) failures
- honor $CONF[maildir_name_hook] when creating a mailbox
- splitting a mail address is now done with list(...) = explode(...)
- switched to db_begin(), db_commit(), db_rollback()
- let smtp_mail create the mail header
- added missing db_commit in delete()
- various minor fixes, code cleanup, comments and TODO notes

To sum it up: all code in UserHandler.php that does not have a TODO
attached should be fine :-)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@908 a1433add-5e2c-0410-b055-b7f2511e0802
14 years ago
ADDITIONS list-virtual.php: 14 years ago
DOCUMENTS POSTFIX_CONF.TXT: 14 years ago
VIRTUAL_VACATION vacation.pl: 14 years ago
admin
configs Another step in code cleanup: replaced search.php with search mode in 14 years ago
css list-virtual.php: 14 years ago
debian updating with build deps 14 years ago
images
languages nb.lang: 14 years ago
model model/UserHandler.php: proofreading, lots of changes and added TODO comments 14 years ago
scripts postfixadmin-cli: 14 years ago
smarty/libs - add missing Smarty plugin 14 years ago
templates create-alias: support multiple alias targets 14 years ago
tests
users list-virtual.php: 14 years ago
CHANGELOG.TXT list-virtual.php: 14 years ago
GPL-LICENSE.TXT
INSTALL.TXT list-virtual.php: 14 years ago
LICENSE.TXT
backup.php
broadcast-message.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 15 years ago
calendar.js
common.php common.php: 14 years ago
config.inc.php config.inc.php: 14 years ago
create-admin.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 15 years ago
create-alias-domain.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 15 years ago
create-alias.php create-alias: support multiple alias targets 14 years ago
create-domain.php list-virtual.php: 14 years ago
create-mailbox.php list-virtual.php: 14 years ago
delete.php list-virtual.php: 14 years ago
edit-active-admin.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 15 years ago
edit-active-domain.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 15 years ago
edit-active.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 15 years ago
edit-admin.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 15 years ago
edit-alias.php edit-alias.php: 14 years ago
edit-domain.php list-virtual.php: 14 years ago
edit-mailbox.php list-virtual.php: 14 years ago
edit-vacation.php list-virtual.php: 14 years ago
fetchmail.php fetchmail.php: 14 years ago
functions.inc.php functions.inc.php: various improvements while working on UserHandler.php 14 years ago
index.php
list-admin.php - fix bug that no admins and domains can be edited. 15 years ago
list-domain.php list-virtual.php: 14 years ago
list-virtual.php list-virtual.php: 14 years ago
login.php list-virtual.php: 14 years ago
logout.php
main.php
password.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 15 years ago
sendmail.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 15 years ago
setup.php list-virtual.php: 14 years ago
smarty.inc.php list-virtual.php: 14 years ago
upgrade.php upgrade.php: 14 years ago
variables.inc.php
viewlog.php list-virtual.php: 14 years ago
xmlrpc.php