Commit Graph

40 Commits

Author SHA1 Message Date
Aleksander Machniak
9c6979f17a Fix PHP8 warnings 2021-10-09 17:23:02 +02:00
Aleksander Machniak
f2688ba492 Use ?? operator where applicable 2021-09-21 19:12:06 +02:00
Aleksander Machniak
e2187b8f2d Fix various PHP 8.1 warnings 2021-08-27 16:52:54 +02:00
Aleksander Machniak
6ff862d7d8 Fix a couple of PHP8 warnings (#8175) 2021-08-25 18:57:50 +02:00
Aleksander Machniak
529c1a29a3 Fix invalid IMAP SEARCH command in some rare case on messages cache synchronization (#7895) 2021-02-20 09:36:47 +01:00
johndoh
cfd4fa170f Fix a few PHP notices (#7791) 2020-12-19 19:36:58 +01:00
Aleksander Machniak
7e5301f636 CS fixes, short array syntax, PHP8 fixes, tests 2020-11-28 18:52:36 +01:00
Aleksander Machniak
545a1569f1 Steps -> Actions refactoring (#7688)
* Move action handling code to rcmail class
* Add rcmail_action class
* Add action aliases
* Get rid of $OUTPUT global
* Move some methods from rcmail to rcmail_action
* PHP8 compat. fixes
* Add framework for testing actions
* Fix obvious code mistakes
2020-11-01 11:25:38 +01:00
Aleksander Machniak
a5c2b4360c Fixes in context of undefined variables, and code style 2020-08-15 12:13:31 +02:00
Aleksander Machniak
1613f3ab4c INSERT OR REPLACE implementation (#6771)
For now with support in postgres and mysql databases.
For now used in rcube_cache, rcube_imap_cache and enigma plugin
2020-01-19 18:43:48 +01:00
Aleksander Machniak
e7ebff56df PHPDoc fixes 2019-09-30 20:43:07 +02:00
Aleksander Machniak
4ef87fe856 Support $HasAttachment/$HasNoAttachment keywords (#6201)
We use these only to display the attachment icon on the messages list.
2019-05-25 09:37:45 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
b0c83111de Fix rcube_imap_cache in mode set to MESSAGE only 2018-12-13 16:23:28 +00:00
ka7
9a35768c26 spelling fixes (#5690) 2017-03-12 12:14:19 +01:00
Aleksander Machniak
c478536741 Make SQL selects less expensive in memory for some cases where we fetch big data chunks 2016-06-10 18:45:28 +02:00
Aleksander Machniak
85f4209074 Code improvements: CS fixes, improved internal cache cleanup on folder selection, removed redundant cache 2015-10-02 10:56:35 +02:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Aleksander Machniak
9d4d48ad4c Remove debug code 2014-11-02 17:50:32 +01:00
Aleksander Machniak
96a7f6cc1b CS fixes 2014-11-02 10:57:33 +01:00
Aleksander Machniak
2268aa676d Fix handling of uuencoded messages if messages_cache is enabled (#1490108) 2014-10-22 19:02:23 +02:00
Aleksander Machniak
dd6f784ec4 Fix syntax error 2014-09-22 10:31:15 +02:00
Aleksander Machniak
e7af012bc2 Fix binary operator use for Oracle 2014-09-18 15:32:15 +02:00
Aleksander Machniak
34a0902089 Use consistent column/table quoting in sql queries 2014-09-12 14:37:51 +02:00
Aleksander Machniak
0ca75d4880 Fix messages index cache update under some conditions (e.g. proxy) (#1489756) 2014-04-11 19:28:52 +02:00
Aleksander Machniak
5f31429de5 Fix preparation of message object before saving into the cache.
The bug cased e.g. displaying HTML content as plain text for messages
with Content-Type: text/html.
2013-11-28 15:20:58 +01:00
Aleksander Machniak
64c924ea06 Fix regression where wrong set of message identifiers was used
in sql query that was supposed to fetch list of messages from cache
2013-10-15 09:22:09 +02:00
Aleksander Machniak
aceb0149b8 Add possibility to programmatically set cache mode, so it is possible
to cache only indexes/threads but not messages
2013-10-07 09:26:37 +02:00
Aleksander Machniak
21601b4deb Make cached message size limit configurable - messages_cache_threshold (#1489317) 2013-09-06 18:21:09 +02:00
Aleksander Machniak
b6be23ac4b Fix issue where too big message data was stored in cache causing sql errors (#1489316) 2013-09-03 15:16:17 +02:00
Aleksander Machniak
12f1190a62 Fix typos in sql queries of garbage collector (expired -> expires) 2013-06-13 13:04:20 +02:00
Aleksander Machniak
603e048f73 Fix thread cache syncronization/validation (#1489028) 2013-06-13 11:07:35 +02:00
Aleksander Machniak
60b6d7c389 Fix database cache expunge issues (#1489149) - added 'expires' column 2013-06-09 11:07:46 +02:00
Aleksander Machniak
be4b5c2fe5 Fix "duplicate entry" errors on inserts to imap cache tables (#1489146) 2013-06-05 15:20:53 +02:00
Aleksander Machniak
a6b0ca60a4 Fix bug where serialized strings were truncated in PDO::quote() (#1489142) 2013-06-02 14:33:11 +02:00
Aleksander Machniak
d77e08729b Fix removing flags from serialized object before saving it in DB 2013-06-02 11:57:37 +02:00
Aleksander Machniak
3725cfb245 Avoid uninitialized/unused variables 2013-05-07 15:12:22 +02:00
Aleksander Machniak
336d2000f8 Fix handling of empty $uids argument in change_flag() 2013-03-11 10:26:58 +01:00
Aleksander Machniak
d2534c63f2 Cleanup, remove file paths from doc 2012-12-18 09:07:00 +01:00
Aleksander Machniak
ba6f21caeb Framework files moved to lib/Roundcube 2012-11-21 19:52:03 +01:00