Commit Graph

7106 Commits (147a2c861198e71861ff18ccc55f7955870dc95d)

Author SHA1 Message Date
Aleksander Machniak 199761ad12 Fix blankpage compat. with assets_path setting 7 years ago
Aleksander Machniak 13ad9e6593 Merge branch 'master' into dev/elastic 7 years ago
Aleksander Machniak 9d3d600a25 Display a dialog for mail import with supported format description and upload size hint 7 years ago
Aleksander Machniak 4b97f40af9 Get rid of debug_level (#6298) 7 years ago
Aleksander Machniak 5843d8cdcd Elastic: Small improvements in message headers layout 7 years ago
Aleksander Machniak b08a5e7873 Display a hint about max file size for contacts import 7 years ago
Aleksander Machniak 750827ad65 Merge branch 'master' into dev/elastic 7 years ago
Aleksander Machniak 71eec07d25 Fix regression where some non-inline attachments could be not listed (#6291) 7 years ago
johndoh 647a7e91c6 Unify content frame (watermark) template objects (#6285)
* unify content frame (watermark) template objects
* several improvements, use existing env var for watermark url
* tighten up var parsing for contentframe template object
7 years ago
Aleksander Machniak b6a10acfbe Elastic: Fix popup initialization on cloned buttons 7 years ago
Aleksander Machniak 9746de23e8 Elastic: Small improvements in searchbar 7 years ago
Aleksander Machniak 0d62450efc Add easy way to change skin via GET param, for developers only 7 years ago
Aleksander Machniak 211c5444e5 Merge branch 'master' into dev/elastic 7 years ago
Aleksander Machniak 34a280ef89 Fix regression where Edit identities link wasn't working
Extend switch-task command to accept argument in form of task/action.
7 years ago
Aleksander Machniak da5080a980 Merge branch 'master' into dev/elastic
Conflicts:
	skins/elastic/ui.js
7 years ago
Graymanflo b1ea91c161 Fix typo in English translations. (#6287) 7 years ago
Aleksander Machniak fc88c5b1f6 Elastic: Use select.custom-select instead of select.form-control
It's just better looking.
7 years ago
Aleksander Machniak 430c000e32 Support skin localization (#5853) 7 years ago
Aleksander Machniak 66550f65ae Support enabling checkbox selection on list after intialization and existing records 7 years ago
Aleksander Machniak 67b5ba67dd Show confirm dialog when moving folders using drag and drop (#6119)
As it was very easy to accidentally move a folder tree by dragging & dropping
we now ask the user to confirm the action.
7 years ago
Aleksander Machniak 526f4ddbb4 Elastic: Fix interface "jump" after folder rename (#6283) 7 years ago
Aleksander Machniak f0fc42b3c4 Elastic: Try a new design for some toolbars (work in progress) 7 years ago
Aleksander Machniak 1247a8dd7d Fix bug where some forbidden characters on Cyrus-IMAP were not prevented from use in folder names 7 years ago
Aleksander Machniak 0716d499bc Fix bug where some escape sequences in html styles could bypass security checks 7 years ago
Edgaras L c236c22c41 Parse all quotas from GETQUOTAROOT (#6280) 7 years ago
johndoh 5caab079fa Make settings list html more consistent (#6204) 7 years ago
johndoh 8eebbbfba4 Use timer to differentiate touch or touch + hold events (#6259) 7 years ago
Aleksander Machniak 89715b040b Pass an element index to the list_callback in entity_selector() 7 years ago
Aleksander Machniak 35a3abd3de Fix skin extending for assets (#5115) - take two 7 years ago
Aleksander Machniak 8355ba62fb Revert "Fix skin extending for assets (#5115)" 7 years ago
Aleksander Machniak c0b9025215 Remove sample PHP configuration from .htaccess and .user.ini files (#5850)
Moved to https://github.com/roundcube/roundcubemail/wiki/Installation#php-configuration
7 years ago
Aleksander Machniak 63d3ad11fb Use Masterminds/HTML5 parser for HTML5 support (#5761) 7 years ago
johndoh 2f7aaca342 Allow plugins to prevent multiple execution of getselection JS event (#6256) 7 years ago
Aleksander Machniak 3e241d728c Remove IE7 hack 7 years ago
Aleksander Machniak acfd335f14 Simplify code to set/change a skin
When changing skin in Preferences we do not use the new skin immediately,
we do this after redirect.
7 years ago
Aleksander Machniak 3e0e12227e Use default skin on login page, also after logout
Before we stored user skin in session to keep user skin on logon after logout.
After more thinking... imho it's better to always present the same logon look.
7 years ago
Aleksander Machniak e79838aaac Enigma: Disable autofill for new keypair password 7 years ago
Aleksander Machniak 3f53acb64a Fix regression in skin extending for assets (commit ecde98729b)
It could have been possible that core template loaded plugin files
by mistake (if file with the same name existed), we don't want that.
7 years ago
Aleksander Machniak c1774b6e1d Put additional footer content before "footer scripts" (for Elastic) 7 years ago
Aleksander Machniak ecde98729b Fix skin extending for assets (#5115)
Remove redundant is_file() calls.
7 years ago
Aleksander Machniak dd3ea4ed2b Fix extracting codepage 7 years ago
Aleksander Machniak 8a6a9e86ae Fix handling of forwarded messages inside of a TNEF message (#5632) 7 years ago
Aleksander Machniak a889f55c31 Fix PHP Warning: Use of undefined constant IDNA_DEFAULT on systems without php-intl (#6244) 7 years ago
Aleksander Machniak 3f985c35d1 Elastic: Small form fixes 7 years ago
Aleksander Machniak 418c72137e Improve search_form() for external use 7 years ago
Aleksander Machniak b2bebe531a Fix bug where usernames without domain part could be malformed or converted to lower-case on logon (#6224) 7 years ago
Aleksander Machniak 8e543f843e Fix check_request() bypass in places using get_uids() [CVE-2018-9846] (#6238) 7 years ago
Aleksander Machniak 431f89f9b7 Fix "Mark all as read" dialog (#6235) 7 years ago
Aleksander Machniak 8df6d7c3e4 Fix regression in compressMessageSet() (#6235) 7 years ago
Aleksander Machniak 5832eca405 RCMAIL_CHARSET -> RCUBE_CHARSET (#6236) 7 years ago
Aleksander Machniak 8b0540d402 Fix possible IMAP command injection and type juggling vulnerabilities (#6229) 7 years ago
Aleksander Machniak df3878501c Fix PHP 7.2: count(): Parameter must be an array in enchant-based spellchecker (#6234) 7 years ago
Aleksander Machniak 73ea8f94d0 Use htmlspecialchars() with charset argument, simplify some code 7 years ago
Aleksander Machniak f36e23b778 Fix parsing date strings (e.g. from a Date: mail header) with comments (#6216) 7 years ago
Aleksander Machniak 2428be488e Allow style tags in HTML editor on composed/reply messages (#5751) 7 years ago
Thomas Bruederli c973f003e5 Synchronized localizations with Transifex 7 years ago
Aleksander Machniak 2196f50437 Support redis_debug in the redis session driver 7 years ago
Aleksander Machniak 0f3ad342f7 Fix bug where some unix timestamps were not handled correctly by rcube_utils::anytodatetime() (#6212) 7 years ago
Aleksander Machniak a451ad6599 Fix handling encoding of HTML tags in "inline" JSON output (#6207) 7 years ago
Aleksander Machniak 981cd8726d Remove holes in cache index keys - makes the serialized representation shorter 7 years ago
Aleksander Machniak 866bf959b7 Use document.body consistently 7 years ago
Aleksander Machniak eb91daf00d Added 9pt and 11pt to the list of font sizes in HTML editor 7 years ago
Aleksander Machniak 1058924e21 Move some framework classes to sub-directories 7 years ago
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