Commit Graph

50 Commits

Author SHA1 Message Date
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
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
2023-12-31 16:36:55 +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
Aleksander Machniak
d1f16ebb97 Fix so dark mode state is retained after closing the browser (#8237) 2021-10-22 18:30:58 +02:00
Aleksander Machniak
e01ec25aac Use setTimeout() without window. prefix consistently 2021-07-14 13:18:58 +02:00
Josh Soref
203f456620 Spelling (#8001) 2021-04-18 08:43:18 +02:00
Aleksander Machniak
8c4c211cb0 Fix scroll jump on key press in plain text mode of the HTML editor (#7622) 2020-09-24 17:20:23 +02:00
Aleksander Machniak
5373f1839d Fix googiespell popup in all skins 2019-09-06 20:44:38 +02:00
Aleksander Machniak
ce9c52e65a Merge branch 'master' into dev/elastic 2019-04-27 10:53:46 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02: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
PhilW
e7311e0e5e more consistent function names 2017-11-18 13:17:14 +00:00
PhilW
af52df68bf use skinned alert and confirm boxes in plugins 2017-11-18 09:50:43 +00:00
Aleksander Machniak
6c11825a0d Improve googiespell widget for better styling capabilities
.. it is possible to style it with css, no images are required
2017-03-16 13:50:50 +01:00
Aleksander Machniak
d9ff47b011 Don't use deprecated (soon) jQuery .bind() and .unbind() methods 2015-10-13 08:57:45 +02:00
Aleksander Machniak
421ed1e545 Fix compose body area size, so scrollbars aren't truncated, unify padding 2014-10-27 17:51:28 +01:00
Thomas Bruederli
b34d679075 Specify licenses in all javascript files and blocks to please LibreJS 2014-04-27 15:35:07 +02:00
Aleksander Machniak
a54cff4c56 Fix error when spell-checking an empty text (#1489831) 2014-04-25 09:55:00 +02:00
Aleksander Machniak
eb0dec9613 Fix XSS issue in plain text spellchecker (#1489806) 2014-04-14 15:07:12 +02:00
Aleksander Machniak
e24eba0fc5 DOn't use deprecated jQuery.browser, CS fixes (tabs to spaces) 2013-01-18 18:22:32 +01:00
Aleksander Machniak
ae7027de02 Added session_path config option and unified cookies settings in javascript 2012-08-20 09:32:25 +02:00
Aleksander Machniak
041c93ce0b Removed $Id$ 2012-05-22 12:31:37 +02:00
alecpl
2b4855b1aa - Add Russian to the spellchecker languages list (#1488135) 2012-02-28 12:00:12 +00:00
thomascube
7fe3811c65 Changed license to GNU GPLv3+ with exceptions for skins and plugins 2012-01-18 11:10:46 +00:00
thomascube
307e684211 Clarify licenseing of forked Googiespell code 2011-11-18 09:55:58 +00:00
alecpl
784c0cf54c - Fix GCC warning in googiespell.js (#1488090) 2011-09-17 16:10:55 +00:00
alecpl
de36863ea0 - Fix js error when calling spellchecker on empty textarea 2011-09-13 07:14:03 +00:00
alecpl
66df084203 - Merge devel-spellcheck branch:
- Added spellchecker exceptions dictionary (shared or per-user)
  - Added possibility to ignore words containing caps, numbers, symbols (spellcheck_ignore_* options)
2011-09-06 13:39:45 +00:00
alecpl
340546c975 - Optimization for spellcheck_before_send: don't invoke new ajax request. While we already have mispellings, we can return them and enable spellchecker directly without querying the server again 2011-05-31 07:38:56 +00:00
alecpl
644e3ad912 - Fix setting language for spellchecker on spellcheck_before_send 2011-05-30 17:08:47 +00:00
alecpl
ef4f591a1d - Unify typeof and undefined usage 2011-02-01 09:08:17 +00:00
alecpl
f48a94cb50 - Remove Close buttons in googiespell popups 2010-10-27 11:06:39 +00:00
alecpl
ad334a1257 - Improve displaying of UI messages (#1486977) 2010-10-13 18:44:41 +00:00
alecpl
48e8b31b1e - Fix googiespell click events handling 2010-10-13 08:35:08 +00:00
alecpl
f75adec3e7 - Improvements in googiespell styles 2010-10-13 08:00:20 +00:00
alecpl
9bfcb3b98c - small fix for googie layer height setting 2010-06-30 17:56:31 +00:00
alecpl
b8d4febf6c - googiespell layer resizing + small css improvements
- better googiespell suggestions popup positioning
2010-06-30 11:17:51 +00:00
alecpl
087c7dc5d2 - Improved compose screen: resizable body and attachments list, vertical splitter, options menu
- Removed productname/version element, changed footer size to 20px
2010-06-29 19:27:26 +00:00
alecpl
ae8a2a5527 - fixed identation + some code improvements 2010-06-02 12:06:10 +00:00
alecpl
677e1f26fe - Some files from /bin + spellchecking actions moved to the new 'utils' task 2010-05-18 10:25:29 +00:00
alecpl
1617dbb6a4 - Fix IE spellcheck suggestion popup issue (#1486471) 2010-02-23 17:22:39 +00:00
alecpl
91a35ee012 - use lowercase in html tag names (to make switch to xhtml simpler in the future) 2009-07-17 08:46:59 +00:00
thomascube
aee4601907 Fix Googiespell 2009-05-18 08:12:42 +00:00
alecpl
309d2f40a0 - jQuery'fied GoogieSpell 4.0 + some changes in compose 2009-05-01 19:27:36 +00:00
thomascube
ffa6c1011c Update Googiespell to version 4.0 2009-05-01 16:58:25 +00:00
svncommit
2c633703e9 upgrade to TinyMCE v2.1.1.1 2007-05-24 03:49:19 +00:00
svncommit
bb76bc6465 Fix Google spell checking in IE7 (closes #1484259). 2007-02-21 10:27:53 +00:00
thomascube
ed5d29f4b3 Finalized GoogieSpell integration 2006-05-25 18:25:04 +00:00
thomascube
dd53e2b489 Started integrating GoogieSpell 2006-05-01 16:27:19 +00:00