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

1108 Коммитов

Автор SHA1 Сообщение Дата
Khushil Mistry 242ba0656f Bug 1562313 - Convert javascript components from chat to static registration. r=mkmelin DONTBUILD
--HG--
rename : chat/components/src/imAccounts.js => chat/components/src/imAccounts.jsm
rename : chat/components/src/imCommands.js => chat/components/src/imCommands.jsm
rename : chat/components/src/imContacts.js => chat/components/src/imContacts.jsm
rename : chat/components/src/imConversations.js => chat/components/src/imConversations.jsm
rename : chat/components/src/imCore.js => chat/components/src/imCore.jsm
rename : chat/components/src/logger.js => chat/components/src/logger.jsm
rename : chat/components/src/smileProtocolHandler.js => chat/components/src/smileProtocolHandler.jsm
rename : chat/protocols/facebook/facebook.js => chat/protocols/facebook/facebook.jsm
rename : chat/protocols/gtalk/gtalk.js => chat/protocols/gtalk/gtalk.jsm
rename : chat/protocols/irc/irc.js => chat/protocols/irc/irc.jsm
rename : chat/protocols/jsTest/jsTestProtocol.js => chat/protocols/jsTest/jsTestProtocol.jsm
rename : chat/protocols/matrix/matrix.js => chat/protocols/matrix/matrix.jsm
rename : chat/protocols/odnoklassniki/odnoklassniki.js => chat/protocols/odnoklassniki/odnoklassniki.jsm
rename : chat/protocols/skype/skype.js => chat/protocols/skype/skype.jsm
rename : chat/protocols/twitter/twitter.js => chat/protocols/twitter/twitter.jsm
rename : chat/protocols/xmpp/xmpp.jsm => chat/protocols/xmpp/xmpp-base.jsm
rename : chat/protocols/yahoo/yahoo.js => chat/protocols/yahoo/yahoo.jsm
extra : amend_source : f471a238a214802f9a73b64272457c5b6b713833
2019-12-05 21:52:12 +13:00
Patrick Cloke 1601628c24 Bug 1601102 - Support the echo-message capability for IRC. r=freaktechnik 2019-12-04 12:21:21 -05:00
Patrick Cloke 14c02ff14f Bug 1594323 - Fix IRC capability state handling between reconnects. r=freaktechnik 2019-12-02 12:36:38 +02:00
Magnus Melin 47d16f24a8 Bug 1597131 - followup to make chat tooltips work again. r=khusil
Previously before bug 1597131 mousethrough was used not to get popupshowing for the wrong tooltipNode.
Using css pointer-events doesn't work the same for this case, so we need to do better matching in the event handler instead.
2019-11-28 13:12:10 +02:00
Magnus Melin 94591fcbae Bug 1599548 - rewrite Thunderbird consumers of the deprecated "top" and "bottom" align values to "start" and "end" (port bug 1592369). r=pmorris
* align="top" -> align="start"
* align="bottom" -> align="end"
* setAttribute("align", "top") -> setAttribute("align", "start")
* setAttribute("align", "bottom") -> setAttribute("align", "end")

