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 ba8fc89347 Preparation for removing the $username parameter from db_log()
(will be detected by authentication_get_username() instead)

scripts/postfixadmin-cli.php:
- define ("POSTFIXADMIN_CLI", 1) (we have no session running and need a
  way to tell authentication_get_username() that this is a CLI access)

functions.inc.php:
- authentication_get_username(): check for POSTFIXADMIN_CLI constant,
  return 'CLI' if set
  (hmmm, do we need a similar thing for XMLRPC?)
- db_log(): override $username parameter with authentication_get_username()
  (removing it from function parameters will be my next big commit)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@965 a1433add-5e2c-0410-b055-b7f2511e0802
14 years ago
ADDITIONS list-virtual.php: 14 years ago
DOCUMENTS UPGRADE.txt: 14 years ago
VIRTUAL_VACATION INSTALL.TXT: 14 years ago
admin Finally got rid of admin/ :-) 17 years ago
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 - add images for calendar JavaScript application 15 years ago
languages ru.lang: 14 years ago
model VacationHandler.php: 14 years ago
scripts Preparation for removing the $username parameter from db_log() 14 years ago
smarty/libs - add missing Smarty plugin 14 years ago
templates adminlistadmin.tpl, adminlistdomain.tpl: 14 years ago
tests model/*, tests/*: 16 years ago
users model/UserHandler.php: fix verifying old password in change_pw() 14 years ago
CHANGELOG.TXT list-virtual.php: 14 years ago
GPL-LICENSE.TXT Initial Import in SourceForge 18 years ago
INSTALL.TXT various documentation updates: 14 years ago
LICENSE.TXT LICENSE.TXT: updated contributors 17 years ago
backup.php - big merge of Postfixadmin smarty into trunk 15 years ago
broadcast-message.php - fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx. 15 years ago
calendar.js - big merge of Postfixadmin smarty into trunk 15 years ago
common.php see changeset:952 ... move php code out of template into here 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 create-mailbox.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 changed db_update parameters for the most common usecase "WHERE col=value" - 14 years ago
edit-vacation.php list-virtual.php: 14 years ago
fetchmail.php fetchmail.php: 14 years ago
functions.inc.php Preparation for removing the $username parameter from db_log() 14 years ago
index.php login.php, index.php: 16 years ago
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 fix some undefined variables 14 years ago
login.php reindent; give tMessage a default value (undefined var etc) 14 years ago
logout.php - added/fixed vim: lines to nearly all *.php files (exception: templates/*) 16 years ago
main.php - big merge of Postfixadmin smarty into trunk 15 years ago
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 smarty.inc.php: 14 years ago
upgrade.php upgrade.php: add vacation.activefrom/activeuntil even for updates from 2.3.x 14 years ago
variables.inc.php - big merge of Postfixadmin smarty into trunk 15 years ago
viewlog.php list-virtual.php: 14 years ago
xmlrpc.php model/AliasHandler.php: 14 years ago