Commit Graph

7011 Commits (2c12274d38284ef4e7361320b4f0f3165e2f17b3)

Author SHA1 Message Date
JohnDoh 336e937946 also fix source in group create function 8 years ago
JohnDoh 82d049f1a2 check group id matches current one before changing the title 8 years ago
PhilW e6f18ba6a6 Merge branch 'master' 8 years ago
Aleksander Machniak 95a7ece543 Fix update of group name in the contacts list header on group rename (#5648) 8 years ago
JohnDoh f40e515cb2 don't use env for group-rename action 8 years ago
Aleksander Machniak b7e4c94972 Bring back lists buttons in TinyMCE toolbar 8 years ago
Aleksander Machniak df88d10f13 simple_dialog() improvements 8 years ago
Aleksander Machniak 3e427b4a42 Fix double http request regression (#5633)
Removed 'click' event handler on messages list which was used only
to allow message re-selection. As this feature was broken since 0.9
it looks like we don't really need it. When you're in ctrl-selection
state you can easily ctrl-unselect the message.
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
Joe Bordes 3c1d951d84 feat(Hook) full message object on message_sent event 8 years ago
Aleksander Machniak 81f67a4de2 Don't use each() deprecated in PHP 7.2 8 years ago
Aleksander Machniak f29fd706cf Get back to eval()
We used create_function() before but it's deprecated in PHP 7.2
and really it was just a wrapper on eval().
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 46e3b94826 Fix bug where signature couldn't be added above the quote in Firefox 51 (#5628) 8 years ago
Aleksander Machniak 9cf1e83d7a Fix autocomplete popup closing (#5606)
1. Tab key does not work as Enter. Now it works as Escape and jumps to another input.
2. Click on document (outside of the autocomplete input and popup) closes the popup.
8 years ago
Aleksander Machniak 79950630fa Increase limit of group members when expanding a group from autocomplete (#5604) 8 years ago
Aleksander Machniak 879f1dd2a0 Register some labels, add one localization label 8 years ago
Aleksander Machniak 3cc5eb158a Add event argument to button function in simple_dialog() 8 years ago
Aleksander Machniak 7323f633f7 Fix bug where re-selection of messages list record didn't work
A regression in old commit 24fa5d3154
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 7ef975490b Unified and simplified code for loading content frame for responses and identities 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 78237c84b4 Fix bug where mail content frame couldn't be reset in some corner cases (#5608) 8 years ago
Aleksander Machniak e08f22ef28 Fix bug where external content in src attribute of input/video tags was not secured (#5583) 8 years ago
Aleksander Machniak cb58d37bbc Avoid closure compiler suspicious code warning (#5584) 8 years ago
Aleksander Machniak 3bb12e75f7 Add class attribute for preferences sections list 8 years ago
Aleksander Machniak 6eb8f89b4d Remove redundant code 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 f65f4bbca8 Fix pdf object visibility 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
Thomas Bruederli f78e2a4367 Add 1.3-beta milestone + update copyright year 8 years ago
Aleksander Machniak 8086099621 Small code improvements in PDF capability checker 8 years ago
Aleksander Machniak 25de39d444 Merge branch 'dev-remove-js-deps' 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 369b44d94a Fix unsetting template objects
Fixes compatibility with some plugins e.g. kolab_addressbook which
call parse() method (for sub-templates) while parsing the main template
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 692cb9c63b Update localization 8 years ago
Aleksander Machniak 930c921bed Disable Print button for pdf attachments in Firefox (#5125)
Mozilla's PDF.js viewer does not allow printing from host page.
We try to detect such situation and disable the button to minimize
user confusion.
8 years ago
Aleksander Machniak c183463a6e Fix visual glitch when using disabled_actions for items in Settings menu 8 years ago
Jens Carl de82576134 Add mime type detection under FreeBSD and Apache 2.4 (#5560) 8 years ago
Aleksander Machniak 8d1e0eb574 Preserve message internal/received date on import in mbox format (#5559) 8 years ago
Aleksander Machniak 2733258d2b Load 'close' label for dialogs by default 8 years ago
Aleksander Machniak 2482088a76 Possibility to display QR code for contacts data (#5030) 8 years ago
Aleksander Machniak 12a49437d2 Upgrade to TinyMCE 4.5.1 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 5e1da48d0c Remove external javascript code from the git repo, add jsdeps.sh script (#5535) 8 years ago
Aleksander Machniak a99e479cb4 Fix variable substitution in ldap host for some use-cases, e.g. new_user_identity (#5544) 8 years ago
Aleksander Machniak 581c41ca67 Make sure subject is always on proper place in widescreen mode 8 years ago
Aleksander Machniak 32b68959b2 Merge branch 'master' of github.com:roundcube/roundcubemail 8 years ago
Aleksander Machniak a1f679adca Fixed redundancy in sql caching system and compatibility with Galera Cluster (#5439)
- Removed redundant 'created' column from cache and cache_shared tables
- Removed use of redundant data records
- Added missing primary keys (dictionary, cache, cache_shared tables)
8 years ago
Aleksander Machniak 940a27400e Use GSSAPI only if configured (#5530) 8 years ago
Aleksander Machniak 5cca1988b6 Fix write_log() return value when using syslog() and it fails 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 8a76bf3783 Make sure $prefs property is an array (#5523) 8 years ago
Aleksander Machniak e306328340 Fix storing "empty" values in rcube_cache/rcube_cache_shared (#5519) 8 years ago
Aleksander Machniak 7e90de4ef5 write_record() should return boolean value 8 years ago
Aleksander Machniak b26dcb64c3 Code simplification 8 years ago
Aleksander Machniak 68221ed4ae Improve uppercase/lowercase/ucfirst attrib handling in rcube::gettext()
- Make ucfirst mode compatible with UTF-8
- Fix bug which made uppercase=FIRST non-working
- Replace \n with real line-break before converting char case
8 years ago
Aleksander Machniak 6e0effa54c Fix "Illegal string offset" warning in rcube::log_bug() on PHP 7.1 (#5508) 8 years ago
Aleksander Machniak e17fcf1649 Support ALLOW-FROM in x_frame_options (#5122) 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 e17e8851f1 CS improvements, _xor() method replaced with an anonymous function 8 years ago
Aleksander Machniak d02e6ea45e Fix so templating system does not mess with external (e.g. email) content (#5499) 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 386af483ce Fix redundant keep-alive/refresh after session error on compose page (#5500) 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 28741ed032 Disable double-click on the list when preview pane is on (#5199)
This eliminates delay when opening a message in preview pane.
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 c42d447a55 Removed unused moxieplayer.swf 8 years ago
Aleksander Machniak ecfe177173 CS fixes, use $this instead of local variable 8 years ago
Aleksander Machniak e3b61cd487 Plugin API: Added get_compose_responses hook (#5457) 8 years ago
Aleksander Machniak 1727071816 Better handling of rcube_text_editor.replace()'s input argument, some simplification 8 years ago
Aleksander Machniak edea8732a6 Fix regression where UI object could be not created on some pages (#5484) 8 years ago
Aleksander Machniak 571a10751f Display error when trying to upload more files than specified in max_file_uploads (#5483) 8 years ago
Aleksander Machniak f43f5bf93f Use JSON_PRETTY_PRINT in devel_mode
This effectively makes PHP 5.4 a real requirement
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 cf9f0d8829 Fix bug where IMAP password could be exposed via error message (#5472) 8 years ago
Aleksander Machniak b8f9ba7d47 Fix bug where deleting folders with subfolders could fail in some cases (#5466) 8 years ago
Aleksander Machniak 20086193eb Support HTML input to rcube_text_editor.replace() (#5456) 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 40fe66b71e Fix reference to non-existing blank.tif file in mime_content_type check 8 years ago
Aleksander Machniak 8a51607671 Fix regression where creation of default folders wasn't functioning without prefix (#5460) 8 years ago
Aleksander Machniak 638afafbd2 Make so rcmail.log() depends on devel_mode (#5193) 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 9e129383a1 Improve randomness of password salts and random hashes (#5266) 8 years ago
Aleksander Machniak 195dc11855 Support host-specific imap_conn_options/smtp_conn_options/managesieve_conn_options (#5136) 8 years ago
Aleksander Machniak 8c75dd3aa8 Add convenient method to create new session records 8 years ago
Aleksander Machniak c13119b81c Fix bug where folders list would scroll to top when clicking on subscription checkbox (#5447) 8 years ago
Aleksander Machniak 42ddfe5ec9 Simplify mbstring code path in rcube_charset::convert() 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 331bb579c2 jQuery 3.1.1 8 years ago
Aleksander Machniak c1c0a0d815 Implemented rcube::sleep() method for disconnecting all external connection in long-running/sleeping scripts 8 years ago
Aleksander Machniak a227589eb2 de_DE: abboniert -> abonniert 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 a8d41ac7f4 Fix some undefined variables 8 years ago
Aleksander Machniak bfbab5bcde Fix keyboard event detection with jQuery 3.x and remove hacks for old browsers
This fixes e.g. unwanted focus on a toolbar button after closing popup
menu with mouse click on the document.
8 years ago
Aleksander Machniak f92052fd73 Fix so when moving to Trash we make sure the folder exists (#5192) 8 years ago
Aleksander Machniak 2e1675bc4a Center and scale images in attachment preview frame (#5421) 8 years ago
Aleksander Machniak 4bf4afec68 Fix so folders list is scrolled to the selected folder on page load (#5424) 8 years ago
Aleksander Machniak 2999cc38a5 Generate more compact HTML5 code, e.g. use short form of boolean attributes 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 d7089c81d6 Fix so messages list does not lose focus when releasing drag-n-drop outside of the list 8 years ago
Aleksander Machniak ce0c42ed8a Fix error causing empty INBOX listing in Firefox when using an URL with user:password specified (#5400) 8 years ago
Aleksander Machniak defdf84bb7 Really fix login form regression
Remove 'form' from allowed attributes list of input field. We needed
it only for a moment, now we don't. It's also not supported by IE/Edge
which means there's no way we would need it. Maybe some day...
8 years ago
Victor Benincasa daeb66ee99 Fix login form
Fix a small bug introduced on commit 43f3c5f that breaks the login form ($attrib['form'] is checked at line 1899, so it cannot be unset).
8 years ago
Aleksander Machniak 32e5a6bbcf Fix bug where folder creation could fail if personal namespace contained more than one entry (#5403)
+ small code improvements
8 years ago
Aleksander Machniak 99cb08c41c Fix so "All" messages selection is resetted on search reset (#5413) 8 years ago
Aleksander Machniak 80919e1cf5 Added Search button in quick search menus (#5312) 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 de5da687e4 Remove code for "placeholder" attribute support in old browsers 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 c65bb121eb Describe Framework requirements, drop some redundant code (since we require mbstring) 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 9debc38724 Drop mail_header_delimiter option, since we don't use mail() we don't need it 8 years ago
Aleksander Machniak 184de7735c CS fixes (mostly phpdoc) 8 years ago
Aleksander Machniak 2298ecf7f6 Fix E_DEPRECATED warning when using Auth_SASL::factory() (#5401) 8 years ago
Aleksander Machniak d7c4c3fb62 Drop IE9 support 8 years ago
Aleksander Machniak eecc601601 Fix compatibility with jQuery 3.x 8 years ago
Aleksander Machniak 0836b213db Removed useless 'created' column from 'session' table (#5389) 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 94f8ce3334 Make html::parse_attrib_string() more robust
Fixes PHP Error: Expression parse error on: ($app->config->get('preview_pane',rcube_utils::get_boolean('')) == true ? ' checked=checked' : ')
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
DanCld ee00d949c4 Properly set the memcache debug log file name
Properly set the debug log file name ('memcache') as $this->type is undefined
8 years ago
Aleksander Machniak 53b5ccfb0c Fix regression where LDAP results could be counted incorrectly when using VLV
... broken by d08bd0a51f where we added searching in users+groups in one request
8 years ago
Aleksander Machniak 71340a1bea Update to jQuery-3.1.0 8 years ago
Aleksander Machniak eda23fe6c8 Remove hacks for old Internet Explorer versions 8 years ago
Aleksander Machniak 9e3263acbe Simplify popup dialogs creation 8 years ago
Aleksander Machniak dcabc1d814 Merge remote-tracking branch 'upstream/master'
Conflicts:
	tests/Framework/Washtml.php
8 years ago
Aleksander Machniak 94eb2e5a40 Make the attachment rename input bigger (size: 50) 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 906cf101c3 Better time handling in rcube_utils::clean_datestr() 8 years ago
Aleksander Machniak ec1525a1e6 Remove debug code 8 years ago
Aleksander Machniak ed35267b9b Managesieve: Fix parsing of vacation date-time with non-default date_format (#5372)
Added new method rcube_utils::format_datestr() to convert date_format date
into ISO date format.
8 years ago
Aleksander Machniak 2f2765ab43 Fix regression in resizing JPEG images with Imagick (#5376) 8 years ago
Aleksander Machniak 672ca96b24 Merge pull request #5375 from filhocf/master
Correct file csv2vcard.inc
8 years ago
Claudio Ferreira Filho 40a493b0e1 Adjusting csv2vcard.inc file 8 years ago
Aleksander Machniak 8a13615e9e Add possibility to preview and download attachments in mail compose (#5053) 8 years ago
Claudio Ferreira Filho 51979cb554 Adding localized in pt_BR csv2vcard.inc file 8 years ago
Thomas Bruederli 354042c4f4 Fix German tranlsation for 'open' (#5360) 8 years ago
Thomas Bruederli 4e3442877d Updated localizations from Transifex 8 years ago
Aleksander Machniak e1165fed89 Remove backward compatibility "layer" of bc.php (#4902) - now for real 8 years ago
Aleksander Machniak 64763853c9 Fix javascript errors in IE on page with iframe that points to another domain 8 years ago
Aleksander Machniak e6553ce60d Fix German localization label 8 years ago
Aleksander Machniak d91bad5975 Fix handling of blockquote tags with mixed case on html2text conversion (#5363) 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 6626328e7c We already require PEAR, so it's not needed to check if PEAR class exists.
Sooner or later it will fail if PEAR does not exist, so better to do this sooner.
8 years ago
Aleksander Machniak fdf9ff5a17 Merge pull request #5361 from PeterDaveHelloKitchen/image-optimize
optimize png images using zopflipng
8 years ago
Aleksander Machniak 437aca39e0 Enigma: Import keys from key-server(s) (#5286) 8 years ago
Aleksander Machniak 4361a95820 Fix missing localization of HTML editor when assets_dir != INSTALL_PATH 8 years ago
Aleksander Machniak edfd9da42a Support MathML in HTML message preview (#5182) 8 years ago
Aleksander Machniak 158b34ed42 Rename Addressbook to Contacts (#5233) 8 years ago
Peter Dave Hello 6ee0cec8e9
optimize png images using zopflipng 8 years ago
Aleksander Machniak ee895a2c96 Remove PHP mail() support, smtp_server is required now (#5340) 8 years ago
Aleksander Machniak 8e65f618c5 Display full message subject in onmouseover on truncated subject in mail view (#5346) 8 years ago
Aleksander Machniak e13deb2e47 Merge branch 'master' of github.com:roundcube/roundcubemail 8 years ago
Aleksander Machniak 930e363e55 Fix handling of 'mailto' and 'error' arguments in message_before_send hook (#5347) 8 years ago
Aleksander Machniak d2d4f867e5 Merge pull request #5350 from demis-palma/fix-encoding
Fixed wrong encoding in currency symbols
8 years ago
Aleksander Machniak dc6cfe1eec Merge pull request #5351 from fliespl/patch-1
Remove use of deprecated method Imagick::flattenImages
8 years ago
Aleksander Machniak 9a2264ba0e Fix regression where messages with no text part (but e.g. application/zip) were not displayed as an attachment (#5357) 8 years ago
fliespl 10c032165b Remove deprecated function flattenImages
flattenImages in imagick is deprecated since php 5.6. 
`PHP Deprecated:  Imagick::flattenImages method is deprecated and it's use should be avoided `


Proposed solution works with imagick 3.1.0+.
11 is used as an alternative to `Imagick::ALPHACHANNEL_REMOVE` which was added in imagick 3.2.0.
9 years ago
Demis Palma 411bd3fe82 Fixed wrong encoding in currency symbols 9 years ago
Aleksander Machniak 3d9e170d8b Use contact_search_name format in popup on results in compose contacts search 9 years ago
Aleksander Machniak 352c6329cc Enigma: Search missing public keys on a key-server in mail compose (#5286) 9 years ago
Aleksander Machniak 997e82d2b2 Merge pull request #5326 from raoulbhatia/autoload
Translate PHP namespaces into directories
9 years ago
Aleksander Machniak 0ae4001121 Don't create multipart/alternative messages with empty text/plain part (#5283) 9 years ago
dsoares 8e7e22c656 Avoid PHP fatal error
After last change to file `rcube_ldap.php`, my roundcube instance was getting this error:
```
PHP Fatal error:  Cannot use object of type Net_LDAP3_Result as array in ...
```
In
```php
protected function extended_search($count = false)
```
`$result = $this->ldap->search()` returns a LDAP object (whatever package we use).
If the search returns no results (and if `$is_extended_search` is false), then it gets to line 971 trying to do a `usort()` and then a `count()` on an object, instead of an array.
9 years ago
Aleksander Machniak c08ca018d8 Get rid of rcube_imap_generic::strToTime() in favor of rcube_utils::strtotime() 9 years ago
Raoul Bhatia 7122df719d Translate PHP namespaces into directories 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 22241a5d82 CS fixes 9 years ago
Aleksander Machniak 58c036116b Support type=password in rcube_output::get_edit_field() 9 years ago
Aleksander Machniak f2eafda539 Fix bug where microsecond format in logged date didn't work in some cases 9 years ago
Aleksander Machniak 5e1277e971 Trim error message 9 years ago
Aleksander Machniak f840abe6e0 Don't add HTTP response body/headers to the spellchecker error message (it is displayed to the user) 9 years ago
Aleksander Machniak c478536741 Make SQL selects less expensive in memory for some cases where we fetch big data chunks 9 years ago
Aleksander Machniak 5e5eab3e53 Update TinyMCE to version 4.3.13 (#5309) 9 years ago
Aleksander Machniak d0bb0a9c9d Fix subscription checkbox state on error in folder subscribe/unsubscribe action (#5243) 9 years ago
Aleksander Machniak b9d3fb0221 Display different attachment icon on encrypted messages 9 years ago
Aleksander Machniak c76c4ed08b Workaround PHP issue by calling closelog() on script shutdown when using log_driver=syslog (#5289) 9 years ago
Aleksander Machniak d61d33a12a Fix handling of --delete argument in moduserprefs.sh script (#5296) 9 years ago
Aleksander Machniak f466899d8d Simplified code 9 years ago
Aleksander Machniak 7864a98f08 Fix searching by email address in contacts with multiple addresses (#5291) 9 years ago
Aleksander Machniak 6737e293bb Wash position:fixed style in HTML mail for better security (#5264) 9 years ago
Thomas Bruederli 44894414cd Avoid sending completely empty text parts for multipart/alternative messages (#5283) 9 years ago
Thomas Bruederli f82e336ada Add licence header to cloned PublicKey.js 9 years ago
Aleksander Machniak bf049c80e7 Remove debug code 9 years ago
Aleksander Machniak 1a8593a315 Update changelog 9 years ago
Aleksander Machniak db70d3e491 Merge pull request #5277 from hemio-ev/mailvelope-fixes
Fixes 'nobodywarning' on sending mailvelope mails
9 years ago
Aleksander Machniak 796bb4ccbb Update localization, add Enigma plugin localizations 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 98c1712e29 Fix redundant keep-alive requests when session_lifetime is greater than ~20000 (#5273) 9 years ago
Michael Herold d3c6d6570b Fixes 'nobodywarning' on sending mailvelope mails 9 years ago
Aleksander Machniak 87cf0a3fb1 Use minified publickey.js (with cache-buster) when available (#5254) 9 years ago
Aleksander Machniak 9e64dc2deb Remove application/x-tar file extension test as it might not exist in nginx config (#5253)
Use text/css instead
9 years ago
Aleksander Machniak 378d10b748 Fix bug where message list columns could be in wrong order after column drag-n-drop and list sorting 9 years ago
Aleksander Machniak 930a3ceac0 Fix bug where errors could have been not logged when per_user_logging=true 9 years ago
John Regan 3a2874c77c Remove check for multiple dots in local-part 9 years ago
John Regan 0e809364e7 Support SMTPUTF8, relax email restrictions
If the FROM/TO portions of an email use non-ASCII characters,
check that the SMTP server supports the SMTPUTF8 extension.

Additionally, change some rules for parsing email addresses to
allow for more characters. Basically, SMTPUTF8 states that
nearly any printable character is a valid character in an
email address.
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 3d0d5dbd0f Performance improvements in format_flowed() and unfold_flowed() 9 years ago
Aleksander Machniak afd090672c Small performance optimization 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 6652367d65 Fix XSS issue in href attribute on area tag (#5240, #5241) 9 years ago
Aleksander Machniak 4921c21cff Optimize SELECT response handling 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 56f9883d84 Update to jsTimezoneDetect 1.0.6 9 years ago
Aleksander Machniak 9634169647 Bump version number to 1.3-beta 9 years ago
Aleksander Machniak bd6d7645d7 Update localization 9 years ago
Aleksander Machniak 667ed37f77 Fix bug where Encrypt button appears when switching editor to HTML (#5235) 9 years ago
Aleksander Machniak 013aaeb895 CS improvements/fixes 9 years ago
Aleksander Machniak 0eece8222b Fix autoloading of 'html' class and improve autoloader performance 9 years ago
Aleksander Machniak 5d08d57005 Don't log ajax requests/responses, browser development tools already can show this information 9 years ago
Aleksander Machniak 5e406f7b7e Disable links list when converting html2text for spellchecking 9 years ago
Aleksander Machniak 1da8ffd52b Use "email" over "e-mail" consistently (#5212) 9 years ago
Aleksander Machniak 7abfe41ab7 Fix bug where getting HTML editor content could steal focus from other form controls (#5223) 9 years ago
Aleksander Machniak 7dad859ffa Fix message list multi-select/deselect issue (#5219) 9 years ago
Aleksander Machniak 52106ffd39 Fix bug where rcube_contacts::get_record() could return cached result when requested record wasn't found (#5218) 9 years ago
Bostjan Skufca 12756e2297 Autocomplete: store last searched-for string into separate variable for later consumption
Reason:
Autocompleting person contacts works as expected - ksearch_value is available and passed to triggerEvent.
But with group autocomplete, ksearch_value is reset (to null) and triggerEvent call lacks necessary data.
9 years ago
Bostjan Skufca f919e8ffa6 Autocomplete: change type from 'contact' to 'person' to sync with what is expected from LDAP.
Explanation:
Alternative would be to leave type empty, as it is when contact comes form SQL source.
But this feels overly ambiguous and may cause problems in the future.
9 years ago
Bostjan Skufca 1791c3e3d7 Autocomplete/frontend: provide functions that hook into 'autocomplete_insert' actual search and result data
Reason:
In order to enable development of sophisticated autocomplete algorithms, they will need
to process all the data relevant to autocomplete - what was the search string and which
result was the correct one.

Example to illustrate the need:
Say we are talking about these two people of interest, who are in the address book, among others:
- person 1: Bostjan Skufca <bostjan@a2o.si>
- person 2: Bostjan SkuBIC <bostjan@otherdomain.com>

Our user is used to think about the first person by the first name, "Bostjan", as he is an old friend.
The second one is a colleague at work where people call themselves mostly by surnames, "Skubic" in this case.

Without this data provided to 'autocomplete_insert', there is no way for RC to learn that when our user
enters "bos" in the To: field he thinks about person #1 (Bostjan SkuFCA), and when he starts typing "sku"
he means person #2 (Bostjan SkuBIC).
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 e2e56261b9 Fix handling of long script/style tags when converting to text 9 years ago
Aleksander Machniak a0f38f5fd8 Small code style improvements 9 years ago
Aleksander Machniak e8ab3d96bd Fix converting mail addresses with @www. into mailto links (#5197) 9 years ago
Aleksander Machniak d01c06eded CS fixes 9 years ago
Bostjan Skufca 70a8236cd5 mailbox/listing: Make server response for large mailbox listing faster when using threaded view
Symptom
=======
When using roundcube with mailboxes with over 60k messages, list
view was way faster than viewing in threaded view.

Mailbox index view timing:    ~360 ms
Mailbox threaded view timing: ~800 ms

Resolution
==========
Use native PHP array manipulation functions instead of rolling custom
string data reversal implementation using strpos() and substr() in a
'while' loop.

This optimization is already present in index view handler, but was missing
from threaded view.

Results after optimization
==========================
Both average out around ~360 ms response time.
9 years ago
Aleksander Machniak 4fdcd8c9d1 Remove redundant code 9 years ago
Bernardo Silva c72446a8fc Allow pattern attribute in input
"pattern" included in the list of allowed attributes in the input tag
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 aba88576ef Update localizations 9 years ago
Aleksander Machniak 7462095f60 Small code improvements 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 640e5e265d Enigma: Handle encrypted/signed content inside message/rfc822 attachments 9 years ago
Aleksander Machniak 4e6f3019f5 Enigma: Handle encrypted/signed content inside message/rfc822 attachments 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
Aleksander Machniak 05972d7b33 Refer to Github issues instead of Trac 9 years ago
Aleksander Machniak 791ee65d2e Fix so contactlist_fields option can be set via config file 9 years ago
Aleksander Machniak 348ec70f12 Export vCard PHOTO with "ENCODING=b" (instead of "ENCODING=B") as specified in RFC2426 9 years ago
Aleksander Machniak 3a13b5dab8 CS fixes 9 years ago
Aleksander Machniak 0c9e55b0c9 Fix PHP warning when defaults.inc.php is not readable 9 years ago
Aleksander Machniak bf91666621 Revert "Update to jQuery 2.2.1"
This reverts commit 940b966fac.

There are issues with jQuery-UI 1.10 we use and it's actually
too late for such a change now when we want 1.2 release soon.
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 d4df3748cf Require Net_Socket >= 1.0.12 (because of timeout=0 bugfix) 9 years ago
Aleksander Machniak ca34ba139e CS fixes 9 years ago
Aleksander Machniak 940b966fac Update to jQuery 2.2.1 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 9ae41d906e Fix unicode-awareness of Base64 encoding implementation in javascript 9 years ago
Aleksander Machniak 8bbb454524 Fix list row selection when provided uid is number not a string 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 4c0cb96a48 Enigma: Fix missing html/plain switch on multipart/signed messages (#1490649) 9 years ago
Aleksander Machniak e91c35c534 Fix background color on selected and focused addressbook 9 years ago
Aleksander Machniak 332ffef199 Plugin API: Added addressbook_export hook 9 years ago
Aleksander Machniak 8dc756f319 Fix bug in long recipients list parsing for cases where recipient name contained @-char (#1490653) 9 years ago
Aleksander Machniak c10eae0884 Fix bug where Archive/Junk buttons were not active after page jump with select=all mode (#1490647) 9 years ago
Aleksander Machniak 53fa08d8ae Enigma: Code refactoring with better handling of encrypted-inside-encrypted (e.g. forwarded) and signed+ncrypted messages 9 years ago
Aleksander Machniak c9e2ab488e Enigma: Fix handling of encrypted + signed messages (#1490632) 9 years ago
Aleksander Machniak 0e77b6f1b3 Fix regression where xml mode could be used to parse xhtml messages causing empty result 9 years ago
Aleksander Machniak bffca14d96 Exit when imagecreatetruecolor() fails 9 years ago
Aleksander Machniak 22a018d082 Merge branch 'dev-svg' 9 years ago
Aleksander Machniak ed1d212ae2 Improved SVG cleanup code 9 years ago
Aleksander Machniak 023d3eb031 Refactor wash_attribs() - fix regressions 9 years ago
Aleksander Machniak 558a6db27e Fix headers encoding when using 'valueof' mode 9 years ago
Aleksander Machniak d5f7490b08 Fix PHP Fatal error: Can't use function return value in write context 9 years ago
Thomas B 66d4ef6e31 Merge pull request #316 from namesco/prevent-blank-contactnames
Ensure roundcube doesn't render contact names as blank
9 years ago
Aleksander Machniak 72c250ca67 Merge pull request #317 from FrancisRussell/imap-tls
Enable use of TLSv1.1 and TLSv1.2 for IMAP.
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
Francis Russell 8f71b164fd Make TLS method for IMAP parameterisable. 9 years ago
Francis Russell 191a6a6805 Enable use of TLSv1.1 and TLSv1.2 for IMAP. 9 years ago
Aleksander Machniak 0bde1c2e4d Fix missing language name in "Add to Dictionary" request in HTML mode (#1490634) 9 years ago
James Buncle fd0244dabf Ensure roundcube doesn't render contact names as blank (when the name is whitespace) 9 years ago
Aleksander Machniak 4e1aa60c16 Make possible to disable authentication via rcube_smtp::connect() arguments (#1490621) 9 years ago
Aleksander Machniak 40d7342dd9 Fix XSS issue in SVG images handling (#1490625) 9 years ago
Aleksander Machniak 39137fe292 CS fixes 9 years ago
Aleksander Machniak d72e5afb47 Fix PHP7 warning "session_start(): Session callback expects true/false return value" (#1490624) 9 years ago
Aleksander Machniak d08dc5bfc5 Fix so drag-n-drop of text (e.g. recipient addresses) on compose page actually works (#1490619) 9 years ago
Aleksander Machniak 10e5192a2b Fix path traversal vulnerability in setting a skin (#1490620) 9 years ago
Aleksander Machniak 6521c20768 Add INBOX to the list of folders only if no filter and no prefix was specified 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
Aleksander Machniak c3be175ce7 Fix PDF support detection in Firefox > 19 (#1490610) 9 years ago
Aleksander Machniak be346095a0 Fix handling of message/rfc822 attachments on replies and forwards (#1490607) 9 years ago
Aleksander Machniak bb6002f1a8 Fix also charset encoding of message/rfc822 part bodies (#1490606) 9 years ago
Aleksander Machniak 3296965f41 Force arg_separator in http_build_query() 9 years ago
Aleksander Machniak 87cb24d873 Don't add redundant URL arguments to logged error messages 9 years ago
Aleksander Machniak f51145572a Merge branch 'master' of github.com:roundcube/roundcubemail 9 years ago
Aleksander Machniak 6463b662ca Fix regression in displaying contents of message/rfc822 parts (#1490606) 9 years ago
Aleksander Machniak 97aa984b29 Optionally throw 404 error when contact photo wasn't found 9 years ago
Aleksander Machniak 69a1e4f7b1 rcube_parse_host() -> rcube_utils::parse_host() 9 years ago
Aleksander Machniak cbe701ac4a Fix rcube_utils::words_match() to work with mixed/invalid/binary content (T844) 9 years ago
Aleksander Machniak 7476410a04 Add missing deprecation warning 9 years ago
Thomas Bruederli 458a6b26e8 Load bc.inc in script startup 9 years ago
Thomas Bruederli 32695c333c Restore bc.inc which now logs a warning when calling deprecated functions 9 years ago
Thomas Bruederli 310d4939ba Tweak recently added encryption functions to not violate ECMASCRIPT3 syntax 9 years ago
Aleksander Machniak 8271597836 Use ternary operator where applicable 9 years ago
Thomas Bruederli 648963afda Added Talossan language to index 9 years ago
Thomas Bruederli e257b830a1 Synchronize localizations from Transifex 9 years ago
Aleksander Machniak 7e3298753a Use ternary operator where aplicable 9 years ago
Aleksander Machniak a15d877ba8 Added brute-force attack prevention via login rate limit (#1490566) 9 years ago
Aleksander Machniak 7caa9f5f50 Fix error on dragging when search in treelist is active 9 years ago
Aleksander Machniak 454b0b1ca9 Remove deprecated rcmail and rcube_imap methods 9 years ago
Aleksander Machniak 9234903287 Fix HTML sanitizer to skip <!-- node type X --> in output (#1490583) 9 years ago
Aleksander Machniak 3b0318ca3e Fix race-condition in setting current page between list and getunread requests 9 years ago
Aleksander Machniak bcd3799954 Fix redundant blank lines when using HTML and top posting (#1490576) 9 years ago
Aleksander Machniak 2aa9ee56fd Fix so disabling emoticons plugin really removes emoticons button from HTML editor 9 years ago
Aleksander Machniak eb721e35b2 Update to TinyMCE 4.2 9 years ago
Aleksander Machniak bc3518577d Fix some more Q -> rcube::Q 9 years ago
dsoares 234fd19505 Replace deprecated call to Q within array_map() 9 years ago
Aleksander Machniak 74ce01efc7 Q() -> rcube::Q() 9 years ago
Aleksander Machniak eca19d65b5 Optimized some regular expressions 9 years ago
Aleksander Machniak 8f8beafd56 Use .get_label() consistently (instead of .gettext()) 9 years ago
Aleksander Machniak 5d84dd6de5 Deduplicate code of http_post() and http_request(), add http_get() alias 9 years ago
Aleksander Machniak 2ff3385788 Fix warning when enchant_broker_list_dicts() does not return an array 9 years ago
Aleksander Machniak a5c03db798 Security: Added options to validate username/password on logon (#1490500) 9 years ago
Aleksander Machniak c1bbf0d0b6 After failed login wait a second to slow down brute-force attacks (#1490549) 9 years ago
Aleksander Machniak fddfd8e6d7 Remove backward compatibility "layer" of bc.php (#1490534) 9 years ago
Aleksander Machniak 91dc7fabbc Small improvements in HTML to text conversion.
Better handling of <body> and trailing spaces, and </p><div> or <br><div>.
9 years ago
Aleksander Machniak 92bcb940d4 Fix bug where HTML messages with invalid/excessive css styles couldn't be displayed (#1490539)
Technically speaking we remove the whole CSS content when it has more than 5k lines.
9 years ago
Aleksander Machniak fe8ff85d7e Move skin-specific code for compose encryption button to the skin 9 years ago
Aleksander Machniak f1e7bbd1bd Fix bug where message preview was unintentionally reset on check-recent action (#1490563) 9 years ago
Aleksander Machniak d9ff47b011 Don't use deprecated (soon) jQuery .bind() and .unbind() methods 9 years ago
Aleksander Machniak c8c4cafb1f Add possibility to define date format in write operations for ldap attributes (#1488741) 9 years ago
Aleksander Machniak bb1ed2740d Display attachment size in compose (#1484774) 9 years ago
Aleksander Machniak d560916065 Added possibility to drag-n-drop attachments from mail preview to compose window 9 years ago
Aleksander Machniak 5802e08e48 Mail messages searching with predefined date interval (T103) 9 years ago
Aleksander Machniak a03233ceba CS fixes 9 years ago
Aleksander Machniak 1484d5fb7f Fix resetting search input events when the treelist is re-initialized, some CS improvements 9 years ago
Aleksander Machniak e524680a13 Fix 'last' property of search event 9 years ago
Aleksander Machniak 354cff8b26 Some more CS fixes 9 years ago
Aleksander Machniak 7fb0aedc9b Fix fetchMIMEHeaders() so it really works with multiple parts, various CS fixes 9 years ago
Aleksander Machniak b813011902 Remove unused property 9 years ago
Aleksander Machniak 85f4209074 Code improvements: CS fixes, improved internal cache cleanup on folder selection, removed redundant cache 9 years ago
Aleksander Machniak aada285660 Simplify change_subscription() code, removed unused vars 9 years ago
Aleksander Machniak 6a94f69bd1 Remove code for Mail_mime<1.9, we already require Mail_mime-1.10 for other reasons 9 years ago
Aleksander Machniak 2a6cf5bb0e Fix responses list update issue after response name change (#1490555) 9 years ago
Aleksander Machniak 0ee57208b3 Add possibility to set PDO::ATTR_PREFETCH and PDO::ATTR_TIMEOUT via DSN string 9 years ago
Aleksander Machniak 1b61a48eec Get rid of mb_check_encoding() before mb_convert_encoding() for better performance, CS fixes 9 years ago
Aleksander Machniak 83345af059 Log charset conversion warning only when no function was found, not when the string was invalid 9 years ago
Aleksander Machniak 7d71c48952 s/RCMAIL_VERSION/RCUBE_VERSION/ 9 years ago
Aleksander Machniak 82dcbb7488 Fix various issues in Mailvelope integration (#1490533) 9 years ago
Aleksander Machniak 7bbb86f78a Session read handler must return a string in PHP7 9 years ago
Aleksander Machniak b2b9b591ce Fix handling random_bytes() errors in PHP 7.0.0RC3 9 years ago
Thomas Bruederli b95a6d8f41 Disable some toolbar buttons if Mailvelope editor is active (#1490533) 9 years ago
Thomas Bruederli 0b6a01380b Distinguish encryption toolbar buttons (Mailvelope and Enigma) 9 years ago
Aleksander Machniak df0b4f3437 Make sure an email address is valid when replacing it with mailto: link 9 years ago
Thomas Bruederli db390a27fb Do not tokenize search string when querying in strict mode (#1490504) 9 years ago
Aleksander Machniak 4cd087ea2e Fixed mailvelope-generated messages structure (required Mail_Mime-1.10.0) 9 years ago
Aleksander Machniak e250f00d90 Fix PHP warnings when sending mailvelope-encrypted mail 9 years ago
Aleksander Machniak 8716fca0d0 Small improvements 9 years ago
Aleksander Machniak fef8537adb Improved multi-folder search performance on sort order change or list page change
by proper index serialization and skipped redundant sorting
9 years ago
Thomas Bruederli f7f75ff7d1 Unify detection of pgp/mime message part 9 years ago
Thomas Bruederli f189d72943 Merged branch 'dev-mailvelope' 9 years ago
Aleksander Machniak 91ef2c812a Small code improvement 9 years ago
Aleksander Machniak e85bbc9e9c random_bytes() can throw an exception in some cases, since PHP 7.0.0rc3 9 years ago
Aleksander Machniak 77be69fa25 Fix issue where Content-Length of some attachments could be set to wrong value causing browser errors (#1490482) 9 years ago
Aleksander Machniak 63e7937d02 Change so rcube_message class does not depend on $_GET parameters 9 years ago
Aleksander Machniak c49234bd78 Fix bug where clicking date column with 'arrival' sorting would switch to sorting by 'date' (#1490126) 9 years ago
Aleksander Machniak dd7db21797 Fix XSS issue in drag-n-drop file uploads (#1490530) 9 years ago
Aleksander Machniak 26086981a2 Improve randomness of security tokens (#1490529) 9 years ago
Aleksander Machniak f75bc5c24b Use random security tokens instead of hashes based on encryption key (#1490404) 9 years ago
Aleksander Machniak e4c66080a8 Improved encrypt/decrypt methods with option to choose the cipher_method (#1489719) 9 years ago
Aleksander Machniak fdbb1c95ea Fix missing HTTP_X_FORWARDED_FOR address in generated Received header 9 years ago
Aleksander Machniak 91018f38d4 Fix so In-Reply-To header is set also for MDN receipts (#1490523) 9 years ago
Aleksander Machniak 4c53e78915 Fix printing required ini options values in error message 9 years ago
Aleksander Machniak e2f605d44d Fallback to C locale 9 years ago
Aleksander Machniak 3c29c7e858 Fix various issues with Turkish (and similar) locales (#1490519) 9 years ago
Aleksander Machniak 399a2d68b6 Make optional adding of standard signature separator - sig_separator (#1487768) 9 years ago
Aleksander Machniak 427ab2f393 Optimize folder_size() on Cyrus IMAP by using special folder annotation (#1490514) 9 years ago
Aleksander Machniak 5eb9c70b60 Added method to determine IMAP server vendor, for future use 9 years ago
Aleksander Machniak 4d36da83b2 Fix support for Mozilla-based browsers, e.g. Pale Moon (#1490517) 9 years ago
Aleksander Machniak c4daf3f14f Fix regression in converting signatures to text, fixed PHP warning in html2text() call 9 years ago
Aleksander Machniak 86b241df63 CS fixes 9 years ago
Aleksander Machniak 4ceff8f353 Make optional hidding of folders with name starting with a dot - imap_skip_hidden_folders (#1490468) 9 years ago
Aleksander Machniak 6ca1e6add1 Add option to enable HTML editor always, except when replying to plain text messages (#1489365) 9 years ago
Aleksander Machniak 87d6d214f9 Fix disabled_buttons option 9 years ago
Aleksander Machniak a63f14ec40 Emoticons-related code refactoring
- Emoticons: All emoticons-related functionality is handled by the plugin now
- Emoticons: Added option to switch on/off emoticons in compose editor (#1485732)
- Emoticons: Added option to switch on/off emoticons in plain text messages
- Plugin API: Added disabled_plugins an disabled_buttons options in html_editor hook
- Plugin API: Added html2text hook
9 years ago
Aleksander Machniak 3516b02344 Fix so adding CC/BCC recipients from the sidebar unhides compose form fields in Classic skin (#1490472) 9 years ago
Aleksander Machniak 8297ea1dcf Fix handling of plus character in mailto: links (#1490510) 9 years ago
Aleksander Machniak f00e1f5333 CS fixes 9 years ago
Aleksander Machniak bd82e9551f Fix so css of one html part does not apply to other text parts on message display (#1490505) 9 years ago
Thomas Bruederli 7417893c22 Fix closing of nested menus (#1490443) 9 years ago
Aleksander Machniak 60ab554003 Remove common subject prefixes Re:, Re[x]:, Re-x: on reply (#1490497) 9 years ago
Aleksander Machniak 6f249b0e38 Change code so versions of Mail_mime before and after 1.9.0 are supported 9 years ago
Aleksander Machniak 3fa3f156ca Don't display not-sent-warning in compose page on save-pref action 9 years ago
Aleksander Machniak c4383b5f3d Fix selecting a folder on collapse when any subfolder is selected 9 years ago
Aleksander Machniak 284aac2883 Really make base64 encoding unicode-aware 9 years ago
Aleksander Machniak c16ac71416 Fix base64.encode/decode for unicode characters - use fallback if btoa/atob functions fail 9 years ago
Aleksander Machniak 7a42173a16 Simplify rcube_utils::check_ip() 9 years ago
Aleksander Machniak 6b31846c43 Fix IPv6 address validation on PHP with disabled IPv6 support 9 years ago
Aleksander Machniak c360e178c4 Fix so input field (e.g. search box) does not loose focus on list load (#1490455) 9 years ago
Aleksander Machniak f4c512336d Fix "washing" of style elements wrapped into many lines 9 years ago
Thomas B. cf69daf896 Merge pull request #288 from ThijsFeryn/fnnonempty
Emptying the display name when the display name is the main e-mail ad…
9 years ago
Thomas Bruederli 6c69e3d3ed Add localization alias for tr => tr_TR 9 years ago
Aleksander Machniak 559e5d7bd4 Fix unintentional error_reporting change 9 years ago
Aleksander Machniak 36bd93f138 PHP7: Fixed some E_WARNING errors that previously were E_STRICT 9 years ago
Aleksander Machniak a7efdd7c5d Make Mail_mime>=1.9.0 a requirement, fix compat. errors 9 years ago
Aleksander Machniak 1b8ca08e5b Added GSSAPI/Kerberos authentication plugin - krb_authentication 9 years ago
Aleksander Machniak 92649075ec CS fixes 9 years ago
Aleksander Machniak 0868c2e841 Make sure list page is never set to 0 (#1490458)
This should fix the issue where after message move wrong message was
added to the list and the list counter was invalid.
9 years ago
Aleksander Machniak 5ed8ade763 Fix bug where some plugins could be initialized more than one time 9 years ago
Aleksander Machniak 93e64008a6 Small code improvements 9 years ago
Pekka Nurmi 4f6b660433 Thunderbird (fi_FI) support for csv2vcard 9 years ago
Aleksander Machniak 08bb20f261 Don't use deprecated functions/constants (from bc.inc) 9 years ago
Aleksander Machniak 9fc6918420 Disable links list generation on html-to-text conversion of identities or composed message (#1490437) 9 years ago
Aleksander Machniak 8449e936f3 Fix removing signature when switching to identity with an empty sig in HTML mode (#1490470) 9 years ago
Aleksander Machniak d5f6d655da Workaround TinyMCE issue with <p>&nbsp;</p> sequence (#1490463) 9 years ago
Thomas Bruederli 2965a981b7 Allow to search and import missing PGP pubkeys from keyservers using Publickey.js 9 years ago
Thomas Bruederli bcbc459d2c Fix regex quoting 9 years ago
Aleksander Machniak 4b72a1f498 Fix error when using back button after sending an email (#1490009) 9 years ago
Aleksander Machniak 3d0747957e Fix some javascript errors in rare situations (#1490441) 9 years ago
Aleksander Machniak 8b40575b5c Fix wrong positioning of message list header on page scroll in Webkit browsers (#1490035) 9 years ago
Aleksander Machniak c21f95f626 Fix bug where new messages weren't added to the list in search mode 9 years ago
Aleksander Machniak 6c7be218f7 Revert create_folder() behaviour change where the method didn't fail if folder already existed.
This should not be the default behaviour. It could likely
become an optional functionality, however we should keep the method simple.
9 years ago
Aleksander Machniak 0c8794c94f Use in_array_nocase() also for \\Noselect flag check (#1490466) 9 years ago
Aleksander Machniak 9d78c68cbf Fix so imap folder attribute comparisons are case-insensitive (#1490466)
+ make in_array_nocase() much faster for ASCII strings
9 years ago
Aleksander Machniak 8b0d817919 Fix draft removal after a message is sent and storing sent message is disabled (#1490467) 9 years ago
ThijsFeryn 58f6f19505 Emptying the display name when the display name is the main e-mail address contradicts lines 731 till 734 9 years ago
Aleksander Machniak 252cc4c4ac Password: Allow temporarily disabling the plugin functionality with a notice 9 years ago
Aleksander Machniak b71eef6d7d Don't use private properties of Net_SMTP object 9 years ago
Aleksander Machniak 9335f9cede Reset internal cache index in close() 9 years ago
Aleksander Machniak 602d7422df Fix bug where some messages in multi-folder search couldn't be printed/downloaded (#1490426) 9 years ago
Aleksander Machniak 8bed5e0151 Fix regression where compose editor mode was set incorrectly 9 years ago
Aleksander Machniak 3db9db1058 Update to TinyMCE 4.1.10 (#1490405) 9 years ago
Aleksander Machniak 19246792c6 Fix so *-request@ addresses in Sender: header are also ignored on reply-all (#1490452) 9 years ago
Aleksander Machniak e2bceaefe6 Support more secure hashing algorithms for auth cookie - configurable by PHP's session.hash_function (#1490403) 9 years ago
Aleksander Machniak 7185736f39 Use jQuery's .on() instead of a deprecated .load()/.unload() 9 years ago
Aleksander Machniak 843643b1bd Fix multi-folder search result sorting by arrival date (#1490450) 9 years ago
Aleksander Machniak 212e332cef Get rid of array_walk() when simple foreach() can be used 10 years ago
Aleksander Machniak d2890372c1 Fix Fatal error after last commit 10 years ago
Aleksander Machniak 6a8c4fc73b Fix issue when first search() argument is not an array 10 years ago
Aleksander Machniak 8447bae77c Require Mbstring and OpenSSL extensions (#1490415) - remove redundant code 10 years ago
Aleksander Machniak f7427f151e Get rid of Mail_mimeDecode package dependency (#1490416) 10 years ago
Aleksander Machniak 9aae1b7fc3 Fix so microseconds macro (u) in log_date_format works (#1490446) 10 years ago
Aleksander Machniak 56a4e1512c Fix a mistake in last small refactoring which broke identity selection 10 years ago
Aleksander Machniak 1414e3b6f8 Small refactoring to make some code testable 10 years ago
Aleksander Machniak a567d85bf9 Fix self-reply detection issues (#1490439) 10 years ago
Aleksander Machniak 25c8fe4eeb Fix handling of non-break spaces in html to text conversion (#1490436) 10 years ago
Aleksander Machniak b92a66b3ee Make has_(html|text)_part and first_(html|text)_part methods consistent in arguments and functionality 10 years ago
Aleksander Machniak 36a7f57345 Modify rcube_smtp::send_mail() so it is possible to send message by
specifying only the message stream no headers, it's for cases when
the stream already contains a complete message.
10 years ago
Aleksander Machniak ff40683404 Fix so links with href == content aren't added to links list on html to text conversion (#1490434) 10 years ago
Aleksander Machniak 26a00e76be Fix race-condition in saving user preferences and loading plugin config (#1490431) 10 years ago
Aleksander Machniak 8e4dc03867 Fix unintentional messages list page change on page switch in compose addressbook (#1490427) 10 years ago
Aleksander Machniak a79e43a483 Remove redundant folder name from mail preview url 10 years ago
Aleksander Machniak 04a6889246 Fix bug where some messages in multi-folder search couldn't be opened (#1490426) 10 years ago
Aleksander Machniak a958748947 CS fixes 10 years ago
Aleksander Machniak 10044b9033 Fix Compose action in addressbook for results from multiple addressbooks (#1490413) 10 years ago
Aleksander Machniak e2002741c5 Update to jQuery 2.1.4 (#1490406) 10 years ago
Aleksander Machniak 42f8abac46 Fix "Importing..." message does not hide on error (#1490422) 10 years ago
Daniel Hoffend 53ccaa1a0f remove debug test code 10 years ago
Thomas Bruederli babc30c4f2 Add 'compose-encrypted' command later if Mailvelope API is detected 10 years ago
Thomas Bruederli 3167e58ff9 Pass encrypted draft and reply messages to Mailvelope editor; add toolbar icon for encryption mode toggeling 10 years ago
Thomas Bruederli 40d152cfdc Make encrypted pgp/mime message composition work 10 years ago
Aleksander Machniak b782815dac Fix XSS vulnerability in _mbox argument handling (#1490417) 10 years ago
Aleksander Machniak c044d301ea Fix blank image in html_signature when saving identity changes (#1490412) 10 years ago
Thomas Bruederli d375b20225 Suppress E_DEPRECATED errors after change in [4ab77dd1] 10 years ago
Thomas Bruederli 4ab77dd13e Check for PEAR class before accessing it. With new composer modules this isn't necessary in the include path anymore 10 years ago
Thomas Bruederli 7b8a0af1c8 Add toolbar button to switch to Mailvelope encryption editor 10 years ago
Thomas Bruederli 1cd3762b0d Start integrating the Mailvelope browser extension via its API.
- Embed Mailvelope message container for encrypted message text and full pgp-mime messages
- Prepare to embed the Mailvelope editor for composing encrypted messages (with attachments)
10 years ago
Aleksander Machniak 8042e13af6 Add --config and --type options to moduserprefs.sh script (#1490051) 10 years ago
Aleksander Machniak a84f0b65dc Fix undefined variable use after recent changes (#1490401) 10 years ago
Aleksander Machniak 3994b3a26c Installer: Use openssl_random_pseudo_bytes() (if available) to generate des_key (#1490402) 10 years ago
Thomas Bruederli 5e97294372 Add new plugin hook 'identity_create_after' (#1490358) 10 years ago
Aleksander Machniak 0c08b04778 Fix issues when using moduserprefs.sh without --user argument (#1490399) 10 years ago
Aleksander Machniak 59d11dce33 Small code improvement 10 years ago
Aleksander Machniak c4ad7edd53 Fix font artifacts in text2html conversion (#1490353)
Use white-space:nowrap elements instead of unicode word-joiner character
10 years ago
Aleksander Machniak 03aa84f784 Fix bug where some files could have "executable" extension when stored in temp folder (#1490377) 10 years ago
Aleksander Machniak b120d42f5b Improved cache index changes detection (again) 10 years ago
Aleksander Machniak 044c1a0523 Simplified code + some CS fixes 10 years ago
Aleksander Machniak 652e11f82e Fix missing index update after write() call 10 years ago
Aleksander Machniak b1e35a685c Performance: Improve changes detection, so we update index only if needed 10 years ago
Aleksander Machniak 11d5e7c100 Implemented memcache_debug also for session operations 10 years ago
Aleksander Machniak 9ed8584c3e Count memcache/apc debug lines 10 years ago
Aleksander Machniak fff8e0f2ae Fix possible memcache/apc cache data consistency issues (#1490390)
And removed unused code
10 years ago
Aleksander Machniak 247b845a8e Workaround possible issue where some keys were ignored when deleting cached entries
by key name prefix and keys index is in inconsistent state (does not contain all keys)
10 years ago
Aleksander Machniak 44708ec647 Implemented memcache_debug and apc_debug options for cache operations tracking 10 years ago
Aleksander Machniak e84fafcec2 Fix security issue in contact photo handling (#1490379) 10 years ago
Aleksander Machniak bb21913387 Fix mb_substitute_character() use 10 years ago
Aleksander Machniak 966a9086a5 Fix rcube_charset::clean() for case when mbstring and iconv are not installed 10 years ago
Aleksander Machniak 1422b0823e Fix bug where messages count was not updated after message move/delete with skip_deleted=false (#1490372) 10 years ago
Thomas B. de40ef6cdb Merge pull request #274 from fmbiete/es_ES-csv2vcard
csv2vcard: Add mappings for spanish versions of programs
10 years ago
Thomas Bruederli 0f63418b7e Use Net_LDAP3::domain_root_dn() to resolve the domain DN for the %dc variable; replaces PR #268 10 years ago
Aleksander Machniak 9d49c820bd Fix so pagejump selection list can be displayed again with click after it has been closed by Esc key 10 years ago
Aleksander Machniak 820be47e30 Reset pagejumper input to current page on ESC/TAB press 10 years ago
Aleksander Machniak 9a5d9a83ab Implemented UI element to jump to specified page of the messages list (#1485235) 10 years ago
Francisco Miguel Biete 77bb126b00 fix(csv2vcard): Add mappings for spanish versions of Thunderbird
and Outlook.

The titles in the CSV generated by the localized versions of those
programs are also localized. Not every field, but some of them.

Signed-off-by: Francisco Miguel Biete <fbiete@gmail.com>
10 years ago
Aleksander Machniak 1aa0c8ad66 Fix bug where preview_pane setting wasn't always saved into user preferences (#1490362) 10 years ago
Aleksander Machniak 1d0ffdc2ac Fix decoding array headers 10 years ago
Aleksander Machniak c095e6329c Fix message highligh regression from last commit (#1490363) 10 years ago
Aleksander Machniak 28331d5ed2 Trigger 'listupdate' event also on response to check-recent request 10 years ago
Aleksander Machniak 1af5595b90 Fix mouseup event handling when dragging a list record (#1490359)
This fixes drag-n-drop on managesieve filters list.
10 years ago
Aleksander Machniak 5b737d9f8d Fix bug where some unrelated attachments in multipart/related message were not listed (#1490355) 10 years ago
Aleksander Machniak 09225a41ec Add option to place signature at bottom of the quoted text even in top-posting mode [sig_below] 10 years ago
Aleksander Machniak e7620812b0 Installer: Remove system() function use (#1490139)
Move some functionality of scripts from bin/ into rcmail_utils class
10 years ago
Aleksander Machniak e8e88d347d Fix bug where forced extwin page reload could exit from the extwin mode (#1490350)
With small improvements in rcube_webmail.url() method.
10 years ago
Aleksander Machniak d86ff98339 Fix font artifact in Google Chrome on Windows (#1490353) 10 years ago
Aleksander Machniak 53cbebf8ad Fix handling spaces after <br> on html2text conversion 10 years ago
Aleksander Machniak aa38c512fb Fix lack of signature separator for plain text signatures in html mode (#1490352) 10 years ago
Aleksander Machniak d61d668b64 Remove useless code 10 years ago
Aleksander Machniak 292292df32 Fix so unrecognized TNEF attachments are displayed on the list of attachments (#1490351) 10 years ago
Aleksander Machniak 98e4614b0d Fix so text/calendar parts are listed as attachments even if not marked as such (#1490325) 10 years ago
Aleksander Machniak 48d01837a0 Fix tables listing routine on mysql and postgres so it skips system or other database tables and views (#1490337) 10 years ago
Aleksander Machniak 5a4f3f8266 Remove Kolab's hack for Cyrus Murder bug in SETANNOTATION - it's not needed anymore 10 years ago
corbosman d9c22ab66d move header block inside loop 10 years ago
Aleksander Machniak 3d6ce95009 Fix PHP warning: Non-static method PEAR::setErrorHandling() should not be called statically (#1490343) 10 years ago