grep -rl 'align="top"' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/\balign="top"/align="start"/g'
grep -rl 'align="bottom"' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/\balign="bottom"/align="end"/g'
grep -rl 'setAttribute("align", "top")' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/setAttribute("align", "top")/setAttribute("align", "start")/g'
grep -rl 'setAttribute("align", "bottom")' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/setAttribute("align", "bottom")/setAttribute("align", "end")/g'
2019-11-27 15:03:43 +02:00
Patrick Cloke 9170c63b8a Bug 1580807 - Disable new Twitter accounts due to bug 1445778. r=mkmelin 2019-11-20 15:35:54 +02:00
Magnus Melin 6719394cd8 Bug 1596385 - remove XUL [dir="reverse"] usage whose support was removed in bug 1596296. r=clokep,pmorris 2019-11-16 22:23:27 +02:00
Patrick Cloke af6b834da3 Bug 1592505 - Require prepareForSending to return a message. r=mkmelin 2019-11-06 07:35:29 -05:00
Patrick Cloke 85a9ba004f Bug 1593864 - Upgrade the matrix-js-sdk to v2.4.3. r=pmorris 2019-11-05 16:16:14 -05:00
Patrick Cloke a1c52b2c68 Bug 1346519 - Auto-join Matrix rooms. r=pmorris 2019-10-30 08:08:31 -04:00
Khushil Mistry 368cedeb12 Bug 1591506 - Fixed context menu in chat's IM status dialog. r=mkmelin
--HG--
extra : rebase_source : a9ff3a93549beae5bc4eb1adadfa7f52bc1303be
2019-10-29 08:06:00 +01:00
Patrick Cloke b10dc1df26 Bug 1347535 - Display names of Matrix participants instead of IDs. r=pmorris 2019-10-29 13:11:16 -04:00
Patrick Cloke 4250289fbe Bug 1377952 - Show Admins and Mods in Matrix rooms. r=pmorris 2019-10-29 13:08:56 -04:00
Patrick Cloke 72796f4106 Backed out changeset faa7e3cc7838 (bug 1562313) for various issues missed in review. a=backout 2019-10-29 11:07:44 -04:00
Khushil Mistry 59d6cea70f Bug 1562313 - Convert JavaScript components to use static registration in chat/. r=mkmelin
--HG--
rename : chat/components/src/imAccounts.js => chat/components/src/IMAccounts.jsm
rename : chat/components/src/imCommands.js => chat/components/src/IMCommands.jsm
rename : chat/components/src/imContacts.js => chat/components/src/IMContacts.jsm
rename : chat/components/src/imConversations.js => chat/components/src/IMConversations.jsm
rename : chat/components/src/imCore.js => chat/components/src/IMCore.jsm
rename : chat/components/src/logger.js => chat/components/src/Logger.jsm
rename : chat/components/src/smileProtocolHandler.js => chat/components/src/SmileProtocolHandler.jsm
rename : chat/protocols/facebook/facebook.js => chat/protocols/facebook/Facebook.jsm
rename : chat/protocols/gtalk/gtalk.js => chat/protocols/gtalk/Gtalk.jsm
rename : chat/protocols/irc/irc.js => chat/protocols/irc/IRC.jsm
rename : chat/protocols/jsTest/jsTestProtocol.js => chat/protocols/jsTest/JSTestProtocol.jsm
rename : chat/protocols/matrix/matrix.js => chat/protocols/matrix/Matrix.jsm
rename : chat/protocols/odnoklassniki/odnoklassniki.js => chat/protocols/odnoklassniki/Odnoklassniki.jsm
rename : chat/protocols/skype/skype.js => chat/protocols/skype/Skype.jsm
rename : chat/protocols/twitter/twitter.js => chat/protocols/twitter/Twitter.jsm
rename : chat/protocols/xmpp/xmpp.js => chat/protocols/xmpp/XMPPProtocol.jsm
rename : chat/protocols/yahoo/yahoo.js => chat/protocols/yahoo/Yahoo.jsm
extra : amend_source : d9f7fa84e7f2d93d811954aac64fbbafa03efea9
2019-10-29 00:29:00 +01:00
Magnus Melin 95aa507b62 Bug 1591357 - make folder-tooltip, chat-tooltip tooltips proper customized built-ins so they work. r=jorgk DONTBUILD 2019-10-28 12:00:16 +02:00
Magnus Melin 36629f45d8 Bug 1591399 - fix nick highlight and emoticons in chat. r=clokep
This reverts https://hg.mozilla.org/comm-central/rev/a128f9557e9db7951a9d8d6467e553fdccb8a0f5#l40.1
2019-10-27 19:49:13 +01:00
Martin Giger 50ac80fa95 Bug 1446689 - Support IRC CAP negotiation v3.2. r=clokep DONTBUILD 2019-10-26 11:53:43 +02:00
Kai Engert 100b15077f Bug 1547096 - Remove use of nsIBadCertListener2 in comm-central. r=mkmelin
--HG--
extra : amend_source : 07378633c3de3959457b0d3e51e317b44a681974
2019-10-23 11:38:41 +02:00
Jorg K 7d26720e7f Bug 1463266 - fix typos in comm-central using codespell. rs=comment-only,typo-fix
--HG--
extra : rebase_source : 4c38b107758d9093d0c886495ee467f9373b3ec5
2019-10-22 15:23:42 +02:00
Patrick Cloke 549d294389 Bug 1533872 - Modify the integration with the matrix-js-sdk to account for the new version. r=florian 2019-10-22 12:07:26 -04:00
Patrick Cloke fc174c1ad6 Bug 1533872 - Update / add / remove dependencies of the matrix-js-sdk. rs=florian
--HG--
rename : chat/protocols/matrix/lib/README.txt => chat/protocols/matrix/lib/README.md
2019-10-22 12:07:21 -04:00
Patrick Cloke 6358cb6d7a Bug 1533872 - Add shims for some of the dependencies of the matrix-js-sdk. r=florian 2019-10-22 12:07:16 -04:00
Patrick Cloke c4190342c1 Bug 1533872 - Update the matrix-js-sdk to v2.4.1. rs=florian 2019-10-22 12:07:09 -04:00
Patrick Cloke f36cd1a4b4 Bug 1533872 - Separate matrix-js-sdk files from other Node packages. rs=florian
--HG--
rename : chat/protocols/matrix/matrix-sdk/README.txt => chat/protocols/matrix/lib/README.txt
rename : chat/protocols/matrix/matrix-sdk/another-json/another-json.js => chat/protocols/matrix/lib/another-json/another-json.js
rename : chat/protocols/matrix/matrix-sdk/browser-request/index.js => chat/protocols/matrix/lib/browser-request/index.js
rename : chat/protocols/matrix/matrix-sdk/browserify/events.js => chat/protocols/matrix/lib/events/events.js
rename : chat/protocols/matrix/matrix-sdk/base-apis.js => chat/protocols/matrix/lib/matrix-sdk/base-apis.js
rename : chat/protocols/matrix/matrix-sdk/client.js => chat/protocols/matrix/lib/matrix-sdk/client.js
rename : chat/protocols/matrix/matrix-sdk/content-repo.js => chat/protocols/matrix/lib/matrix-sdk/content-repo.js
rename : chat/protocols/matrix/matrix-sdk/crypto/OlmDevice.js => chat/protocols/matrix/lib/matrix-sdk/crypto/OlmDevice.js
rename : chat/protocols/matrix/matrix-sdk/crypto/algorithms/base.js => chat/protocols/matrix/lib/matrix-sdk/crypto/algorithms/base.js
rename : chat/protocols/matrix/matrix-sdk/crypto/algorithms/index.js => chat/protocols/matrix/lib/matrix-sdk/crypto/algorithms/index.js
rename : chat/protocols/matrix/matrix-sdk/crypto/algorithms/megolm.js => chat/protocols/matrix/lib/matrix-sdk/crypto/algorithms/megolm.js
rename : chat/protocols/matrix/matrix-sdk/crypto/algorithms/olm.js => chat/protocols/matrix/lib/matrix-sdk/crypto/algorithms/olm.js
rename : chat/protocols/matrix/matrix-sdk/crypto/deviceinfo.js => chat/protocols/matrix/lib/matrix-sdk/crypto/deviceinfo.js
rename : chat/protocols/matrix/matrix-sdk/crypto/index.js => chat/protocols/matrix/lib/matrix-sdk/crypto/index.js
rename : chat/protocols/matrix/matrix-sdk/crypto/olmlib.js => chat/protocols/matrix/lib/matrix-sdk/crypto/olmlib.js
rename : chat/protocols/matrix/matrix-sdk/filter-component.js => chat/protocols/matrix/lib/matrix-sdk/filter-component.js
rename : chat/protocols/matrix/matrix-sdk/filter.js => chat/protocols/matrix/lib/matrix-sdk/filter.js
rename : chat/protocols/matrix/matrix-sdk/http-api.js => chat/protocols/matrix/lib/matrix-sdk/http-api.js
rename : chat/protocols/matrix/matrix-sdk/interactive-auth.js => chat/protocols/matrix/lib/matrix-sdk/interactive-auth.js
rename : chat/protocols/matrix/matrix-sdk/matrix.js => chat/protocols/matrix/lib/matrix-sdk/matrix.js
rename : chat/protocols/matrix/matrix-sdk/models/event-context.js => chat/protocols/matrix/lib/matrix-sdk/models/event-context.js
rename : chat/protocols/matrix/matrix-sdk/models/event-timeline-set.js => chat/protocols/matrix/lib/matrix-sdk/models/event-timeline-set.js
rename : chat/protocols/matrix/matrix-sdk/models/event-timeline.js => chat/protocols/matrix/lib/matrix-sdk/models/event-timeline.js
rename : chat/protocols/matrix/matrix-sdk/models/event.js => chat/protocols/matrix/lib/matrix-sdk/models/event.js
rename : chat/protocols/matrix/matrix-sdk/models/room-member.js => chat/protocols/matrix/lib/matrix-sdk/models/room-member.js
rename : chat/protocols/matrix/matrix-sdk/models/room-state.js => chat/protocols/matrix/lib/matrix-sdk/models/room-state.js
rename : chat/protocols/matrix/matrix-sdk/models/room-summary.js => chat/protocols/matrix/lib/matrix-sdk/models/room-summary.js
rename : chat/protocols/matrix/matrix-sdk/models/room.js => chat/protocols/matrix/lib/matrix-sdk/models/room.js
rename : chat/protocols/matrix/matrix-sdk/models/search-result.js => chat/protocols/matrix/lib/matrix-sdk/models/search-result.js
rename : chat/protocols/matrix/matrix-sdk/models/user.js => chat/protocols/matrix/lib/matrix-sdk/models/user.js
rename : chat/protocols/matrix/matrix-sdk/pushprocessor.js => chat/protocols/matrix/lib/matrix-sdk/pushprocessor.js
rename : chat/protocols/matrix/matrix-sdk/realtime-callbacks.js => chat/protocols/matrix/lib/matrix-sdk/realtime-callbacks.js
rename : chat/protocols/matrix/matrix-sdk/scheduler.js => chat/protocols/matrix/lib/matrix-sdk/scheduler.js
rename : chat/protocols/matrix/matrix-sdk/store/memory.js => chat/protocols/matrix/lib/matrix-sdk/store/memory.js
rename : chat/protocols/matrix/matrix-sdk/store/session/webstorage.js => chat/protocols/matrix/lib/matrix-sdk/store/session/webstorage.js
rename : chat/protocols/matrix/matrix-sdk/store/stub.js => chat/protocols/matrix/lib/matrix-sdk/store/stub.js
rename : chat/protocols/matrix/matrix-sdk/store/webstorage.js => chat/protocols/matrix/lib/matrix-sdk/store/webstorage.js
rename : chat/protocols/matrix/matrix-sdk/sync.js => chat/protocols/matrix/lib/matrix-sdk/sync.js
rename : chat/protocols/matrix/matrix-sdk/timeline-window.js => chat/protocols/matrix/lib/matrix-sdk/timeline-window.js
rename : chat/protocols/matrix/matrix-sdk/utils.js => chat/protocols/matrix/lib/matrix-sdk/utils.js
rename : chat/protocols/matrix/matrix-sdk/webrtc/call.js => chat/protocols/matrix/lib/matrix-sdk/webrtc/call.js
rename : chat/protocols/matrix/matrix-sdk/moz.build => chat/protocols/matrix/lib/moz.build
rename : chat/protocols/matrix/matrix-sdk/browserify/punycode.js => chat/protocols/matrix/lib/punycode/punycode.js
rename : chat/protocols/matrix/matrix-sdk/q/q.js => chat/protocols/matrix/lib/q/q.js
rename : chat/protocols/matrix/matrix-sdk/q/queue.js => chat/protocols/matrix/lib/q/queue.js
rename : chat/protocols/matrix/matrix-sdk/browserify/querystring/decode.js => chat/protocols/matrix/lib/querystring/decode.js
rename : chat/protocols/matrix/matrix-sdk/browserify/querystring/encode.js => chat/protocols/matrix/lib/querystring/encode.js
rename : chat/protocols/matrix/matrix-sdk/browserify/querystring/index.js => chat/protocols/matrix/lib/querystring/index.js
rename : chat/protocols/matrix/matrix-sdk/browserify/url.js => chat/protocols/matrix/lib/url/url.js
2019-10-22 12:07:03 -04: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
Khushil Mistry 48834fa331 Bug 1585302 - Thunderbird CE <richlistitem> related fixes. r=mkmelin
--HG--
extra : rebase_source : dbcdf7bc93e834634886d3a29434ad3b9a8fd031
2019-10-14 05:01:00 +02:00
Magnus Melin 4693a34755 Bug 1570954 - Port bug 1479125 to Thunderbird: Rewrite callers firstChild/lastChild/childNodes/previousSibling/nextSibling with firstElementChild/lastElementChild/children/previousElementSibling/nextElementSibling. r=pmorris
This allows the JS to work in HTML documents, where whitespace is preserved. In XUL
documents, whitespace is ignored when parsing so text nodes are generally not returned.

