Commit Graph

6993 Commits (ada257009949bd4380a0c275eb2a74fd90030fae)

Author SHA1 Message Date
Aleksander Machniak d07b032bcd Refactor cache code with separate engine-specific classes 7 years ago
Aleksander Machniak fa06d37901 Merge branch 'feature/add_redis_as_cache' of https://github.com/ledgr/roundcubemail into ledgr-feature/add_redis_as_cache 7 years ago
Aleksander Machniak 31ffef67ad Skip _lang param if not set (#6203) 7 years ago
Aleksander Machniak 6bfebc5e32 Add sanity check when auto-unsubscribing non-existing folders 7 years ago
Aleksander Machniak 51cf1c5935 Fix setting contacts copy action state, CS fixes 7 years ago
johndoh b01e5ae192 Trigger getselection in get_single_selection() (#6180)
Make it so that the event getselection is triggered when either rcube_list_widget::get_selection() or rcube_list_widget::get_single_selection() is called
7 years ago
Aleksander Machniak 1556eb01c7 Use JSON_UNESCAPED_UNICODE only on PHP >= 7.1.0 (#6187) 7 years ago
Aleksander Machniak 3fe16de335 Code de-duplication 7 years ago
Aleksander Machniak 5f5f5f98e9 Merge branch 'movecopy' of https://github.com/johndoh/roundcubemail into johndoh-movecopy 7 years ago
laodc 672e57ea48 Patched bug where rcube_db::quote() was causing an infinite connection loop. (#6175)
As rcube_db::quote() checks to see if the connection is up before quoting, this would cause the class to try connect again, as rcube_db::$dbh was not being set until AFTER conn_configure was completed, causing a loop.

So updated rcube_db::$dbh in the rcube::conn_create() function instead allowing access to the new object straight away.

It's needed for edeb5d7.
7 years ago
PhilW 8c734977de simplify execution of grop_delete 7 years ago
Aleksander Machniak c9555506b3 Fix using display_message() with a localization label from inside an iframe
We have to localize the label before we redirect execution to parent window.
7 years ago
Aleksander Machniak a1be62b19d Remove redundant trim() 7 years ago
Aleksander Machniak 9d2b303b51 Fix bug in remote content blocking on HTML image and style tags (#6178) 7 years ago
Aleksander Machniak b46cd5de1d Fix PHP Warning: exif_read_data(...): Illegal IFD size (#6169) 7 years ago
Edgaras Lukoševičius e371469664 Add Redis as cache backend 7 years ago
PhilW dba7134201 small fix after last commit 7 years ago
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