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
1 year ago
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+\{
2 years ago
Michael Voříšek
2643be3eaa
Fix single quotes CS ( #9283 )
* Fix "single_quote"
* fix "escape_implicit_backslashes"
* fix typo from f363481c
* fix single quotes in JS
* fix some minor JS CS
* fix CS v3.45.0
2 years ago
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
2 years ago
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
2 years ago
Aleksander Machniak
e01ec25aac
Use setTimeout() without window. prefix consistently
4 years ago
Sebastian Abshoff
362cd20b78
Reuse clonerow event to update toggle within active search
5 years ago
johndoh
3af6303ad7
Remove depreciated jquery.trim function ( #7371 )
5 years ago
Aleksander Machniak
fa34e5ebcd
Fix bug where a new saved search added after removing all searches wasn't added to the list ( #7061 )
6 years ago
Aleksander Machniak
8d81df7dc3
Fix bug where a new contact group added after removing all groups from addressbook wasn't added to the list
6 years ago
Aleksander Machniak
dbc2b5e11c
Fix bug where deleting a saved search in addressbook caused display issue on sources/groups list ( #7061 )
also remove dead code.
6 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()
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
3719ce0653
Don't use :has selector
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
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
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.
8 years ago
Aleksander Machniak
4a5941c24b
Fix get_next() for case when the node is last in the tree branch
8 years ago
Aleksander Machniak
459cc7ab6d
Fix bug where removing the last subfolder did not hide toggle button on its parent record ( #6007 )
8 years ago
Aleksander Machniak
19ad6b15e8
Add (unified) get_next/get_prev/get_single_selection methods for list and treelist widgets
8 years ago
ka7
9a35768c26
spelling fixes ( #5690 )
9 years ago
Aleksander Machniak
c13119b81c
Fix bug where folders list would scroll to top when clicking on subscription checkbox ( #5447 )
9 years ago
Aleksander Machniak
4bf4afec68
Fix so folders list is scrolled to the selected folder on page load ( #5424 )
9 years ago
Aleksander Machniak
7caa9f5f50
Fix error on dragging when search in treelist is active
10 years ago
Aleksander Machniak
1484d5fb7f
Fix resetting search input events when the treelist is re-initialized, some CS improvements
10 years ago
Aleksander Machniak
e524680a13
Fix 'last' property of search event
10 years ago
Thomas Bruederli
d17975c776
Do not re-append an existing node when re-rendering with childs
11 years ago
Thomas Bruederli
db6663b936
Update internal reference to treelist node contents after insert. Fixes some strange behavior in FF 3.6
11 years ago
Thomas Bruederli
ceee7eb110
Prevent folder selection changes if app is busy ( #1490158 )
11 years ago
Aleksander Machniak
3d8745bd0b
Fix drag-n-drop to folders expanded while dragging ( #1490157 )
11 years ago
Thomas Bruederli
7acda7a6f4
Also remove cloned search item from treelist
11 years ago
Thomas Bruederli
4a25b69828
Small tweaks for treelist interactions
11 years ago
Thomas Bruederli
3fb36a11fe
Add option to focus a treelist widget on clicks to the container ( #1489997 )
11 years ago
Thomas Bruederli
48e340a829
Allow focussing treelist item checkboxes with tab and normal list navigation with cursor keys ( #1489648 )
11 years ago
Aleksander Machniak
e9ecd49f74
Added namespace filter in Folder Manager
11 years ago
Aleksander Machniak
ef4c478760
Reset search after folder creation/remove/rename
11 years ago
Aleksander Machniak
66233b76c8
Added folder searching in Folder Manager
11 years ago
Thomas Bruederli
00dd283999
Getter to detect if treelist widget is in search mode
11 years ago
Aleksander Machniak
2c0d3e1dd0
Fix drag-n-drop after folder move/create ( #1489648 )
11 years ago
Aleksander Machniak
3cb61e7528
Collapsible (and iconized) folders tree in folder manager ( #1489648 )
11 years ago
Aleksander Machniak
793fa9876a
Remove leftover code - fixes js error
11 years ago
Aleksander Machniak
c6447e2ce2
Use treelist widget for folders list in Settings/Folders ( #1489648 )
11 years ago
Thomas Bruederli
50177172e4
Apply selection styles to clones search result items, too
11 years ago
Thomas Bruederli
0ebb250164
Minor optimization
11 years ago
Thomas Bruederli
dfc9d7f209
Mute clicks on virtual treelist item links (they need tabindex=0 in order to be focusable by keyboard though)
11 years ago
Thomas Bruederli
a6a66b687f
Fix updating and re-sorting treelist nodes
11 years ago
Thomas Bruederli
9cc0c12bcd
Allow to move a treelist node to a new parent with .update()
11 years ago