Commit graph

127 commits

Author SHA1 Message Date
Aleksander Machniak
da752c6b99 T1402: Fix bug where contact groups with the same name could be displayed as one 2016-08-09 05:55:34 -04:00
Aleksander Machniak
f3a8729856 Support rcube_addressbook::SEARCH_* constants in search mode 2016-08-08 07:43:43 -04:00
Aleksander Machniak
9d5dd5bf16 Unified get_objects/count/get_uids/select methods argument handling (#5209) 2016-03-09 11:46:26 +01:00
Aleksander Machniak
2172f4340c Performance: Consolidate metadata requests (#3989)
This changes number of cache requests from 4 to 2 for each groupware folder.
2016-02-12 13:45:58 +01:00
Aleksander Machniak
52a4b6b543 Don't search in binary data fields (T844) 2015-11-18 15:21:10 +01:00
Aleksander Machniak
63ce7e9988 Don't use depracated Roundcube functions 2015-08-29 20:23:34 +02:00
Aleksander Machniak
6b3063030d Don't use deprecated Roundcube constants 2015-08-29 19:48:55 +02:00
Aleksander Machniak
8c2aac3362 Don't use Roundcube deprecated functions 2015-08-02 20:15:28 +02:00
Aleksander Machniak
34aa2d17a9 Show CardDAV URL also for GAL (T143)
Added configuration option kolab_addressbook_carddav_ldap
2015-07-29 04:07:38 -04:00
Thomas Bruederli
09fe27d5a6 Consolidate changelog dialog labels and use libkolab's singelton getter for the Bonnie API 2015-04-21 09:24:27 +02:00
Thomas Bruederli
6f948d0467 Finish contact audit trail (#4972) with full display and restoring of old revisions 2015-04-17 11:03:06 +02:00
Thomas Bruederli
dd986e6fe1 Display object history for contacts (#4972)
Yet incomplete: show and restore old revisions not yet implemented
2015-04-16 14:52:25 +02:00
Thomas Bruederli
fbb71376ab Use IMAP permissions to control address book interactions (#3025) 2015-03-11 19:54:27 +01:00
Thomas Bruederli
ac96c929dd Improve contacts search by matching words against contact properties instead of the entire search string 2015-03-03 17:05:20 +01:00
Aleksander Machniak
055c5aff13 Support contacts without email address and name, but organization (#3082) 2015-02-24 05:13:38 -05:00
Thomas Bruederli
0e0f1443a6 Replace check for js file with check if libkolab plugin is loaded (#4114) 2014-12-16 14:12:21 +01:00
Aleksander Machniak
47700a1b3c Fix duplicate contacts on the list after contact delete (#4028)
Conflicts:

	plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
2014-12-05 07:03:20 -05:00
Aleksander Machniak
f97e1b5309 Performance: skip SELECT COUNT(*) query in case when result contains less records than page size 2014-11-23 05:16:21 -05:00
Aleksander Machniak
ac4f6e7562 Avoid unused variables (also fixed some bugs) found in static code analysis 2014-11-21 10:03:18 +01:00
Aleksander Machniak
b640c0cc3e Fix invalid number of contact records if folder contains groups (#3930) 2014-11-18 08:13:30 -05:00
Aleksander Machniak
22035945f2 Fix sytax errors 2014-10-10 11:52:29 +02:00
Aleksander Machniak
77d3466638 Get rid of deprecated function aliases and constants usage 2014-10-06 09:19:26 +02:00
Thomas Bruederli
c3151bea8a Add book-remove item to address book actions menu 2014-09-11 14:45:34 +02:00
Aleksander Machniak
fdde6fcbf0 Fix errors on addressbook delete and no list update on name change (#3559) 2014-09-03 10:36:53 +02:00
Thomas Bruederli
32164e30bf Add new folder navigation to address book (#3046).
This patches/overwrites default functions from Roundcube core. Be careful when updating those!
2014-06-25 17:09:04 +02:00
Thomas Bruederli
b120d3958f New hierarchical folder navigation for address book (#3046) 2014-06-24 15:07:48 +02:00
Thomas Bruederli
a1b146a8dd Avoid warnings if dataset is not set 2014-06-05 10:11:48 +02:00
Aleksander Machniak
68e7adfa04 Fix invalid result count if search request returns no records (Bug #3013) 2014-04-24 15:23:41 +02:00
Thomas Bruederli
af6d366a1f Optimize access to kolab contacts using a sorted and limited query (#2828)
- Add columns for sorting in kolab_cache_contact
- Extend bin/modcache.sh script to update existing cache records
- Add setters for ORDER BY and LIMIT clauses
- Adapt the kolab_addressbook plugin to fetch contacts page-wise

ATTENTION: This changeset contains database schema changes!
Run `bin/updatedb.sh --dir plugins/libkolab/SQL --package libkolab`

Afterwards, the cached data needs to be updated. To do so, either run
  `plugins/libkolab/bin/modcache.sh update --type=contact`
or execute the following query
  DELETE FROM `kolab_folders` WHERE `type`='contact';
2014-02-10 11:46:50 +01:00
Thomas Bruederli
ea131a84e6 Refactor access to storage backend to avoid memory limit errors (#2828):
1. query backend and read contact names for sorting
2. sort index according to UI settings and fetched names
3. select the subset for the current page
4. fetch contacts for current page
2014-02-06 17:33:05 +01:00
Thomas Bruederli
0950ff12dc Tag contacts that have a birthday date set and allow to directly select them 2014-01-28 15:51:09 +01:00
Thomas Bruederli
7048e00350 Preserve categories when saving contact in web client (#2608) 2013-11-27 13:58:07 +01:00
Thomas Bruederli
cba0d9d606 Include CardDAV URL menu item in contextmenu; fix menu ID check 2013-10-30 17:16:47 +01:00
Thomas Bruederli
6eb9ccf3e8 Add Kolab-specific address book functions to contextmenu (if available) 2013-10-30 16:59:04 +01:00
Aleksander Machniak
e389c314a5 Always call kolab_storage_folder::count() with an argument, do not depend
on internal implementation when it is known what type is needed
2013-10-15 12:36:10 +02:00
Thomas Bruederli
e6e2044d40 Add option to display direct CardDAV urls for Kolab address books in the Roundcube UI 2013-10-03 12:44:41 +02:00
Aleksander Machniak
80afe69e40 First argument of validate() is a reference 2013-09-10 15:25:15 +02:00
Aleksander Machniak
c8174100f6 Small improvements in contacts list/search handling 2013-09-09 12:40:00 +02:00
Aleksander Machniak
d6149c398d Fixed conversion of contact date to kolab format (Bug #2094)
- Add contact in Roundcube created contacts with no email address.
2013-08-07 12:34:37 +02:00
Aleksander Machniak
60778eed8b Fix handling of composite field names (e.g. email:address) in fulltext
fields and required fields when searching contacts (Bug #2095)
2013-08-07 12:30:54 +02:00
Aleksander Machniak
4b72244126 Performance improvements in group members handling (#1997) 2013-07-03 12:16:13 +02:00
Aleksander Machniak
bba45ce59d Fix PHP warning when adding contact to a group (Bug #1989) 2013-07-01 12:04:56 +02:00
Aleksander Machniak
cab58ba233 Fix issue where going to the next page of search result will not list found records 2013-07-01 11:18:43 +02:00
Aleksander Machniak
f591f88699 Fix "incompat. declaration" error - revert part of 27e57c7335 2013-05-08 14:22:18 +02:00
Aleksander Machniak
27e57c7335 Fix undefined or unused variable errors caught in static code analysis 2013-05-07 12:16:11 +02:00
Thomas Bruederli
2c71f81e70 Merge branch 'dev/email-subtypes' 2013-05-01 15:19:13 +02:00
Aleksander Machniak
f958537e55 Fix bug where contacts were moved instead of copied. Internal date
need to be cleared when converting from kolab to Roundcube format (Bug #1767)
2013-04-18 15:45:00 +02:00
Aleksander Machniak
db055e29c7 Remove useless 'vcard' data on contact import - fixes problem with such data
serialization in kolab_cache (Bug #1711)
2013-04-12 19:05:45 +02:00
Thomas Bruederli
02fc214d00 Adapt libkolab and kolab_addressbook to support type parameters for email addresses 2013-03-21 10:02:35 +01:00
Aleksander Machniak
8dfc52cae0 Fix importing photo and notes fields (Bug #1635). Values of these fields
were imported from vCard as one-element-arrays. Setting limit=1 on these
fields makes that the array is converted to string as needed.
2013-02-20 09:36:04 +01:00