Commit Graph

7226 Commits (04ff1feec3cd5e7a50444e4073f6592cead79a4c)

Author SHA1 Message Date
Aleksander Machniak 15cf12db1d Fallback to default compose action if addressbook is selected but has no members 7 years ago
Aleksander Machniak 9066ed4fa3 Add two labels, use consistent spacing 7 years ago
Aleksander Machniak f3c7b979b0 Remove redundant code
A first input in a dialog is focused automatically, no need to add code for this
7 years ago
PhilW 4f1da97af2 Merge branch 'master' into movecopy 7 years ago
Aleksander Machniak dfc835eb38 Fix add-contact and contact-delete actions 7 years ago
laodc edeb5d7ab4 Add support for PostgreSQL schemas in DSN (#6150)
If schema is set in the dsn, set search_path to the schema value.

Example:

$config['db_dsnw'] = 'pgsql://user:pass@localhost/dbname?schema=exampleschema';
7 years ago
Aleksander Machniak 59a63c95a4 Add possibility to scale/rotate image attachments for preview (#6111) 7 years ago
Thomas Bruederli 95298fa428 Add option to encrypt & sign with Mailvelope > 2.0
UI elements added to larry and classic skin
7 years ago
PhilW 43dcb3bdd9 simplify execution of group_assign_selected JS 7 years ago
PhilW f15c2eb777 simplify execution of move+copy JS commands 7 years ago
johndoh a8b16031bd add originalEvent param to actionafter event (#6144) 7 years ago
Aleksander Machniak 76933f1c07 Elastic: Bootstrap 4.0.0 compat. 7 years ago
Aleksander Machniak 3dcbc616a4 s/unicode/Unicode/ 7 years ago
Aleksander Machniak 4f6079833a Fix PHP 7.2 warning: count(): Parameter must be an array or an object that implements Countable 7 years ago
Thomas Bruederli e457cff08b Add space between buttons + trigger update event for skins 7 years ago
Thomas Bruederli b9a68b516a Make editity encryption view appear correctly in classic skin 7 years ago
Thomas Bruederli 1cb97c7efd Add 'encryption' block to identity settings
If Mailvelope is installed, this box will become visible and offer
functions to generate a key pair for the selected identity or list
existing private keys.
7 years ago
Aleksander Machniak 1332d2e793 Add some localization messages for Elastic 7 years ago
Aleksander Machniak b00d5c3836 Automatically localize data-label-* attributes of a template object 7 years ago
Aleksander Machniak 39a6c69a3d Automatically localize the first argument of display_message() 7 years ago
Aleksander Machniak f2b64779cc Display confirmation message when inserting a response or signature 7 years ago
Aleksander Machniak 7a719d203d Fix addressbook selector, show copy menu-item also when there's one readonly and one writeable addressbook 7 years ago
Aleksander Machniak eb0228ba86 Merge branch 'move_addressbook' of https://github.com/johndoh/roundcubemail into johndoh-move_addressbook 7 years ago
Aleksander Machniak ec25fa857b Improve layout of contact import form
Move the file input to the .propform table.
7 years ago
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
Aleksander Machniak 92d5406b4e Better dialog size setting 7 years ago
Aleksander Machniak fc1a0a1f65 Fix bug where messages count was not updated after delete when imap_cache is set (#5872) 7 years ago
Aleksander Machniak 040a71e76c Make public class rcmail_bounce_mail (now rcmail_resend_mail) (#5861) 7 years ago
Aleksander Machniak 8e126e8648 Fix duplicate messages on the list after deleting messages on the next to the last page (#5862)
... also when deleting via 'mark' and 'archive' actions
7 years ago
Aleksander Machniak b99eed5c56 Fix duplicate messages on the list after deleting messages on the next to the last page (#5862) 7 years ago
Aleksander Machniak 429a1694b6 Fix various errors in mail bounce dialog 7 years ago
Aleksander Machniak 76adb49454 Support for IMAP folders that cannot contain both folders and messages (#5057) 7 years ago
Aleksander Machniak cfed954a46 Fix bug where Chrome could not upload the same file that was selected before (#5854)
... and removed the cancel hack that is not needed anymore.
7 years ago
Aleksander Machniak 69795ebd1d Simplify some css selectors 7 years ago
Aleksander Machniak f6df78435e Fix duplicated signature when using Back button in Chrome (#5809) 7 years ago
Aleksander Machniak 46c96bf0c0 Detach savetarget frame in onload or onerror
.. because before it was detached too early causing some code
from the iframe to be not executed.
7 years ago
Aleksander Machniak 58cae2ae5b Better workaround for history issues
Before we used history.back() in mail compose to workaround
history issues related to hidden iframe use. This again stopped
working as we switched to about:blank instead of blank.gif href.
A better solution is to detach the iframe after use and re-append
again when needed.
7 years ago
Aleksander Machniak b7e42de7ac Fix regressions in check_compose_input() 7 years ago
Aleksander Machniak 118367ce64 Merge branch 'master' of github.com:roundcube/roundcubemail 7 years ago
Aleksander Machniak 1b2d3c0ac2 Email Resent (Bounce) feature (#4985) 7 years ago
Aleksander Machniak b97e3b5cd7 Don't ignore (global) userlogins/sendmail logs in per_user_logging mode 7 years ago
Aleksander Machniak e04f72d018 Fix PHP 7.2 warnings on count() use (#5845) 7 years ago
Aleksander Machniak 97bf251dc6 Don't use create_function() deprecated in PHP 7.2 7 years ago
JohnDoh 5edfd5722e improve detection for Egde browser and add pointer event support (#5783)
add support for pointer events on list widget, use either pointer or touch events, not both
7 years ago
Aleksander Machniak 4b2f2b6b3b Use about:blank instead of blank.gif for empty iframes 7 years ago
Aleksander Machniak 84a79ee8db Move common mail composing/sending code to new rcmail_sendmail class
This is needed to make simpler an implementation of e.g.
- Mail Bounce feature (#4985),
- Direct Draft sending (#4998),
- Fast reply from mail preview (#5129).
7 years ago
Aleksander Machniak b5e5e2d12a CS fix 7 years ago
Philippe 'Peep' Chaintreuil 333d7556af Disable qrcode if Endroid QrCode library is missing
Treat a missing QrCode library the same as roundcube treats a missing
php-gd library.  Hide the button to disallow access.

Requested by distributions that don't use composer and don't yet have
packages for the QrCode library.
7 years ago
Aleksander Machniak 86a4d78369 Merge branch 'dev-elastic' 7 years ago
Aleksander Machniak 05ea5a5548 Add ignore_errors option to rcube_db, so error logging can be disabled temporarily
Use ignore_errors to make sure the DDL upgrade errors are printed only once.
7 years ago
Aleksander Machniak 9d63b80873 Fix bug where errors were not printed when using bin/update.sh (#5834)
Don't pass errors to rcmail_install::raise_error() in CLI mode.
7 years ago
Aleksander Machniak 3cd8783227 Fix c/p issue 7 years ago
Aleksander Machniak 8993059875 Add Preferences > Mailbox View > Main Options > Layout (#5829) 7 years ago
Aleksander Machniak a8278d61cf Update changelog, CS fixes 7 years ago
Aleksander Machniak 8b7c7dd5a9 Merge branch 'issue-logfilename' of https://github.com/remicollet/roundcubemail into remicollet-issue-logfilename 7 years ago
Aleksander Machniak 402a463448 Use base64 for headers encoding in ISO-2022-JP 8 years ago
Aleksander Machniak 21e7d873ce Fix so links over images are not removed in plain text signatures converted from HTML (#4473) 8 years ago
Aleksander Machniak 6f87a32052 Use 7bit encoding for ISO-2022-* charsets in sent mail (#5640) 8 years ago
Aleksander Machniak 6a83c3cc18 Fix fatal error when using DMY- or MDY-based date format in PostgreSQL (#5808) 8 years ago
Aleksander Machniak 1fcf7bfab3 Fix bug where HTML messages with @media styles could moddify style of page body (#5811) 8 years ago
Aleksander Machniak f0431c7475 Fix uninitialized string offset in rcube_utils::bin2ascii() and make sure rcube_utils::random_bytes() result has always requested length (#5788) 8 years ago
Aleksander Machniak 0bef84c410 Fix decoding non-ascii attachment names from TNEF attachments (#5646, #5799) 8 years ago
Remi Collet 6ca4eab399 add 'log_file_ext' configuration option 8 years ago
Aleksander Machniak 6dee73a0ec Support both comma and semicolon as recipient separator, drop recipients_separator option (#5092) 8 years ago
Aleksander Machniak bcc6405552 Fix various issues when downloading files with names containing non-ascii chars, use RFC 2231 (#5772) 8 years ago
Aleksander Machniak 7b4b36b16c Plugin API: Added 'show_bytes' hook (#5001) 8 years ago
Thomas Bruederli 3bc8a30314 Translate old 'preview_pane' setting into new 'layout' property 8 years ago
Aleksander Machniak 27a621818d Make sure rcube_utils::resolve_url() does not add port 80 to the url
...which might have happened with reverse proxies
8 years ago
Aleksander Machniak 7c001260fa Simplified code to parse METADATA responses 8 years ago
Aleksander Machniak 76170baac0 Fix bug where it wasn't possible to set timezone to auto-detected value (#5782) 8 years ago
Aleksander Machniak b82c767590 More general approach to validate setting options on preferences save 8 years ago
Aleksander Machniak c856b4ee06 Add missing timezone labels (there may be more than one slash in the timezone name) 8 years ago
Aleksander Machniak fe2f553688 Add option to not indent quoted text on top-posting reply (#5105)
by setting reply_mode = 2
8 years ago
Aleksander Machniak 6ad4ebe431 Fix SQL syntax error on MariaDB 10.2 (#5774) 8 years ago
Aleksander Machniak 2ba2b1828c Trigger onchange in ksearch_input_replace() on both supported input types 8 years ago
Aleksander Machniak bb67757b5c Removed global $CONFIG variable 8 years ago
Aleksander Machniak 872e6e647b Don't use global $CONFIG variable 8 years ago
Aleksander Machniak 8fff21deb5 Fix POST parameter reflection in default_charset selector (#5768) 8 years ago
Aleksander Machniak 9a63e40faf Accept an array as $input argument of decode_address_list()
... to support a common case and to prevent from PHP warnings.
8 years ago
Aleksander Machniak 0e3623e87a Fix setting Cancel button classes in simple_dialog() 8 years ago
Aleksander Machniak 336a0cd87b strncasecmp() -> strcasecmp() 8 years ago
Aleksander Machniak f7809af6e4 Support AUTHENTICATE LOGIN for IMAP connections (#5563)
Add imap_auth_type=IMAP to force use of LOGIN instead of AUTHENTICATE LOGIN.
In imap_auth_type=CHECK mode prefer LOGIN over AUTHENTICATE LOGIN (for performance reasons).
8 years ago
Aleksander Machniak 253aac5d9e Fix var name 8 years ago
Aleksander Machniak 0a7a95b714 Support LDAP GSSAPI authentication (#5703)
Requires https://git.kolab.org/rPNL1d87f98d300645e15b7ad2819fcffb19010a060f
8 years ago
Aleksander Machniak 682e88710b Display loading message when going to another page (#5541) 8 years ago
Aleksander Machniak 6dccbbd637 Add some accents and make some timezone names userfriendly 8 years ago
Aleksander Machniak c51a35665d Fix typo: s/UTC+/UTC/ 8 years ago
Aleksander Machniak 59e5cef08c Allow contacts without an email address (#5079) 8 years ago
AndrolGenhald 496ee4a92d Fix prevention from using % and * characters in folder name (#5762) 8 years ago
Aleksander Machniak 5af38a45cf Localized timezone selector (#4983) 8 years ago
Aleksander Machniak 5101cfc67a Bump version to 1.4-git 8 years ago
Aleksander Machniak 9858c2a294 Merge branch 'master' into dev-elastic 8 years ago
Aleksander Machniak d151afd229 Fix addressbook searching by gender (#5757) 8 years ago
Aleksander Machniak 5804ef8aa2 Fix folders list sorting on Windows - if php-intl is available (#5732) 8 years ago
Aleksander Machniak 955090ef1e Add Edge browser detection with 'edge' class for <html> element
Additional 'ms' class for both IE and Edge.
8 years ago
Aleksander Machniak 8f22c3287d Fix bug where comment notation within style tag would cause the whole style to be ignored (#5747) 8 years ago
Aleksander Machniak 533d32e991 Update to TinyMCE 4.5.7 8 years ago
Aleksander Machniak 9ff7b78c7e Fix conflict with _gid cookie of Google Analytics (#5748)
TODO: Review the whole code base and don't use INPUT_GPC when it's not really needed,
      in most cases we should not read $_COOKIE.
8 years ago
Aleksander Machniak 02d4489df7 Replace new line characters from the response name
...when the name was derived from the response text.
8 years ago
Aleksander Machniak ef141e73fa Support adding compose form elements outside of the form by noform=true 8 years ago
Aleksander Machniak 78c54c128d Fix bug where invalid recipients could be silently discareded (#5739) 8 years ago
Aleksander Machniak e800fb5a19 Bring back unintentionally removed .SILENT suffix in STORE FLAGS command 8 years ago
Aleksander Machniak d1cf69562f CS fixes and return values fixes 8 years ago
Aleksander Machniak 542a817214 Define more classes for dialog buttons 8 years ago
Aleksander Machniak cc0defce86 Fix failing database schema check in all engines except mysql (#5730) 8 years ago
Aleksander Machniak 51fb3bfa58 Support including files with path relative to templates dir 8 years ago
Aleksander Machniak 01656221a4 Update localization 8 years ago
Aleksander Machniak 0d8b3675f3 Add missing <label>s in Preferences > Special Folders 8 years ago
Aleksander Machniak ebb5d95288 Add also String.endsWith() polyfill 8 years ago
Aleksander Machniak 67b575aa4f Add composeFormHead object for templates to return form tag with hidden inputs 8 years ago
Aleksander Machniak 5a61e3487e Set more classes to buttons in restore message dialog 8 years ago
Aleksander Machniak 3e53ac7491 Remove note about mail() function 8 years ago
Joel Gerber 40b51b9dc9 Add Log to STDOUT Feature (#5721)
Primarily useful for PHP applications running under PHP-FPM which in
turn is running within a Docker container. But also it is generally
useful in any situation where you want to be able to send the logs
directly to your terminal when debugging &etc.
8 years ago
Aleksander Machniak 712875bde1 Fix bug where base_dn setting was ignored inside group_filters (#5720) 8 years ago
Aleksander Machniak d430903f6b Support contentEditable elements for autocomplete 8 years ago
Aleksander Machniak 72f19c079f Installer: Fix DB schema initialization on MS SQL Server 8 years ago
Aleksander Machniak 559254d6ee Use <button> instead of <input> for submit button on logon screen 8 years ago
Aleksander Machniak 065b16df12 Update to TinyMCE 4.5.6 8 years ago
Aleksander Machniak b1be7fca51 Unify inline warnings in rcmail_html_page 8 years ago
Aleksander Machniak a7c43c6e38 Merge branch 'master' of github.com:roundcube/roundcubemail 8 years ago
Aleksander Machniak e160e48069 Fix undesired effects when postgres database uses different timezone than PHP host (#5708)
Allow passing DateTime variables as query arguments. Their value will
be converted to date/time input string in format specific to the database type
(with timezone on postgres).
8 years ago
Aleksander Machniak 34446e00ca Fix bug where namespace prefix could not be truncated on folders list if show_real_foldernames=true (#5695) 8 years ago
Aleksander Machniak b314dfc548 Fix (restore) Tab key behaviour in autocomplete popup (#5659)
And make it to jump to the next field after inserting selected autocomplete entry.
8 years ago
Aleksander Machniak 19fcc35a55 Fix regression in LDAP fuzzy search where it always used prefix search instead (#5713) 8 years ago
Aleksander Machniak 51dffcda86 Skip <script> element if it has no content 8 years ago
Aleksander Machniak f9ac9a8aad Add some missing/new labels for aria elements 8 years ago
Aleksander Machniak f03839b24b Add support for 'link' objects in templates (with conditions)
.. to simplify conditional <link> tags injection while nested 'if' objects do not work
8 years ago
dfukagaw28 89a4134064 Add support for DelSp=Yes messages (#5702) 8 years ago
Aleksander Machniak 5a53d521c8 Fix permission of temporary files and removal of them when generating thumbnails 8 years ago
Aleksander Machniak 71ff264b02 Support conditional include 8 years ago
Aleksander Machniak 9b554cd3d5 Remove redundant spaces from generated contact names 8 years ago
Aleksander Machniak 6271b88bab Fix so settings/upload.inc could not be used by plugins (#5694) 8 years ago
Aleksander Machniak 7347c22af8 Update to TinyMCE 4.5.5 8 years ago
Aleksander Machniak 6c11825a0d Improve googiespell widget for better styling capabilities
.. it is possible to style it with css, no images are required
8 years ago
Aleksander Machniak 8706d7fb0c Merge branch 'dev-elastic' of github.com:roundcube/roundcubemail into dev-elastic 8 years ago
Aleksander Machniak 1d0cecb41a Add autocomplete_create event so plugins/skins can do something on the autocomplete popup element 8 years ago
Aleksander Machniak 431b9d6b75 Fix update_row() for lists with checkbox selection 8 years ago
Aleksander Machniak a928c3f988 Add editor-init event 8 years ago
ka7 9a35768c26 spelling fixes (#5690) 8 years ago
Remi Collet 132a807dff add .log suffix to all log file names 8 years ago
Aleksander Machniak 4b9a08657f Set save button css class in simple dialog according to its label 8 years ago
Thomas Bruederli bf21557873 Better fix for XSS in style tags (b59ff5ca) 8 years ago
Aleksander Machniak 05aae4711c Replace xss_entity_decode_callback() method with lambda function 8 years ago
Aleksander Machniak b59ff5cafb Fix XSS issue in handling of a style tag inside of an svg element 8 years ago
Aleksander Machniak ae8ff966b5 Fix (again) context of close function in simple dialog 8 years ago
Aleksander Machniak 29668f4c97 Fix context in close function of simple dialogs 8 years ago
Aleksander Machniak 38067f61da Get rid of data-popup-pos 8 years ago
Aleksander Machniak fa32c2c471 Plugin API: Call message_part_structure hook for sub-parts of multipart/alternative message (#5678) 8 years ago
Aleksander Machniak 51dbc2e438 Merge branch 'master' of github.com:roundcube/roundcubemail 8 years ago
Aleksander Machniak 9028e77290 Enigma: Set micalg parameter to real hash algorithm used for signing 8 years ago
Shin Kojima 0b385dc946 Skip iconv for problematic ISO-2022-JP strings (#5668)
We sometimes get broken character encodings such as:
Subject: =?iso-2022-jp?B?GyRCLWo7M3l1OSk2SBsoQgo=?=
This actually is not a strict ISO-2022-JP string, but a CP50220 string
that is a variant of ISO-2022-JP with extended characters proposed by
Microsoft. Iconv can not handle these encodings well.
8 years ago
Aleksander Machniak 4525388337 More unified style of folder-selector 8 years ago
Aleksander Machniak aba37bfcaf Make 'compose' command always enabled 8 years ago
Aleksander Machniak adbab9d3e2 Merge branch 'master' into dev-elastic 8 years ago
Aleksander Machniak ba11e844f7 Added optional checkbox selection for the list widget 8 years ago
Aleksander Machniak 821d449d86 Fix/rephrase "unsaved changes" warning when cancelling a draft (#5610) 8 years ago
Aleksander Machniak f8a30526de Add possibility to use "Add contact" link without an image element inside 8 years ago
Aleksander Machniak e2d80479d6 Make possible to set (some) config options from a skin 8 years ago
Aleksander Machniak 4ac7cf0fca Add localization label 8 years ago
Aleksander Machniak b2d315459a Fix listmenulink in Larry 8 years ago
Aleksander Machniak 3dd24bce75 Merge pull request #5658 from JohnDoh/group-rename
small amendment to #5652
8 years ago
JohnDoh d379dc897a small fix for current group detection and add similar rules for group-delete 8 years ago
Aleksander Machniak 4d663c477c Merge pull request #5635 from joebordes/patch-1
Pass full message object on message_sent event
8 years ago
Aleksander Machniak ec98aa5b52 Merge pull request #5652 from JohnDoh/group-rename
don't use env for group-rename action
8 years ago
Aleksander Machniak cd61d7ebd0 Minimize unwanted message loading in preview frame on drag (#5616)
also remove dummy_select flag which is not needed anymore.
8 years ago
Aleksander Machniak dae5ffd07a Fix bug where it was too easy accidentally move a folder when using the subscription checkbox (#5655) 8 years ago
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