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
604f84e1fb
Execute clickjacking prevention code only when framed
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
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
09c8b33439
Code deduplication
7 years ago
Aleksander Machniak
842d57e779
Fix setting height of a dialog without buttons pane
7 years ago
Aleksander Machniak
489ad88617
Small code de-duplication
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
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
PhilW
e7311e0e5e
more consistent function names
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
8fcd014040
Small improvement to .cancelupload button
7 years ago
Aleksander Machniak
ff1b994ece
More precise dialog height calculation - that works with various skins
7 years ago
Aleksander Machniak
1b87ec3144
Don't stop propagation in folder-selector click handler
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
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
a8aa559fa1
Use action=add-folder when creating a new folder
7 years ago
Aleksander Machniak
5031028d48
Elastic: Support more compact contact frame (info and form)
...
... plus some CS fixes
7 years ago
Aleksander Machniak
d815525c6a
Merge branch 'master' into dev-elastic
7 years ago
Aleksander Machniak
5e671885e4
Prevent from ghost messages on list after fast delete of multiple messages one-by-one ( #5941 )
7 years ago
Aleksander Machniak
da15d55665
Fix regression in qsearch() that skipped execution when called with no args
...
Some plugins would like to do search without value,
so we keep value != '' check to allow that use-case.
7 years ago
Aleksander Machniak
1c4e5a585f
Support displaying all message headers in a dialog, use GET instead of POST
7 years ago
Aleksander Machniak
5e08a6ac59
Handle remote stylesheets the same as remote images, ask the user to allow them ( #5994 )
...
Fixes the issue where remote stylesheet could have been blocked
if the message contained no remote images and user have no way to
allow that content.
7 years ago
Aleksander Machniak
22061cd38b
Support flexbox display for remote objects element
7 years ago
Aleksander Machniak
95360ef8ab
Use button instead of input.button in PGP keys search dialog
7 years ago
Aleksander Machniak
3c1b78af48
Merge branch 'master' into dev-elastic
7 years ago
Aleksander Machniak
fb02d4a747
Fix error when calling show_popup_dialog() with no 4th argument
7 years ago
Aleksander Machniak
951d6e0e32
Assign dialog button classes before displaying the dialog
7 years ago
Aleksander Machniak
79ea526d65
Fix missing cursor in HTML editor on mail reply ( #5969 )
7 years ago
Aleksander Machniak
96b21c5df3
Remove contentEditable element support as autocomplete input
7 years ago
Aleksander Machniak
81f76bf826
Fix corner-case for reading contentEditable element for autocomplete
7 years ago
Aleksander Machniak
27377e29dc
Trim text in subject_text(), so title attribute is displayed without unwanted spacing
...
Looks like at least Firefox does not trim i automatically.
7 years ago
Aleksander Machniak
93111b3bd7
Make possible to use thread padding value other than 15px
7 years ago
Aleksander Machniak
1bd327ecda
Add possibility to select first/last record after the list is loaded
...
.. for contacts and messages lists
7 years ago
Aleksander Machniak
3a77c906a1
Merge branch 'master' into dev-elastic
7 years ago
Aleksander Machniak
51c76c9bac
Add missing variable declaration
7 years ago
Aleksander Machniak
5200d82381
Fix so files size/count limit is verified (client-side) also on drag-n-drop uploads ( #5940 )
7 years ago
Aleksander Machniak
45aff25c66
Fix passing event argument when hiding the pagejump-selector menu
...
and fix keyboard event detection.
7 years ago
Aleksander Machniak
9672642479
Cleanup compose input checks (small improvement to the last commit)
7 years ago
Aleksander Machniak
b77cce8d3e
Fix sending message with "Too many public recipients" dialog buttons ( #5924 )
7 years ago
Aleksander Machniak
902eaa1f78
Remove height definition for "mark all as read" dialog
7 years ago
Aleksander Machniak
52158aa3c7
Fix height of dialogs that do not have a predefined height
...
This fixes e.g. "no subject" dialog or enigma passphrase dialog.
7 years ago
Aleksander Machniak
cf9019e462
Fix savetarget frame use ( #5897 )
7 years ago
Thomas Bruederli
8d882639d9
Bring back double-click behavior on the message list when preview pane is on ( #5823 )
...
This reverts commit 28741ed03
as requested in #5199 and implements an
approach inspired by @bostjan in that ticket.
7 years ago
Aleksander Machniak
13d203303e
Refactored Help plugin to use frames, added Elastic skin support
7 years ago
JohnDoh
afaaa7764b
Use list_widget.get_selection() rather than list_widget.selection ( #5879 )
7 years ago
Aleksander Machniak
ebfc8448aa
Small correction in dialog size calculation
7 years ago
Aleksander Machniak
06323ddef4
Support _filter and _scope as GET arguments for opening mail UI ( #5825 )
7 years ago
Aleksander Machniak
92d5406b4e
Better dialog size setting
7 years ago
Aleksander Machniak
429a1694b6
Fix various errors in mail bounce dialog
7 years ago
Aleksander Machniak
69795ebd1d
Simplify some css selectors
7 years ago
Aleksander Machniak
f6df78435e
Fix duplicated signature when using Back button in Chrome ( #5809 )
7 years ago
Aleksander Machniak
46c96bf0c0
Detach savetarget frame in onload or onerror
...
.. because before it was detached too early causing some code
from the iframe to be not executed.
7 years ago
Aleksander Machniak
58cae2ae5b
Better workaround for history issues
...
Before we used history.back() in mail compose to workaround
history issues related to hidden iframe use. This again stopped
working as we switched to about:blank instead of blank.gif href.
A better solution is to detach the iframe after use and re-append
again when needed.
7 years ago
Aleksander Machniak
b7e42de7ac
Fix regressions in check_compose_input()
7 years ago
Aleksander Machniak
1b2d3c0ac2
Email Resent (Bounce) feature ( #4985 )
7 years ago
Aleksander Machniak
4b2f2b6b3b
Use about:blank instead of blank.gif for empty iframes
8 years ago
Aleksander Machniak
86a4d78369
Merge branch 'dev-elastic'
8 years ago
Aleksander Machniak
6dee73a0ec
Support both comma and semicolon as recipient separator, drop recipients_separator option ( #5092 )
8 years ago
Aleksander Machniak
2ba2b1828c
Trigger onchange in ksearch_input_replace() on both supported input types
8 years ago
Aleksander Machniak
0e3623e87a
Fix setting Cancel button classes in simple_dialog()
8 years ago
Aleksander Machniak
682e88710b
Display loading message when going to another page ( #5541 )
8 years ago
Aleksander Machniak
9858c2a294
Merge branch 'master' into dev-elastic
8 years ago
Aleksander Machniak
02d4489df7
Replace new line characters from the response name
...
...when the name was derived from the response text.
8 years ago
Aleksander Machniak
542a817214
Define more classes for dialog buttons
8 years ago
Aleksander Machniak
5a61e3487e
Set more classes to buttons in restore message dialog
8 years ago
Aleksander Machniak
d430903f6b
Support contentEditable elements for autocomplete
8 years ago
Aleksander Machniak
559254d6ee
Use <button> instead of <input> for submit button on logon screen
8 years ago
Aleksander Machniak
b314dfc548
Fix (restore) Tab key behaviour in autocomplete popup ( #5659 )
...
And make it to jump to the next field after inserting selected autocomplete entry.
8 years ago
Aleksander Machniak
1d0cecb41a
Add autocomplete_create event so plugins/skins can do something on the autocomplete popup element
8 years ago
Aleksander Machniak
4b9a08657f
Set save button css class in simple dialog according to its label
8 years ago
Aleksander Machniak
ae8ff966b5
Fix (again) context of close function in simple dialog
8 years ago
Aleksander Machniak
29668f4c97
Fix context in close function of simple dialogs
8 years ago
Aleksander Machniak
4525388337
More unified style of folder-selector
8 years ago
Aleksander Machniak
aba37bfcaf
Make 'compose' command always enabled
8 years ago
Aleksander Machniak
adbab9d3e2
Merge branch 'master' into dev-elastic
8 years ago
Aleksander Machniak
ba11e844f7
Added optional checkbox selection for the list widget
8 years ago
Aleksander Machniak
e2d80479d6
Make possible to set (some) config options from a skin
8 years ago
Aleksander Machniak
3dd24bce75
Merge pull request #5658 from JohnDoh/group-rename
...
small amendment to #5652
8 years ago
JohnDoh
d379dc897a
small fix for current group detection and add similar rules for group-delete
8 years ago
Aleksander Machniak
ec98aa5b52
Merge pull request #5652 from JohnDoh/group-rename
...
don't use env for group-rename action
8 years ago
Aleksander Machniak
cd61d7ebd0
Minimize unwanted message loading in preview frame on drag ( #5616 )
...
also remove dummy_select flag which is not needed anymore.
8 years ago
Aleksander Machniak
dae5ffd07a
Fix bug where it was too easy accidentally move a folder when using the subscription checkbox ( #5655 )
8 years ago
JohnDoh
336e937946
also fix source in group create function
8 years ago
JohnDoh
82d049f1a2
check group id matches current one before changing the title
8 years ago
PhilW
e6f18ba6a6
Merge branch 'master'
8 years ago
Aleksander Machniak
95a7ece543
Fix update of group name in the contacts list header on group rename ( #5648 )
8 years ago
JohnDoh
f40e515cb2
don't use env for group-rename action
8 years ago
Aleksander Machniak
df88d10f13
simple_dialog() improvements
8 years ago
Aleksander Machniak
3e427b4a42
Fix double http request regression ( #5633 )
...
Removed 'click' event handler on messages list which was used only
to allow message re-selection. As this feature was broken since 0.9
it looks like we don't really need it. When you're in ctrl-selection
state you can easily ctrl-unselect the message.
8 years ago
Aleksander Machniak
2d9444bef0
Display contact import and advanced search in popup dialogs
8 years ago
Aleksander Machniak
46e3b94826
Fix bug where signature couldn't be added above the quote in Firefox 51 ( #5628 )
8 years ago
Aleksander Machniak
9cf1e83d7a
Fix autocomplete popup closing ( #5606 )
...
1. Tab key does not work as Enter. Now it works as Escape and jumps to another input.
2. Click on document (outside of the autocomplete input and popup) closes the popup.
8 years ago
Aleksander Machniak
3cc5eb158a
Add event argument to button function in simple_dialog()
8 years ago
Aleksander Machniak
7323f633f7
Fix bug where re-selection of messages list record didn't work
...
A regression in old commit 24fa5d3154
8 years ago
Aleksander Machniak
7ef975490b
Unified and simplified code for loading content frame for responses and identities
8 years ago
Aleksander Machniak
5ba3f2f596
Various small improvements for templating engine and skin behaviours
8 years ago
Aleksander Machniak
cc10cbe039
Make button object to be a <button> by default
8 years ago
Aleksander Machniak
78237c84b4
Fix bug where mail content frame couldn't be reset in some corner cases ( #5608 )
8 years ago
Aleksander Machniak
cb58d37bbc
Avoid closure compiler suspicious code warning ( #5584 )
8 years ago
Aleksander Machniak
6eb8f89b4d
Remove redundant code
8 years ago
Aleksander Machniak
f65f4bbca8
Fix pdf object visibility
8 years ago
Aleksander Machniak
8086099621
Small code improvements in PDF capability checker
8 years ago
Aleksander Machniak
9d45ef20cc
Fix so group/addressbook selection is retained on page refresh
8 years ago
Aleksander Machniak
15bd0b51a4
Improve mailvelope decryption errors handling, hide encrypted part attachment on successful decryption ( #5279 )
...
+ small style improvements
8 years ago
Aleksander Machniak
930c921bed
Disable Print button for pdf attachments in Firefox ( #5125 )
...
Mozilla's PDF.js viewer does not allow printing from host page.
We try to detect such situation and disable the button to minimize
user confusion.
8 years ago
Aleksander Machniak
2482088a76
Possibility to display QR code for contacts data ( #5030 )
8 years ago
Aleksander Machniak
a844db6a27
Merge branch 'dev-layouts'
8 years ago
Aleksander Machniak
e17fcf1649
Support ALLOW-FROM in x_frame_options ( #5122 )
8 years ago
Aleksander Machniak
386af483ce
Fix redundant keep-alive/refresh after session error on compose page ( #5500 )
8 years ago
Aleksander Machniak
2dbbaf7739
Warn about too many disclosed recipients in composed email [max_disclosed_recipients] ( #5132 )
...
Allow to omit a subject when sending an email (#5068 )
8 years ago
Aleksander Machniak
28741ed032
Disable double-click on the list when preview pane is on ( #5199 )
...
This eliminates delay when opening a message in preview pane.
8 years ago
Aleksander Machniak
556c1725a7
Unify automatic marking as \Seen in preview pane, full-page and extwin views ( #5071 )
...
We now have one 'mail_read_time' option that works for all cases.
Option 'preview_pane_mark_read' has been removed and marked as an alias.
8 years ago
Aleksander Machniak
1727071816
Better handling of rcube_text_editor.replace()'s input argument, some simplification
8 years ago
Aleksander Machniak
571a10751f
Display error when trying to upload more files than specified in max_file_uploads ( #5483 )
8 years ago
Aleksander Machniak
d305f4f0fd
Separate action to mark all messages in a folder as \Seen ( #5006 )
...
with possibility to do this in all folders or in a folder and its subfolders (#5076 )
8 years ago
Aleksander Machniak
638afafbd2
Make so rcmail.log() depends on devel_mode ( #5193 )
8 years ago
Aleksander Machniak
d85f30bec4
Archive: Don't reload messages list when it's not needed ( #5225 )
...
Archive: Add option to automatically mark archived messages as \Seen (#5142 )
8 years ago
Aleksander Machniak
6886a4de3f
Widescreen layout aka three column view ( #5093 )
8 years ago
Aleksander Machniak
a8d41ac7f4
Fix some undefined variables
8 years ago
Aleksander Machniak
bfbab5bcde
Fix keyboard event detection with jQuery 3.x and remove hacks for old browsers
...
This fixes e.g. unwanted focus on a toolbar button after closing popup
menu with mouse click on the document.
8 years ago
Aleksander Machniak
2e1675bc4a
Center and scale images in attachment preview frame ( #5421 )
8 years ago
Aleksander Machniak
ce0c42ed8a
Fix error causing empty INBOX listing in Firefox when using an URL with user:password specified ( #5400 )
8 years ago
Aleksander Machniak
99cb08c41c
Fix so "All" messages selection is resetted on search reset ( #5413 )
8 years ago
Aleksander Machniak
80919e1cf5
Added Search button in quick search menus ( #5312 )
8 years ago
Aleksander Machniak
873e0353cf
Use smart-upload-button for messages and contact photos upload
...
Unified interface with rcmail::upload_form().
8 years ago
Aleksander Machniak
de5da687e4
Remove code for "placeholder" attribute support in old browsers
8 years ago
Aleksander Machniak
43f3c5fb2a
Implement "one click" attachment upload ( #5024 )
8 years ago
Aleksander Machniak
eecc601601
Fix compatibility with jQuery 3.x
8 years ago
Aleksander Machniak
9e3263acbe
Simplify popup dialogs creation
8 years ago
Aleksander Machniak
94eb2e5a40
Make the attachment rename input bigger (size: 50)
8 years ago
Aleksander Machniak
ebc2f5dc7d
Add possibility to rename attachments in mail compose ( #4996 )
...
... and fix some small issues related to the new compose attachment menu feature
8 years ago
Aleksander Machniak
8a13615e9e
Add possibility to preview and download attachments in mail compose ( #5053 )
8 years ago
Aleksander Machniak
64763853c9
Fix javascript errors in IE on page with iframe that points to another domain
8 years ago
Aleksander Machniak
7a7a6795f0
Support WEBP images in mail messages ( #5362 )
8 years ago
Aleksander Machniak
1988f68660
Merge pull request #5203 from bostjan/foundation-for-customizable-contacts-autocomplete
...
Foundation for customizable contacts autocomplete
8 years ago
Aleksander Machniak
437aca39e0
Enigma: Import keys from key-server(s) ( #5286 )
8 years ago
Aleksander Machniak
8e65f618c5
Display full message subject in onmouseover on truncated subject in mail view ( #5346 )
8 years ago
Aleksander Machniak
352c6329cc
Enigma: Search missing public keys on a key-server in mail compose ( #5286 )
9 years ago
Aleksander Machniak
d08bd0a51f
Searching in both contacts and groups when LDAP addressbook with group_filters option is used
9 years ago
Aleksander Machniak
d0bb0a9c9d
Fix subscription checkbox state on error in folder subscribe/unsubscribe action ( #5243 )
9 years ago
Aleksander Machniak
b9d3fb0221
Display different attachment icon on encrypted messages
9 years ago