The following changes were made, with manual cleanups as necessary (i.e. when firstChild actually refers to a text node, or when firstChild is used in a loop to empty out an element):

firstChild->firstElementChild
lastChild->lastElementChild
nextSibling->nextElementSibling
previousSibling->previousElementSibling
childNodes->children

 # firstChild -> firstElementChild
grep -rl '\bfirstChild\b' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/\bfirstChild\b/firstElementChild/g'

 # lastChild->lastElementChild
grep -rl '\lastChild\b' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/\blastChild\b/lastElementChild/g'

 # nextSibling->nextElementSibling
grep -rl '\nextSibling\b' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/\bnextSibling\b/nextElementSibling/g'

 # previousSibling->previousElementSibling
grep -rl '\previousSibling\b' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/\bpreviousSibling\b/previousElementSibling/g'

 # childNodes->children
grep -rl '\childNodes\b' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/\bchildNodes\b/children/g'

 # revert for clearning out. lastElementChild.remove() -> lastChild.remove()
grep -rl '\lastElementChild.remove\b' --exclude-dir=.hg --exclude-dir=suite --exclude-dir=editor . | xargs sed -i 's/\lastElementChild.remove\b/lastChild.remove/g'

 # skip matches in cpp and other wrong changes
hg revert mailnews/base/src/nsSubscribableServer.cpp
hg revert mailnews/base/src/nsSubscribableServer.h
hg revert mailnews/mime/src/mimemsig.cpp
hg revert mail/test/mozmill/composition/test-signature-updating.js
hg revert mail/test/mozmill/shared-modules/DOMHelpers.jsm
hg revert mailnews/addrbook/jsaddrbook/AddrBookMailingList.jsm
hg revert mailnews/addrbook/public/nsIAbDirectory.idl
hg revert mailnews/addrbook/test/unit/test_basic_nsIAbDirectory.js
hg revert mailnews/addrbook/test/unit/test_jsaddrbook.js
hg revert mailnews/addrbook/test/unit/test_mailList1.js
hg revert mailnews/addrbook/test/unit/test_uid.js
hg revert mailnews/compose/src/nsMsgCompose.cpp
hg revert mail/test/mozmill/cloudfile/test-cloudfile-attachment-urls.js
hg revert mail/test/mozmill/composition/test-forward-headers.js

