Граф коммитов

26 Коммитов

Автор SHA1 Сообщение Дата
Martin Giger 2affd477d5 Bug 1746867 - Only cancel otr encrypted messages that aren't found in the buffer. r=clokep
Differential Revision: https://phabricator.services.mozilla.com/D134426

--HG--
extra : amend_source : cd5c74d0af23f3ec73f617f36825b11227a7548f
2021-12-23 12:26:10 +02:00
Magnus Melin fee1e745ee Bug 1734384 - fix OTR preference reading. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D134224

--HG--
extra : rebase_source : d673ea4dfc646835eebe2e2685e0e540e9a069e7
extra : amend_source : c5ae56dcc8252bcd9a9ce1f3f5dc5a6db6ca9799
2021-12-21 12:17:39 +02:00
Martin Giger d55723ca4a Bug 1746864 - Fix OTR gone secure notice ftl ID generation r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D134286
2021-12-20 13:21:40 +00:00
Martin Giger c52361f028 Bug 1716062 - Surface conversation encryption state provided by chat protocol. r=clokep
Differential Revision: https://phabricator.services.mozilla.com/D120632

--HG--
extra : moz-landing-system : lando
2021-07-29 18:11:46 +00:00
Martin Giger e693165608 Bug 1716062 - Use prplIMessage isEncrypted for the encryption indicator of messages. r=clokep
Differential Revision: https://phabricator.services.mozilla.com/D120008

--HG--
extra : moz-landing-system : lando
2021-07-29 18:11:45 +00:00
Martin Giger 6e5b5c5eac Bug 1699106 - Support changing type of prplIConversation. r=clokep
Differential Revision: https://phabricator.services.mozilla.com/D115532

--HG--
extra : rebase_source : c9ca03b8453a1af4d6530b2a8ac6524542274a54
extra : amend_source : 0d9ed3ea88774c0b16cf86f82457a5a3426ac81e
2021-05-28 13:10:39 +03:00
Rob Lemley 8415607f51 Bug 1692289 - [fluent-lint] Fixes for OTR integration. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D114293

--HG--
extra : moz-landing-system : lando
2021-05-05 22:08:45 +00:00
Martin Giger e605a9ad48 Bug 1705050 - Inline OTRHelpers.jsm. r=clokep
Differential Revision: https://phabricator.services.mozilla.com/D112017

--HG--
extra : moz-landing-system : lando
2021-04-16 04:39:10 +00:00
Martin Giger 69907a5a50 Bug 1696659 - Replace uses of OS.* with IOUtils and friends. r=mkmelin
Except for chat's logger.jsm (and test), ext-compose.js (no IOUtils in extension API implementations)
and converterWorker (uses OS.File.open to read and write big files).

Differential Revision: https://phabricator.services.mozilla.com/D111298

--HG--
extra : moz-landing-system : lando
2021-04-12 22:54:06 +00:00
Geoff Lankow 0d39495b2e Bug 1634341 - Try to avoid errors from synchronous loading of L10n files. r=mkmelin
This is a series of hacks to prevent the NS_ERROR_FILE_UNRECOGNIZED_PATH error. A number of
Services.intl functions throw this error the first time they are called when they load .ftl
files synchronously. Where possible, this patch loads the files asynchronously first and
avoids the error.

The same thing happens in OTRUI.jsm, which should ultimately be fixed to avoid sync L10n.

In some places I've managed to avoid the error by converting the L10n calls to async and/or
delaying the loading of the .ftl file until it is needed.

Differential Revision: https://phabricator.services.mozilla.com/D100965

--HG--
extra : rebase_source : 4188f7b88d6be0a17176ab7b6fa23ac10f856eea
2021-01-07 12:47:43 +02:00
Patrick Cloke 6d759b7ab3 Bug 1445778 - Remove Twitter support due to disabled streaming API. r=khushil 2020-08-05 13:03:31 +03:00
Magnus Melin 6c4c7cce02 Bug 1609760 - Stop assigning properties to the global `this` in chat/ JSMs (port bug 1608278). r=pmorris DONTBUILD
cp ../.gitignore .rgignore && rg -l -g '*.jsm' '' chat | jscodeshift --stdin --transform ~/Code/jsm-rewrites/no-this-property-assign.js

