Skip to content

Commit

Permalink
Upd for TB78.6 (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Dec 21, 2020
1 parent 246234b commit d4ff142
Show file tree
Hide file tree
Showing 20 changed files with 408 additions and 63 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_build
chrome_settings_overrides.rst
conf.py
overlay/*.rst
__pycache__
versionwarning-data.json
2 changes: 1 addition & 1 deletion _static/theme_overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ div.container > ul {
.api-header-section div {
padding: 6px;
}
.api-header-section > div > a {
.api-header-section > div a {
font-size: 95%;
font-style: italic;
}
Expand Down
17 changes: 16 additions & 1 deletion accounts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Permissions

.. note::

The permission :permission:`accountsRead` is required to use ``accounts``.
The permission :permission:`accountsRead` is required to use ``accounts``.

.. rst-class:: api-main-section

Expand All @@ -48,6 +48,11 @@ Returns all mail accounts.

.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. api-header::
:label: Required permissions

- :permission:`accountsRead`

.. _accounts.get:

get(accountId)
Expand Down Expand Up @@ -76,6 +81,11 @@ Returns details of the requested account, or null if it doesn't exist.

.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. api-header::
:label: Required permissions

- :permission:`accountsRead`

.. _accounts.setDefaultIdentity:

setDefaultIdentity(accountId, identityId)
Expand All @@ -99,6 +109,11 @@ Sets the default identity for an account.
:type: (string)


.. api-header::
:label: Required permissions

- :permission:`accountsRead`

.. rst-class:: api-main-section

Types
Expand Down
52 changes: 51 additions & 1 deletion addressBooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Permissions

.. note::

The permission :permission:`addressBooks` is required to use ``addressBooks``.
The permission :permission:`addressBooks` is required to use ``addressBooks``.

.. rst-class:: api-main-section

Expand All @@ -40,6 +40,11 @@ openUI()

Opens the address book user interface.

.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _addressBooks.closeUI:

closeUI()
Expand All @@ -49,6 +54,11 @@ closeUI()

Closes the address book user interface.

.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _addressBooks.list:

list([complete])
Expand Down Expand Up @@ -79,6 +89,11 @@ Gets a list of the user's address books, optionally including all contacts and m

.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _addressBooks.get:

get(id, [complete])
Expand Down Expand Up @@ -114,6 +129,11 @@ Gets a single address book, optionally including all contacts and mailing lists.

.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _addressBooks.create:

create(properties)
Expand Down Expand Up @@ -149,6 +169,11 @@ Creates a new, empty address book.

.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _addressBooks.update:

update(id, properties)
Expand Down Expand Up @@ -177,6 +202,11 @@ Renames an address book.



.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _addressBooks.delete:

delete(id)
Expand All @@ -195,6 +225,11 @@ Removes an address book, and all associated contacts and mailing lists.
:type: (string)


.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. rst-class:: api-main-section

Events
Expand All @@ -218,6 +253,11 @@ Fired when an address book is created.
:type: (:ref:`addressBooks.AddressBookNode`)


.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _addressBooks.onUpdated:

onUpdated(node)
Expand All @@ -236,6 +276,11 @@ Fired when an address book is renamed.
:type: (:ref:`addressBooks.AddressBookNode`)


.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _addressBooks.onDeleted:

onDeleted(id)
Expand All @@ -254,6 +299,11 @@ Fired when an addressBook is deleted.
:type: (string)


.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. rst-class:: api-main-section

Types
Expand Down
2 changes: 1 addition & 1 deletion browserAction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Manifest file properties

.. note::

A manifest entry named ``browser_action`` is required to use ``browserAction``.
A manifest entry named ``browser_action`` is required to use ``browserAction``.

.. rst-class:: api-main-section

Expand Down
16 changes: 16 additions & 0 deletions changes/beta83.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
=========================
Changes in Thunderbird 83
=========================

compose
=======

* :ref:`ComposeAttachment <compose.ComposeAttachment>` objects now have a ``size`` property with
the size of the attachment in bytes.

menus
=====

* A ``compose_attachment`` context can now be used. This context applies when the user opens a
context menu on selected attachments in a compose window. The selected attachments can be
accessed from the ``attachments`` property in the :ref:`onClicked <menus.onClicked>` listener.
10 changes: 10 additions & 0 deletions changes/beta84.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
=========================
Changes in Thunderbird 84
=========================

windows
=======

* The following function has been added:

* :ref:`windows.openDefaultBrowser`
2 changes: 1 addition & 1 deletion cloudFile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Manifest file properties

.. note::

A manifest entry named ``cloud_file`` is required to use ``cloudFile``.
A manifest entry named ``cloud_file`` is required to use ``cloudFile``.

.. rst-class:: api-main-section

Expand Down
2 changes: 1 addition & 1 deletion commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Manifest file properties

.. note::

A manifest entry named ``commands`` is required to use ``commands``.
A manifest entry named ``commands`` is required to use ``commands``.

.. rst-class:: api-main-section

Expand Down
2 changes: 1 addition & 1 deletion composeAction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Manifest file properties

.. note::

A manifest entry named ``compose_action`` is required to use ``composeAction``.
A manifest entry named ``compose_action`` is required to use ``composeAction``.

.. rst-class:: api-main-section

Expand Down
7 changes: 6 additions & 1 deletion composeScripts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Permissions

.. note::

The permission :permission:`compose` is required to use ``composeScripts``.
The permission :permission:`compose` is required to use ``composeScripts``.

.. rst-class:: api-main-section

Expand All @@ -56,6 +56,11 @@ Register a compose script programmatically
:type: (:ref:`composeScripts.RegisteredComposeScriptOptions`)


.. api-header::
:label: Required permissions

- :permission:`compose`

.. rst-class:: api-main-section

Types
Expand Down
47 changes: 46 additions & 1 deletion contacts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Permissions

.. note::

The permission :permission:`addressBooks` is required to use ``contacts``.
The permission :permission:`addressBooks` is required to use ``contacts``.

.. rst-class:: api-main-section

Expand Down Expand Up @@ -60,6 +60,11 @@ Gets all the contacts in the address book with the id ``parentId``.

.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _contacts.quickSearch:

quickSearch([parentId], searchString)
Expand Down Expand Up @@ -97,6 +102,11 @@ Gets all contacts matching ``searchString`` in the address book with the id ``pa

.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _contacts.get:

get(id)
Expand Down Expand Up @@ -125,6 +135,11 @@ Gets a single contact.

.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _contacts.create:

create(parentId, [id], properties)
Expand Down Expand Up @@ -167,6 +182,11 @@ Adds a new contact to the address book with the id ``parentId``.

.. _Promise: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _contacts.update:

update(id, properties)
Expand All @@ -190,6 +210,11 @@ Edits the properties of a contact. To remove a property, specify it as ``null``.
:type: (:ref:`contacts.ContactProperties`)


.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _contacts.delete:

delete(id)
Expand All @@ -208,6 +233,11 @@ Removes a contact from the address book. The contact is also removed from any ma
:type: (string)


.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. rst-class:: api-main-section

Events
Expand Down Expand Up @@ -236,6 +266,11 @@ Fired when a contact is created.
:type: (string)


.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _contacts.onUpdated:

onUpdated(node)
Expand All @@ -254,6 +289,11 @@ Fired when a contact is changed.
:type: (:ref:`contacts.ContactNode`)


.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. _contacts.onDeleted:

onDeleted(parentId, id)
Expand All @@ -277,6 +317,11 @@ Fired when a contact is removed from an address book.
:type: (string)


.. api-header::
:label: Required permissions

- :permission:`addressBooks`

.. rst-class:: api-main-section

Types
Expand Down

0 comments on commit d4ff142

Please sign in to comment.