Changeset 6b603da in github
- Timestamp:
- Aug 15, 2007 4:28:01 PM (6 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- ef9641e
- Parents:
- 88f66ec
- Files:
-
- 7 edited
-
CHANGELOG (modified) (1 diff)
-
config/main.inc.php.dist (modified) (1 diff)
-
program/include/main.inc (modified) (2 diffs)
-
program/include/rcube_contacts.inc (modified) (1 diff)
-
program/include/rcube_ldap.inc (modified) (3 diffs)
-
program/js/app.js (modified) (1 diff)
-
program/steps/addressbook/copy.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r88f66ec r6b603da 1 1 CHANGELOG RoundCube Webmail 2 2 --------------------------- 3 4 2007/08/15 (thomasb) 5 ---------- 6 - Applied patch for LDAP contacts listing by Glen Ogilvie 7 - Applied patch for more address fields in LDAP contacts (#1484402) 8 - Close LDAP connections on script shutdown 9 3 10 4 11 2007/08/13 (thomasb) -
config/main.inc.php.dist
re3caaf5 r6b603da 203 203 * 'name_field' => 'cn', // this field represents the contact's name 204 204 * 'email_field' => 'mail', // this field represents the contact's e-mail 205 * 'surname_field' => 'sn', // this field represents the contact's last name 206 * 'firstname_field' => 'gn', // this field represents the contact's first name 205 207 * 'scope' => 'sub', // search mode: sub|base|list 206 * 'filter' => '', // will be &'d with search fieldex: (status=act)208 * 'filter' => '', // used for basic listing (if not empty) and will be &'d with search queries. ex: (status=act) 207 209 * 'fuzzy_search' => true); // server allows wildcard search 208 210 */ -
program/include/main.inc
r88f66ec r6b603da 300 300 function rcmail_shutdown() 301 301 { 302 global $IMAP ;302 global $IMAP, $CONTACTS; 303 303 304 304 if (is_object($IMAP)) … … 307 307 $IMAP->write_cache(); 308 308 } 309 310 if (is_object($CONTACTS)) 311 $CONTACTS->close(); 309 312 310 313 // before closing the database connection, write session data -
program/include/rcube_contacts.inc
r6d969b4 r6b603da 129 129 130 130 /** 131 * Close connection to source 132 * Called on script shutdown 133 */ 134 function close(){} 135 136 137 /** 131 138 * List the current set of contact records 132 139 * -
program/include/rcube_ldap.inc
r6d969b4 r6b603da 59 59 $this->fieldmap[$matches[1]] = $value; 60 60 61 // $this->filter = "(dn=*)";62 61 $this->connect(); 63 62 } … … 143 142 { 144 143 if ($this->conn) 144 { 145 145 @ldap_unbind($this->conn); 146 $this->conn = null; 147 } 146 148 } 147 149 … … 213 215 function list_records($cols=null, $subset=0) 214 216 { 217 // add general filter to query 218 if (!empty($this->prop['filter'])) 219 { 220 $filter = $this->prop['filter']; 221 $this->set_search_set($filter); 222 } 223 215 224 // exec LDAP search if no result resource is stored 216 225 if ($this->conn && !$this->ldap_result) -
program/js/app.js
rfc73746 r6b603da 2254 2254 page = 1; 2255 2255 this.env.current_page = page; 2256 this.reset_qsearch(); 2256 2257 } 2257 2258 -
program/steps/addressbook/copy.inc
rf115416 r6b603da 37 37 else 38 38 $OUTPUT->show_message('copysuccess', 'notice', array('nr' => count($success))); 39 40 // close connection to second address directory 41 $TARGET->close(); 39 42 } 40 43 41 44 // send response 42 45 $OUTPUT->send();
Note: See TracChangeset
for help on using the changeset viewer.
