Commit Graph

65 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
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
a62f046ad1 Remove redundant gettext() call 2022-08-28 11:58:39 +02:00
Aleksander Machniak
aa43406a06 Enigma: Upgrade to OpenPGP.js v5.0 2021-09-04 09:34:58 +02:00
Aleksander Machniak
c201242d6f Submit various simple dialog forms with the Enter key (#7133) 2021-05-30 11:00:40 +02:00
Josh Soref
203f456620 Spelling (#8001) 2021-04-18 08:43:18 +02:00
Aleksander Machniak
1cba77b48e Enigma: Display an information that public and private keys are stored on the server (#7941) 2021-04-11 12:14:18 +02:00
johndoh
6b650080c5 Update deps (#7739) 2020-12-12 14:48:51 +01:00
Aleksander Machniak
b0d69503e0 Enigma: Support ECC key generation - when using GnuPG >= 2.1.7 (#6853) 2020-07-26 19:26:31 +02:00
Aleksander Machniak
ea2d0ad458 Enigma: Fix bug where "Send unencrypted" button didn't work in Elastic skin (#7205) 2020-02-04 21:51:11 +01:00
Aleksander Machniak
646e0b99ea Enigma: Fix so using list checkbox selection does not load the key preview frame 2020-01-11 09:45:35 +01:00
Aleksander Machniak
355ff138fd Enigma: Fix so key list selection is reset when opening key creation form (#7154) 2020-01-11 09:14:38 +01:00
Aleksander Machniak
ad5a22b9c1 Enigma: Fix bug where signing option was set to disabled after saving a draft in Elastic skin (#6515) 2019-10-22 20:54:39 +02:00
Aleksander Machniak
84c4d062c6 Unified and simplified keypress event handling on a list widget 2019-06-28 09:47:14 +02:00
Aleksander Machniak
b24869b0cd Elastic: Fix bug where Enigma options in mail compose could sometimes be ignored (#6515) 2019-05-16 08:28:52 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
f0811f6f50 DOn't use deprecated (and slow) selectors 2019-04-11 10:47:11 +02:00
Aleksander Machniak
281a6135e3 Enigma: Update to OpenPGPjs 4.2.1 - fixes user name encoding issues in key generation (#6524) 2018-11-17 18:00:49 +01:00
Aleksander Machniak
19a818a8b7 Elastic: Add "status bar" for mobile in mail composer 2018-10-26 19:26:29 +02:00
Aleksander Machniak
459c3845be Elastic: Fix checkbox selection on enigma keys list 2018-04-10 16:56:40 +02:00
Aleksander Machniak
8373b3b3f0 Enigma: Enable keypair generation on Internet Explorer 11 2018-04-10 15:10:39 +02:00
Aleksander Machniak
2b425a8b12 Use 'OK' instead of 'Save' label for thr button in enigma password prompt 2018-04-10 10:37:30 +02:00
Aleksander Machniak
408d985f38 Small spacing improvement in enigma password prompt 2018-04-10 10:34:25 +02:00
Aleksander Machniak
08454fb951 Add Close button to the keys export dialog 2018-04-03 18:08:26 +02:00
Aleksander Machniak
674eac1c1c Enigma: Fix key generation in Safari by upgrade to OpenPGP 2.6.2 (#6149) 2018-02-12 16:46:25 +01:00
Aleksander Machniak
84ecae7a53 Define button classes for keys export dialog 2018-02-11 11:25:31 +01:00
Aleksander Machniak
5650d1a2d0 Increase dialog width for case when there's many buttons
We don't want the button text truncation
2017-12-06 09:10:59 +01:00
Aleksander Machniak
c6e6f50de1 Simplify confirm_dialog and alert_dialog code and use 2017-11-19 13:20:25 +01:00
PhilW
8c250a27f8 improvements for plugins and frames 2017-11-19 10:22:52 +00: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
25270cccca Elastic: hide mobile navigation when creating objects
.. i.e. filters, filter sets, enigma keys
2017-10-27 09:56:04 +02:00
Aleksander Machniak
385512983c Add 'unlock' class to Save button in key passphrase dialog 2017-10-06 14:09:19 +02:00
Aleksander Machniak
85db9e77b8 Enable keyboard support on enigma keys list 2017-10-06 08:40:52 +02:00
Aleksander Machniak
182aa52ab9 Enigma: Key search and import in dialogs (for better Elastic integration) 2017-10-03 16:30:34 +02:00
Aleksander Machniak
cdd616744a Initial Elastic skin support for Enigma 2017-10-01 17:52:45 +02:00
Aleksander Machniak
999cfe9f82 Enigma: Add button to send mail unencrypted if no key was found (#5913) 2017-08-30 11:59:22 +02:00
JohnDoh
afaaa7764b Use list_widget.get_selection() rather than list_widget.selection (#5879) 2017-07-28 19:24:28 +02:00
Aleksander Machniak
542a817214 Define more classes for dialog buttons 2017-04-21 18:05:29 +02:00
Aleksander Machniak
3294a41b3b Small code simplification 2017-02-18 15:33:50 +01:00
Aleksander Machniak
cf866990f2 Get rid of "popupmessage" class
It wasn't widely used and made the dialogs look inconsistent
2016-11-06 09:41:43 +01:00
Aleksander Machniak
2ae1da4b1d Merge branch 'dev/gnupg21' 2016-10-29 10:30:20 +02:00
Aleksander Machniak
b6c061656f GnuPG 2.1: Support password prompt on private key import 2016-10-23 17:10:52 +02:00
Aleksander Machniak
ecefdca21d GnuPG 2.1: Support password input on private key export 2016-10-23 15:51:28 +02:00
Aleksander Machniak
7203d151ec Enigma: Fix encoding of a key search phrase (#5459) 2016-10-05 19:10:07 +02:00
Aleksander Machniak
7829da358d GnuPG 2.1: Fix importing newly generated (secret) keys using GnuPG 2.1 2016-09-25 13:05:21 +02:00
Aleksander Machniak
462faace73 Enigma: Support key generation for multiple identities (#5383)
Update OpenPGP.js to version 1.6.2.
Get rid of server-side key generation - Crypt_GPG does not support
multiple user IDs, it's also slow and requires entrophy generator.
2016-09-23 18:26:49 +02:00
Aleksander Machniak
51c6269ded Improve accessibility of enigma encryption options button in compose screen 2016-08-21 15:21:16 +02:00
Aleksander Machniak
437aca39e0 Enigma: Import keys from key-server(s) (#5286) 2016-07-21 08:26:46 +02:00