hg revert calendar/import-export/calHtmlExport.js
hg revert mail/components/compose/content/cloudAttachmentLinkManager.js
hg revert mail/components/compose/content/dialogs/EdConvertToTable.js
hg revert mail/components/compose/content/dialogs/EdDialogCommon.js
hg revert mail/components/compose/content/dialogs/EdInsertTOC.js
hg revert mail/components/customizableui/CustomizeMode.jsm
hg revert mail/components/customizableui/PanelMultiView.jsm
hg revert mail/test/mozmill/shared-modules/ComposeHelpers.jsm
hg revert mailnews/addrbook/jsaddrbook/AddrBookDirectory.jsm
hg revert mailnews/base/util/JXON.js
hg revert mailnews/base/util/errUtils.js
hg revert mailnews/extensions/newsblog/content/feed-parser.js

hg revert mail/components/compose/texzilla/TeXZilla.js

../mach eslint --fix
2019-10-13 21:42:57 +03:00
Patrick Cloke 8fbd6ac230 Bug 1348534 - Add unInit() to jsTest protocol to fix "Method not implemented" error. r=aceman 2019-10-10 08:58:32 +02:00
Patrick Cloke 89c9bd0185 Bug 1427205 - Fix removing and shutting down Matrix accounts. r=nhnt11 2019-10-08 10:17:31 -04:00
Patrick Cloke 9eb55c7f57 Bug 1586264 - Only import the used objects with ChromeUtils.import. r=aleca 2019-10-04 09:13:58 -04:00
Patrick Cloke 4f3390ab89 Bug 1586250 - 'Method not implemented' when calling method: [prplIAccount::unInit]. r=florian 2019-10-08 07:54:54 -04:00
Magnus Melin 38da692d5e Bug 1563009 - Use HTML input instead of XUL textbox in chat/content. r=aleca 2019-09-26 22:46:47 +03:00
Patrick Cloke e50c87cd68 Bug 1577688 - Support SCRAM-SHA-256 for XMPP. r=florian 2019-09-03 12:32:31 -04:00
Khushil Mistry bfa0e14463 Bug 1582424 - remove grid usage from chat-tooltip.js. r=mkmelin 2019-09-24 19:53:48 +02:00
Paul Morris 1b81c589fc Bug 1582573 - Re-indent XUL strings in non-calendar custom elements. r=mkmelin 2019-09-19 21:18:40 -04:00
Patrick Cloke c0fb2575fb Bug 1581202 - Convert interface comments to jsdoc for chat. r=mkmelin 2019-09-17 07:21:26 -04:00
Alessandro Castellani 55eb6ffe22 Bug 1563122 - Use HTML input instead of XUL textbox in mail/components/im/content/. r=mkmelin 2019-09-13 11:30:55 -07:00
Khushil Mistry e0b9e01e89 Bug 1581152 - fix invocation of proceedDefaultAction() in chat-account-richlistitem.js. r=clokep 2019-09-13 09:17:00 +02:00
Patrick Cloke 79027d0dae Bug 1557506 - Remove [array] use in xpidl from chat/. r=mkmelin 2019-09-13 11:26:06 -04:00
Paul Morris f3eae4cb1f Bug 1579200 - Remove "eslint-disable key-spacing" lines from xmpp-xml.jsm. r=clokep
These lines are no longer needed now that we are letting Prettier handle formatting.
2019-09-05 15:44:55 -04:00
Paul Morris 1bd77215b1 Bug 1577835 - Reformat the .eslintrc.js files with Prettier. r=mkmelin
# ignore-this-changeset

