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.
postfixadmin/model
Christian Boltz 13f1a28b6e PFAHandler:
- read_from_db(), getList(): 
  - add $searchmode parameter (_before_ $limit and $offset!) to be able to 
    use query different query modes, not only "="
  - add a warning that $condition will be changed to array only in the future
- getList(): filter $condition for fields that are available to the user
  to avoid information leaks by using search parameters
  (filter is only applied if $condition is an array!)

functions.inc.php: 
- db_where_clause():
  - add $additional_raw_where parameter for additional query parameters
  - add $searchmode parameter to be able to use query different
    query modes, not only "=" (see $allowed_operators)
  - check for allowed operators in $searchmode
  - split query into WHERE and HAVING (if a parameter has
    $struct[select] set, HAVING is used)

list-virtual.php:
- adopt getList() call to the new syntax

AliasHandler:
- adopt getList() definition and call to the new syntax

 


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1731 a1433add-5e2c-0410-b055-b7f2511e0802
10 years ago
..
AdminHandler.php AdminHandler: 11 years ago
AdminpasswordHandler.php AdminHandler.php, AdminpasswordHandler.php: 11 years ago
AliasHandler.php PFAHandler: 10 years ago
AliasdomainHandler.php AliasdomainHandler: 11 years ago
CliDelete.php Cli*.php: 10 years ago
CliEdit.php Cli*.php: 10 years ago
CliHelp.php Cli*.php: 10 years ago
CliScheme.php Add CliScheme.php: 10 years ago
CliView.php Cli*.php: 10 years ago
Config.php Config.php: 11 years ago
DomainHandler.php DomainHandler: 10 years ago
MailboxHandler.php MailboxHandler.php: 10 years ago
PFAHandler.php PFAHandler: 10 years ago
VacationHandler.php vacation: 11 years ago