Aleksander Machniak
184de7735c
CS fixes (mostly phpdoc)
2016-08-18 08:50:59 +02:00
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.
2016-08-08 07:12:39 -04:00
Aleksander Machniak
52106ffd39
Fix bug where rcube_contacts::get_record() could return cached result when requested record wasn't found ( #5218 )
2016-04-20 20:25:23 +02:00
Aleksander Machniak
d5f7490b08
Fix PHP Fatal error: Can't use function return value in write context
2016-01-11 12:52:49 +01:00
James Buncle
fd0244dabf
Ensure roundcube doesn't render contact names as blank (when the name is whitespace)
2016-01-07 16:21:22 +00:00
Aleksander Machniak
7e3298753a
Use ternary operator where aplicable
2015-11-14 10:08:07 +01:00
Aleksander Machniak
a03233ceba
CS fixes
2015-10-07 09:14:18 +02:00
Aleksander Machniak
a958748947
CS fixes
2015-06-07 15:26:33 +02:00
Aleksander Machniak
83f1f6b12f
Improve compose_search_name() to not return "email@address <email@address>" entries
...
which may happen for contacts without name(s)
2015-02-25 09:24:14 -05:00
Aleksander Machniak
4d90e6596d
Use also Organization field as a fallback if contact has no name(s) specified
2015-02-24 05:15:35 -05:00
Thomas Bruederli
25a9ec7bb7
Allow caller to supply the template for contact name composition
2014-08-18 14:16:20 +02:00
Thomas Bruederli
6a0a4a3a52
Remove empty brackets, slashes and spaces from contact search name
2014-08-18 10:00:45 +02:00
Aleksander Machniak
83316e175d
Reset $value in a loop
2014-07-23 12:15:50 +02:00
Aleksander Machniak
36d004e3d0
Added 'contact_search_name' option to define autocompletion entry format
2014-07-03 14:25:19 +02:00
Aleksander Machniak
029f7a157d
Clarify update() result description, return boolean when ID didn't change
2013-12-08 09:39:33 +01:00
Aleksander Machniak
18b40c1a32
Fix issue where groups were not deleted when "Replace entire addressbook" option on contacts import was used ( #1489420 )
2013-12-04 13:58:43 +01:00
Takika
03713dbf5d
Add contact_listname hook to handle special name order
...
I can modify the addressbook_name_listing variable via main config or preferences_list_hook but I have to change the rcube_addressbook class to use the modified value. Some contry use special [name orders](http://en.wikipedia.org/wiki/Personal_name#Name_order ) and we can handle them with this hook.
I changed the hook name to contact_listname as proposed by thomascube in the original PR#127.
2013-10-21 15:33:07 +02:00
Thomas Bruederli
d29f781080
Let plugins state a validation error message
2013-10-19 16:01:13 +02:00
Thomas Bruederli
a693639613
Require name or email for sql address book only
2013-10-19 15:51:12 +02:00
Thomas Bruederli
49b8e5d0bb
Add plugin hook 'contact_validate' to let plugins validate contact records
2013-10-19 15:49:49 +02:00
Aleksander Machniak
b3e25974b1
Fix typo: occured -> occurred ( #1489366 )
2013-10-04 13:35:16 +02:00
Thomas Bruederli
52830ea605
Improve handling of date strings and DateTime values in contacts
2013-09-10 23:37:10 +02:00
Aleksander Machniak
ad003c889b
Fix some methods for rcube_addressbook implementations where contact email field is not a flat array
2013-09-09 11:07:40 +02:00
Thomas Bruederli
79367a5631
Save groups membership in VCard export ( #1488509 )
2013-09-08 15:36:05 +02:00
Aleksander Machniak
39a82a5d45
CS fixes
2013-06-21 15:08:47 +02:00
Aleksander Machniak
3725cfb245
Avoid uninitialized/unused variables
2013-05-07 15:12:22 +02:00
Aleksander Machniak
c027ba7709
Fix bugs caught by static analysis
2013-05-06 12:07:05 +02:00
Aleksander Machniak
ec43311423
Fix so addressbook_search_mode works also for group search ( #1489079 )
2013-05-01 09:46:29 +02:00
Aleksander Machniak
40d419d994
Fix removal of a contact from a group in LDAP addressbook ( #1489081 )
2013-04-30 19:28:07 +02:00
Thomas Bruederli
13dc9f2c86
Move rcmail_contact_key() to rcube_addressbook::compose_contact_key()
2013-01-25 14:15:12 +01:00
Aleksander Machniak
b5767d94b1
Fix typo
2013-01-07 15:28:39 +01:00
Aleksander Machniak
3e3767138e
Rename $date_types -> $date_cols
2013-01-07 15:26:02 +01:00
Aleksander Machniak
83f7077ec9
Fix searching by date in address book ( #1488888 )
2013-01-07 14:21:25 +01:00
Aleksander Machniak
0d214498d0
CS fixes
2012-12-18 19:02:53 +01:00
Aleksander Machniak
d2534c63f2
Cleanup, remove file paths from doc
2012-12-18 09:07:00 +01:00
Aleksander Machniak
996af3bfd9
Some more rcmail -> rcube cleanup
2012-12-07 11:13:11 +01:00
Thomas Bruederli
bfc3070067
Cut dependencies to rcmail class
2012-11-25 20:07:37 +01:00
Aleksander Machniak
ba6f21caeb
Framework files moved to lib/Roundcube
2012-11-21 19:52:03 +01:00