These changes were achieved by deleting the .eslintrc.js
line from the .prettierignore file and running:
|mach eslint --fix|
2019-08-31 08:56:13 -04:00
Paul Morris 9b04a7ec5d Bug 1577835 - Remove now unneeded chat/.eslintrc.js file. r=mkmelin 2019-08-30 14:52:11 -04:00
Paul Morris f771fe4f4d Bug 1577835 - Fix 'if, else, comments', other formatting in chat/. r=mkmelin 2019-09-01 21:45:34 +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
Paul Morris 425d00717a Bug 1573670 - Wrap all Thunderbird custom elements in curly bracket blocks. r=mkmelin
Leave re-indentation to Prettier's auto-formatting, to happen
in a subsequent patch. Use `const` instead of `let` for imports.
2019-08-27 12:26:37 -04:00
Khushil Mistry 61d6d659d9 Bug 1577659 - remove statusbarpanel custom element. r=mkmelin 2019-08-30 02:16:00 +02:00
Magnus Melin bd319c2b85 Bug 1506529 - [de-xbl] convert chat tooltip (imtooltip.xml) binding to custom element <tooltip is="chat-tooltip"/>. r=florian,aleca
--HG--
rename : chat/content/imtooltip.xml => chat/content/chat-tooltip.js
2019-08-21 23:10:40 +02:00
Jorg K 78fee7253c Bug 1574863 - Follow-up: remove trailing spaces. rs=white-space-only DONTBUILD 2019-08-19 19:51:26 +02:00
Jorg K cc41dbda86 Bug 1574863 - Handle 'foreign' files in logs directory gracefully. r=florian 2019-08-19 19:29:16 +02:00
Paul Morris c83f66e07b Bug 1349337 - Move DNS.jsm to mail/base/modules. r=mkmelin
DNS.jsm is no longer just used for chat. Also do minor reformatting for eslint compliance.

--HG--
rename : chat/modules/DNS.jsm => mail/base/modules/DNS.jsm
2019-07-22 08:50:25 -04:00
Paul Morris 766a440c99 Bug 1349337 - Let DNS.jsm handle MX records. r=mkmelin 2019-07-19 11:23:13 -04:00
Alessandro Castellani 93ecc344f9 Bug 1552227 - OTR: improve UX of 'Add Finderprint' dialog. r=mkmelin,kaie 2019-07-04 21:17:48 -07:00
Alessandro Castellani e4abfcea7b Bug 1559793 - Fix OTRUI.jsm exception this.globalDoc is null. r=kaie 2019-07-05 11:01:14 -07: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
Richard Marti 667eb12b00 Bug 1561748 - Fix menulist dropdown arrows after bug 1560556. r=jorgk
--HG--
extra : rebase_source : a5a878553116a810817d0f13de9b9792b327f871
2019-06-27 12:57:12 +02:00
Magnus Melin 0666d6429b Bug 1556868 - convert <textbox type="number"> to <html:input type="number">. r=Paenglab
<html:input type="number"> doesn't have a size attribute. Added class="size2-5" to adjust width.
2019-06-24 09:08:34 +03: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
Jorg K 3d88acf6dc Bug 1558536 - C-C part: Adapt to array changes of nsISocketTransportService.create{Routed}Transport. r=darktrojan
--HG--
extra : rebase_source : 374f5e1e0a0358a8435ce43d9f68b8d09a3bc96e
2019-06-14 00:21:55 +02:00
Geoff Lankow 8f20d493be Bug 1557829 - Port bug 1557793: Adapt to array changes in nsIStringBundle.formatStringFromName (JS changes). r=jorgk 2019-06-12 16:12:00 +12:00
Kai Engert 13759b8cf3 Bug 1552177 - Follow-up: Fix check for array length. r=mkmelin 2019-06-05 18:45:52 +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
Jorg K 489ea3f130 Bug 1556049 - Port bug 1554464: Replace nsICookie2 with nsICookie and change to smart strings in TestMailCookie.cpp. rs=bustage-fix 2019-05-31 20:13:40 +02:00
Geoff Lankow 9617d1d603 Bug 1555219 - Stop using <resizer>. r=Paenglab 2019-05-30 21:01:35 +12:00
Jorg K 848770a276 Bug 1550945 - Part 4: Flesh out NS_NewMailnewsURI(). rs=bustage-fix
--HG--
extra : rebase_source : 39d7ec5cfe59e606e82283662299ec02099dd40e
2019-05-29 19:53:26 +02:00
Alessandro Castellani 12c2b52a79 Bug 1553478 - Fix OTR notification box shown for incorrect conversation. r=kaie 2019-05-28 12:07:01 +02:00
Alessandro Castellani 2ddfe0d5bd Bug 1552256 - Fix "Add Contact's OTR Fingerprint" for contact with open conversation. r=mkmelin 2019-05-27 14:55:49 -07:00
Alessandro Castellani 5d3f3a08b3 Bug 1552161 - Show OTR notification box per contact. r=kaie 2019-05-27 14:02:51 -07:00
Magnus Melin 77a0566714 Bug 1553077 - Port [Bug 1479538 - Rewrite callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...)]. r=jorgk
find . -type f -not -path "*.hg/*" -not -path "*suite/*" -not -path "./chat/protocols/matrix/matrix-sdk/*"
-name '*.js' -exec sed -r -i 's/createElementNS[(]XULNS, /createXULElement(/g' {} \;

find . -type f -not -path "*.hg/*" -not -path "*suite/*" -not -path "./chat/protocols/matrix/matrix-sdk/*"
-name '*.xml' -exec sed -r -i 's/createElementNS[(]XULNS, /createXULElement(/g' {} \;

find . -type f -not -path "*.hg/*" -not -path "*suite/*" -not -path "./chat/protocols/matrix/matrix-sdk/*"
-name '*.js' -exec sed -r -i 's#createElementNS[(]"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",#createXULElement(#g' {} \;

 + some manual fixups
