Commit Graph

1857 Commits (98c71ee62e070cfa28a66c5e69f483422282fbd0)

Author SHA1 Message Date
Aleksander Machniak 3c01f472e0 Elastic: Change HTML editor widget to improve form flow (#6992) 5 years ago
Aleksander Machniak ce70166d9e Elastic: Fix inserting responses at cursor position (#6971)
Don't check if the field has focus for text selection.
5 years ago
Aleksander Machniak a3c491d5cb Elastic: Fix initial focus on recipients input in mail compose screen
Also remove some redundant duplicated code
5 years ago
Aleksander Machniak ed085db9e0 Elastic: Fix position and style of auto-complete dropdown on small screens (#6951) 5 years ago
Aleksander Machniak 17296b39cb Fix infinite loading message on iframe loading errors
The loading message was not stopped on "hard" errors, i.e. when
the page was blank, e.g. on 500 error.
5 years ago
Aleksander Machniak 70d342a436 Fix language selection for spellchecker in html mode (#6915)
Also fix so the language is not reset when switching from html to plain
text and vice-versa.
5 years ago
Aleksander Machniak 5373f1839d Fix googiespell popup in all skins 5 years ago
Aleksander Machniak b35c9c1fdc Apply image preview centering styles only if there's an image
For cases when we display a security warning about the image attachment
the image centering styles would make the warning centered, which
we do not want.
5 years ago
johndoh 3a40f6cd91 Add expand_all/collapse_all treelist methods (#6860)
* add expand_all()/collapse_all() treelist methods
* prevent possible race condition in rcmail.folder_collapsed()
5 years ago
Aleksander Machniak 9a225bd3fe Use Left/Right Arrow keys to faster move over threaded messages list (#6399)
Fixed some inconsistencies in list widget expand/collapse code.

Made the arrow keys behavior like in Thunderbird, i.e.:
- Right Arrow expands thread or selects closest child if already expanded,
- Left Arrow collapses thread or jumps to closest parent,
- Left Arrow + Ctrl selects top-most parent,
- Up/Down Arrow keys behavior didn't change.
5 years ago
Aleksander Machniak dc5be05a5f Select all records on the current list page with CTRL + A (#6813) 5 years ago
Aleksander Machniak d9e3218025 Fix bug where handling multiple messages from multi-folder search result could not work (#6845) 5 years ago
Aleksander Machniak 446ff50c57 Merge branch 'dev/display_next' of https://github.com/alecpl/roundcubemail into alecpl-dev/display_next 5 years ago
Aleksander Machniak 84c4d062c6 Unified and simplified keypress event handling on a list widget 5 years ago
Aleksander Machniak 6196278869 Fix bug where title text on a treelist record (folder) could include unread count number
Add skip-content class to unreadcount elements
5 years ago
Aleksander Machniak 7846505fa4 Don't expand groups without id
Skipping redundant request for cases like ACL plugin where we may deal
with groups that may have no mail, id nor source assigned in acl identifier
autocompletion.
5 years ago
Aleksander Machniak f6807bcc4c Added 'keyservers' option to define list of HKP servers for Enigma/Mailvelope (#6326) 5 years ago
Aleksander Machniak 22a47cced6 Changes in `display_next` setting (#6795)
- Move it to Preferences > User Interface > Main Options
- Make it apply to Contacts interface too
- Make it apply only if deleting/moving a previewed message/contact
6 years ago
Aleksander Machniak 0e4156ea83 Fix bug where Next/Prev button in mail view didn't work with multi-folder search result (#6793) 6 years ago
Aleksander Machniak 4ef87fe856 Support $HasAttachment/$HasNoAttachment keywords (#6201)
We use these only to display the attachment icon on the messages list.
6 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.
6 years ago
Aleksander Machniak c287dad54e Add dialog-open event (#6748) 6 years ago
Aleksander Machniak 3719ce0653 Don't use :has selector 6 years ago
Aleksander Machniak 2c38460b09 Make sure an event triggered by Enter key press on a link is treated as a keyboard event 6 years ago
Aleksander Machniak 8c471478f7 Merge branch 'dev/elastic' 6 years ago
Aleksander Machniak e67765b863 Fix bug where flag change could have been passed to a preview frame when not expected 6 years ago
Aleksander Machniak 00ef5d05ef Merge branch 'master' into dev/elastic 6 years ago
Aleksander Machniak ce9c52e65a Merge branch 'master' into dev/elastic 6 years ago
Aleksander Machniak 850d414443 Don't allow dragging .custom-control elements on folders list 6 years ago
Aleksander Machniak 187b51fd82 Fix bug where parent entry could be selected when clicking on a virtual entry 6 years ago
Aleksander Machniak 57c67db029 Remove year(s) from copyright headers + some cleanup 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 b304782cbc Elastic: Various cross-browser fixes and improvements 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 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 53c37a1321 WS and CS fixes 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 bca1397927 Fix links to Identities/Responses 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 43499432a5 Elastic: Fix height of select elements inside of composite fields
also make them pretty when added programatically.
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 fa754c4ebc Elastic: remove hover effect on dropbuttons when primary action is disabled (#6597) 6 years ago