Commit Graph

7002 Commits (fe420a4e9e176a1561ecb1d123e83206d72763c7)

Author SHA1 Message Date
Aleksander Machniak 4793ec753a Remove double-quotes in filename* parameter of the Content-Disposition of downloads (#5857) 7 years ago
PhilW 4548646410 small correction to label 7 years ago
Aleksander Machniak 55e99398e1 Fix possible information leak - add more strict sql error check on user creation (#6125) 7 years ago
PhilW 04d371b88f fix plugin compatibility in addressbook toolbar 7 years ago
Aleksander Machniak a17c123903 Fix drop action (using jquery-ui draggable) on rcube_list_widget 7 years ago
PhilW d5071fedba vcard_attachments: add link to contact actions menu
*) add 'forward vcard' link to contact actions manu
*) fix bug when a contact with a secondary email address is selected
*) improve support for multiple address books in contact list widget on compose screen
7 years ago
PhilW abbb832c6f move qrcode link to new contact actions menu 7 years ago
PhilW 489da28dab add move/copy contact widget 7 years ago
Aleksander Machniak ce338164e3 Fix bug where contacts search could skip some records (#6130) 7 years ago
Aleksander Machniak 83bd85677b Remove x_frame_options env 7 years ago
Aleksander Machniak 8de9fa707b Fix X-Frame-Options:ALLOW-FROM support, remove custom click-jacking protection (#6057) 7 years ago
Richard Hillmann 59bbf6c081 Fix preg_match in guess_type function (#6123) 7 years ago
Aleksander Machniak e4c7e8ac7c Fix bug where attachment size wasn't visible when the filename was too long (#6033)
Uses flexbox, so works in recent browsers only. I don't plan to support olders.
7 years ago
Aleksander Machniak af9550251e Display an error when clicking disabled link to register protocol handler (#6079) 7 years ago
Aleksander Machniak c2199c5101 Cleanup folder subscriptions "form" 7 years ago
Aleksander Machniak 0d8afd2b01 Fallback to document element if an event (maybe custom) has no target nor srcElement specified 7 years ago
Aleksander Machniak 946599acda Close page selector when leaving the input with keyboard 7 years ago
Aleksander Machniak 230fc1203d Disable tabIndex on selection checkboxes 7 years ago
Aleksander Machniak b172fb505c Improve trusted_host_patterns code 7 years ago
Aleksander Machniak 4a5ca74724 Merge branch 'trusted-host-patterns' of https://github.com/dsoares/roundcubemail into dsoares-trusted-host-patterns 7 years ago
Daniel Kesselberg a8d5547163 Update idn convertion methods (#6115)
* Add more test cases
* Update phpdoc
7 years ago
Aleksander Machniak 63a7d2313f Improve SMTPUTF8 support and fix relaxed email validation issues 7 years ago
Aleksander Machniak 5665344673 Merge branch 'smtputf8' of https://github.com/jprjr/roundcubemail into jprjr-smtputf8 7 years ago
Aleksander Machniak 8b0109d81c Add set_content() method to the editor widget 7 years ago
Aleksander Machniak 90b0cd814a Add editor-load event and enable shift-click on links in HTML editor 7 years ago
Aleksander Machniak 52864ef885 Add some localization messages, remove one unused message 7 years ago
Aleksander Machniak fbc4486881 Fix so Shift selection also works on list selection checkboxes 7 years ago
Aleksander Machniak 307d682ad2 Code simplification 7 years ago
Aleksander Machniak 5f26d9bf34 Prevent "calling draggable before initailization" errors
Elastic skin disables dragging on folders list, so we have to check
if it's still draggable before we call draggable() again. Otherwise
it will throw an error.
7 years ago
Aleksander Machniak a2875cdda9 - Fix searching contacts by address in LDAP source (#6084) 7 years ago
Aleksander Machniak dcbb4ec125 Add localization message for Elastic 7 years ago
Aleksander Machniak 55a1d6ef1b Make search form's aria label to also support plugin localization (via label-domain property) 7 years ago
Aleksander Machniak 3e0edd98c9 Update changelog 7 years ago
Aleksander Machniak ac13669de5 Fix PHP 7.2: count(): Parameter must be an array or an object that implements Countable (#6098) 7 years ago
Aleksander Machniak 77cc9688c8 Fix bug where contacts export by selection returned no more than 10 entries (#6103) 7 years ago
Aleksander Machniak 38d275445d Plugin API: Add 'write' argument to 'render_page' hook 7 years ago
Aleksander Machniak 604f84e1fb Execute clickjacking prevention code only when framed 7 years ago
Aleksander Machniak c0959bd619 Sanity checks for header data length in FETCH (#6087)
Where we know what expected data length is we truncate the input.
7 years ago
Aleksander Machniak 3cdc8af297 Fix possible performance issue when parsing malformed and long Date header (#6087) 7 years ago
johndoh 05d1b1947e Check for minified CSS files (#6089) 7 years ago
Aleksander Machniak 0a3dbbb76f Add 'list' argument to listupdate event, trigger listupdate also on contacts list in mail compose 7 years ago
Aleksander Machniak 6ccc8cc020 The "it is a draft" message is more an information than a warning 7 years ago
johndoh 5dbe1f2a5e A device can't be a tablet and a mobile (#6086) 7 years ago
Aleksander Machniak 4a5941c24b Fix get_next() for case when the node is last in the tree branch 7 years ago
Aleksander Machniak 5d26de4467 Add 'datepicker' class also to dinamically generated date inputs 7 years ago
Aleksander Machniak de544cc905 Add possibility to use localized date format as datepicker input placeholder
Need to be supported by skin. Elastic support is comming.
7 years ago
Aleksander Machniak 8e2f6275a4 Prevent from empty 'class' attribute in generated html 7 years ago
Aleksander Machniak 00cb440a07 Inline warnings can contain HTML code (regression fix) 7 years ago
Aleksander Machniak db382fa19c Change remote images to remote resources warning also in html attachment preview 7 years ago
Aleksander Machniak 3488531b26 Fix PHP Warning: Use of undefined constant INTL_IDNA_VARIANT_UTS46 on servers without php-intl extension 7 years ago
Aleksander Machniak 46e2e7e16c CS fix 7 years ago
Aleksander Machniak 09c8b33439 Code deduplication 7 years ago
Georgeto 161038ee87 Support additional connect parameters in PostgreSQL database wrapper (#6071)
Most notably this change enables you to specify whether or with what
priority a secure SSL TCP/IP connection will be negotiated with the
database server.
7 years ago
Aleksander Machniak 78aa0efa15 Use confirmation (not notice) message for some successful actions 7 years ago
Aleksander Machniak 842d57e779 Fix setting height of a dialog without buttons pane 7 years ago
Aleksander Machniak 61a6666eee Small CS fixes 7 years ago
Aleksander Machniak d76f255c3b Improve iPad/iPhone detection
Some devices do not set iPhone/Ipad string in User-Agent, so we
have to check also navigator.platform.
7 years ago
Aleksander Machniak 92d6673bb5 Add 'signature' identifier to signature element in sent HTML message (#6073) 7 years ago
Aleksander Machniak ca39a4e093 Fix PHP warning "idn_to_utf8(): INTL_IDNA_VARIANT_2003 is deprecated" with PHP 7.2 (#6075) 7 years ago
Aleksander Machniak 489ad88617 Small code de-duplication 7 years ago
Aleksander Machniak 758044d69e Add skin config options to dont_override list
... so e.g. options in user preferences will be hidden.
7 years ago
Aleksander Machniak 5a63e52380 Add class attribute to the pushgroup action button 7 years ago
Aleksander Machniak 52b252ea26 Also stop propagation on keyup event in dialogs 7 years ago
Aleksander Machniak c5db84262e Don't propagate keyboard events to the UI below the dialog (#6055) 7 years ago
Aleksander Machniak 6dbdf9dedd Skip empty blocks in contact form 7 years ago
Aleksander Machniak 196ce5d251 Fix so clicking pushgroup link on contacts list does not load group information page
Added a general way to mark all such links with data-action-link attribute.
7 years ago
Aleksander Machniak 36638ec0c2 Fix untagged COPYUID responses handling - again (#5982) 7 years ago
Aleksander Machniak 9ce8948294 Get rid of the 2nd argument of include_stylesheet()
.. make the optional behavior default now.
7 years ago
Aleksander Machniak 1cf72fa2b6 Allow plugins to include Less files (#6051) 7 years ago
Aleksander Machniak 3ed6418d55 Use attributes of the template object 7 years ago
Aleksander Machniak c6b2d8bead Merge branch 'dev-elastic' 7 years ago
Aleksander Machniak c6e6f50de1 Simplify confirm_dialog and alert_dialog code and use 7 years ago
Aleksander Machniak 43c210f04d Merge branch 'pretty_confirms' of https://github.com/JohnDoh/roundcubemail into JohnDoh-pretty_confirms 7 years ago
PhilW 8c250a27f8 improvements for plugins and frames 7 years ago
Aleksander Machniak 01e3cf23e0 Fix PHP Warning: Use of undefined constant 'href' 7 years ago
PhilW e7311e0e5e more consistent function names 7 years ago
PhilW af52df68bf use skinned alert and confirm boxes in plugins 7 years ago
Aleksander Machniak 4cb7713520 Fix checking table columns when there's more schemas/databases in postgres/mysql (#6047) 7 years ago
Aleksander Machniak a6c37b7735 Fix broken long filenames when using imap4d server - workaround server bug (#6048) 7 years ago
Aleksander Machniak f6733a5d9e Add id attribute to the reply-intro para (#6049) 7 years ago
Aleksander Machniak eed4be3ba6 Display value of the SMTP message size limit in the error message (#6032) 7 years ago
PhilW 26f1b0770c use skinned alert boxes 7 years ago
PhilW b897fe9349 use skined confirmation boxes where possible 7 years ago
Aleksander Machniak e6398f8786 Assign attachment type classes also in print mode 7 years ago
Aleksander Machniak 828f73a4b9 Small improvements to .image-attachment contents strusture 7 years ago
Aleksander Machniak 96d3553c79 Add some labels for Elastic 7 years ago
Aleksander Machniak adc9df803b Fix var scope (#6042) 7 years ago
Aleksander Machniak 552a851d6c Append "..." to draglayer as div, the same as other drag entries 7 years ago
Aleksander Machniak 8fcd014040 Small improvement to .cancelupload button 7 years ago
Aleksander Machniak 0385eca50e Add tmplate option to place contact source inside the contact head element 7 years ago
Aleksander Machniak ff1b994ece More precise dialog height calculation - that works with various skins 7 years ago
Aleksander Machniak 4dc1f3b757 Use configured log_file_ext also for errors thrown by PHP (#6035) 7 years ago
Aleksander Machniak 910c735b87 Merge branch 'master' into dev-elastic 7 years ago
Aleksander Machniak d7be2f1946 Merge branch 'dev-elastic' of github.com:roundcube/roundcubemail into dev-elastic 7 years ago
Aleksander Machniak a0374f3c45 Fix mangled non-ASCII characters in links in HTML messages (#6028) 7 years ago
Aleksander Machniak 2a32f51c91 Fix file disclosure vulnerability caused by insuficient input validation in relation with attachment plugins (#6026) 7 years ago
Aleksander Machniak 7a7ef7b687 Don't treat .eml attachments to drafts as drafts 7 years ago
Aleksander Machniak 35a59b97a1 Add some labels for Elastic 7 years ago
Aleksander Machniak 23af0b7f36 Merge branch 'master' into dev-elastic 7 years ago
Aleksander Machniak 1b87ec3144 Don't stop propagation in folder-selector click handler 7 years ago
dsoares 5282cbaff9 Check against trusted_host_patterns in rcube_utils::parse_host() 7 years ago
Aleksander Machniak 662cbfb805 Fix add_url() so it works properly with fragment identifier (#element) at the end of the original url 7 years ago
Aleksander Machniak 0f4f85e097 Skip redundant INSERT query on successful logon when using PHP7
Since PHP 7.0 session_regenerate_id() will cause the old session data update.
This is redundant INSERT query and also produces a record for the session
we don't need anymore.
7 years ago
Aleksander Machniak 80ea6ec3eb Small improvements in error page content 7 years ago
Aleksander Machniak 29b8f600c4 Hide "loading" message also when iframe loading fails with the error page 7 years ago
Aleksander Machniak ce594a4405 Support simple dialog's save button to be a label with domain 7 years ago
Aleksander Machniak 1f9ac5c18f Style Archive folder (icon) also in folder selector 7 years ago
Aleksander Machniak a61f2fdd3c Fix decoding of mailto: links with + character in HTML messages (#6020) 7 years ago
Thomas Bruederli 342b049841 Update localization files from Transifex 7 years ago
Aleksander Machniak 6be122352d Support short-legend-labels in contact search form 7 years ago
Aleksander Machniak 7195204865 Use input-group for default_font and default_font_size 7 years ago
Aleksander Machniak b1d79900ed Fix invalid/partial merge of 3196d656db 7 years ago
Aleksander Machniak ef0982f1b8 Merge branch 'master' into dev-elastic 7 years ago
Aleksander Machniak 7a95b148f8 Add option to use "Personal" instead of "Personal Information" label in contact form
We want short labels so tabs aren't wrapped on mobile
7 years ago
Aleksander Machniak a346eb9717 Add localization label for "Personal" 7 years ago
Aleksander Machniak a8aa559fa1 Use action=add-folder when creating a new folder 7 years ago
Aleksander Machniak 25a7df7f4b Use action=add-folder when creating a new folder 7 years ago
Aleksander Machniak 5031028d48 Elastic: Support more compact contact frame (info and form)
... plus some CS fixes
7 years ago
Aleksander Machniak fe542437a8 Add field labels in Advanced search form, CS fixes 7 years ago
Aleksander Machniak 72a410503a Use simple list instead of table for groups list in contact info 7 years ago
dsoares 50a9c8f777 Add option trusted_host_patterns 7 years ago
JohnDoh 515d496808 Replace display_version with display_product_info (#5904) 7 years ago
JohnDoh a8f0d35ebc Extend disabled_actions config so it accepts also button names (#5903) 7 years ago
Aleksander Machniak e21ab984bc Skip <span> wrappers in html_table that is a <ul> list 7 years ago
Aleksander Machniak d815525c6a Merge branch 'master' into dev-elastic 7 years ago
Aleksander Machniak 5e671885e4 Prevent from ghost messages on list after fast delete of multiple messages one-by-one (#5941) 7 years ago
Aleksander Machniak 459cc7ab6d Fix bug where removing the last subfolder did not hide toggle button on its parent record (#6007) 7 years ago
Aleksander Machniak ce0592e1fc Fix truncated folder name on messages list in multi-folder mode, for folders with non-ascii characters (#6004) 7 years ago
Brendan Braybrook 4574870adc fix: unknown content-disposition type should be treated as attachment (#6002) 7 years ago
Aleksander Machniak da15d55665 Fix regression in qsearch() that skipped execution when called with no args
Some plugins would like to do search without value,
so we keep value != '' check to allow that use-case.
7 years ago
Aleksander Machniak 1c4e5a585f Support displaying all message headers in a dialog, use GET instead of POST 7 years ago
Aleksander Machniak 9d1c8aff83 Elastic skin support for managesieve (part II) 7 years ago
Aleksander Machniak 5e08a6ac59 Handle remote stylesheets the same as remote images, ask the user to allow them (#5994)
Fixes the issue where remote stylesheet could have been blocked
if the message contained no remote images and user have no way to
allow that content.
7 years ago
Aleksander Machniak 72aedd368b Fix Edge encoding bug when pasting text into the HTML editor, update to TinyMCE 4.5.8 (#5885) 7 years ago
Aleksander Machniak 3196d656db Fix css conflicts in user interface and e-mail content (#5891)
... by adding prefix to element/class identifiers
Also cleaned up some code and removed global variable use.
7 years ago
Aleksander Machniak 403d8453c8 Fix issue caused by non-default session.cookie_lifetime setting (#5961) 7 years ago
Aleksander Machniak 22061cd38b Support flexbox display for remote objects element 7 years ago
Aleksander Machniak f8fc01b800 Fix so untagged COPYUID responses are also supported according to RFC6851 (#5982) 7 years ago
Aleksander Machniak 67d4ffa4a8 Fix 'for' attribute on "Parent folder" label 7 years ago
Aleksander Machniak 22b30de5d9 Fix bug where assets_path wasn't added to some watermark frames 7 years ago
Aleksander Machniak 95360ef8ab Use button instead of input.button in PGP keys search dialog 7 years ago
Aleksander Machniak 5d3add78aa Add Message-ID to the sendmail log (#5871) 7 years ago
Aleksander Machniak 117c150b2f Fix bug where mail search could return empty result on servers without SORT capability (#5973) 7 years ago
Aleksander Machniak 3c1b78af48 Merge branch 'master' into dev-elastic 7 years ago
Aleksander Machniak fb02d4a747 Fix error when calling show_popup_dialog() with no 4th argument 7 years ago
Aleksander Machniak 4223bed7e8 Add html_button class 7 years ago
Aleksander Machniak 5d16751ed8 Fix (again) bug where image data URIs in css style were treated as evil/remote in mail preview (#5580) 7 years ago
Aleksander Machniak 951d6e0e32 Assign dialog button classes before displaying the dialog 7 years ago
Thomas Bruederli 3723f3f178 Fix rcube_utils::random_bytes() to not throw exception for length=0 7 years ago
Thomas B b0697e5f9a Merge pull request #5960 from duk3luk3/auth-log-server
Add host to IMAP login error
7 years ago
Aleksander Machniak 79ea526d65 Fix missing cursor in HTML editor on mail reply (#5969) 7 years ago
Aleksander Machniak 96b21c5df3 Remove contentEditable element support as autocomplete input 7 years ago
Aleksander Machniak 81f76bf826 Fix corner-case for reading contentEditable element for autocomplete 7 years ago
Aleksander Machniak 5afda409aa Add has_writeable_addressbook flag to client env in mail preview 7 years ago
Lukas Erlacher 130f0cde3e Add host to IMAP login error
This simplifies debugging authentication failures in multi-host setups.
7 years ago
Aleksander Machniak cd7ca6014f Describe html editor textarea with data-html-editor attribute 7 years ago
Aleksander Machniak 0d57714713 Don't reset classes of the textarea in HTML mode, just append 'mce_editor' class 7 years ago
Aleksander Machniak 83fe734460 Move some functions from func.inc to show.inc where they belong to.
Add MessageSummary object for message template.
7 years ago
Aleksander Machniak 27377e29dc Trim text in subject_text(), so title attribute is displayed without unwanted spacing
Looks like at least Firefox does not trim i automatically.
7 years ago
Aleksander Machniak 0ffd5463d8 Fix wording of "Mark previewed messages as read" to "Mark messages as read" (#5952)
Since we use the option not only for the preview frame the "previewed" word was confusing.
7 years ago
Aleksander Machniak 72fe97ddfc Fix bug where HTML messages could have been rendered empty on some systems (#5957)
Consistently use $nodeName instead of $tagName property.
7 years ago
Aleksander Machniak ee6b5e9e58 Fix PHP 7.2 error: count(): Parameter must be an array or an object that implements Countable 7 years ago
Aleksander Machniak fa3eb6813f Ignore rewind() warnings (#5950) 7 years ago
Aleksander Machniak 19ad6b15e8 Add (unified) get_next/get_prev/get_single_selection methods for list and treelist widgets 7 years ago
Aleksander Machniak 93111b3bd7 Make possible to use thread padding value other than 15px 7 years ago
Aleksander Machniak 1bd327ecda Add possibility to select first/last record after the list is loaded
.. for contacts and messages lists
7 years ago
Aleksander Machniak 3a77c906a1 Merge branch 'master' into dev-elastic 7 years ago
Aleksander Machniak d67d52a1d8 Support 'label' attribute in listmenulink object 7 years ago
Aleksander Machniak a0ef47e3bf Add some labels for elastic 7 years ago
Aleksander Machniak 6ecf87b5bd Support 'class' attribute in ComposeFormHead object 7 years ago
Aleksander Machniak afa03008c7 Code simplification 7 years ago
Aleksander Machniak 51c76c9bac Add missing variable declaration 7 years ago
Aleksander Machniak 5200d82381 Fix so files size/count limit is verified (client-side) also on drag-n-drop uploads (#5940) 7 years ago
Aleksander Machniak 7fc626d527 Changed defaults for smtp_user (%u), smtp_pass (%p) and smtp_port (587) 7 years ago
Aleksander Machniak cdcbad1879 Handle inline images also inside multipart/mixed messages (#5905) 7 years ago
Aleksander Machniak b1a3d46f89 Fix bug where pink image was used instead of a thumbnail when image resize fails (#5933)
Note GD and Imagick in INSTALL file and optional installer checks.
7 years ago
Aleksander Machniak 45aff25c66 Fix passing event argument when hiding the pagejump-selector menu
and fix keyboard event detection.
7 years ago
Aleksander Machniak 9672642479 Cleanup compose input checks (small improvement to the last commit) 7 years ago
Aleksander Machniak b77cce8d3e Fix sending message with "Too many public recipients" dialog buttons (#5924) 7 years ago
Aleksander Machniak 2d608a799c Fix decoding message/rtf822 part body/size
When e.g. an encrypted message has one of it's sub-parts a part that is message/rfc822
part we need it's body and size, because it will be listed on the attachments list
and also can be downloaded.
7 years ago
Aleksander Machniak 902eaa1f78 Remove height definition for "mark all as read" dialog 7 years ago
Aleksander Machniak 52158aa3c7 Fix height of dialogs that do not have a predefined height
This fixes e.g. "no subject" dialog or enigma passphrase dialog.
7 years ago
Aleksander Machniak e7cd4bacdd Bring back rcmail_html_container_id global 7 years ago
Aleksander Machniak 1235dcf321 Encode JSON with JSON_UNESCAPED_SLASHES and JSON_UNESCAPED_UNICODE options 7 years ago
Aleksander Machniak cf9019e462 Fix savetarget frame use (#5897) 7 years ago
Thomas Bruederli 04d9e8addc Remove pointless code + improve comment 7 years ago
Thomas Bruederli 1cfc024036 Modify links in html messages during Washtml DOM traversal
This is a more safe approach than using regex and mitigates
possible vulnerabilities using malformed html markup.
7 years ago
Thomas Bruederli 919338d4ba Escape textarea contents in Washtml 7 years ago
Thomas Bruederli 8d882639d9 Bring back double-click behavior on the message list when preview pane is on (#5823)
This reverts commit 28741ed03 as requested in #5199 and implements an
approach inspired by @bostjan in that ticket.
7 years ago
Aleksander Machniak 1c24c69a3b Fix path for css file existence check in include_stylesheet() 7 years ago
Aleksander Machniak 4cef4169db Add some labels for elastic skin 7 years ago
Aleksander Machniak 4a71847c98 Fix bug where last character of a filename extracted from TNEF could be truncated (#5799) 7 years ago
Aleksander Machniak 75f623c62f Make the Preferences item as selected when visiting Settings without _action 7 years ago
Aleksander Machniak 69f50b122d Add a way to include plugin stylesheets optionally only if the file exists 7 years ago
Aleksander Machniak 13d203303e Refactored Help plugin to use frames, added Elastic skin support 7 years ago
Aleksander Machniak 5d398d4d00 Add version number to the client environment 7 years ago
JohnDoh afaaa7764b Use list_widget.get_selection() rather than list_widget.selection (#5879) 7 years ago
Aleksander Machniak ebfc8448aa Small correction in dialog size calculation 7 years ago
Aleksander Machniak e9eb87d6f4 Add 'getselection' event to the list widget 7 years ago
Aleksander Machniak 06323ddef4 Support _filter and _scope as GET arguments for opening mail UI (#5825) 7 years ago