Martin Giger
bf763663ff
Bug 1929264 - Update matrix-js-sdk to v34.11.1. r=clokep
...
Also bump dependencies
Differential Revision: https://phabricator.services.mozilla.com/D228645
--HG--
extra : amend_source : 03bcf709c66bbf4b9d47509d4485cd8c0d47f344
2024-11-12 23:31:06 +01:00
Yury Ivanovich
d211615c05
Bug 1929845 - Remove more remaining needless Ci. abbreviations (except in calendar). r=mkmelin
...
Fixing https://searchfox.org/comm-central/search?q=var.*+%3D+Ci.&path=&case=true®exp=true
Differential Revision: https://phabricator.services.mozilla.com/D228533
--HG--
extra : amend_source : 22ae46b499f408cac949477ff6683c1d68919d94
2024-11-11 17:04:05 +01:00
Patrick Cloke
031f8d053e
Bug 1815256 - Clean-up from vendoring sax-js library. r=john.bieling DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D228360
--HG--
extra : moz-landing-system : lando
2024-11-07 17:47:30 +00:00
Patrick Cloke
ce4e98e0ed
Bug 1815256 - Vendor sax-js library used by XMPP. r=rjl
...
Differential Revision: https://phabricator.services.mozilla.com/D228175
--HG--
rename : chat/protocols/xmpp/lib/README.md => third_party/README.sax-js
rename : chat/protocols/xmpp/lib/sax/LICENSE => third_party/sax-js/LICENSE
rename : chat/protocols/xmpp/lib/moz.build => third_party/sax-js/moz.build
rename : chat/protocols/xmpp/lib/sax/sax.js => third_party/sax-js/sax.js
rename : chat/protocols/xmpp/sax.sys.mjs => third_party/sax-js/sax.sys.mjs
2024-11-06 16:06:47 +00:00
Patrick Cloke
cdfeb782a3
Bug 1929011 - Fix handling of CDATA in XMPP streams. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D227861
--HG--
extra : rebase_source : 716503657f1d4ae4f07969eee66657ba2fcae8cf
extra : amend_source : d8e05ae18522db1fb3d6f591b6420dd98b731c73
2024-11-04 20:14:46 +00:00
John Bieling
0a1f76feb7
Bug 1927813 - Do not ask for permission when opening http(s):// and webext protocol links. r=darktrojan
...
After the preference `security.external_protocol_requires_permission`
was removed and the app behaves now as that preference being set to
true, every usage of the external protocol service triggers a permission
prompt.
This patch stops using the external protocol service directly. Instead
we now always use `openLinkExternally()`, which was modified to add the
permission to use the associated application, so the user is not prompted.
Differential Revision: https://phabricator.services.mozilla.com/D227375
--HG--
extra : rebase_source : 35f86de9e43f31e1039e2aa6b0e5c6c42e65fb9b
extra : amend_source : fa58c5f9ff9a4baef85f81ecb281ae3735b2d793
2024-10-30 15:43:35 +01:00
Toby Pilling
3540318975
Bug 1916313 - Re-enable test now upstream changes fix Element.innerHTML and Element.insertAdjacentHTML. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D225907
--HG--
extra : moz-landing-system : lando
2024-10-17 01:19:22 +00:00
Magnus Melin
727b5253ca
Bug 1918948 - follow-up, fix review comment. r=freaktechnik DONTBUILD
...
--HG--
extra : amend_source : ad218b5220a9404d313a65db58a0cc9d1e8a007d
2024-10-07 15:19:37 +03:00
Magnus Melin
1ccdf9bb3f
Bug 1918948 - Fix shadow/redeclare linting errors in comm/chat. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D224639
--HG--
extra : rebase_source : dd2774c1f315b9fc76e5c9e74cfdc728cf802066
extra : amend_source : d369a506b196d3f07d39cd25b76c18c71df95038
2024-10-07 13:44:14 +03:00
Toby Pilling
c4e2c7da8b
Bug 1916313 - Avoid test failure until upstream changes fix Element.innerHTML and Element.insertAdjacentHTML. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D223901
2024-09-27 02:36:40 +00:00
Martin Giger
e57cfbdf83
Bug 1914633 - Fix conversation-message-parted XMPP message string placeholder replacement. r=clokep
...
Differential Revision: https://phabricator.services.mozilla.com/D220070
--HG--
extra : moz-landing-system : lando
2024-08-28 22:59:17 +00:00
Kai Engert
4e9c405d66
Bug 1895737 - Various safety fixes for object lifetime and races in the OTR code. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D220382
--HG--
extra : moz-landing-system : lando
2024-08-28 22:59:16 +00:00
Magnus Melin
daed10d50c
Bug 1914792 - Port bug 1870226 to Thunderbird - Update eslint-plugin-jsdoc. r=freaktechnik
...
See https://hg.mozilla.org/mozilla-central/rev/06d1e6e91857
Differential Revision: https://phabricator.services.mozilla.com/D220095
--HG--
extra : rebase_source : b40147a61da24053a546533aed08f0a830b082ed
2024-08-26 08:29:10 +00:00
Martin Giger
e7f4d19518
Bug 1912931 - Update matrix-js-sdk to v34.3.1. r=clokep DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D219621
--HG--
extra : moz-landing-system : lando
2024-08-20 14:14:52 +00:00
Patrick Cloke
84d79fce84
Bug 1913532 - Bump matrix-js-sdk to v34.3.0. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D219368
--HG--
rename : chat/protocols/matrix/lib/matrix-sdk/crypto-api.js => chat/protocols/matrix/lib/matrix-sdk/crypto-api/index.js
extra : moz-landing-system : lando
2024-08-20 10:34:26 +00:00
Patrick Cloke
763f0aacb7
Bug 1908746 - Separate retrieving default form fields and parsing strings for joining rooms. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D217008
--HG--
extra : moz-landing-system : lando
2024-07-31 17:44:58 +00:00
Patrick Cloke
c4bd60ee34
Bug 1907995 - Stop rebuilding IRC chat room field values. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D216610
--HG--
extra : moz-landing-system : lando
2024-07-31 17:44:57 +00:00
Patrick Cloke
829fe3ef0b
Bug 1907374 - Bump matrix-js-sdk to v33.1.0. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D216319
--HG--
extra : amend_source : f3e8ae789f26fa26b64625f986f3cf477ffdc711
2024-07-15 14:43:46 -07:00
Martin Giger
5812c7990e
Bug 1904035 - Add unit tests for LinkHelper. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D214547
--HG--
extra : amend_source : 32520d44a0d06921d832370a90df41820d6396f9
2024-06-24 15:54:06 +01:00
Patrick Cloke
c724a139a0
Bug 1901049 - Add tests for joining XMPP rooms. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D212808
--HG--
extra : amend_source : 5af8b809313fda4c892ca764a25211d72915add7
2024-06-10 22:26:26 +02:00
Patrick Cloke
65923cd82e
Bug 1901048 - Add tests for joining IRC channels. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D212809
--HG--
extra : amend_source : 532842e4a885c92a081e3ebe405aa72fa7941a34
2024-06-10 22:26:01 +02:00
Joe Crawford
c327d6178a
Bug 1899633 Correct straight quotes related to Chat Fluent Migrations. r=rjl
...
Differential Revision: https://phabricator.services.mozilla.com/D212068
--HG--
extra : moz-landing-system : lando
2024-06-06 16:27:56 +00:00
Martin Giger
d3276fd7a2
Bug 1900855 - Remove chat l10nHelper. r=clokep
...
Differential Revision: https://phabricator.services.mozilla.com/D212731
--HG--
extra : amend_source : 28a377ea71d3cece883c29492b47f8c854619b1d
2024-06-05 17:25:50 +00:00
Joe Crawford
4f0f3f5f53
Bug 1889422 Fluent Migration Follow-Up irc.properties. r=rjl
...
Differential Revision: https://phabricator.services.mozilla.com/D210499
--HG--
extra : moz-landing-system : lando
2024-06-05 17:06:05 +00:00
Alessandro Castellani
5580539209
Bug 1899240 - Fix incorrect chat fluent string. r=kaie
...
Differential Revision: https://phabricator.services.mozilla.com/D211919
--HG--
extra : moz-landing-system : lando
2024-05-28 22:28:17 +00:00
Magnus Melin
d5bf2c3f40
Bug 1897768 - Fix TypeError: lazy.l10n.getValueSync is not a function. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D211007
--HG--
extra : amend_source : c302df558cb0a92b046731d88b88c087f1bf9cb2
2024-05-22 10:38:59 +12:00
Alessandro Castellani
a09d82482a
Bug 1897627 - Convert otrWorker.js into a real module. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D210884
--HG--
rename : chat/content/otrWorker.js => chat/modules/OTR.worker.mjs
extra : amend_source : 4362fee9daa81fc31136ff14dfd2f1fd8f181f83
2024-05-19 13:43:09 +03:00
Magnus Melin
9bf80863e4
Bug 1896618 - BUG_COMPONENT annotations for thunderbird code. r=john.bieling,clokep,freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D210437
--HG--
extra : amend_source : c9d4bf50d4653b24dc5fc1b51c4e67e021f760c1
2024-05-17 10:30:09 -07:00
Joe Crawford
d6c690b195
Bug 1889422 - Chat Fluent Migrations - Properties Files. r=rjl
...
Differential Revision: https://phabricator.services.mozilla.com/D207068
--HG--
extra : amend_source : 121e9c5e237f09f0bd5aaef80401bb69d6b92fe0
2024-05-15 10:22:31 +12:00
Martin Giger
43bca2555b
Bug 1851294 - Use asyncStartTLS in chat socket. r=clokep,mkmelin
...
Adds some basic tests for socket.sys.mjs that would've failed with this regression.
Differential Revision: https://phabricator.services.mozilla.com/D207695
--HG--
extra : amend_source : 5ac1e3370c7b56006f50dc9c589f07e96fa2b82a
2024-04-22 17:25:26 +01:00
Patrick Cloke
d4fa21773e
Bug 1618061 - Error if SASL results in an authentication error. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D207918
--HG--
extra : amend_source : 969e15ec5418eaff64264b5d1b5781c16bfdacdc
2024-04-19 17:41:04 +02:00
Joe Crawford
75560bd06b
Bug 1889422 - Fluent Migration for accounts.dtd. r=aleca,rjl
...
Differential Revision: https://phabricator.services.mozilla.com/D206531
--HG--
extra : amend_source : d5e05a1e0814daa0ae303390ea9b97590fd7c275
2024-04-16 23:10:44 +01:00
Martin Giger
20dee105ec
Bug 1801529 - Enable mozilla/valid-jsdoc on chat imContentSink.sys.mjs. rs=me
...
--HG--
extra : amend_source : 099126da2b58426d0d0321daf5d32b0f684b0eb6
2024-04-15 17:57:23 +02:00
John Bieling
c53b19fa17
Bug 1886948 - Part 2: AutoFix for ./chat directory. r=freaktechnik
...
Using D194522 for auto-fixing unused variables.
Differential Revision: https://phabricator.services.mozilla.com/D205430
--HG--
extra : moz-landing-system : lando
2024-03-22 19:12:04 +00:00
Magnus Melin
bf0cc3ae17
Bug 1824260 - Update outdated .jsm references. r=freaktechnik
...
Update outdated .jsm references in the tree.
Depends on D204766
Differential Revision: https://phabricator.services.mozilla.com/D204769
--HG--
extra : rebase_source : cdf8c1367702bb00c51a750cc712e156db65d371
extra : amend_source : 5f2256fc97ae8f3de2086ffbe99acde9fdef0473
2024-03-21 19:44:49 +02:00
Magnus Melin
2615cd2059
Bug 1824260 - remaining esmification of comm-central. r=john.bieling
...
Differential Revision: https://phabricator.services.mozilla.com/D204766
--HG--
extra : rebase_source : b4dd77adbe10cdafdcc28bbe14a499a1423ab48d
extra : amend_source : 522c351546a787d91f9a43cddb0e1eee114a4d0f
2024-03-21 19:44:13 +02:00
Magnus Melin
aa7951fdc0
Bug 1883846 - Port bug 1883371 - Enable ESLint rule no-console on production code. r=aleca
...
Remove some of things that shoudn't really be logged.
Some usage were in try-catches that should not reasonably throw.
Upgraded many debug/logs to warn - when appropriate.
Differential Revision: https://phabricator.services.mozilla.com/D203750
--HG--
extra : rebase_source : 73d8f0ba2ad7ebf0f82e71bed603f90e45dac0ce
extra : amend_source : 0824f75948689237cc7d49715a23603ce0f654a3
2024-03-07 11:51:32 +02:00
Martin Giger
d0c23bf488
Bug 1882522 - Pass custom logger to matrix client. r=aleca
...
Differential Revision: https://phabricator.services.mozilla.com/D202939
--HG--
extra : amend_source : 37d5aa7219e15deec3c0bc5703514e0948cf12b9
2024-03-06 12:55:52 +02:00
Martin Giger
24b2597632
Bug 1882522 - Update matrix-js-sdk to version 31.4.0. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D202938
--HG--
extra : amend_source : 626490a6f3d871da19c354fc98dea05a4ed77d09
2024-03-06 12:55:30 +02:00
Magnus Melin
e757d645f0
Bug 1882579 - Port bug 1864896 to Thunderbird - Turn on argument linting from no-unused-vars. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D203266
--HG--
extra : moz-landing-system : lando
2024-03-01 17:03:01 +00:00
Magnus Melin
2e0cd2b03b
Bug 1882129 - Port bug 1881266 - Enable ESLint recommended rules no-constant-condition and no-case-declarations, warning for existing failures. r=eslint
...
Differential Revision: https://phabricator.services.mozilla.com/D202792
--HG--
extra : rebase_source : 3f0f630e695d2c7a43b1619e14bcdc6b149d6e8f
extra : amend_source : 3fa45df6a944a9e32b3a6fbf058d65f71db03923
2024-02-27 12:56:36 +02:00
Geoff Lankow
5e9b91bd4a
Bug 1881982 - Fix detection of overwrite failure in chat logger. r=mkmelin DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D202677
--HG--
extra : amend_source : c0970c6a2f46a2b70e4f1a2930d29c40d6ab0a97
2024-02-26 13:24:19 +02:00
Patrick Cloke
598827f4d4
Bug 1857603 - Deduplicate logic for sending chat typing notifications. r=freaktechnik
...
Differential Revision: https://phabricator.services.mozilla.com/D190349
--HG--
extra : amend_source : fe57ee0c916abad0f79b5964a50f2011e91c53a0
2024-02-21 09:03:18 +02:00
Magnus Melin
2cbcc82537
Bug 1875495 - Port bug 1780071 - Linter should yell if using assignment or comparisons inside assertion conditions. r=aleca
...
Didn't spot any direct errors, but these are the rewrites the plugin does for `--fix`
Differential Revision: https://phabricator.services.mozilla.com/D199105
--HG--
extra : amend_source : aa962db6dbcba906fb65b8a74ce1c0ad4f367d9f
2024-01-22 11:21:09 +01:00
Vineet Deo
03fa25b246
Bug 1873377 - Ensure appendNotifcation promise is dealt with in all js files for notificationBox. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D198252
--HG--
extra : amend_source : de1c8bdb449c4d9cd694464282de2cc0fb7a151d
2024-01-15 12:47:59 +02:00
Magnus Melin
a50c03411e
Bug 1873607 - Make sure IMServices.core is initialized before displaying chat browser content. r=aleca
...
To avoid getting
... can't access property "getUserIcon", aMsg.conversation.account.statusInfo is null
Differential Revision: https://phabricator.services.mozilla.com/D197995
--HG--
extra : amend_source : 9781f2e765626142ea777d75c9c4f2f9b40958a0
2024-01-09 09:00:32 +00:00
Magnus Melin
9bc4e38b29
Bug 1872942 - Replace XPCOMUtils.defineLazyGetter with ChromeUtils.defineLazyGetter in comm-central. r=aleca
...
```
grep -rEl "XPCOMUtils.defineLazyGetter\(" --exclude-dir=.hg --exclude-dir=suite --exclude-dir=rust --include="*.js" --include="*.jsm" --include="*.mjs" --exclude=".*" . | xargs xargs sed -i -E 's/XPCOMUtils.defineLazyGetter\(/ChromeUtils.defineLazyGetter(/g'
```
+ linting and fixing that up.
Differential Revision: https://phabricator.services.mozilla.com/D197706
--HG--
extra : rebase_source : fb2048af7f476cfc48dd36dd6a8293ae1fa56446
extra : amend_source : 0296fe25ba954f764f6e8dde8b81d0e0874cdd05
2024-01-05 09:04:08 +02:00
Richard Marti
e2b13de05b
Bug 1872345 - Use nested CSS for remaining files (part 7). r=vineet
...
Differential Revision: https://phabricator.services.mozilla.com/D197416
--HG--
extra : moz-landing-system : lando
2024-01-03 23:01:25 +00:00
Magnus Melin
a626faac5a
Bug 1872673 - Port "Remove 'console' export from Console.sys.mjs" to Thunderbird. rs=bustage-fix
...
Port https://hg.mozilla.org/mozilla-central/rev/962ef2c3b48376446425956b02a0aa60432b27dd
--HG--
extra : amend_source : e8fbfad2ab7b2c6bec63047b95cdac48dd43adb5
2024-01-03 12:17:11 +02:00
Alessandro Castellani
37a1c0c3ff
Bug 1854255 - Enforce prefer-const eslint rule globally. r=john.bieling,ikey
...
Differential Revision: https://phabricator.services.mozilla.com/D192298
--HG--
extra : moz-landing-system : lando
2023-11-21 11:02:13 +00:00