(Script from d2bbd6c459/no-this-property-assign.js)
2020-04-29 13:31:47 +03:00
Alessandro Castellani 4b905eff5b Bug 1549938 - [OTR] Prevent important consecutive inline system messages from being collapsed. r=KaiE 2020-04-14 11:10:42 -07:00
Magnus Melin cf3e85f8f8 Bug 1629275 - part3 - better fix for porting bug 1621674 to Thunderbird (Unify Localization.jsm, mozILocalization and Localization IDL). r=Paenglab DONTBUILD 2020-04-13 13:35:47 +03:00
Magnus Melin 40ab079168 Bug 1629275 - Port bug 1621674 to Thunderbird: Unify Localization.jsm, mozILocalization and Localization IDL. rs=bustage-fix
DONTBUILD

--HG--
extra : amend_source : d6300b6a0b8381112f718ca6f2c092e82c438ac6
2020-04-11 22:10:29 +03:00
Jorg K d240bad229 Bug 1463266 - fix typos in comm-central using codespell. rs=comment-only,typo-fix 2019-10-21 23:07:47 +02:00
Paul Morris ca6e0c7a6e Bug 1577835 - Fix remaining linting errors in chat/. r=mkmelin
These include:
- The "no-useless-concat" eslint rule.
- Convert an atypical for loop into a while loop
  to satisfy Prettier.
- Move "eslint-disable-" comments so they still work.
2019-08-30 14:01:37 -04:00
Paul Morris aeee638528 Bug 1577835 - Reformat chat/ code with eslint and Prettier. r=mkmelin
# ignore-this-changeset

These changes were achieved by:

1. Using eslint to add curly brackets to control
statements that did not have them (if, else, etc.),
thanks to the eslint rule: "curly": ["error", "all"]

Done by running |mach eslint chat/ --fix|

2. Reformatting the code using Prettier.

Done by deleting the chat/ line from
the .prettierignore file and running:
|mach eslint chat/ --fix|
2019-08-30 13:43:03 -04:00
Kai Engert ca628dd2db Bug 1563633 - Port bug 1558602: Use new API for sync calls to Fluent in OTR chat. r=aleca
--HG--
extra : amend_source : bd1250645b385c1b92c649ce75882a7934f6d69c
2019-07-05 23:25:18 +02:00
Kai Engert 657751236e Bug 1536104 - OTR: Allow the user to disable logging of encrypted conversations. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D32840
2019-05-28 17:07:40 +02:00
Kai Engert 73be2258cb Bug 1536108 - Avoid sending secondary numbers in OTR query message. r=mkmelin 2019-06-04 11:52:57 +02:00
Kai Engert e0f08d4ab3 Bug 1552004 - dont' use "eval" in the OTR code. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D32839
2019-06-04 22:58:39 +02:00
Kai Engert ed216ba883 Bug 1552177 - OTR chat: private key generation should be done in the background, remove status UI. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D32838
2019-06-04 22:58:00 +02:00
Kai Engert e174f30966 Bug 1550487 - OTR: Implement per-account preferences UI. r=mkmelin
Contains UI code by Alessandro Castellani <alessandro@thunderbird.net>

Differential Revision: https://phabricator.services.mozilla.com/D32837
2019-06-04 22:57:54 +02:00
Kai Engert 401cd99f4f Bug 1550488 - Change the OTR localization to use Fluent. r=mkmelin 2019-05-20 11:33:11 +02:00
Arlo Breault ext:(%2C%20Kai%20Engert%20%3Ckaie%40kuix.de%3E%2C%20Alessandro%20Castellani%20%3Calessandro%40thunderbird.net%3E) f20cf4817a Bug 1518172 - Import ctypes-otr, updated by kaie/aleca. r=florian,clokep,mkmelin
Original MPL v2 code by Arlo Breault from https://github.com/arlolra/ctypes-otr/
Ported to Thunderbird by Kai Engert, includes UI changes by Alessandro Castellani.
2019-05-17 16:21:48 +02:00