diff options
-rw-r--r-- | CHANGELOG.rst | 1 | ||||
-rw-r--r-- | docs/index.rst | 6 | ||||
-rw-r--r-- | mastodon/Mastodon.py | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index df5f584..ab6c48b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst | |||
@@ -4,6 +4,7 @@ version number. Breaking changes will be indicated by a change in the minor | |||
4 | 4 | ||
5 | v1.4.4 | 5 | v1.4.4 |
6 | ------ | 6 | ------ |
7 | * Added support for moderation API (Thanks Gargron for the clarifications and dotUser for helping with testing) | ||
7 | * Made status_delete return the deleted status (With "source" attribute) | 8 | * Made status_delete return the deleted status (With "source" attribute) |
8 | * Added account_id parameter to notifications | 9 | * Added account_id parameter to notifications |
9 | * Added streaming_health | 10 | * Added streaming_health |
diff --git a/docs/index.rst b/docs/index.rst index 75773ce..30dbb00 100644 --- a/docs/index.rst +++ b/docs/index.rst | |||
@@ -634,6 +634,7 @@ Instance dicts | |||
634 | # Returns the following dictionary | 634 | # Returns the following dictionary |
635 | { | 635 | { |
636 | 'description': # A brief instance description set by the admin | 636 | 'description': # A brief instance description set by the admin |
637 | 'short_description': # An even briefer instance description | ||
637 | 'email': # The admin contact e-mail | 638 | 'email': # The admin contact e-mail |
638 | 'title': # The instances title | 639 | 'title': # The instances title |
639 | 'uri': # The instances URL | 640 | 'uri': # The instances URL |
@@ -643,11 +644,12 @@ Instance dicts | |||
643 | 'stats: # A dictionary containing three stats, user_count (number of local users), | 644 | 'stats: # A dictionary containing three stats, user_count (number of local users), |
644 | # status_count (number of local statuses) and domain_count (number of known | 645 | # status_count (number of local statuses) and domain_count (number of known |
645 | # instance domains other than this one). | 646 | # instance domains other than this one). |
646 | 'contact_account': # Account dict of the primary contact for the instance. | 647 | 'contact_account': # Account dict of the primary contact for the instance |
647 | 'languages': # Array of ISO 639-1 (two-letter) language codes the instance | 648 | 'languages': # Array of ISO 639-1 (two-letter) language codes the instance |
648 | # has chosen to advertise. | 649 | # has chosen to advertise. |
649 | 'registrations': # Boolean indication whether registrations on this instance are open | 650 | 'registrations': # Boolean indication whether registrations on this instance are open |
650 | # (True) or not (False). | 651 | # (True) or not (False) |
652 | 'approval_required': # True if account approval is required when registering | ||
651 | } | 653 | } |
652 | 654 | ||
653 | Activity dicts | 655 | Activity dicts |
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 1ad512e..e6fbcf2 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -190,7 +190,7 @@ class Mastodon: | |||
190 | __DICT_VERSION_POLL = "2.8.0" | 190 | __DICT_VERSION_POLL = "2.8.0" |
191 | __DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version("2.9.1", | 191 | __DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version("2.9.1", |
192 | __DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION), __DICT_VERSION_POLL) | 192 | __DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION), __DICT_VERSION_POLL) |
193 | __DICT_VERSION_INSTANCE = bigger_version("2.7.2", __DICT_VERSION_ACCOUNT) | 193 | __DICT_VERSION_INSTANCE = bigger_version("2.9.2", __DICT_VERSION_ACCOUNT) |
194 | __DICT_VERSION_HASHTAG = "2.3.4" | 194 | __DICT_VERSION_HASHTAG = "2.3.4" |
195 | __DICT_VERSION_EMOJI = "2.1.0" | 195 | __DICT_VERSION_EMOJI = "2.1.0" |
196 | __DICT_VERSION_RELATIONSHIP = "2.5.0" | 196 | __DICT_VERSION_RELATIONSHIP = "2.5.0" |