Michael Voříšek
332c165d28
Fix some basic JS CS ( #9328 )
...
* fix "nonblock-statement-body-position" (fixed already)
* fix "comma-dangle"
* fix "no-regex-spaces"
* fix "new-parens"
* fix "object-curly-newline"
* fix "object-property-newline"
* fix "spaced-comment" semimanually
* fix "no-constant-condition" manually
* fix "unicorn/no-hex-escape"
* fix "unicorn/escape-case"
* fix "quote-props"
* fix "no-whitespace-before-property" - fix bug/typo
* fix "unicorn/empty-brace-spaces"
* fix "keyword-spacing"
* fix "dot-notation"
* fix "no-return-assign" manually
* fix "padding-line-between-statements"
* fix "key-spacing"
* fix "no-else-return" semimanually
* fix some "no-undef"
* fix case cs
* Revert "fix "padding-line-between-statements""
* improve switch/case format I.
* improve switch/case format II.
regex: (^ *(break|return).*)\n *(\n)
* fix safe "eqeqeq"
* fix "radix"
* fix v3.49.0 CS (static providers)
* fix "string_implicit_backslashes" in php files
* fix comments align
* fix test static providers
* fix stan
* disable "final_internal_class" rule
2024-02-06 08:28:19 +01:00
Michael Voříšek
ecd2796622
Fix JS whitespace CS ( #9327 )
...
* fix "no-extra-semi"
* fix "object-curly-spacing"
* fix "block-spacing"
* fix "padded-blocks"
* fix "space-before-blocks"
* fix "space-before-function-paren"
* fix "operator-linebreak"
* fix "space-unary-ops"
* fix "space-infix-ops"
* fix most "brace-style"
* fix "curly"
* fix most "brace-style" II
* fix "no-multi-spaces"
* search regex: (?<=\n)( +)(?! ).*\n(?!\1)( +)(&&|\|\||\()
* search regex: (?<=\n)( +)(?! |\*/).*(?<!;)\n(?!\1)( +)(?! |\}|\]|\)|\.)
* fix mostly "brace-style" /w allowSingleLine: false
* fix cs
* search regex: (//|/\*).*\n\s+\{
2024-01-30 07:50:02 +01:00
Michael Voříšek
740267fac0
Lint JS files using eslint and normalize JS indentation ( #9280 )
...
* Lint JS using eslint
* Fix "comma-spacing"
* Fix "semi"
* Fix indent to unified 4 spaces as for PHP
* ignore symlinked public_html/* files
2023-12-23 17:08:32 +01:00
Michael Voříšek
28c778b7a0
Modernize more CS III ( #9270 )
...
* fix "single_trait_insert_per_statement"
* fix "empty_loop_condition"
* fix "backtick_to_shell_exec"
* fix "phpdoc_to_comment"
* fix "no_empty_statement"
* fix "heredoc_to_nowdoc"
* fix "class_reference_name_casing"
* fix "align_multiline_comment"
* fix "heredoc_indentation"
* fix "constant_case"
* fix "single_line_comment_style"
* fix "no_null_property_initialization"
* fix "standardize_increment"
* fix "no_unneeded_control_parentheses"
* fix missing NL after "<?php"
* fix php in *.sh files too
* fix trailing spaces from all text files
* fix "explicit_indirect_variable"
* Revert "fix "align_multiline_comment""
This reverts commit 42e584f8e3 .
* fix "align_multiline_comment" properly
* Revert "fix trailing spaces from all text files" - diff files only
* Revert "Revert "fix trailing spaces from all text files" - diff files only"
This reverts commit 2101c2a3a3 .
* rm useless "setup-php" config
2023-12-18 07:46:51 +01:00
Aleksander Machniak
1250a420ae
Fix bug where it wasn't possible to scroll lists by clicking middle mouse button ( #8942 )
2023-03-19 11:11:00 +01:00
Josh Soref
203f456620
Spelling ( #8001 )
2021-04-18 08:43:18 +02:00
Aleksander Machniak
2de9d11070
Fix regression where drag-n-drop content was empty on mail messages list
2020-07-18 09:47:37 +02:00
johndoh
3c4b2ac1bc
Improve JS Edge version detection, add support for Edge Chromium ( #6952 )
2020-07-01 11:42:08 +02:00
johndoh
3af6303ad7
Remove depreciated jquery.trim function ( #7371 )
2020-05-04 08:27:10 +02:00
johndoh
81dcf4a7de
Allow possibility to define the container of a table with a fixed header ( #7239 )
2020-03-15 11:32:13 +01:00
johndoh
97732d5de7
Add selection element to theads as well as tbodies ( #7238 )
2020-03-14 11:57:41 +01:00
Aleksander Machniak
9219f4cd65
Fix so use of Ctrl+A does not scroll the list ( #7020 )
2019-11-26 10:35:42 +01:00
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.
2019-08-09 13:28:42 +02:00
Aleksander Machniak
dc5be05a5f
Select all records on the current list page with CTRL + A ( #6813 )
2019-08-02 19:19:14 +02:00
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
2019-06-10 13:44:17 +02:00
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
2019-04-16 10:42:45 +02:00
Aleksander Machniak
5058d36581
Fix bug where next row wasn't selected after deleting a collapsed thread ( #6655 )
2019-03-04 13:08:47 +01:00
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)
2019-02-17 09:59:27 +01:00
Aleksander Machniak
66550f65ae
Support enabling checkbox selection on list after intialization and existing records
2018-05-10 09:45:46 +02:00
johndoh
8eebbbfba4
Use timer to differentiate touch or touch + hold events ( #6259 )
2018-04-26 14:56:57 +02:00
johndoh
2f7aaca342
Allow plugins to prevent multiple execution of getselection JS event ( #6256 )
2018-04-21 08:25:33 +02:00
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
2018-02-25 08:34:05 +01:00
Aleksander Machniak
a17c123903
Fix drop action (using jquery-ui draggable) on rcube_list_widget
2018-01-11 13:05:41 +01:00
Aleksander Machniak
230fc1203d
Disable tabIndex on selection checkboxes
2018-01-02 09:54:34 +01:00
Aleksander Machniak
fbc4486881
Fix so Shift selection also works on list selection checkboxes
2017-12-27 13:37:07 +01:00
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.
2017-11-21 13:14:44 +01:00
Aleksander Machniak
552a851d6c
Append "..." to draglayer as div, the same as other drag entries
2017-11-13 19:17:12 +01:00
Aleksander Machniak
9d1c8aff83
Elastic skin support for managesieve (part II)
2017-10-16 17:31:18 +02:00
Aleksander Machniak
19ad6b15e8
Add (unified) get_next/get_prev/get_single_selection methods for list and treelist widgets
2017-09-12 18:06:29 +02:00
Aleksander Machniak
afa03008c7
Code simplification
2017-09-07 19:26:55 +02:00
Aleksander Machniak
e9eb87d6f4
Add 'getselection' event to the list widget
2017-07-23 17:37:10 +02:00
JohnDoh
5edfd5722e
improve detection for Egde browser and add pointer event support ( #5783 )
...
add support for pointer events on list widget, use either pointer or touch events, not both
2017-07-07 11:36:11 +02:00
Aleksander Machniak
431b9d6b75
Fix update_row() for lists with checkbox selection
2017-03-15 15:52:39 +01:00
Aleksander Machniak
ba11e844f7
Added optional checkbox selection for the list widget
2017-03-03 09:13:53 +01:00
Aleksander Machniak
6886a4de3f
Widescreen layout aka three column view ( #5093 )
2016-09-17 19:04:33 +02:00
Aleksander Machniak
d7089c81d6
Fix so messages list does not lose focus when releasing drag-n-drop outside of the list
2016-08-29 13:31:57 +02:00
Aleksander Machniak
378d10b748
Fix bug where message list columns could be in wrong order after column drag-n-drop and list sorting
2016-05-20 11:17:21 +02:00
Aleksander Machniak
7dad859ffa
Fix message list multi-select/deselect issue ( #5219 )
2016-04-21 08:30:42 +02:00
Aleksander Machniak
8bbb454524
Fix list row selection when provided uid is number not a string
2016-02-14 12:47:30 +01:00
Aleksander Machniak
2a6cf5bb0e
Fix responses list update issue after response name change ( #1490555 )
2015-09-30 19:13:40 +02:00
Aleksander Machniak
3d0747957e
Fix some javascript errors in rare situations ( #1490441 )
2015-07-31 13:41:57 +02:00
Aleksander Machniak
8b40575b5c
Fix wrong positioning of message list header on page scroll in Webkit browsers ( #1490035 )
2015-07-31 13:24:03 +02:00
Aleksander Machniak
1af5595b90
Fix mouseup event handling when dragging a list record ( #1490359 )
...
This fixes drag-n-drop on managesieve filters list.
2015-04-18 03:04:32 -04:00
Aleksander Machniak
65e735dec5
Fix javascripts errors in IE8 - lack of Event.which, focusing a hidden element ( #1490318 )
2015-03-12 20:48:19 +01:00
Aleksander Machniak
b7e3b15a8a
Fix javascript error in "IE 8.0/Tablet PC" browser ( #1490210 )
2015-01-16 09:47:46 +01:00
Aleksander Machniak
091f5e2978
Fix css selectors in resize() for IE ( #1490213 )
2015-01-10 17:39:51 +01:00
Aleksander Machniak
3350458b87
Catch only left-button clicks on the list widget's mouseup handler
2014-10-25 17:53:54 +02:00
Aleksander Machniak
588d1948ca
Don't cancel event on parent focus
2014-09-02 09:16:33 +02:00
Aleksander Machniak
e66a77e560
Fix contacts list update after adding/deleting/moving a contact ( #1490028 , #1490033 )
2014-08-17 09:11:56 +02:00
Aleksander Machniak
e32da281bb
Make possible to skip some elements from subject cell when creating text for drag layer
2014-08-05 07:45:20 -04:00