Commit Graph

7230 Commits (1afa46d28d42684ed6e7b60ae03ddd181468f991)

Author SHA1 Message Date
Aleksander Machniak 4ef87fe856 Support $HasAttachment/$HasNoAttachment keywords (#6201)
We use these only to display the attachment icon on the messages list.
5 years ago
Aleksander Machniak f8ca8d1b63 Fix invalid path to "add contact" icon when using assets_path setting
This and a few other icons
5 years ago
Aleksander Machniak 6e5027ba24 Fix so userlogins and sendmail logs are never put into the per_user_logging folder 5 years ago
Aleksander Machniak d646a10217 Add in_selection() to rcube_treelist_widget
So code working on all lists doesn't have to check widget type
to work with selection.
5 years ago
Aleksander Machniak c287dad54e Add dialog-open event (#6748) 5 years ago
Aleksander Machniak 2dccbf2879 Redis: Support connection to unix socket
Also handle exceptions thrown on connection and remove support for
specifying hosts with redis:// scheme.
5 years ago
Amir Caspi 6b5fa52ec1 Update rcube_utils::parse_host, fixes #6746
Updated regexps used in parse_host to ensure that %t, %d, %z do not cut off domain and return only tld when underlying host has no subdomain (i.e., is just domain.tld rather than mail.domain.tld).  Update fixes #6746, now returns nothing shorter than domain.tld.

Also removed backslash from character class, period does not need to be escaped within character class.
5 years ago
Aleksander Machniak 7c8ce07e8c Fix bug where bold/strong text was converted to upper-case on html-to-text conversion (6758) 5 years ago
Aleksander Machniak 0feb46574c Update languages list 5 years ago
Aleksander Machniak a1301a78d6 Localization update 5 years ago
Aleksander Machniak 910505a361 Fix regression where drafts were not deleted after sending the message (#6756) 5 years ago
Aleksander Machniak 0c4d78aa11 Remove language code from charset name as per the RFC2231.5 5 years ago
Aleksander Machniak 86a9788083 Fix invalid path to blocked.gif when using assets_path setting (#6752) 5 years ago
Aleksander Machniak 9391a531ff Fix regexp 5 years ago
Aleksander Machniak fe90903fa1 Fix bug in parsing vCard data using PHP 7.3 due to an invalid regexp (#6744)
Looks like \R is not allowed in character class, but \r\n is fine.
On PHP 7.3.5 it throws warnings and empty result from preg_replace(),
though I couldn't reproduce.
5 years ago
Aleksander Machniak f3d16240f2 Fix bug where bmp images couldn't be displayed on some systems (#6728) 5 years ago
Aleksander Machniak e3014de2ce Simplify code around detected mimetype string 5 years ago
Aleksander Machniak cf51aead63 Larry: Fix regression where menu actions didn't work with keyboard (#6740)
For Elastic remove Space/Enter key handler on menus, so we use
default browser behaviour. Triggering a onclick programatically
causes popup window warning sometimes.
5 years ago
Aleksander Machniak 3719ce0653 Don't use :has selector 5 years ago
Aleksander Machniak 2c38460b09 Make sure an event triggered by Enter key press on a link is treated as a keyboard event 5 years ago
Aleksander Machniak 8c471478f7 Merge branch 'dev/elastic' 5 years ago
Aleksander Machniak f76d9e0c09 Small fix 5 years ago
Aleksander Machniak 67f9f504a3 key ring -> keyring
...for consistence with other places
5 years ago
Aleksander Machniak f3c9699817 Fix so advanced search dialog is not automatically displayed on searchonly addressbooks (#6679) 5 years ago
Aleksander Machniak 45a6ad1ba7 Fix so an error is logged when more than one attachment plugin has been enabled, initialize the first one (#6735) 5 years ago
Aleksander Machniak 593188559a Fix regression where non-terminating errors were sent to the browser 5 years ago
Aleksander Machniak e67765b863 Fix bug where flag change could have been passed to a preview frame when not expected 5 years ago
Aleksander Machniak 55cca61134 Workaround more invalid HTML cases parsed incorrectly by Mastermind/HTML5 (#6713) 5 years ago
Aleksander Machniak 00ef5d05ef Merge branch 'master' into dev/elastic 5 years ago
Aleksander Machniak ce9c52e65a Merge branch 'master' into dev/elastic 5 years ago
Aleksander Machniak 00f94a47bb Rephrase cookiesmismatch text 5 years ago
Aleksander Machniak 850d414443 Don't allow dragging .custom-control elements on folders list 5 years ago
Aleksander Machniak 187b51fd82 Fix bug where parent entry could be selected when clicking on a virtual entry 5 years ago
Aleksander Machniak 70a0976be1 Remove redundant error message 5 years ago
Aleksander Machniak fbb5a5bc4f Small code simplification in raise_error() 5 years ago
Aleksander Machniak 02dc6ce41c Don't init the session in CLI mode
This prevents from PHP warnings when using CLI scripts e.g. installto.sh.
5 years ago
Aleksander Machniak 72ad567db6 Add new line at the end of error message in CLI mode 5 years ago
Aleksander Machniak 00173a7622 Update some code documentation 6 years ago
Aleksander Machniak d8470c6c2b Remove useless "..." suffix 6 years ago
Aleksander Machniak 9c4e2eacab Don't log full session identifiers in userlogins log (#6625)
Log only 16-char prefix.
6 years ago
Aleksander Machniak 32612f0b8f Log some more info with session_debug 6 years ago
Aleksander Machniak c87ac075ae Renamed 'log_session' option to 'session_debug' 6 years ago
Aleksander Machniak f1a83f923d Added cookie mismatch detection, display an error message informing the user to clear cookies 6 years ago
Aleksander Machniak 5218b0193a Clarified 'address_book_type' option behavior (#6680) 6 years ago
Aleksander Machniak 57c67db029 Remove year(s) from copyright headers + some cleanup 6 years ago
Aleksander Machniak 69080457b1 Code simplification 6 years ago
Aleksander Machniak 92ed0154d5 Followup fix on handling HTML content w/o html/head/body tag (#6713) 6 years ago
Aleksander Machniak 03d56926d8 Fix bug in HTML parser that could cause missing text fragments when there was no head/body tag (#6713) 6 years ago
Aleksander Machniak 711e46a018 Force HIGHESTMODSEQ use on dovecot
This may fix some messages cache issues. Dovecot does not return
HIGHESTMODSEQ nor NOMODSEQ metadata on SELECT until it is "forced"
to switch to "permanent mod-seq mode". It can be done either by
ENABLE QRESYNC/CONDSTORE or by requesting the metadata explicitely
on SELECT/STATUS. We'll use STATUS for that.
6 years ago
Aleksander Machniak f0811f6f50 DOn't use deprecated (and slow) selectors 6 years ago
Aleksander Machniak 8036bfafab Fix setting button state when registering it after onload
Also get rid of uibutton support, it's not used anymore.
6 years ago
Aleksander Machniak 6f479096d5 Merge branch 'wash-xml-namespace' of https://github.com/dsoares/roundcubemail into dsoares-wash-xml-namespace 6 years ago
Aleksander Machniak b304782cbc Elastic: Various cross-browser fixes and improvements 6 years ago
Aleksander Machniak a35699637d Fix PHP error when using Net_LDAP3 from master
get_entry() method signature has changed. We don't really needed
that override in rcube_ldap_generic, so it's now removed.
6 years ago
dsoares 00cc13a1b9 Fix bug where HTML messages with a xml:namespace tag were not rendered. 6 years ago
Aleksander Machniak f1e911ec03 Elastic: Toolbar/menus/layout refactoring
Refactoring for better consistency and simplicity.

5KB less in size of (minified) styles.css file.

Layout changes:
- body > #layout > .menu       -> #layout-menu
- body > #layout > .list       -> #layout-list
- body > #layout > .sidebar    -> #layout-sidebar
- body > #layout > .content    -> #layout-content

Toolbar/menu changes:
- .toolbar           -> .toolbar.menu
- .toolbarmenu       -> .menu.listing
- .menu-button       -> .task-menu-button
- .pagenav.toolbar   -> .pagenav.menu
- #taskmenu          -> #taskmenu.menu.toolbar
- .image-tools .menu -> .image-tools .menu.toolbar
- required .disabled class to de-activate menu items
- .button class is not required on .menu children
- merge toolbar.less and taskmenu.less into menu.less
- @color-toolbarmenu-hover            -> @color-menu-hover
- @color-toolbarmenu-hover-background -> @color-menu-hover-background

Also cleaned/removed some code in spellchecker.js. Made .googie_list a list not table.
6 years ago
Aleksander Machniak dbf6e0a81d Improve display_message() for sophisticated 'loading' messages
So it's possible to display more than one message of type 'loading'
at a time and define custom timeout.
6 years ago
Aleksander Machniak f1c40c8aa9 Fix bug where attachment preview didn't work with x_frame_options=deny (#6688) 6 years ago
Aleksander Machniak 27408182b9 Expect skin thumbnails to be in assets 6 years ago
Aleksander Machniak ab7eeb3daa CS fixes 6 years ago
Aleksander Machniak d8488aae32 Disable spellcheker (hide button) if the list of languages is empty
Better handling of uninitialized (not installed) spellchecker engine.
Also prevent from PHP fatal error if enchant ext is not installed.
6 years ago
Aleksander Machniak c827925051 Fix so "Open in new window" consistently displays "external window" interface (#6659)
Both 'show' and 'extwin' will use _extwin=1 argument.
6 years ago
Aleksander Machniak 982919582c Add zh_MO and zh_HK as aliases of zh_TW (#6666)
with CS fixes
6 years ago
Aleksander Machniak 53c37a1321 WS and CS fixes 6 years ago
Boris Rybalkin 2d85dad0cc Support ROUNDCUBE_CONFIG_DIR env variable (#6112) 6 years ago
Aleksander Machniak ab28c4ae26 Fix bug where external content (e.g. mail body) was passed to templates parsing code (#6640)
It should have been part of "Fix so templating system does not mess with external (e.g. email)
content (#5499)" (d02e6ea45e), but it wasn't.
6 years ago
Aleksander Machniak b232886488 Properly cleanup on drag end in treelist widget 6 years ago
Aleksander Machniak 743794f1d8 Treelist: Add possibility to not reset selection on reset() 6 years ago
Aleksander Machniak 5058d36581 Fix bug where next row wasn't selected after deleting a collapsed thread (#6655) 6 years ago
Aleksander Machniak e3e9573391 Fix small issue when quota object does not specify 'title' 6 years ago
Aleksander Machniak cc20de329d Elastic: Use Bootstrap's custom file input
... with localization and some js logic to display selected file(s) in the input.
6 years ago
Aleksander Machniak bca1397927 Fix links to Identities/Responses 6 years ago
Aleksander Machniak e7816ccd36 Elastic: Keep original line wrapping in Message headers dialog 6 years ago
Aleksander Machniak 9b553aa2e0 Elastic: Improve "Mark all as read" dialog style (use .proplist) 6 years ago
Aleksander Machniak 147a2c8611 Elastic: Use appropriate icon for Mark button in "Mark all as read" dialog 6 years ago
Aleksander Machniak 26bce22bff Fix bug when aborting dragging with ESC key didn't stop the move action (#6623)
+ small code improvements
+ focus the list on drag start to make sure it's focused state is up-to-date
  which is needed for proper keypress handling (e.g. ESC key on drag action)
6 years ago
Aleksander Machniak 2373aea95c Elastic: Add style for .part-notice elements (like e.g. .boxwarning) 6 years ago
Aleksander Machniak 7a4aed8320 Move common code to a function 6 years ago
Mario Harjac 136175e445 Fix missing CSRF token in message download (#6621) 6 years ago
Aleksander Machniak 641a67fe75 Elastic: Fix unintentional layout preference overwrite (#6613)
This is actually skin-independent mechanism that prevents overwriting
of skin-specific preferences by ajax requests (that until now were
not aware of skin config).
6 years ago
Aleksander Machniak 43499432a5 Elastic: Fix height of select elements inside of composite fields
also make them pretty when added programatically.
6 years ago
Aleksander Machniak 9d51e40f9e Code cleanup 6 years ago
Aleksander Machniak 0492b1f6e5
HTML5 Upload Progress (#6177) (#6583)
Replaced all old upload progress code in favour of ajax upload progress.
Instead of posting a hidden iframe, we now use AJAX (as we did for drag-n-drop).
Removed code for old browsers. Now we support IE >= 10, Firefox > 4.
Upload progress may not work in some more, but support is quite good.
6 years ago
johndoh 8f62aed866 Create new meta and links template objects, replace favicon (#6611) 6 years ago
Aleksander Machniak fbdaab714b Merge branch 'master' of github.com:roundcube/roundcubemail 6 years ago
Aleksander Machniak c66199ffd2 Add cache busters also to images used by templates (#6610) 6 years ago
Aleksander Machniak 6e74498656 Fix so mime_content_type check in Installer uses files that should always be available (i.e. from program/resources) (#6599) 6 years ago
johndoh fa754c4ebc Elastic: remove hover effect on dropbuttons when primary action is disabled (#6597) 6 years ago
Aleksander Machniak 82974289b9 Fix typo 6 years ago
Aleksander Machniak 6dce805221 Improve last fix so it also remove temp file if Mail_Mime returned an error 6 years ago
Aleksander Machniak 1767b256e4 Fix bug where big messages could not be saved to imap folder in low memory mode 6 years ago
Aleksander Machniak fe5b4fd81d fputs() -> fwrite() 6 years ago
Aleksander Machniak 82c495e6b4 PR cleanup 6 years ago
PhilW e5f5e6576d add some selection options to contacts list 6 years ago
Aleksander Machniak 99ad249f6d Elastic: Add title with full folder name on folders list elements
if displayed folder name is truncated because of overflow.
6 years ago
Aleksander Machniak e876e7b861 Add no-bs class to search form inputs
... so they don't get form-control assigned by Elastic logic
6 years ago
Aleksander Machniak 61eb78ad64 Fix so ANY record is not used for email domain validation, use A, MX, CNAME, AAAA instead (#6581) 6 years ago
Aleksander Machniak e69d1e7f04 Fix so max_message_size limit is checked also when forwarding messages as attachments (#6580) 6 years ago
Aleksander Machniak d7b510978e Fix regressions in attachment rename and attachment title attribute setting 6 years ago
Aleksander Machniak 829395ed13 Improvements in contact import dialog
- Fix Import button state on import errors
- Focus Cancel button on form submission
- Don't reload contacts list when import failed
6 years ago