Commit Graph

7164 Commits

Author SHA1 Message Date
Aleksander Machniak
e3014de2ce Simplify code around detected mimetype string 2019-05-06 13:30:09 +02:00
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.
2019-05-05 12:36:40 +02:00
Aleksander Machniak
3719ce0653 Don't use :has selector 2019-05-05 11:01:16 +02:00
Aleksander Machniak
2c38460b09 Make sure an event triggered by Enter key press on a link is treated as a keyboard event 2019-05-05 10:06:54 +02:00
Aleksander Machniak
8c471478f7 Merge branch 'dev/elastic' 2019-05-05 07:46:56 +02:00
Aleksander Machniak
f76d9e0c09 Small fix 2019-05-03 19:58:29 +02:00
Aleksander Machniak
67f9f504a3 key ring -> keyring
...for consistence with other places
2019-05-03 19:56:50 +02:00
Aleksander Machniak
f3c9699817 Fix so advanced search dialog is not automatically displayed on searchonly addressbooks (#6679) 2019-05-03 07:07:32 +00:00
Aleksander Machniak
45a6ad1ba7 Fix so an error is logged when more than one attachment plugin has been enabled, initialize the first one (#6735) 2019-05-01 21:51:22 +02:00
Aleksander Machniak
593188559a Fix regression where non-terminating errors were sent to the browser 2019-05-01 21:45:46 +02:00
Aleksander Machniak
e67765b863 Fix bug where flag change could have been passed to a preview frame when not expected 2019-05-01 08:29:48 +02:00
Aleksander Machniak
55cca61134 Workaround more invalid HTML cases parsed incorrectly by Mastermind/HTML5 (#6713) 2019-04-28 12:43:10 +02:00
Aleksander Machniak
00ef5d05ef Merge branch 'master' into dev/elastic 2019-04-28 10:30:05 +02:00
Aleksander Machniak
ce9c52e65a Merge branch 'master' into dev/elastic 2019-04-27 10:53:46 +02:00
Aleksander Machniak
00f94a47bb Rephrase cookiesmismatch text 2019-04-25 14:20:38 +00:00
Aleksander Machniak
850d414443 Don't allow dragging .custom-control elements on folders list 2019-04-25 10:44:09 +00:00
Aleksander Machniak
187b51fd82 Fix bug where parent entry could be selected when clicking on a virtual entry 2019-04-25 10:30:42 +00:00
Aleksander Machniak
70a0976be1 Remove redundant error message 2019-04-22 09:49:53 +02:00
Aleksander Machniak
fbb5a5bc4f Small code simplification in raise_error() 2019-04-22 09:46:38 +02:00
Aleksander Machniak
02dc6ce41c Don't init the session in CLI mode
This prevents from PHP warnings when using CLI scripts e.g. installto.sh.
2019-04-22 09:34:53 +02:00
Aleksander Machniak
72ad567db6 Add new line at the end of error message in CLI mode 2019-04-22 09:32:30 +02:00
Aleksander Machniak
00173a7622 Update some code documentation 2019-04-21 09:36:09 +02:00
Aleksander Machniak
d8470c6c2b Remove useless "..." suffix 2019-04-19 11:40:41 +02:00
Aleksander Machniak
9c4e2eacab Don't log full session identifiers in userlogins log (#6625)
Log only 16-char prefix.
2019-04-19 11:37:41 +02:00
Aleksander Machniak
32612f0b8f Log some more info with session_debug 2019-04-19 10:49:01 +02:00
Aleksander Machniak
c87ac075ae Renamed 'log_session' option to 'session_debug' 2019-04-19 10:26:26 +02:00
Aleksander Machniak
f1a83f923d Added cookie mismatch detection, display an error message informing the user to clear cookies 2019-04-19 10:12:23 +02:00
Aleksander Machniak
5218b0193a Clarified 'address_book_type' option behavior (#6680) 2019-04-16 12:44:29 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
69080457b1 Code simplification 2019-04-15 13:01:14 +02:00
Aleksander Machniak
92ed0154d5 Followup fix on handling HTML content w/o html/head/body tag (#6713) 2019-04-15 09:25:12 +02:00
Aleksander Machniak
03d56926d8 Fix bug in HTML parser that could cause missing text fragments when there was no head/body tag (#6713) 2019-04-14 09:53:02 +02:00
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.
2019-04-11 15:53:50 +02:00
Aleksander Machniak
f0811f6f50 DOn't use deprecated (and slow) selectors 2019-04-11 10:47:11 +02:00
Aleksander Machniak
8036bfafab Fix setting button state when registering it after onload
Also get rid of uibutton support, it's not used anymore.
2019-04-08 11:06:58 +02:00
Aleksander Machniak
6f479096d5 Merge branch 'wash-xml-namespace' of https://github.com/dsoares/roundcubemail into dsoares-wash-xml-namespace 2019-04-07 08:20:50 +02:00
Aleksander Machniak
b304782cbc Elastic: Various cross-browser fixes and improvements 2019-04-05 14:23:25 +02:00
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.
2019-04-02 12:35:25 +02:00
dsoares
00cc13a1b9 Fix bug where HTML messages with a xml:namespace tag were not rendered. 2019-03-26 15:10:43 +00:00
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.
2019-03-24 19:25:56 +01:00
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.
2019-03-21 14:10:34 +00:00
Aleksander Machniak
f1c40c8aa9 Fix bug where attachment preview didn't work with x_frame_options=deny (#6688) 2019-03-19 13:01:53 +01:00
Aleksander Machniak
27408182b9 Expect skin thumbnails to be in assets 2019-03-19 09:50:04 +01:00
Aleksander Machniak
ab7eeb3daa CS fixes 2019-03-19 09:06:26 +01:00
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.
2019-03-19 09:03:19 +01:00
Aleksander Machniak
c827925051 Fix so "Open in new window" consistently displays "external window" interface (#6659)
Both 'show' and 'extwin' will use _extwin=1 argument.
2019-03-18 13:15:35 +01:00
Aleksander Machniak
982919582c Add zh_MO and zh_HK as aliases of zh_TW (#6666)
with CS fixes
2019-03-12 09:56:51 +01:00
Aleksander Machniak
53c37a1321 WS and CS fixes 2019-03-12 09:51:44 +01:00
Boris Rybalkin
2d85dad0cc Support ROUNDCUBE_CONFIG_DIR env variable (#6112) 2019-03-11 13:58:05 +01:00
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.
2019-03-11 13:27:34 +01:00