Commit Graph

1528 Commits

Author SHA1 Message Date
Aleksander Machniak
fac042bc72 CS fix 2025-06-12 15:50:46 +02:00
Aleksander Machniak
51bd798fe5 CS fix 2025-06-12 15:46:40 +02:00
Aleksander Machniak
0666d8b22e Fix browser history state after removing a contacts group
If we add _gid=0 to the URL, which is how it was before this change,
after a page refresh the currently selected source will not be selected
2025-06-12 15:43:45 +02:00
Aleksander Machniak
0c7a9ce4d6 CS fix 2025-06-12 15:35:08 +02:00
Aleksander Machniak
48381d7f5f Fix "Assign to group" action state after creation of a first group (#9889) 2025-06-12 15:30:11 +02:00
Rotomeca
b02d6a7027 Can use variable in rcmail.gettext, like the php version (#9837) 2025-06-08 13:19:18 +02:00
Aleksander Machniak
699ab5a767 Fix Delete and Empty buttons state while creating a folder (#9047) 2025-04-27 11:13:24 +02:00
Aleksander Machniak
ace33392a2 Replace deprecated 'unload' event with 'pagehide' (#9620) 2025-04-25 19:18:00 +02:00
Aleksander Machniak
1f89b52dc6 CS fix 2025-04-23 18:01:54 +02:00
Aleksander Machniak
58560f1f55 Cleanup 2025-04-23 17:58:08 +02:00
listumps
8bfa36caea Rework zoom and rotate of attached images (#9843, #7669)
Use CSS Grid with standard properties instead of Flexbox and transform()
2025-04-23 17:51:57 +02:00
seb1k
0f2a907056 Add priority to local message object (#9795) 2025-03-16 19:34:10 +01:00
Aleksander Machniak
5eb44b70ba CS fix 2025-03-09 08:41:52 +01:00
Aleksander Machniak
699491fe82 Fix error in mailvelope_load() caused by undefined this.env.browser_capabilities 2025-03-09 08:19:27 +01:00
Aleksander Machniak
64df318a73 Add static files server (#9294)
Make use of public_html mandatory
2025-02-09 14:10:50 +01:00
Aleksander Machniak
e92d8e31a3 CS fix 2024-08-08 15:19:41 +02:00
Aleksander Machniak
a290392231 CS fixes 2024-08-08 14:57:00 +02:00
Aleksander Machniak
cd0bde2d5b Fix regression where printing/scaling/rotating image attachments was broken (#9571) 2024-08-08 13:54:32 +02:00
Aleksander Machniak
fdeb13727a Fix bug where a long subject title could not be displayed in some cases (#9416) 2024-07-27 09:15:57 +02:00
Pablo Zmdl
657f3970d8 Make pgpmime-support known after Mailvelope init (#9551)
The support for pgpmime was only checked initially after the login. If a
user e.g. authorizes a domain in Mailvelope only after a login,
Mailvelope now instantly works, instead of (silently and undocumentedly)
requireing a logout+login-cycle.
2024-07-25 08:05:13 +02:00
Pablo Zmdl
3c7a28f657 Shortcut to authorize current domain for Mailvelope (#9500)
This facilitates using Mailvelope (properly, i.e. with API-access) a
lot, because people don't have to manually add their domain into
Mailvelope's options but just click a button.
2024-07-08 18:39:38 +02:00
Pablo Zmdl
54b5e14933 Show quota only if sensible (#9366)
If a quota is not supported, or its value is unknown or unlimited, don't show the info element.
2024-06-01 11:25:47 +02:00
Aleksander Machniak
6c54254a2f Fix folders hierarchy when special folders are subfolders of INBOX, with no personal namespace prefix (#9452) 2024-05-16 16:22:57 +02:00
Aleksander Machniak
4ea35f44ff CS fixes 2024-03-16 14:26:59 +01:00
Aleksander Machniak
92f6b279c5 Code style improvements 2024-03-16 13:16:58 +01:00
Philip Weir
b3e5efa870 Add set-unread-count JS event on unread message count change (#9344) 2024-02-11 18:04:17 +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
6c45fa40d7 Add missing comma 2024-01-28 10:38:48 +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
Pablo Zmdl
f59738b133 Initialize Mailvelope earlier (#9243)
This helps fresh users to have a site-specific keyring directly after
the first login (see below). And it hurts no one else because the heavy
Mailvelope lifting works with Promises, which don't block the main code
flow.

If Mailvelope's main keyring is not to be used (configurable in
Roundcubemail's settings), users with a fresh setup previously had only
Mailvelope's main keyring after a login to Roundcubemail. Only after
opening an encrypted message, or going to the compose page, they got a
site-specific keyring. This lead to some users being confused where the
keys went they created after logging in.
2023-12-10 12:32:16 +01:00
Aleksander Machniak
2bfd4f1ef5 Fix page jump menu flickering on click (#9196) 2023-11-26 11:27:33 +01:00
vladimirdulov
e7360d87b1 Make mail search scope configurable (#9077, #7556)
Co-authored-by: Vladimir D <vladimir@brandlight.org>
2023-10-08 10:24:28 +02:00
Aleksander Machniak
1aaf86f139 Fix one more regression regarding mail delete 2023-06-27 13:37:30 +02:00
Aleksander Machniak
d766cb56cd Fix one more regression regarding mail delete 2023-06-27 12:06:08 +02:00
Aleksander Machniak
02682a5351 Fix Delete button regression (#7141) 2023-06-26 18:52:38 +02:00
Aleksander Machniak
9427ec1d35 Mouse-over menu on messages list (#7141) 2023-06-23 21:04:17 +02:00
Aleksander Machniak
5723849978 Remove 'alt' attribute for contact photo images
Loading a contact photo may take a while, displaying the alt text looks ugly
and is redundant.
2023-06-04 10:29:14 +02:00
Aleksander Machniak
ef9d345441 Drop dependency on JsTimeZoneDetect (#8965) 2023-04-09 16:06:00 +02:00
Aleksander Machniak
642b772087 Fix Help plugin menu (#8898) 2023-02-19 14:52:44 +01:00
Aleksander Machniak
e237054490 Fix bug where a non-ASCII character in app.js could cause error in javascript engine (#8894) 2023-01-28 18:33:18 +01:00
Aleksander Machniak
a2c0f79efb Fix return to previous contact source/group after search reset 2022-11-11 11:25:48 +01:00
Aleksander Machniak
6c2da12218 Fix bug where some dialogs in an eml attachment preview would not close on mobile (#8627) 2022-08-28 13:26:02 +02:00
Aleksander Machniak
1a3a253a77 Remove redundant gettext() calls 2022-08-28 11:43:48 +02:00
Aleksander Machniak
45b184e337 Fix bug where the attachment menu wouldn't disappear after an action is selected (#8691) 2022-08-27 17:01:18 +02:00
Aleksander Machniak
3b16cbf371 Fix bug where "about:blank" page could trigger "load error" (#8554)
Use javascript:false; instead
2022-08-15 09:58:56 +02:00
Aleksander Machniak
ff96c78606 Use navigator.pdfViewerEnabled for PDF viewer detection
Drop ActiveXObject based detection code
2022-04-08 08:28:13 +02:00
Aleksander Machniak
2dbb5165da Fix bug where attachment download could sometimes fail with a CSRF check error (#8283) 2021-11-03 19:31:00 +01:00