Commit Graph

2025 Commits

Author SHA1 Message Date
Aleksander Machniak
d305f4f0fd Separate action to mark all messages in a folder as \Seen (#5006)
with possibility to do this in all folders or in a folder and its subfolders (#5076)
2016-10-10 09:31:38 +02:00
Aleksander Machniak
d85f30bec4 Archive: Don't reload messages list when it's not needed (#5225)
Archive: Add option to automatically mark archived messages as \Seen (#5142)
2016-10-02 19:43:04 +02:00
Aleksander Machniak
48585867f3 INBOX should be always protected, event with protect_default_folders=false
I.e. it should not be possible to rename INBOX
2016-09-23 09:03:50 +02:00
Aleksander Machniak
f713d186bc Disable navigation if can't get messages index in pagenav.inc 2016-09-19 09:35:31 +02:00
Aleksander Machniak
e22824a316 Use mb_strtoupper() instead of strtoupper() for localized texts 2016-09-15 08:37:36 +02:00
Aleksander Machniak
650ac8befb Fix displaying size of attachments with zero size 2016-09-10 09:58:23 +02:00
Aleksander Machniak
95df255af4 Added max_message_size option enforced when attaching files to a composed message (#4993) 2016-09-01 10:37:09 +02:00
Aleksander Machniak
aad269c2f8 Fix PHP warning when handling shared namespace with empty prefix (#5420) 2016-08-31 16:11:57 +02:00
Aleksander Machniak
873e0353cf Use smart-upload-button for messages and contact photos upload
Unified interface with rcmail::upload_form().
2016-08-24 12:54:30 +02:00
Aleksander Machniak
c88a88fb0b Rewrite smart upload button to work in IE (#5410) 2016-08-23 20:54:18 +02:00
Aleksander Machniak
820d614c79 Fix missing </form> tag 2016-08-23 15:45:59 +02:00
Aleksander Machniak
43f3c5fb2a Implement "one click" attachment upload (#5024) 2016-08-20 19:38:48 +02:00
Aleksander Machniak
0485275a75 Merge branch 'dev/drop-legacy-browsers' 2016-08-20 10:50:54 +02:00
Aleksander Machniak
689996896a Fix bug where names of downloaded files could be mailformed when derived from the message subject (#5404) 2016-08-20 08:47:28 +02:00
Aleksander Machniak
505efff5c4 Fix bug where blocked.gif couldn't be attached to reply/forward with insecure content 2016-08-12 11:30:09 +02:00
Aleksander Machniak
062d95503e Fix bug where Message-ID domain part was tied to username instead of current identity (#5385) 2016-08-09 09:17:26 +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
eda23fe6c8 Remove hacks for old Internet Explorer versions 2016-08-04 08:57:48 +02:00
Aleksander Machniak
ebc2f5dc7d Add possibility to rename attachments in mail compose (#4996)
... and fix some small issues related to the new compose attachment menu feature
2016-07-30 09:05:49 +02:00
Aleksander Machniak
c3fc072d97 Remove code related to magic_quotes_* and register_globals
...they do not exist in PHP 5.4 which we now require.
2016-07-29 13:34:50 +02:00
Aleksander Machniak
8a13615e9e Add possibility to preview and download attachments in mail compose (#5053) 2016-07-28 19:08:19 +02:00
Aleksander Machniak
7a7a6795f0 Support WEBP images in mail messages (#5362) 2016-07-21 16:42:45 +02:00
Aleksander Machniak
1988f68660 Merge pull request #5203 from bostjan/foundation-for-customizable-contacts-autocomplete
Foundation for customizable contacts autocomplete
2016-07-21 09:53:01 +02:00
Aleksander Machniak
158b34ed42 Rename Addressbook to Contacts (#5233) 2016-07-16 13:59:54 +02:00
Aleksander Machniak
ee895a2c96 Remove PHP mail() support, smtp_server is required now (#5340) 2016-07-15 15:24:45 +02:00
Aleksander Machniak
930e363e55 Fix handling of 'mailto' and 'error' arguments in message_before_send hook (#5347) 2016-07-15 13:12:42 +02:00
Aleksander Machniak
3d9e170d8b Use contact_search_name format in popup on results in compose contacts search 2016-07-01 10:12:44 +02:00
Aleksander Machniak
0ae4001121 Don't create multipart/alternative messages with empty text/plain part (#5283) 2016-06-28 09:24:14 +02:00
Aleksander Machniak
d08bd0a51f Searching in both contacts and groups when LDAP addressbook with group_filters option is used 2016-06-20 09:02:38 +02:00
Aleksander Machniak
de53074734 Fix syntax error 2016-06-17 15:21:20 +02:00
Sandor Takacs
6d1a68bd44 Rename field_blocks to head_fields 2016-06-14 12:46:04 +02:00
Sandor Takacs
e108902eff Add $field_blocks to contact_form hook
Add $field_blocks to contact_form hook, so plugins can change the order of the fields: https://github.com/roundcube/roundcubemail/pull/5281
2016-06-14 11:03:35 +02:00
Aleksander Machniak
d0bb0a9c9d Fix subscription checkbox state on error in folder subscribe/unsubscribe action (#5243) 2016-06-08 19:27:03 +02:00
Thomas Bruederli
44894414cd Avoid sending completely empty text parts for multipart/alternative messages (#5283) 2016-05-29 13:36:29 +02:00
Aleksander Machniak
ff735fb3a5 Protect INBOX folder even if protected_default_folders=false 2016-05-28 10:00:25 +02:00
Aleksander Machniak
0ce7c493a8 Fix multi-folder search issues in "this and subfolders" scope (#5282, #5259)
- Fix bug where multi-folder search could choose a wrong folder
- Fix bug where multi-folder search didn't work for unsubscribed INBOX
2016-05-28 09:31:59 +02:00
Aleksander Machniak
2b88e6cf95 Use $OUTPUT->set_env(...) instead of $OUTPUT->command('set_env', ...) 2016-05-27 11:55:38 +02:00
Aleksander Machniak
87cf0a3fb1 Use minified publickey.js (with cache-buster) when available (#5254) 2016-05-22 08:19:27 +02:00
Aleksander Machniak
f7fdf1a4de Merge pull request #5168 from piuma/patch-1
Set maxlength for email address input
2016-05-09 09:01:11 +02:00
Aleksander Machniak
9cd4b1bc58 Display different confirmation text when moving messages to Trash (#5220) 2016-05-08 09:31:46 +02:00
Aleksander Machniak
6d1337e1df Fix regression where setting Answered/Forwarded flag didn't work when sending an email 2016-05-06 09:03:07 +02:00
Aleksander Machniak
344b0af9c6 Indicate that a collapsed thread has flagged children (#5013) 2016-05-04 13:33:01 +02:00
Aleksander Machniak
9796cd2063 Merge branch 'dev-rfc822-preview'
Conflicts:
	CHANGELOG
	program/steps/mail/show.inc
2016-05-02 18:01:18 +02:00
Aleksander Machniak
013aaeb895 CS improvements/fixes 2016-05-01 10:56:57 +02:00
Bostjan Skufca
05c7d49a37 Autocomplete search: add id and source (addressbook) into resulting contact data array
Two reasons:
- provide it to plugin backend functions that use 'contacts_autocomplete_after' hook
- provide it to frontend

Why to frontend?
If plugin JS adds an 'autocomplete_insert' hook we need to provide it with exact
autocomplete data. Providing it with name and email address only, without pinpointing
exact origin of this autocomplete result, will severely limit learning capabilities of
potential future autocomplete implementations.
2016-04-14 02:45:21 +02:00
Bostjan Skufca
a15b2d5998 Autocomplete refactoring: replace variable name '$id' with '$abook_id'
Reason:
Having genericly named variable $id in nested loops makes code unreadable.
Replacing generic name '$id' with '$ENTITIY_id' format removes all ambiguity.
2016-04-14 02:39:54 +02:00
Bostjan Skufca
ed55af4aa9 Autocomplete: trigger "contacts_autocomplete_after" hook processing
Provide existing list of contact suggestions as an argument - it might be unclear
now what logic plugin developers decide to implement, but data for that logic
should be provided upfront, and that includes list of suggestions that RC
itself comes up with.

Plugin logic might then replace the list entirely, or just rearrange its entries, or use
part of the list when it runs out of own ideas, or do something entirely different.
2016-04-14 02:28:19 +02:00
Bostjan Skufca
865230e420 Autocomplete: fix undefined variable notice if no addressbook is configured for autocomplete 2016-04-14 02:28:09 +02:00
Aleksander Machniak
4fdcd8c9d1 Remove redundant code 2016-04-08 13:34:00 +02:00
Aleksander Machniak
6f2c007d1b CS fixes: Replace use of "bool ? true : false" with just "bool" 2016-04-02 13:02:55 +02:00