Commit Graph

57 Commits (58bdf72300c4c16206d063dfd7dbacbea7f62411)

Author SHA1 Message Date
Aleksander Machniak 6dee73a0ec Support both comma and semicolon as recipient separator, drop recipients_separator option (#5092) 8 years ago
Aleksander Machniak 9ff7b78c7e Fix conflict with _gid cookie of Google Analytics (#5748)
TODO: Review the whole code base and don't use INPUT_GPC when it's not really needed,
      in most cases we should not read $_COOKIE.
8 years ago
Aleksander Machniak ad83610a5e Rename $sql_arr variable to $record as it's not about sql only 8 years ago
Aleksander Machniak 61bec3efa4 Fix regression where groups with email address were resolved to its members' addresses 8 years ago
Aleksander Machniak 79950630fa Increase limit of group members when expanding a group from autocomplete (#5604) 8 years ago
Aleksander Machniak bd12d94fae Fix missing contact ID for contacts from non-sql addressbooks 8 years ago
Aleksander Machniak 55cdf1569e Support contact+group searches in all relevant places (T1360)
Before the search worked only in Addressbook, not also in Compose.
The point of the change is also to align group searches with contact searches
in that it now uses the same set of attributes. Previously groups
in Compose were searched by name only.
8 years ago
Bostjan Skufca 05c7d49a37 Autocomplete search: add id and source (addressbook) into resulting contact data array
Two reasons:
- provide it to plugin backend functions that use 'contacts_autocomplete_after' hook
- provide it to frontend

Why to frontend?
If plugin JS adds an 'autocomplete_insert' hook we need to provide it with exact
autocomplete data. Providing it with name and email address only, without pinpointing
exact origin of this autocomplete result, will severely limit learning capabilities of
potential future autocomplete implementations.
9 years ago
Bostjan Skufca a15b2d5998 Autocomplete refactoring: replace variable name '$id' with '$abook_id'
Reason:
Having genericly named variable $id in nested loops makes code unreadable.
Replacing generic name '$id' with '$ENTITIY_id' format removes all ambiguity.
9 years ago
Bostjan Skufca ed55af4aa9 Autocomplete: trigger "contacts_autocomplete_after" hook processing
Provide existing list of contact suggestions as an argument - it might be unclear
now what logic plugin developers decide to implement, but data for that logic
should be provided upfront, and that includes list of suggestions that RC
itself comes up with.

Plugin logic might then replace the list entirely, or just rearrange its entries, or use
part of the list when it runs out of own ideas, or do something entirely different.
9 years ago
Bostjan Skufca 865230e420 Autocomplete: fix undefined variable notice if no addressbook is configured for autocomplete 9 years ago
Aleksander Machniak a958748947 CS fixes 10 years ago
Aleksander Machniak e1c8fe5c4a Fix duplicate entries supression in autocomplete result (#1490290) 10 years ago
Thomas Bruederli 96f084e9cf Don't expand recipient groups if they have an email address 10 years ago
Aleksander Machniak 36d004e3d0 Added 'contact_search_name' option to define autocompletion entry format 11 years ago
Thomas Bruederli 66536974fe Merge branch 'dev-multi-folder-search' 11 years ago
Thomas Bruederli 532c10669b Support structured data for autocompletion results; map 'type' attribute to CSS class for autocomplete list items 11 years ago
Thomas 017c4f19fd Refactor multi-threaded autocomple contact searching to make it available for other purposes, too 11 years ago
Aleksander Machniak c97625e02a CS fixes 11 years ago
Aleksander Machniak 6b2b2eca5f Remove deprecated functions (these listed in bc.php file) usage 11 years ago
Aleksander Machniak 774f9dc835 Fix replacing group name with group members on autocompletion
(for some addressbook plugins where email field is not a flat array)
11 years ago
Aleksander Machniak ec43311423 Fix so addressbook_search_mode works also for group search (#1489079) 12 years ago
Thomas Bruederli baecd8becc Move the hard-coded list of fields used to list contacts to a central location 13 years ago
Aleksander Machniak 041c93ce0b Removed $Id$ 13 years ago
thomascube 168e540923 Request all needed fields from address book backends (#1488394) 13 years ago
thomascube 7fe3811c65 Changed license to GNU GPLv3+ with exceptions for skins and plugins 13 years ago
thomascube fbebf54a92 Only expand one email per group member 13 years ago
alecpl 2f9fdbff62 - Fix sorting autocomplete results to preserve email address significance (#1488084) 13 years ago
alecpl 710b1bd684 - Add option to skip alternative email addresses in autocompletion 13 years ago
alecpl 55a8a8cc25 - Fix matching check to be unicode-aware 13 years ago
alecpl f21a04c024 - Add option to define matching method for addressbook search (#1486564, #1487907) 13 years ago
thomascube 62c8618744 Make email recipients separator configurable + suppress dupes in auto-completion 13 years ago
thomascube dc6c4f4a28 Contact groups can have direct email addresses => distribution lists; enable 'compose' command for the selected group 13 years ago
thomascube 1a716d2d34 Add copyright line on files with significant changes from Kolab Systems 13 years ago
alecpl 0213f8d4dd - Added optional "multithreading" autocomplete feature 14 years ago
thomascube 03eb13f11c Small improvements and codestyle 14 years ago
thomascube 930d385d9e Skip empty e-mail addresses in autocompletion 14 years ago
thomascube 09c59abf85 Case-insensitive matching in autocompletion (#1487933); replace old string offset syntax 14 years ago
alecpl 111a6fc314 - Add info about indexcontacts.sh script in upgrade procedure 14 years ago
thomascube 0501b637a3 Merge branch devel-addressbook (r4193:4382) back into trunk 14 years ago
alecpl e019f2d0f2 - s/RoundCube/Roundcube/ 14 years ago
alecpl b25dfd0913 - removed PHP closing tag 15 years ago
alecpl dbe4988941 - Remove duplicates in autocomplete result (#1486772) 15 years ago
alecpl 1ac779f490 - Use strcoll instead of strcmp when sorting contacts in autocomplete 15 years ago
alecpl 25fdec592d - Fix autocomplete shows entries without email (#1486452) 15 years ago
thomascube 53d6261619 Fix group expansion which was lost in r3457 + apply patch for autocompletion timeouts from #1486059 15 years ago
thomascube c0297f4172 Asynchronously expand contact groups + skip count queries in autocompletion mode + check for the existance of contactgroups table 15 years ago
thomascube a61bbb24aa Added basic contact groups feature 15 years ago
alecpl 1b5f98a46a - set Id keyword 15 years ago
alecpl 92f522d897 - Fix autocomplete bugs when erasing the comma (#1485990) 16 years ago