2019-05-21 12:35:48 +03:00
Patrick Cloke 25b74fc170 Bug 1549166 - Use centralized ESLint configuration for chat tests. r=darktrojan 2019-05-20 13:29:08 -04:00
Kai Engert 401cd99f4f Bug 1550488 - Change the OTR localization to use Fluent. r=mkmelin 2019-05-20 11:33:11 +02:00
Magnus Melin b5f088faa4 Bug 1546338 - fix some more instances of Port [Bug 1551320 - In XUL documents replace all callers of createElement with createXULElement]. r=jorgk 2019-05-19 16:26:42 +03:00
Magnus Melin 2b1d2dc344 Bug 1546338 - Port [Bug 1551320 - In XUL documents replace all callers of createElement with createXULElement]. r=jorgk
find . -type f -not -path "*.hg/*" -not -path "*suite/*" -not -path "./chat/protocols/matrix/matrix-sdk/*"
 -not -path "./mail/components/about-support/*" -not -path "./mail/components/newmailaccount/content/*"
 -not -path "./mailnews/extensions/newsblog/content/*" -not -path "./mailnews/extensions/newsblog/content/*"
 -name '*.js' -exec sed -r -i
 '/React.|("(iframe|div|hr|img|title|a|li|ol|ul|h2|h3|facet-result-message|facet-boolean|facet-boolean-filtered|
  facet-discrete|select|option|canvas|strong|td|tr|tbody|pre|span|head|meta|map|area|table|caption|p|br|b))"/!
  s/createElement[(]/createXULElement(/g' {} \;
2019-05-16 15:21:51 +03: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
Geoff Lankow 73dd48c46c Bug 1552059 - Port bug 1551657: Adapt to array changes of nsILoginManager.findLogins, JS part; r=benc 2019-05-16 12:48:38 +12:00
Patrick Cloke 6e85a08250 Bug 1150674 - Rename getHelperForLanguage to getScriptableHelper. r=florian 2019-05-15 16:49:04 -04:00
Jorg K 4df1755291 Bug 1531608 - Pass null as second parameter to AsyncRead(), OnStatus() and OnProgress(). r=aceman
--HG--
extra : rebase_source : 479482ce9e13a75d5f66e1554d02ed9aea62528e
2019-05-13 14:44:51 +02:00
aceman b27ded7af5 Bug 1549887 - Use nextFile() when iterating nsIDirectoryEnumerator in JS of C-C. r=jorgk,darktrojan 2019-05-11 22:56:09 +02:00
Magnus Melin 06598f8b07 Bug 1547054 - Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags. r=Paenglab,philipp DONTBUILD 2019-04-28 22:14:40 +02:00
Khushil Mistry c1fa40fa8e Bug 1538548 - [de-xbl] convert the chat's conv binding to <richlistitem is='chat-imconv'>. r=mkmelin DONTBUILD
--HG--
rename : mail/components/im/content/imconv.xml => mail/components/im/content/chat-imconv.js
extra : rebase_source : 3e63a5b0bb9194417f05fbcab9b8c8c2f0684ab9
2019-04-25 06:15:00 +02:00
Khushil Mistry c164432999 Bug 1534249 - remove grid usage from addbuddy.xul, imAccountWizard.xul and joinchat.xul. r=mkmelin 2019-04-26 00:31:00 +02:00
Geoff Lankow b6580a2ac5 Bug 1543559 - Fix CSS errors detected using static analysis tests; r=mkmelin
--HG--
rename : mail/themes/windows/mail/icons/tick.png => mail/themes/shared/mail/icons/tick.png
2019-04-19 10:19:57 +12:00
Khushil Mistry 7f335f59f7 Bug 1538549 - [de-xbl] convert contact binding to custom element. r=mkmelin DONTBUILD
--HG--
rename : mail/components/im/content/imcontact.xml => mail/components/im/content/chat-contact.js
2019-04-09 14:41:00 +02:00
Jorg K be8b3921ee Bug 1542397 - temporarily switch off Chat's test_filtering.js. rs=bustage-fix 2019-04-05 23:53:16 +02:00
Jorg K 352cee08b9 Bug 1463266 - fix typos in chat/, common/ and editor/ using codespell. rs=comment-only,typo-fix 2019-03-29 21:04:35 +01:00
Khushil Mistry 7ed2802b61 Bug 1531312 - [de-xbl] convert account and buttons bindings to custom element. r=mkmelin 2019-03-22 06:43:00 +01:00
Geoff Lankow 46c9d9466a Port bug 1246594 - Enable ESLint rule no-throw-literal by default; rs=bustage-fix DONTBUILD 2019-03-21 20:45:20 +13:00
Paul Morris 80f5b263d5 Bug 1534930 - [de-xbl] Remove the spinbuttons, numberbox and textbox bindings. r=mkmelin
--HG--
rename : mail/themes/linux/mail/numberbox.css => mail/themes/linux/mail/textbox.css
rename : mail/themes/osx/mail/numberbox.css => mail/themes/osx/mail/textbox.css
rename : mail/themes/windows/mail/numberbox.css => mail/themes/windows/mail/textbox.css
2019-03-13 15:34:10 -04:00
Jorg K 3d1da6c620 Bug 1534083 - Follow-up: fix linting issue, missing trailing comma. rs=bustage-fix DONTBUILD 2019-03-11 17:42:41 +01:00
Florian Quèze abb1e38f6e Bug 1534083 - buffer messages in background conversation browsers until they are visible, r=clokep.
Depends on D22855

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

--HG--
extra : moz-landing-system : lando
2019-03-11 16:06:50 +00:00
Florian Quèze 751d0b0421 Bug 1531860 - Finish initializing the chat browser when receiving STATE_STOP and STATE_IS_WINDOW, as calling document.open no longer causes notifications at the document level, r=clokep.
Differential Revision: https://phabricator.services.mozilla.com/D22613

--HG--
extra : moz-landing-system : lando
2019-03-07 22:13:29 +00:00
Geoff Lankow c04c2f1e7f Bug 1533085 - Remove extends="xul:*" and display="xul:*" in XBL bindings; rs=bustage-fix 2019-03-07 15:17:03 +13:00
Patrick Cloke 9732b77045 Bug 1525190 - Run eslint over the chat code. r=florian 2019-02-05 14:50:43 +13:00
Patrick Cloke 70dde6f238 Bug 1531067 - Stop preprocessing chat files for Thunderbird. r=florian 2019-03-01 15:24:17 -05:00
Magnus Melin b55008fce2 Bug 1531741 - remove TextboxSpellChecker from chat. r=clokep 2019-03-01 15:58:33 +02:00
Patrick Cloke f3879c3ac3 Bug 1525190 - Run eslint --fix on Twitter code. r=freaktechnik 2019-03-01 09:50:14 -05:00
Jorg K 5d54eed88e Bug 1531307 - Remove incorrect comment. rs=comment-only DONTBUILD
--HG--
extra : rebase_source : 63c9cc8242a569d8f6a55f74ba9d205928b57074
2019-02-28 19:35:22 +01:00
Florian Quèze 88d6d64e12 Bug 1525190 - Fix instances of sstream in imAccounts. r=clokep 2019-02-28 13:32:21 -05:00
Jorg K 49bf163dd9 Bug 1531307 - Port bug 1525319: Remove context parameter from OnStartRequest/OnStopRequest/OnDataAvailable, JS part. rs=bustage-fix 2019-02-28 18:55:51 +01:00
Patrick Cloke 7986b2cf84 Bug 1525190 - Manual changes to abide by eslint in chat. r=florian 2019-02-28 09:49:44 -05:00
Patrick Cloke d5a2d6493d Bug 1525190 - Run eslint --fix over chat components code. r=florian 2019-02-27 10:13:06 -05:00
Patrick Cloke 357ae198d5 Bug 1530868 - Fix imports in chat after bug 1520643. r=freaktechnik 2019-02-27 08:50:50 -05:00
Patrick Cloke 10f11d2e56 Bug 1525190 - Run eslint --fix over chat modules code. r=florian 2019-02-27 08:11:42 -05:00
Patrick Cloke 571038fc0c Bug 1477438 - Add telephone number to the XMPP tooltip. r=florian 2019-02-26 13:13:00 -05:00
Patrick Cloke cd342a0dfe Bug 1529287 - Port more of bug 1526382 to Thunderbird chat. r=florian 2019-02-26 12:22:39 -05:00
Patrick Cloke 53b9e76926 Bug 1529816 - Remove listening code from socket.jsm. r=florian 2019-02-25 10:00:42 -05:00
Jorg K afd4157b12 Bug 1529763 - Port bug 1529252: s/Services.io.newChannel2/Services.io.newChannel/. rs=bustage-fix 2019-02-22 08:33:12 +01:00
Martin Giger bc2f902dbd Bug 1441093 - Update twitter-text to 2.0.5, supporting 280 chars. r=clokep 2018-03-08 19:11:13 +01:00
Patrick Cloke f3f2ce76a9 Bug 1525190 - Run eslint --fix over all chat protocols code. r=florian 2019-02-21 16:19:04 -05:00
Patrick Cloke f9d1ba960d Bug 1525190 - Run eslint --fix over XMPP code. r=florian 2019-02-21 12:10:43 -05:00
Geoff Lankow fca9678179 Port bug 1528971: Move newChannel2 being the only implementation within nsIProtocolHandler.idl; rs=bustage-fix 2019-02-21 18:58:12 +13:00
Patrick Cloke f757585188 Bug 1525190 - Run eslint --fix over IRC code (chat/protocols/irc). r=freaktechnik 2019-02-20 17:23:22 -05:00
Patrick Cloke 70e495320f Bug 1527480 - Fix the SCRAM-SHA-1 authentication mechanism for XMPP, r=florian 2019-02-20 09:01:29 -05:00
Jorg K b048d2cd42 Bug 1528574 - Backed out changeset 01dfe512bc4d to re-enable test after the failure cause was fixed in bug 1528907. a=backout DONTBUILD 2019-02-19 16:33:19 +01:00
Florian Quèze 1e750bd7bc Bug 1528907 - Fix imXPCOMUtils' ClassInfo implementation to follow the changes from bug 1526382, r=Fallen.
Differential Revision: https://phabricator.services.mozilla.com/D20342

--HG--
extra : moz-landing-system : lando
2019-02-19 14:43:59 +00:00
Jorg K 667f049d6f Bug 1528574 - switch off failing test test_setMode.js. rs=bustage-fix 2019-02-17 23:04:45 +01:00
Florian Quèze cc892d2a90 Bug 1526715 - avoid repeatedly calling Services.intl.DateTimeFormat when displaying chat messages or the list of previous conversations, r=clokep.
Differential Revision: https://phabricator.services.mozilla.com/D19275

--HG--
extra : moz-landing-system : lando
2019-02-11 15:22:58 +00:00
Sebastian Hengst 72159e289e Bug 1526754 - also import nsSimpleEnumerator into imCore.js to fix empty chat account creation. r=jorgk 2019-02-10 14:32:29 +01:00
aceman da12742c2f Bug 1525834 - Port bug 1095602: Remove STATE_SECURE flags from nsIWebProgressListener. r=mkmelin,frg ui-r=Paenglab 2019-02-09 07:48:00 +01:00
Magnus Melin 6727d11606 Bug 1525695 - fix a bunch of missing imports in IRC and IM related code. r=florian 2019-02-07 20:13:40 +01:00
Florian Quèze c5e9e71e6a Bug 1525730 - Fix the chat copy controller (was broken after the convbrowser.xml -> conversation-browser.js refactoring). r=clokep DONTBUILD 2019-02-07 10:10:16 +01:00
Magnus Melin 8464d3258d Bug 1524706 - fix "ReferenceError: nsSimpleEnumerator is not defined" in chat's jsProtoHelper.jsm. r=Paenglab 2019-02-06 22:55:59 +01:00
Patrick Cloke e44fe23f56 Bug 1525190 - Bugs found in IRC due to ESLint. r=freaktechnik 2019-02-05 10:15:52 -05:00
Jorg K c47a83934e Bug 1524197 - Backed out changeset 420b121a7a6f to re-enable test. a=backout 2019-02-01 17:26:53 +01:00
Florian Quèze 3d6bbaa727 Bug 1524197 - Make imContentSink.jsm drop style attributes that contain no valid style rules. r=clokep 2019-02-01 17:25:06 +01:00
Jorg K 016f171f59 Bug 1524197 - disable failing test_filtering.js. rs=bustage-fix 2019-01-31 14:59:01 +01:00
Geoff Lankow 0a77384a34 Bug 1520643 - Port bug 1514594: Change all call sites of ChromeUtils.import() to the "new" scheme; rs=bustage-fix DONTBUILD 2019-01-30 20:53:39 +13:00
aceman eb4fcd45e5 Bug 1520643 - convert some more 'const' imports to 'var'. r=darktrojan 2019-01-30 20:53:36 +13:00
Magnus Melin 06179f8d01 Bug 1520643 - Port bug 1514594: correct previous changesets by changing 'const' to 'var', various misc. fixes. rs=bustage-fix,jorgk 2019-01-29 22:21:26 +01:00
Geoff Lankow e0e6e32a52 Bug 1520643 - Port bug 1514594: Change import call sites manually which were missed. rs=bustage-fix,jorgk 2019-01-29 14:57:42 +01:00
Geoff Lankow ed26cc6a11 Bug 1520643 - Port bug 1514594: Change import call sites using kmag's script. rs=bustage-fix,jorgk 2019-01-29 11:25:29 +01:00
Patrick Cloke 595ddaf33a Bug 1521761 - Hide annoying freenode messages about vulnerability scanning. r=florian 2019-01-23 11:26:51 -05:00
Jorg K 10208f3615 Bug 1521671 - Follow-up: Fix parameter alignment/comment in mails's and chat's browserRequest.js. rs=white-space-only,comment-only DONTBUILD 2019-01-22 16:20:10 +01:00
Jorg K cea1f0131c Bug 1521671 - Port bug 1514340: Implement nsIWebProgressListener.onContentBlockingEvent(), JS part. rs=bustage-fix 2019-01-22 09:53:30 +01:00
Magnus Melin 7649b87a10 Bug 1521480 - move conversation-browser this._conv and this.progressListener setup from connectedCallback to constructor to make chat theme preview work properly. r=florian 2019-01-21 15:51:15 +02:00
Magnus Melin c794e4eb81 Bug 1519091 - convert convbrowser from xbl binding into a custom element (customized built in, extending <browser>), name it conversation-browser. r=florian DONTBUILD
Adjust to changes from bug 1441935 - Convert <browser> XBL binding to a Custom Element

The code had some odd things:

* multiple autoscrollEnable, or rather one of that and one autoScrollEnabled (capital S), now renamed to convScrollEnabled
* mDragDropHandler - not hooked up to anything

disablefastfind is no longer supported in core - bug 1520908 handles that.

--HG--
rename : chat/content/convbrowser.xml => chat/content/conversation-browser.js
2019-01-20 22:41:07 +02:00
Patrick Cloke 43a73fe590 Bug 1520480 - Remove unused NSS symbol exports. r=florian 2019-01-16 09:51:07 -05:00
Jorg K 6f47e62135 Bug 1519433 - Port bug 1513241: Adjust parameters of nsIWebNavigation.loadURI(). rs=bustage-fix 2019-01-11 17:58:38 +01:00
Jorg K 2ae64ee9b5 Bug 1364645 - Follow-up: Remove left-over reference to Task.jsm. r=florian 2019-01-03 18:35:04 +01:00
Richard Marti 8ac8015373 Bug 1517098 - Use a lock icon to show the connection security in content tab's URL field. r=mkmelin 2019-01-01 12:54:12 +01:00
Jorg K c7363436b8 Bug 1512081 - Backed out 4 changesets from bug 1495184. a=backout
Backed out changeset 93d3584af75b (bug 1495184)
Backed out changeset ae62e27f1265 (bug 1495184)
Backed out changeset 17f0a541d7ac (bug 1495184)
Backed out changeset 759a21c4e0f9 (bug 1495184)
2018-12-04 23:26:35 +01:00
Richard Marti be5b04aea3 Bug 1511170 - Port bug 1498448: Migrate Certificate Manager Dialog to use fluent for localization. r=jorgk 2018-11-29 22:10:28 +01:00
Jorg K 91ac8497e8 Bug 1364645 - Replace Task.async()/Task.spawn() with async function and yield with await. r=florian 2018-11-21 13:16:01 +01:00
Jorg K 105e71c4fd Bug 1504986 - Port bug 1504574: replace XPCOM use of nsDocumentEncoder. rs-bustage-fix 2018-11-06 12:41:17 +01:00
Magnus Melin fb66cb5f5b Bug 1497544 - de-XBL folderSummary-popup, folderSummary, folderSummary-message. r=Paenglab 2018-11-04 22:00:45 +02:00
Arshad Khan 55dbb85cb9 Bug 1491660 - Remove statusbar and statusbarpanel bindings. r=mkmelin,MakeMyDay 2018-09-16 16:50:00 +05:30