Aleksander Machniak
58cae2ae5b
Better workaround for history issues
...
Before we used history.back() in mail compose to workaround
history issues related to hidden iframe use. This again stopped
working as we switched to about:blank instead of blank.gif href.
A better solution is to detach the iframe after use and re-append
again when needed.
7 years ago
Aleksander Machniak
1b2d3c0ac2
Email Resent (Bounce) feature ( #4985 )
7 years ago
Aleksander Machniak
4b2f2b6b3b
Use about:blank instead of blank.gif for empty iframes
8 years ago
Aleksander Machniak
84a79ee8db
Move common mail composing/sending code to new rcmail_sendmail class
...
This is needed to make simpler an implementation of e.g.
- Mail Bounce feature (#4985 ),
- Direct Draft sending (#4998 ),
- Fast reply from mail preview (#5129 ).
8 years ago
Aleksander Machniak
b5e5e2d12a
CS fix
8 years ago
Philippe 'Peep' Chaintreuil
333d7556af
Disable qrcode if Endroid QrCode library is missing
...
Treat a missing QrCode library the same as roundcube treats a missing
php-gd library. Hide the button to disallow access.
Requested by distributions that don't use composer and don't yet have
packages for the QrCode library.
8 years ago
Aleksander Machniak
86a4d78369
Merge branch 'dev-elastic'
8 years ago
Aleksander Machniak
3cd8783227
Fix c/p issue
8 years ago
Aleksander Machniak
8993059875
Add Preferences > Mailbox View > Main Options > Layout ( #5829 )
8 years ago
Aleksander Machniak
402a463448
Use base64 for headers encoding in ISO-2022-JP
8 years ago
Aleksander Machniak
6f87a32052
Use 7bit encoding for ISO-2022-* charsets in sent mail ( #5640 )
8 years ago
Aleksander Machniak
6dee73a0ec
Support both comma and semicolon as recipient separator, drop recipients_separator option ( #5092 )
8 years ago
Aleksander Machniak
bcc6405552
Fix various issues when downloading files with names containing non-ascii chars, use RFC 2231 ( #5772 )
8 years ago
Aleksander Machniak
b82c767590
More general approach to validate setting options on preferences save
8 years ago
Aleksander Machniak
c856b4ee06
Add missing timezone labels (there may be more than one slash in the timezone name)
8 years ago
Aleksander Machniak
fe2f553688
Add option to not indent quoted text on top-posting reply ( #5105 )
...
by setting reply_mode = 2
8 years ago
Aleksander Machniak
872e6e647b
Don't use global $CONFIG variable
8 years ago
Aleksander Machniak
8fff21deb5
Fix POST parameter reflection in default_charset selector ( #5768 )
8 years ago
AndrolGenhald
496ee4a92d
Fix prevention from using % and * characters in folder name ( #5762 )
8 years ago
Aleksander Machniak
5af38a45cf
Localized timezone selector ( #4983 )
8 years ago
Aleksander Machniak
9858c2a294
Merge branch 'master' into dev-elastic
8 years ago
Aleksander Machniak
9ff7b78c7e
Fix conflict with _gid cookie of Google Analytics ( #5748 )
...
TODO: Review the whole code base and don't use INPUT_GPC when it's not really needed,
in most cases we should not read $_COOKIE.
8 years ago
Aleksander Machniak
ef141e73fa
Support adding compose form elements outside of the form by noform=true
8 years ago
Aleksander Machniak
78c54c128d
Fix bug where invalid recipients could be silently discareded ( #5739 )
8 years ago
Aleksander Machniak
0d8b3675f3
Add missing <label>s in Preferences > Special Folders
8 years ago
Aleksander Machniak
67b575aa4f
Add composeFormHead object for templates to return form tag with hidden inputs
8 years ago
Aleksander Machniak
3e53ac7491
Remove note about mail() function
8 years ago
Aleksander Machniak
d430903f6b
Support contentEditable elements for autocomplete
8 years ago
Aleksander Machniak
b1be7fca51
Unify inline warnings in rcmail_html_page
8 years ago
Aleksander Machniak
34446e00ca
Fix bug where namespace prefix could not be truncated on folders list if show_real_foldernames=true ( #5695 )
8 years ago
dfukagaw28
89a4134064
Add support for DelSp=Yes messages ( #5702 )
8 years ago
Aleksander Machniak
5a53d521c8
Fix permission of temporary files and removal of them when generating thumbnails
8 years ago
Aleksander Machniak
6271b88bab
Fix so settings/upload.inc could not be used by plugins ( #5694 )
8 years ago
ka7
9a35768c26
spelling fixes ( #5690 )
8 years ago
Aleksander Machniak
adbab9d3e2
Merge branch 'master' into dev-elastic
8 years ago
Aleksander Machniak
f8a30526de
Add possibility to use "Add contact" link without an image element inside
8 years ago
Aleksander Machniak
b2d315459a
Fix listmenulink in Larry
8 years ago
Aleksander Machniak
ad83610a5e
Rename $sql_arr variable to $record as it's not about sql only
8 years ago
Aleksander Machniak
61bec3efa4
Fix regression where groups with email address were resolved to its members' addresses
8 years ago
Aleksander Machniak
81f67a4de2
Don't use each() deprecated in PHP 7.2
8 years ago
Aleksander Machniak
dfd19206a4
sizeof() -> count()
8 years ago
Aleksander Machniak
2d9444bef0
Display contact import and advanced search in popup dialogs
8 years ago
Aleksander Machniak
79950630fa
Increase limit of group members when expanding a group from autocomplete ( #5604 )
8 years ago
Aleksander Machniak
f789cb53b2
Fix bug where drag-n-drop element could be empty after check-recent action
8 years ago
Aleksander Machniak
f4b57bad31
Fix missing thread expand icon on search result in widescreen mode ( #5613 )
8 years ago
Aleksander Machniak
01031d0ced
Reset onerror on images if placeholder does not exist to prevent from requests storm
8 years ago
Aleksander Machniak
8131629c6e
Extended unified searchform object for templates engine
8 years ago
Aleksander Machniak
5ba3f2f596
Various small improvements for templating engine and skin behaviours
8 years ago
Aleksander Machniak
cc10cbe039
Make button object to be a <button> by default
8 years ago
Aleksander Machniak
5b57043cbf
Small code improvements
8 years ago
Aleksander Machniak
700fbd4066
Fix PHP error on update of a contact with multiple email addresses when using PHP 7.1 ( #5587 )
8 years ago
Aleksander Machniak
3bb12e75f7
Add class attribute for preferences sections list
8 years ago
Aleksander Machniak
7340360e79
Fix bug where image data URIs in css style were treated as evil/remote in mail preview ( #5580 )
8 years ago
Aleksander Machniak
9d6aa00a44
Hide QR-Code button if PHP-GD is not installed
...
Keep it as an optional dependency.
8 years ago
Aleksander Machniak
9d45ef20cc
Fix so group/addressbook selection is retained on page refresh
8 years ago
Aleksander Machniak
eec77c1a99
Fix some advanced search issues with multiple addressbooks ( #5572 )
8 years ago
Aleksander Machniak
2418f07985
Nicely handle contact deletion on contact edit ( #5522 )
8 years ago
Aleksander Machniak
68c9b669e4
Fix adding images to new identity signatures
...
It already worked only on edits, because the image data for new identity
was stored in the wrong session item.
8 years ago
Aleksander Machniak
15bd0b51a4
Improve mailvelope decryption errors handling, hide encrypted part attachment on successful decryption ( #5279 )
...
+ small style improvements
8 years ago
Aleksander Machniak
a487055c5a
Add possibility to attach contact vCard to composed message ( #4997 )
8 years ago
Aleksander Machniak
c183463a6e
Fix visual glitch when using disabled_actions for items in Settings menu
8 years ago
Aleksander Machniak
8d1e0eb574
Preserve message internal/received date on import in mbox format ( #5559 )
8 years ago
Aleksander Machniak
2482088a76
Possibility to display QR code for contacts data ( #5030 )
8 years ago
Aleksander Machniak
4f5ec65a36
Close SMTP connection ASAP after the message has been sent
...
We should not keep the connection open until the script shuts down.
It may take long time e.g. to save the message in IMAP.
8 years ago
Aleksander Machniak
581c41ca67
Make sure subject is always on proper place in widescreen mode
8 years ago
Aleksander Machniak
dad1852126
Fix _from argument validation
8 years ago
Aleksander Machniak
a844db6a27
Merge branch 'dev-layouts'
8 years ago
Thomas Bruederli
32cd762278
Always send columns list as array (unsetting items makes it an object with numeric keys)
8 years ago
Aleksander Machniak
c344f60d75
Fix displaying attached images with wrong Content-Type specified ( #5527 )
8 years ago
Aleksander Machniak
6287227fff
Fix missing content check when image resize fails on attachment thumbnail generation ( #5485 )
8 years ago
Aleksander Machniak
b26dcb64c3
Code simplification
8 years ago
Aleksander Machniak
0e5a167cd2
Fix recognizing Sent folder on search if current folder has been changed by plugins in meantime
8 years ago
Aleksander Machniak
c3e7d93c43
Make "Add contact" image/text ignored when copying/selecting recipients in main headers ( #5103 )
8 years ago
Aleksander Machniak
2dbbaf7739
Warn about too many disclosed recipients in composed email [max_disclosed_recipients] ( #5132 )
...
Allow to omit a subject when sending an email (#5068 )
8 years ago
Aleksander Machniak
bd12d94fae
Fix missing contact ID for contacts from non-sql addressbooks
8 years ago
Aleksander Machniak
556c1725a7
Unify automatic marking as \Seen in preview pane, full-page and extwin views ( #5071 )
...
We now have one 'mail_read_time' option that works for all cases.
Option 'preview_pane_mark_read' has been removed and marked as an alias.
8 years ago
Aleksander Machniak
4e0532808d
Fix bug where it wasn't possible to store more that 2MB objects in memcache/apc ( #5452 )
...
Added memcache_max_allowed_packet and apc_max_allowed_packet settings
8 years ago
Aleksander Machniak
b258b91560
Do not show inline images of unsupported mimetype ( #5463 )
8 years ago
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 )
8 years ago
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 )
8 years ago
Aleksander Machniak
48585867f3
INBOX should be always protected, event with protect_default_folders=false
...
I.e. it should not be possible to rename INBOX
8 years ago
Aleksander Machniak
f713d186bc
Disable navigation if can't get messages index in pagenav.inc
8 years ago
Aleksander Machniak
6886a4de3f
Widescreen layout aka three column view ( #5093 )
8 years ago
Aleksander Machniak
e22824a316
Use mb_strtoupper() instead of strtoupper() for localized texts
8 years ago
Aleksander Machniak
650ac8befb
Fix displaying size of attachments with zero size
8 years ago
Aleksander Machniak
95df255af4
Added max_message_size option enforced when attaching files to a composed message ( #4993 )
8 years ago
Aleksander Machniak
aad269c2f8
Fix PHP warning when handling shared namespace with empty prefix ( #5420 )
8 years ago
Aleksander Machniak
873e0353cf
Use smart-upload-button for messages and contact photos upload
...
Unified interface with rcmail::upload_form().
8 years ago
Aleksander Machniak
c88a88fb0b
Rewrite smart upload button to work in IE ( #5410 )
8 years ago
Aleksander Machniak
820d614c79
Fix missing </form> tag
8 years ago
Aleksander Machniak
43f3c5fb2a
Implement "one click" attachment upload ( #5024 )
8 years ago
Aleksander Machniak
0485275a75
Merge branch 'dev/drop-legacy-browsers'
8 years ago
Aleksander Machniak
689996896a
Fix bug where names of downloaded files could be mailformed when derived from the message subject ( #5404 )
8 years ago
Aleksander Machniak
505efff5c4
Fix bug where blocked.gif couldn't be attached to reply/forward with insecure content
8 years ago
Aleksander Machniak
062d95503e
Fix bug where Message-ID domain part was tied to username instead of current identity ( #5385 )
8 years ago
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.
8 years ago
Aleksander Machniak
eda23fe6c8
Remove hacks for old Internet Explorer versions
8 years ago
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
8 years ago
Aleksander Machniak
c3fc072d97
Remove code related to magic_quotes_* and register_globals
...
...they do not exist in PHP 5.4 which we now require.
8 years ago
Aleksander Machniak
8a13615e9e
Add possibility to preview and download attachments in mail compose ( #5053 )
8 years ago
Aleksander Machniak
7a7a6795f0
Support WEBP images in mail messages ( #5362 )
8 years ago
Aleksander Machniak
1988f68660
Merge pull request #5203 from bostjan/foundation-for-customizable-contacts-autocomplete
...
Foundation for customizable contacts autocomplete
8 years ago
Aleksander Machniak
158b34ed42
Rename Addressbook to Contacts ( #5233 )
8 years ago
Aleksander Machniak
ee895a2c96
Remove PHP mail() support, smtp_server is required now ( #5340 )
8 years ago
Aleksander Machniak
930e363e55
Fix handling of 'mailto' and 'error' arguments in message_before_send hook ( #5347 )
8 years ago
Aleksander Machniak
3d9e170d8b
Use contact_search_name format in popup on results in compose contacts search
9 years ago
Aleksander Machniak
0ae4001121
Don't create multipart/alternative messages with empty text/plain part ( #5283 )
9 years ago
Aleksander Machniak
d08bd0a51f
Searching in both contacts and groups when LDAP addressbook with group_filters option is used
9 years ago
Aleksander Machniak
de53074734
Fix syntax error
9 years ago
Sandor Takacs
6d1a68bd44
Rename field_blocks to head_fields
9 years ago
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
9 years ago
Aleksander Machniak
d0bb0a9c9d
Fix subscription checkbox state on error in folder subscribe/unsubscribe action ( #5243 )
9 years ago
Thomas Bruederli
44894414cd
Avoid sending completely empty text parts for multipart/alternative messages ( #5283 )
9 years ago
Aleksander Machniak
ff735fb3a5
Protect INBOX folder even if protected_default_folders=false
9 years ago
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
9 years ago
Aleksander Machniak
2b88e6cf95
Use $OUTPUT->set_env(...) instead of $OUTPUT->command('set_env', ...)
9 years ago
Aleksander Machniak
87cf0a3fb1
Use minified publickey.js (with cache-buster) when available ( #5254 )
9 years ago
Aleksander Machniak
f7fdf1a4de
Merge pull request #5168 from piuma/patch-1
...
Set maxlength for email address input
9 years ago
Aleksander Machniak
9cd4b1bc58
Display different confirmation text when moving messages to Trash ( #5220 )
9 years ago
Aleksander Machniak
6d1337e1df
Fix regression where setting Answered/Forwarded flag didn't work when sending an email
9 years ago
Aleksander Machniak
344b0af9c6
Indicate that a collapsed thread has flagged children ( #5013 )
9 years ago
Aleksander Machniak
9796cd2063
Merge branch 'dev-rfc822-preview'
...
Conflicts:
CHANGELOG
program/steps/mail/show.inc
9 years ago
Aleksander Machniak
013aaeb895
CS improvements/fixes
9 years ago
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.
9 years ago
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.
9 years ago
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.
9 years ago
Bostjan Skufca
865230e420
Autocomplete: fix undefined variable notice if no addressbook is configured for autocomplete
9 years ago
Aleksander Machniak
4fdcd8c9d1
Remove redundant code
9 years ago
Aleksander Machniak
6f2c007d1b
CS fixes: Replace use of "bool ? true : false" with just "bool"
9 years ago
Aleksander Machniak
5c253dd59e
Fix so SPECIAL-USE assignments are forced only until user sets special folders ( #4782 )
...
The old behaviour where SPECIAL-USE has always a prio can be bringed back
by setting lock_special_folders=false and adding it to dont_override.
9 years ago
Aleksander Machniak
46f7b70964
Enable reply/reply-all/forward buttons also in preview frame of message/rfc822
9 years ago
Aleksander Machniak
e8b6e726f6
Add message menu with viewsource and edit actions in message/rfc822 preview
9 years ago
Aleksander Machniak
d125f864ea
Message/rfc822 previewer compatibility with Enigma
9 years ago
Aleksander Machniak
ce3105c58f
Reply/Reply-All/Forward/Change-format buttons for message/rfc822 preview
9 years ago
Aleksander Machniak
323fa20bc8
Message/rfc822 attachment preview ( #5054 )
9 years ago
Danilo
1db4c05078
Fix: Set long email addresses
...
The changes permit to set long email address up to the maximum permissible length.
9 years ago
Thomas Bruederli
4a408843b0
Protect download urls against CSRF using unique request tokens ( #1490642 )
...
Send X-Frame-Options headers with every HTTP response
9 years ago
Aleksander Machniak
b0a8e36930
Fix handling of body parameter in mail compose request
9 years ago
Aleksander Machniak
faeeebdc55
Hide DSN option in Preferences when smtp_server is not used ( #1490666 )
9 years ago
Aleksander Machniak
a62ff159f0
Performance: Make sure that after contact update we call get_record() only once
9 years ago
Aleksander Machniak
d686b57c72
Fix bug where contacts widget in compose could be incorrectly initialized with treelist widget (T998)
...
Fix typo in command name (list-adresses -> list-addresses)
9 years ago
Aleksander Machniak
332ffef199
Plugin API: Added addressbook_export hook
9 years ago
Aleksander Machniak
22a018d082
Merge branch 'dev-svg'
9 years ago
Aleksander Machniak
558a6db27e
Fix headers encoding when using 'valueof' mode
9 years ago
Aleksander Machniak
9aaeb23d9d
Fix HTML entities encoding in message headers output
9 years ago
Aleksander Machniak
a1fdb205f8
Extend rcube_washtml with SVG support
9 years ago
Aleksander Machniak
40d7342dd9
Fix XSS issue in SVG images handling ( #1490625 )
9 years ago
Aleksander Machniak
3b36bcfb68
Cleanup
9 years ago
Aleksander Machniak
0d9fa7f3dc
Remove redundant code
9 years ago
Aleksander Machniak
cd219a45dd
Fix regression where some message attachments could be missing on edit/forward ( #1490608 )
9 years ago