Thomas Bruederli
79ae6282f8
Read/write RDATE properties from/to ical and libkolabxml ( #2885 )
2014-02-28 16:12:24 +01:00
Thomas Bruederli
5602b5f3cd
Read and write delegated-from/to attendee parameters
2014-02-27 23:32:15 +01:00
Aleksander Machniak
9f7cd83f92
Make 3rd argument of kolab_storage_cache::save() really optional (Bug #2863 )
2014-02-25 10:47:10 +01:00
Aleksander Machniak
0a79c185ed
Add missing columns in initial.sql file (Bug #2867 )
2014-02-20 17:32:30 +01:00
Aleksander Machniak
ba1b8238aa
Update version number in initial DDL file (Bug #2867 )
2014-02-20 09:35:58 +01:00
Thomas Bruederli
e203211ece
Log an object's UID with libkolabxml warnings
2014-02-19 18:56:59 +01:00
Thomas Bruederli
351f7d6153
Avoid null values for empty fields
2014-02-10 16:01:49 +01:00
Thomas Bruederli
bc1164e943
Remove non-unicode characters from sort cols
2014-02-10 14:10:36 +01:00
Thomas Bruederli
7c32605d14
Fix fatal error when attempting to set user on a rcube instance
2014-02-10 12:03:59 +01: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
acbd45001c
Return null on error for UID queries (to remain backwards compatible)
2014-02-10 11:39:24 +01:00
Thomas Bruederli
22a1c7a7ee
Don't set error state on simple arrays; simplify query
2014-02-10 09:27:16 +01:00
Thomas Bruederli
816356813c
Save error state in kolab_storage_cache::select() return value
2014-02-10 08:51:51 +01:00
Thomas Bruederli
98741574d9
Always return a valid array/iterator
2014-02-07 13:24:11 +01:00
Thomas Bruederli
449b4d044a
Init iterator key with 0
2014-02-07 09:30:08 +01:00
Thomas Bruederli
1daa305faa
Also implement the Countable interface for full array-like compatibility
2014-02-07 09:29:11 +01:00
Thomas Bruederli
c2b87d4ad5
New utility script tp generate random contact data
2014-02-06 17:38:19 +01:00
Thomas Bruederli
2ade247a0c
Return a kolab_storage_dataset itertor object from kolab_storage_cache::select()
...
to manage memory usage for large result sets (#2828 ).
Attention!
Do not cast the return value of kolab_storage_folder::select() calls into an array anymore.
2014-02-06 17:25:16 +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
0f57d5c8c8
Deliver date properties as DateTime objects ( #2802 )
2014-01-27 10:06:43 +01:00
Thomas Bruederli
965a9b74b3
Fix anually recurrence end date on 32bit systems by replacing (overflowing) unix timestamps with DateTime objects ( #2613 )
2014-01-22 11:22:23 +01:00
Thomas Bruederli
b0e06ccdb7
Avoid fatal errors in case the event object has invalid date properties
2014-01-15 16:32:34 +01:00
Aleksander Machniak
05003d0596
Fixes/improvements for use with kolab_cache=false
2014-01-07 16:28:06 +01:00
Thomas Bruederli
229d31e90e
Avoid fatal errors if folder type information is missing ( #1321 )
2014-01-06 17:08:26 +01:00
Aleksander Machniak
b1e824becf
Added error handling in select() and count(), so on error they will return null
2014-01-02 13:37:39 +01:00
Aleksander Machniak
a7c4ebf15d
Fix kolab cache issues with malformed/unsupported character sequences
...
being stored in data, xml and words columns, which caused malformed
(and inaccessible) objects (Bug #1912 , #2662 )
2013-12-12 09:45:18 +01:00
Aleksander Machniak
95f0a7f58a
Fix double HTML entities encoding in virtual folders names
2013-11-22 11:12:31 +01:00
Aleksander Machniak
a525da41b4
Merge branch 'master' of ssh://git.kolab.org/git/roundcube
2013-11-21 15:12:51 +01:00
Aleksander Machniak
b1917d6714
Improve other users folders display on the hierarchized folders list (Bug #2377 )
2013-11-21 15:12:15 +01:00
Thomas Bruederli
5df13465a4
Merge branch 'master' of ssh://git.kolab.org/git/roundcubemail-plugins-kolab
2013-11-21 14:35:39 +01:00
Thomas Bruederli
21286f0bbb
Make generated folder UIDs really unique
2013-11-21 14:34:58 +01:00
Aleksander Machniak
43b287c470
Fix folders sorting issues (Bug #2210 )
...
- move some shared code to kolab_storage
- this requires recent Roundcube Framework (f13ae32a)
2013-11-21 10:58:16 +01:00
Thomas Bruederli
158fa06a3c
Fix moving of Kolab objects to other folders in cache ( #2564 )
2013-11-20 17:17:31 +01:00
Aleksander Machniak
d0ea97ebb2
Add 'Z' to the list of UTC timezone abbreviations (Bug #2220 )
2013-11-20 12:55:58 +01:00
Aleksander Machniak
bcc8008dd5
Replace insert() with save() - needed after refactoring in last commit
2013-11-20 12:45:52 +01:00
Aleksander Machniak
a25fc1a961
Implement cache object update with UPDATE query instead of DELETE + INSERT (Request #2351 )
2013-11-20 10:43:17 +01:00
Aleksander Machniak
7131c802ef
Remove "-d enable_dl=On" from shebang (Bug #2387 )
2013-11-07 14:47:23 +01:00
Thomas Bruederli
e02e7cd3f3
Avoid recurrence exceptions being copied to exception items recursively. This caused memory leaks when serializing events for caching
2013-11-06 16:41:01 +01:00
Thomas Bruederli
b5d7d3d765
Fix wrong mapping of title/role fields in contacts + simplified saving of relateds
2013-11-06 13:38:57 +01:00
Thomas Bruederli
91f32da8d1
Define aliases for UTC timezone
2013-11-06 09:42:23 +01:00
Thomas Bruederli
f24a1da34b
Set _mailbox property when saving Kolab objects ( #2474 )
2013-11-04 12:08:50 +01:00
Thomas Bruederli
1f8e7cc478
Fix SQL syntax error when purging cache for a folder
2013-11-04 11:50:06 +01:00
Thomas Bruederli
fce62f6df5
Extend contact's xml col to longtext because of the binary data for photo and crypt keys
2013-11-04 10:55:07 +01:00
Aleksander Machniak
5f3c4106a4
Fix undefined variable in set_folder()
2013-10-31 09:06:24 +01:00
Thomas Bruederli
5caf7915a3
Fix saving created/changed dates: always use UTC timezone
2013-10-22 09:51:28 +02:00
Thomas Bruederli
f001ae250b
Fix computation of recurrence end date ( #2393 )
2013-10-21 17:14:11 +02:00
Jeroen van Meeuwen (Kolab Systems)
4065542e07
Merge branch 'dev/kolab-cache-refactoring'
...
Conflicts:
plugins/libkolab/lib/kolab_storage_cache.php
2013-10-17 16:48:08 +02:00
Thomas Bruederli
7af1dda119
Only save email alarms if the owner's email address is available
2013-10-17 14:21:10 +02:00
Thomas Bruederli
595f1b6a8c
Only keep the last created object in memory ( #2353 )
2013-10-17 13:11:46 +02:00
Thomas Bruederli
1f44998d14
Pad folder names with spaces to sort parent folders before their childs
2013-10-16 16:50:43 +02:00