Commit Graph

2655 Commits (master)

Author SHA1 Message Date
Aleksander Machniak 530b53d92f Update changelog 5 years ago
Aleksander Machniak 094da1e653 Elastic: Fix bug where it was possible to switch editor mode when 'htmleditor' was in 'dont_override' (#7143) 5 years ago
Aleksander Machniak 2c0dd762ed Update changelog
[skip ci]
5 years ago
Aleksander Machniak 47d9ed6d0c Add support for PHPUnit 6 and 7 (#6870)
Fixes composer dependencies: Package phpunit/phpunit-mock-objects is abandoned

We cannot support v8 yet because of errors like:
Declaration of MailFunc::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void
It would require dropping PHP < 7.1 support.
5 years ago
Aleksander Machniak df2acc5eb8 Elastic: Fix hidden list widget on mobile/tablet when selecting folder while search menu is open (#7120) 5 years ago
Aleksander Machniak 9bb95471bf Merge branch 'master' of github.com:roundcube/roundcubemail 5 years ago
Aleksander Machniak 226097fc3f Markasjunk: Fix marking more than one message as spam/ham with email_learn driver (#7121) 5 years ago
Aleksander Machniak 37cfa0a43b Fix malformed characters in HTML message with charset meta tag not in head (#7116) 5 years ago
Aleksander Machniak 5f30dc68a3 Fix so number of contacts in a group is not limited to 200 when redirecting to mail composer from Contacts (#6972)
Use max_group_members with fallback to 999 if unset.
5 years ago
Aleksander Machniak eadbe91c92 Elastic: Simple search in pretty selects (#7072) 5 years ago
Aleksander Machniak 29defb82e9 Fix bug where next message wasn't displayed after delete in List mode (#7096) 5 years ago
Aleksander Machniak cf90c69ad7 Fix bug where 'text' attribute on body tag was ignored when displaying HTML message (#7109) 5 years ago
Aleksander Machniak 545ea62dfc Fix bug where listing tables in PostgreSQL database with db_prefix didn't work (#7093) 5 years ago
Aleksander Machniak 34e2507aac Fix so contact's organization field accepts up to 128 characters (it was 50)
Also assistant, manager, spouse, website and im
5 years ago
Aleksander Machniak 93c0e02f07 Plugin API: Make actionbefore, before<action>, actionafter and after<action> events working with plugin actions (#7106) 5 years ago
Aleksander Machniak 0aa5eca1fd Fix bug where 'skins_allowed' option didn't enforce user skin preference (#7080) 5 years ago
Aleksander Machniak a5b15da155 Fix so displayed maximum attachment size depends also on 'max_message_size' (#7105) 5 years ago
Aleksander Machniak 0b45c3c6b0 Fix matching multiple X-Forwarded-For addresses with 'proxy_whitelist' (#7107) 5 years ago
Aleksander Machniak 5b253fb498 Elastic: Fix contrast of warning toasts (#7058)
Add some color variables and slightly make bg-color stronger on "box" messages.
5 years ago
Aleksander Machniak 94c795b539 Fix bug where HTML reply could add an empty line with extra indentation above the original message (#7088) 5 years ago
Aleksander Machniak e7cb9bf604 Password: Fix kpasswd and smb drivers' double-escaping bug (#7092) 5 years ago
Aleksander Machniak 35101ca44a Fix filter selection after removing a first filter (#7079) 5 years ago
Aleksander Machniak 57476c09f9 Fix bug where cancelling switching from HTML to plain text didn't set the flag properly (#7077) 5 years ago
Aleksander Machniak 604e814898 Fix/remove useless keyup event handler on username input in logon form (#6970) 5 years ago
Aleksander Machniak 9219f4cd65 Fix so use of Ctrl+A does not scroll the list (#7020) 5 years ago
Aleksander Machniak 04aff2efa3 Fix so install-jsdeps.sh removes Bootstrap's sourceMappingURL (#7035) 5 years ago
Aleksander Machniak 2f928a516d Fix DB Write test on SQLite database ("database is locked" error) (#7064)
Also fix so SQLite DSN with a relative path to the database file works in Installer
5 years ago
Aleksander Machniak fa34e5ebcd Fix bug where a new saved search added after removing all searches wasn't added to the list (#7061) 5 years ago
Aleksander Machniak 006f7d1087 Fix so modifier type select wasn't hidden after hiding modifier select on header change 5 years ago
Aleksander Machniak ffeebff3f9 Fix bug where Ctype extension wasn't required in Installer and INSTALL file (#7049) 5 years ago
Aleksander Machniak 45546508d2 Replace "Filter disabled" with "Filter enabled" (#7028) 5 years ago
Aleksander Machniak 8d81df7dc3 Fix bug where a new contact group added after removing all groups from addressbook wasn't added to the list 5 years ago
Aleksander Machniak dbc2b5e11c Fix bug where deleting a saved search in addressbook caused display issue on sources/groups list (#7061)
also remove dead code.
5 years ago
Aleksander Machniak 4485940d0e Fix bug where Enter key didn't work on messages list in "List" layout (#7052)
with some code improvements and better checking if selected message is a draft.
5 years ago
Aleksander Machniak 4cf2363f43 Update changelog 5 years ago
Aleksander Machniak 8a25ddbf53 Update changelog, CS improvements 5 years ago
Aleksander Machniak 022a1b683f Enigma: Add script to import keys from filesystem to the db storage (for multihost) 5 years ago
Aleksander Machniak ea3ad31ce0 Fix bug where the Installer would not warn about required schema upgrade (#7042) 5 years ago
Aleksander Machniak 4b607e2ed3 Fix so Elastic is also a default in jqueryui plugin (#7039) 5 years ago
Aleksander Machniak 0113ea9602 Fix tables listing routine when DSN contained a database with unsupported suffix (#7034) 5 years ago
Aleksander Machniak 2e2028ae78 Elastic: Fix position of mobile floating action button (#7038) 5 years ago
Aleksander Machniak d0dd042b73 Fix so update.sh script warns about changed defaults (#7011) 5 years ago
Aleksander Machniak 110eebdd1b Fix db_prefix handling in queries with `TRUNCATE TABLE <name>` and `UNIQUE <name>` (#7013) 5 years ago
Aleksander Machniak ee1f01a0df Fix so 401 error is returned only on failed logon requests (#7010) 5 years ago
Aleksander Machniak b4b400c91d Fix invalid Signature button state after escaping Mailvelope mode (#7015) 5 years ago
Aleksander Machniak b63d549834 Elastic: Change HTML editor widget to improve form flow (#6992) 5 years ago
Aleksander Machniak 4b24ba1372 Fix bug where cache keys could exceed length limit specified in db schema (#7004) 5 years ago
Aleksander Machniak 4cf8952afa Fix PHP warning: "array_merge(): Expected parameter 2 to be an array, null given in sendmail.inc (#7003) 5 years ago
Aleksander Machniak 338b25dec9 Managesieve: Fix locked UI after opening filter frame (#7007) 5 years ago
Aleksander Machniak 03cee8f554 Add a release mark 5 years ago
Aleksander Machniak c5c5a9325c Elastic: Fix regression where recipient input didn't update internal input state (#6988) 5 years ago
Aleksander Machniak f768ff1464 Update changelog and cleanup 5 years ago
Aleksander Machniak 727f8f04d8 Elastic: Fix regression where Encrypt button wasn't displayed in mail compose toolbar (#6982)
Also fix Reply-All button handling
5 years ago
Aleksander Machniak 52c755207d Enigma: Fix bug where signing option was set to disabled after saving a draft in Elastic skin (#6515) 5 years ago
Aleksander Machniak 3a097e6836 Fix bug where inline images could have been ignored if Content-Id header contained redundant spaces (#6980) 5 years ago
Aleksander Machniak df414aa30c Elastic: Fix unread filter icon and search state on folder change (#6978) 5 years ago
Aleksander Machniak ce70166d9e Elastic: Fix inserting responses at cursor position (#6971)
Don't check if the field has focus for text selection.
5 years ago
Aleksander Machniak 2213efc850 Archive: Fix missing Archive icon in folder selector popup in Elastic 5 years ago
Aleksander Machniak 46ee823fd9 Archive: Fix bug where next email was not displayed after Archive button use (#6965) 5 years ago
Aleksander Machniak a3c491d5cb Elastic: Fix initial focus on recipients input in mail compose screen
Also remove some redundant duplicated code
5 years ago
Aleksander Machniak 20e25582e7 Fix so an error is loogged when encryption fails (#6948) 5 years ago
Aleksander Machniak ed085db9e0 Elastic: Fix position and style of auto-complete dropdown on small screens (#6951) 5 years ago
Aleksander Machniak 3841f63fbd Make cache keys case-sensitive on MySQL/MSSQL (#6942) 5 years ago
Aleksander Machniak c6de97c5a8 Redis: Improve error handling and phpredis 5.X support (#6888) 5 years ago
Aleksander Machniak 4d7ce46fc0 Elastic: Resizeable columns (#6929) 5 years ago
Thomas Bruederli 2d9b318c82 Add release 1.4-rc2 5 years ago
Aleksander Machniak 70d342a436 Fix language selection for spellchecker in html mode (#6915)
Also fix so the language is not reset when switching from html to plain
text and vice-versa.
5 years ago
Aleksander Machniak bdd1b2054f Elastic: Add indicator for popover menu items that open a submenu (#6868) 5 years ago
Aleksander Machniak 21ebf3ff5a Fix bug where it was possible to bypass href URI check with data:application/xhtml+xml URIs (#6896) 5 years ago
Aleksander Machniak 63730cf842 Fix security issue where it was possible to bypass the CSS jail in HTML messages using :root pseudo-class (#6897) 5 years ago
Aleksander Machniak 057fb69bb9 Fix bug where some strict remote URIs in url() style were unintentionally blocked (#6899) 5 years ago
Aleksander Machniak 7bf868767e Fix security issue where it was possible to bypass the position:fixed CSS check in received messages (#6898) 5 years ago
Aleksander Machniak cc21eac9b9 Update changelog 5 years ago
Aleksander Machniak f7832a1a26 Removed 'delete_always' option (#6782) 5 years ago
Aleksander Machniak 4062c64acd Update changelog 5 years ago
Aleksander Machniak 9a225bd3fe Use Left/Right Arrow keys to faster move over threaded messages list (#6399)
Fixed some inconsistencies in list widget expand/collapse code.

Made the arrow keys behavior like in Thunderbird, i.e.:
- Right Arrow expands thread or selects closest child if already expanded,
- Left Arrow collapses thread or jumps to closest parent,
- Left Arrow + Ctrl selects top-most parent,
- Up/Down Arrow keys behavior didn't change.
5 years ago
Aleksander Machniak dc5be05a5f Select all records on the current list page with CTRL + A (#6813) 5 years ago
Aleksander Machniak 7e8f9da64b Elastic: Add "Show unread messages" button to the search bar (#6587) 5 years ago
Aleksander Machniak a80c5569ab Added flag to disable server certificate validation via Mysql DSN argument (#6848) 5 years ago
Aleksander Machniak 6daefc3d45 Elastic: Fix so search is not reset when returning from the message preview page (#6847) 5 years ago
Aleksander Machniak 786bde62f2 Fix wrong messages order after returning to a multi-folder search result (#6836) 5 years ago
Aleksander Machniak 0e4bf6fda8 Fix bug where unread count wasn't updated after moving multi-folder result (#6846) 5 years ago
Aleksander Machniak d9e3218025 Fix bug where handling multiple messages from multi-folder search result could not work (#6845) 5 years ago
Aleksander Machniak 1e365b4d9d Elastic: Remove border from attachments list in upload widget 5 years ago
Aleksander Machniak 7fe99bdcb1 Elastic: Small fix and improvement for .sidebar-right 5 years ago
Aleksander Machniak 44bdca4ab9 Enigma: Fix bug where signature verification could have been skipped for some message structures (#6838) 5 years ago
Aleksander Machniak bfe2bc17d7 Fix css styles leak from replied/forwarded message to the rest of the composed text (#6831)
Generally do the same with styles what we do on message preview.

This also fixes small bugs in handling styles:
- fix so <style> tag on the start of the HTML content is not ignored
- fix so body's background/bgcolor attributes are applied to the container (regression)
5 years ago
Aleksander Machniak 598cc5f42f Elastic: Add default icon on Settings/Preferences lists for external plugins (#6814) 5 years ago
Aleksander Machniak 446ff50c57 Merge branch 'dev/display_next' of https://github.com/alecpl/roundcubemail into alecpl-dev/display_next 5 years ago
Aleksander Machniak a991e3181c Put charset meta specification before a title tag, add page title automatically (#6811)
I.e. templates should not specify <title>
5 years ago
Aleksander Machniak 0869f02b7c Fix bug in converting multi-page Tiff images into Jpeg (#6824)
When using 'convert' binary we have to use -flatten argument (the same
as we do with thumbnails) otherwise it will produce multiple output files
with -0, -1, etc. suffix. This way we make sure to generate only one image
until we support multi-page Tiff properly.
5 years ago
Aleksander Machniak ae3eb57fe8 Update changelog 5 years ago
Aleksander Machniak 2d8c396b6e Fix bug where selection of columns on messages list wasn't working 5 years ago
Aleksander Machniak be2e3f2154 Elastic: Fix handling new-line in text pasted to a recipient input 5 years ago
Aleksander Machniak 7fa5180fcc ACL: Display user/group names (from ldap) instead of acl identifier 5 years ago
Aleksander Machniak 0a0ad2c9b7 Switch to IDNA2008 variant (#6806)
After switching IDNA_NONTRANSITIONAL_TO_ASCII on, switch to
IDNA2008 variant in Net_LDAP2. Add test, update changelog.
5 years ago
Aleksander Machniak 89a342a03a Elastic: Fix visual issue with long buttons in .boxwarning (#6797) 5 years ago
Aleksander Machniak f6807bcc4c Added 'keyservers' option to define list of HKP servers for Enigma/Mailvelope (#6326) 5 years ago
Aleksander Machniak 1423536ce0 Plugin API: Add 'render_folder_selector' hook 5 years ago
Aleksander Machniak 22a47cced6 Changes in `display_next` setting (#6795)
- Move it to Preferences > User Interface > Main Options
- Make it apply to Contacts interface too
- Make it apply only if deleting/moving a previewed message/contact
5 years ago
Aleksander Machniak 940e500c1f Enigma: For verified signatures, display the user id associated with the sender address (#5958) 5 years ago
Aleksander Machniak 0e4156ea83 Fix bug where Next/Prev button in mail view didn't work with multi-folder search result (#6793) 5 years ago
Aleksander Machniak fdac30e544 Support PECL memcached extension as a session and cache storage driver (experimental) 5 years ago
Aleksander Machniak 4ef87fe856 Support $HasAttachment/$HasNoAttachment keywords (#6201)
We use these only to display the attachment icon on the messages list.
5 years ago
Aleksander Machniak f8ca8d1b63 Fix invalid path to "add contact" icon when using assets_path setting
This and a few other icons
5 years ago
Aleksander Machniak 2dccbf2879 Redis: Support connection to unix socket
Also handle exceptions thrown on connection and remove support for
specifying hosts with redis:// scheme.
5 years ago
Aleksander Machniak ce52b04051 Update changelog, add some tests for rcube_utils::parse_host() 5 years ago
Aleksander Machniak 7c8ce07e8c Fix bug where bold/strong text was converted to upper-case on html-to-text conversion (6758) 5 years ago
Aleksander Machniak b24869b0cd Elastic: Fix bug where Enigma options in mail compose could sometimes be ignored (#6515) 5 years ago
Aleksander Machniak 910505a361 Fix regression where drafts were not deleted after sending the message (#6756) 5 years ago
Aleksander Machniak 86a9788083 Fix invalid path to blocked.gif when using assets_path setting (#6752) 5 years ago
Aleksander Machniak 8db00c6265 Elastic: Fix handling mailto: URL parameters in contact menu (#6751)
Also fix keyboard navigation in some menus, e.g. contact menu
5 years ago
Aleksander Machniak 8fe12e2fad Enigma: Fix "decryption oracle" bug [CVE-2019-10740] (#6638)
When composing mail (on reply/forward/edit) we decrypt content only
in the first "content part" of the message.
5 years ago
Aleksander Machniak 1ee7253ff2 Enigma: Fix error message when trying to encrypt with a revoked private key (#6607) 5 years ago
Aleksander Machniak 6efa88f049 Enigma: Fix bug where revoked users/keys were not greyed out in key info
The 'deleted' class was assigned to the wrong (next) row in a table.
It also didn't work in Elastic skin at all because of the missing style.
5 years ago
Aleksander Machniak fe90903fa1 Fix bug in parsing vCard data using PHP 7.3 due to an invalid regexp (#6744)
Looks like \R is not allowed in character class, but \r\n is fine.
On PHP 7.3.5 it throws warnings and empty result from preg_replace(),
though I couldn't reproduce.
5 years ago
Aleksander Machniak f3d16240f2 Fix bug where bmp images couldn't be displayed on some systems (#6728) 5 years ago
Aleksander Machniak cf51aead63 Larry: Fix regression where menu actions didn't work with keyboard (#6740)
For Elastic remove Space/Enter key handler on menus, so we use
default browser behaviour. Triggering a onclick programatically
causes popup window warning sometimes.
5 years ago
Aleksander Machniak 5fb8e8cb86 Elastic: Fix issue with absolute positioned mail content (#6739) 5 years ago
Aleksander Machniak c42be24fd3 Update changelog 5 years ago
Aleksander Machniak f3c9699817 Fix so advanced search dialog is not automatically displayed on searchonly addressbooks (#6679) 5 years ago
Aleksander Machniak 487052cb5c jQuery-3.4.1 5 years ago
Aleksander Machniak 45a6ad1ba7 Fix so an error is logged when more than one attachment plugin has been enabled, initialize the first one (#6735) 5 years ago
Aleksander Machniak e67765b863 Fix bug where flag change could have been passed to a preview frame when not expected 5 years ago
Aleksander Machniak e3d3add48a installto.sh: Add possibility to run the update even on the up-to-date installation (#6533) 5 years ago
Aleksander Machniak 3562d7ffa6 Fix so "Create filter" option does not show up when Filters menu is disabled (#6723) 5 years ago
Aleksander Machniak ccb70116f1 Managesieve: Use RFC-compliant line endings, CRLF instead of LF (#6686) 5 years ago
Aleksander Machniak 9c4e2eacab Don't log full session identifiers in userlogins log (#6625)
Log only 16-char prefix.
5 years ago
Aleksander Machniak c87ac075ae Renamed 'log_session' option to 'session_debug' 5 years ago
Aleksander Machniak f1a83f923d Added cookie mismatch detection, display an error message informing the user to clear cookies 5 years ago
Aleksander Machniak 5218b0193a Clarified 'address_book_type' option behavior (#6680) 5 years ago
Aleksander Machniak 03d56926d8 Fix bug in HTML parser that could cause missing text fragments when there was no head/body tag (#6713) 5 years ago
Aleksander Machniak 8b74fd73da Update to jQuery 3.4.0 5 years ago
Aleksander Machniak 4674ac59b8 Fix bug where global includes were requested for vacation (#6716) 5 years ago
Aleksander Machniak b8f27af8cb Elastic: Fix non-working pretty selects in Chrome browser (#6705) 5 years ago
Aleksander Machniak a07c44804a Update changelog 5 years ago
Aleksander Machniak 2f05533710 Small code improvements 5 years ago
Laurent Declercq ae59269f27
Make use of rcube::raise_error() function for error handling in bin/install-jsdeps.sh (#6704) 5 years ago
Aleksander Machniak 4d1b3e263a Elastic: Fix folders list scrolling on touch devices (#6706) 5 years ago
Aleksander Machniak ddef3926aa Fix TinyMCE download location (#6694) 5 years ago
Aleksander Machniak fae26eab13 Elastic: Add Prev/Next buttons on message page toolbar (#6648) 5 years ago
Aleksander Machniak f1c40c8aa9 Fix bug where attachment preview didn't work with x_frame_options=deny (#6688) 5 years ago
Aleksander Machniak 844ec53612 Elastic: Fix bug where toolbar disappears on attachment menu use in Chrome (#6677) 5 years ago
Aleksander Machniak c827925051 Fix so "Open in new window" consistently displays "external window" interface (#6659)
Both 'show' and 'extwin' will use _extwin=1 argument.
5 years ago
Aleksander Machniak 3b4d07a055 Elastic: Close search options on Enter key press in quick-search input (#6660) 5 years ago
Aleksander Machniak ab28c4ae26 Fix bug where external content (e.g. mail body) was passed to templates parsing code (#6640)
It should have been part of "Fix so templating system does not mess with external (e.g. email)
content (#5499)" (d02e6ea45e), but it wasn't.
5 years ago
Aleksander Machniak 0751c1c8eb Password: De-duplicate ldap drivers code 5 years ago
Aleksander Machniak 4fff3315d0 Elastic: Changed read/unread icons (#6636) 5 years ago
Aleksander Machniak 7387bfcd0c Elastic: Changed "Move to..." icon (#6637) 5 years ago
Aleksander Machniak 5058d36581 Fix bug where next row wasn't selected after deleting a collapsed thread (#6655) 5 years ago