0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
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
2014-11-02 22:45:22 +00:00
..
AdminHandler.php AdminHandler: 2013-11-16 19:02:44 +00:00
AdminpasswordHandler.php AdminHandler.php, AdminpasswordHandler.php: 2013-11-10 22:00:16 +00:00
AliasdomainHandler.php AliasdomainHandler: 2013-11-16 20:02:14 +00:00
AliasHandler.php PFAHandler: 2014-11-02 22:45:22 +00:00
CliDelete.php Cli*.php: 2014-11-01 18:05:39 +00:00
CliEdit.php Cli*.php: 2014-11-01 18:05:39 +00:00
CliHelp.php Cli*.php: 2014-11-01 18:05:39 +00:00
CliScheme.php Add CliScheme.php: 2014-11-01 18:08:11 +00:00
CliView.php Cli*.php: 2014-11-01 18:05:39 +00:00
Config.php Config.php: 2014-03-18 21:57:47 +00:00
DomainHandler.php DomainHandler: 2014-11-01 20:58:01 +00:00
MailboxHandler.php MailboxHandler.php: 2014-10-05 22:09:42 +00:00
PFAHandler.php PFAHandler: 2014-11-02 22:45:22 +00:00
VacationHandler.php vacation: 2013-12-22 16:50:55 +00:00