Commit Graph

145 Commits

Author SHA1 Message Date
Philip Weir
ccede1f272 Update links in comments and config to https where available (#9759) 2025-01-26 13:34:57 +01:00
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
Aleksander Machniak
7f459502ab Fix bug in collapsing/expanding folders with some special characters in names (#9324) 2024-01-28 10:35:21 +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
1b138d4f4d Fix so recipients with a domain ending with .s are allowed (#8854) 2023-04-10 10:09:56 +02:00
Aleksander Machniak
ca264770fd Fix possible js error (#8543) 2022-05-29 10:28:48 +02:00
Aleksander Machniak
6a12cb7b67 Remove browser compatibility check
Improved code style, localized some more errors.
Added tests for utils/error action
2021-01-10 11:46:47 +01:00
Aleksander Machniak
703c9287b1 Use SameSite=Lax for cookies set client-side
to silence an annoying warning in Firefox console.
2021-01-09 13:10:33 +01:00
johndoh
3c4b2ac1bc Improve JS Edge version detection, add support for Edge Chromium (#6952) 2020-07-01 11:42:08 +02:00
Christopher Gurnee
c3d4598985 Add missing \'s to regexes in rcube_check_email() 2020-05-10 10:25:40 +02:00
Aleksander Machniak
bdf0a6539e Relaxed domain name validation for extended TLDs support (#5588) 2020-01-19 19:21:28 +01:00
Aleksander Machniak
2c38460b09 Make sure an event triggered by Enter key press on a link is treated as a keyboard event 2019-05-05 10:06:54 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
a86d9cd5aa Fix so unicode in local part of the email address is also supported in recipient inputs (#6490)
Relax javascript email address checker.
2018-10-24 11:17:02 +02:00
Aleksander Machniak
3e241d728c Remove IE7 hack 2018-04-20 13:42:06 +02:00
Aleksander Machniak
0d8afd2b01 Fallback to document element if an event (maybe custom) has no target nor srcElement specified 2018-01-02 12:13:40 +01:00
johndoh
5dbe1f2a5e A device can't be a tablet and a mobile (#6086) 2017-12-11 09:07:06 +01:00
Aleksander Machniak
d76f255c3b Improve iPad/iPhone detection
Some devices do not set iPhone/Ipad string in User-Agent, so we
have to check also navigator.platform.
2017-12-03 18:21:05 +01:00
Aleksander Machniak
45aff25c66 Fix passing event argument when hiding the pagejump-selector menu
and fix keyboard event detection.
2017-09-03 16:30:36 +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
955090ef1e Add Edge browser detection with 'edge' class for <html> element
Additional 'ms' class for both IE and Edge.
2017-05-05 13:05:42 +02:00
Aleksander Machniak
ebb5d95288 Add also String.endsWith() polyfill 2017-04-18 17:32:27 +02:00
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)
2016-11-06 09:39:16 +01:00
Aleksander Machniak
a8d41ac7f4 Fix some undefined variables 2016-09-08 08:48:21 +02:00
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.
2016-09-05 11:09:24 +02:00
Aleksander Machniak
de5da687e4 Remove code for "placeholder" attribute support in old browsers 2016-08-24 10:52:34 +02:00
Aleksander Machniak
d7c4c3fb62 Drop IE9 support 2016-08-15 18:24:09 +02:00
Aleksander Machniak
9ae41d906e Fix unicode-awareness of Base64 encoding implementation in javascript 2016-02-22 18:35:14 +01:00
Thomas Bruederli
f189d72943 Merged branch 'dev-mailvelope' 2015-09-10 21:27:58 +02:00
Aleksander Machniak
284aac2883 Really make base64 encoding unicode-aware 2015-08-14 05:08:54 -04:00
Aleksander Machniak
c16ac71416 Fix base64.encode/decode for unicode characters - use fallback if btoa/atob functions fail 2015-08-13 12:58:44 +02:00
Thomas Bruederli
bcbc459d2c Fix regex quoting 2015-07-31 22:02:10 +02:00
Aleksander Machniak
c2df5d4e13 Unified request* event arguments handling, added support for _unlock and _action parameters 2015-03-09 09:24:05 -04:00
Aleksander Machniak
06d4243d2e Fix Opera browser detection in javascript (#1490307) 2015-03-08 13:48:41 +01:00
Aleksander Machniak
b6b2858b01 Fix checks based on window.ActiveXObject in IE > 10 2015-01-10 14:20:12 +01:00
Aleksander Machniak
51cae1f5ec Fix keyboard event detection in Opera (#1489929) 2014-06-09 19:49:11 +02:00
Thomas Bruederli
bf33799377 Navigate with arrow keys only in treelist widgets; fix keyboard event detection in IE; new text label to help screen readers 2014-06-05 16:44:35 +02:00
Thomas Bruederli
99cdca46b7 Merge branch 'dev-accessibility'
Conflicts:
	program/include/rcmail_output_html.php
	program/js/app.js
	program/js/treelist.js
	program/lib/Roundcube/html.php
	skins/larry/styles.css
	skins/larry/templates/compose.html
2014-06-05 09:18:07 +02:00
Thomas Bruederli
f5de03208e Replace Array.prototype.last() with jQuery.last to avoid side-effects in array iterations 2014-05-27 17:30:56 +02:00
Thomas Bruederli
6789bf1f4d Moved popup-menu functions to Roundcube core for seamless integration of (stackable) skin and core menus 2014-05-08 18:19:20 +02:00
Aleksander Machniak
c0037f1882 Improve rcube_find_object() performance by prefering getElementById() as this is the most common case 2014-05-02 11:40:10 +02:00
Aleksander Machniak
f923d4bac1 Small code improvements 2014-05-02 11:06:50 +02:00
Thomas Bruederli
e8bcf08c72 1. Prepare core and Larry skin for improved accessibility
2. Implement full keyboard navigation in main mail view
2014-04-30 16:21:29 +02: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
1db17abe7e Fix next message display after removing a message (#1489800) 2014-04-18 13:04:23 +02:00
Aleksander Machniak
e5a77d2634 Merge branch 'master' of github.com:roundcube/roundcubemail 2014-04-16 10:50:43 +02:00
Aleksander Machniak
398b7a9b0b Use (deprecated) event.returnValue on legacy browsers only 2014-04-16 10:50:06 +02:00
Aleksander Machniak
5be6dcf0e2 Remove useless debug_level=8 and javascripts's rcube_console 2014-04-15 19:19:56 +02:00