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
15 years ago
ADDITIONS list-virtual.php: 15 years ago
DOCUMENTS POSTFIX_CONF.TXT: 15 years ago
VIRTUAL_VACATION vacation.pl: 15 years ago
admin Finally got rid of admin/ :-) 18 years ago
configs Another step in code cleanup: replaced search.php with search mode in 15 years ago
css list-virtual.php: 15 years ago
debian updating with build deps 15 years ago
images - add images for calendar JavaScript application 16 years ago
languages nb.lang: 15 years ago
model model/UserHandler.php: proofreading, lots of changes and added TODO comments 15 years ago
scripts postfixadmin-cli: 15 years ago
smarty/libs - add missing Smarty plugin 15 years ago
templates create-alias: support multiple alias targets 15 years ago
tests model/*, tests/*: 17 years ago
users list-virtual.php: 15 years ago
CHANGELOG.TXT list-virtual.php: 15 years ago
GPL-LICENSE.TXT Initial Import in SourceForge 19 years ago
INSTALL.TXT list-virtual.php: 15 years ago
LICENSE.TXT LICENSE.TXT: updated contributors 18 years ago
backup.php - big merge of Postfixadmin smarty into trunk 16 years ago
broadcast-message.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 16 years ago
calendar.js - big merge of Postfixadmin smarty into trunk 16 years ago
common.php common.php: 15 years ago
config.inc.php config.inc.php: 15 years ago
create-admin.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 16 years ago
create-alias-domain.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 16 years ago
create-alias.php create-alias: support multiple alias targets 15 years ago
create-domain.php list-virtual.php: 15 years ago
create-mailbox.php list-virtual.php: 15 years ago
delete.php list-virtual.php: 15 years ago
edit-active-admin.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 16 years ago
edit-active-domain.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 16 years ago
edit-active.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 16 years ago
edit-admin.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 16 years ago
edit-alias.php edit-alias.php: 15 years ago
edit-domain.php list-virtual.php: 15 years ago
edit-mailbox.php list-virtual.php: 15 years ago
edit-vacation.php list-virtual.php: 15 years ago
fetchmail.php fetchmail.php: 15 years ago
functions.inc.php functions.inc.php: various improvements while working on UserHandler.php 15 years ago
index.php login.php, index.php: 17 years ago
list-admin.php - fix bug that no admins and domains can be edited. 16 years ago
list-domain.php list-virtual.php: 15 years ago
list-virtual.php list-virtual.php: 15 years ago
login.php list-virtual.php: 15 years ago
logout.php - added/fixed vim: lines to nearly all *.php files (exception: templates/*) 17 years ago
main.php - big merge of Postfixadmin smarty into trunk 16 years ago
password.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 16 years ago
sendmail.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 16 years ago
setup.php list-virtual.php: 15 years ago
smarty.inc.php list-virtual.php: 15 years ago
upgrade.php upgrade.php: 15 years ago
variables.inc.php - big merge of Postfixadmin smarty into trunk 16 years ago
viewlog.php list-virtual.php: 15 years ago
xmlrpc.php - big merge of Postfixadmin smarty into trunk 16 years ago