Aleksander Machniak
21ead0149e
Kolab Tags SQL and ANNOTATE drivers
...
Summary:
The implementation in the SQL driver sub-optimal as it uses the same member format and internal API as the Kolab driver.
We might need to improve this.
Requires b206cbc87a
and a34f716051
Reviewers: #roundcube_kolab_plugins_developers, mollekopf
Subscribers: mollekopf, #roundcube_kolab_plugins_developers
Differential Revision: https://git.kolab.org/D5032
2024-12-24 09:00:30 +01:00
Aleksander Machniak
198376f46c
PHPStan Level:3
2024-01-29 13:53:48 +01:00
Aleksander Machniak
2103cc317d
PHPDoc fixes
2024-01-26 14:38:48 +01:00
Aleksander Machniak
5eb91ca74a
PHPStan level:2 fixes (partial)
2024-01-25 13:47:41 +01:00
Aleksander Machniak
5271b6e787
Use consistent PHP code style
2024-01-24 11:24:41 +01:00
Aleksander Machniak
f3319891d5
PHPStan Level:1 fixes, also fixed tests
2024-01-24 10:59:25 +01:00
Aleksander Machniak
28711f7e6e
Fix PHP8 warnings
2024-01-16 12:03:19 +01:00
Aleksander Machniak
4f2fcfce96
Fix PHP8 warnings
2023-08-07 16:16:24 +02:00
Aleksander Machniak
096b7a8181
Fix PHP8 warnings
2023-06-12 12:07:58 +02:00
Aleksander Machniak
f70c6d3508
Fix cache issue with handling more than 500 records
2023-05-03 10:31:53 +02:00
Aleksander Machniak
7810d77969
PHP8 fixes - code style
2023-01-18 16:38:22 +01:00
Christian Mollekopf
d988dac141
PHP 8 fixes
...
Differential Revision: https://git.kolab.org/D3995
2023-01-18 14:50:31 +01:00
Aleksander Machniak
f08efd9170
Tags: Fix clearing internal cache after removing a tag
2019-09-29 09:18:55 +00:00
Aleksander Machniak
c9499eeaa6
Fast-mode for configuration objects
2018-12-24 10:45:19 +00:00
Aleksander Machniak
24143cc17e
Fix redundant updates of private $tags property
...
This could cause invalid result of get_tags() method after save_tags() use.
2017-03-31 12:44:57 +02:00
Aleksander Machniak
9ac901b90a
Performance: SKip some SQL queries on "empty" tasklist refresh
2016-02-24 12:54:08 +01:00
Aleksander Machniak
644df15bad
Performance: Skip one SELECT query when deleting relations
2016-02-22 15:37:12 +01:00
Aleksander Machniak
2a9948b827
Performance: Skip some redundant SELECT queries on event update
2016-02-22 15:19:58 +01:00
Aleksander Machniak
b6a9141764
Performance: Don't initialize configuration folders until they are needed
2016-02-22 12:17:22 +01:00
Aleksander Machniak
a7e3a938a7
Unify mail-relations handling across plugins
2016-02-21 19:41:49 +01:00
Aleksander Machniak
d96689620f
Performance: Get event-to-mail relations once per events list, instead of doing SELECT for every event (including recurrences)
2016-02-21 19:09:04 +01:00
Aleksander Machniak
9972823957
Performance: Optimize get_message_relations() to use one query per-folder less
...
Fix bug where in kolab_storage::select() could not initialize/reset folder cache properly
2016-02-13 17:57:29 +01:00
Aleksander Machniak
11ce37ef17
Performance: Limit number of SQL queries when "attaching" relations/tags to list of tasks/notes ( #3969 )
2016-02-13 17:35:29 +01:00
Aleksander Machniak
446cd0dfe1
Performance: Limit number of SQL queries needed for "object relations update" operation
2016-02-13 13:09:59 +01:00
Aleksander Machniak
2c58d048c0
Extend kolab_storage_config::get_tags() with possibility to search members by Message-ID and to set limit for better performance
2015-08-21 10:57:26 +02:00
Aleksander Machniak
f575dace67
Fix so save() and delete() update in-memory tags cache (T133) - fixes duplicated tags issue
2015-06-24 07:08:35 -04:00
Aleksander Machniak
5cbcf8381c
Fix (again) handling of shared folders in relation member URIs ( #5006 )
2015-04-23 18:01:10 +02:00
Thomas Bruederli
779fa16009
Fix and test kolab_storage_config::build_member_url() and kolab_storage_config::parse_member_url() with different namespaces ( #5006 )
2015-04-22 12:38:25 +02:00
Thomas Bruederli
0a51ccd5a4
Consolidate message reference handling functions into libkolab plugin (in preparation for #4161 )
2015-01-13 22:19:52 +01:00
Thomas Bruederli
854779406d
Move utility function to libkolab for common use
2015-01-08 18:22:59 +01:00
Thomas Bruederli
f505abb350
Keep kolab uids related to a message in memory for repeated queries
2014-10-13 18:12:59 +02:00
Thomas Bruederli
80f23d7d90
Fix email reference check in relation objects
2014-10-13 16:03:23 +02:00
Thomas Bruederli
ef7f457c02
Bugfixes for recent refactoring
2014-10-13 14:55:50 +02:00
Thomas Bruederli
6f0ef60f7a
Add fall-back to the full uri for searching relations in cache
2014-10-13 14:48:59 +02:00
Thomas Bruederli
63b69871fe
Fix typo
2014-10-13 13:55:45 +02:00
Thomas Bruederli
a807768c32
Move email link/relation handling functions to libkolab for common use
2014-10-13 12:38:57 +02:00
Thomas Bruederli
54b6eb66de
Post-filter all tag objects (in case caching is disabled); improve kolab_storage_cache for the case caching is off
2014-08-26 12:03:11 +02:00
Aleksander Machniak
0730852179
Cache relation members for better performance ( #3452 )
2014-08-19 08:20:47 -04:00
Aleksander Machniak
e3d29617ae
Query kolab_cache_configuration with category filter for better performance ( #3286 )
...
Warning: this requires DELETE FROM kolab_folders WHERE type = 'configuration';
2014-08-19 05:11:18 -04:00
Aleksander Machniak
26f71de1db
Store note tags in relation objects ( #3395 )
2014-08-18 19:58:44 -04:00
Aleksander Machniak
f9d152525e
Search all configuration folders not only subscribed ( #3300 )
...
Create default configuration folder if it does not exist.
2014-08-18 12:09:47 -04:00
Aleksander Machniak
34f0891fea
Fix deleting configuration objects
2014-08-12 05:46:14 -04:00
Aleksander Machniak
08581c0a94
Improved relation members handling code
2014-08-06 10:39:47 -04:00
Aleksander Machniak
6f8f485c87
Fix performance of fetching configuration and relation objects (skip count query)
2014-08-03 09:02:48 -04:00
Aleksander Machniak
79ebe9e227
Refactored links to email messages using libkolabxml relation objects ( #3091 )
2014-08-01 03:58:09 -04:00
Aleksander Machniak
b5514e900a
Use object by reference in save() - so we can get new object's uid
2014-07-31 03:54:51 -04:00
Aleksander Machniak
d33af1fac5
Add kolab_storage_config class for managing configuration objects
2014-07-31 03:49:28 -04:00