Khorosjx

Latest version: v3.2.0

Safety actively analyzes 629564 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

2.5.0

Not secure
******
**Release Date: 2020-03-25**

Changed
=======

Primary Modules
---------------
Changes to the :doc:`primary modules <primary-modules>`.

* Updated the :py:func:`khorosjx.core.get_request_with_retries` function to raise the custom
:py:exc:`khorosjx.errors.exceptions.APIConnectionError` exception class rather than the built-in
:py:exc:`ConnectionError` exception class.
* Removed the ``import warnings`` line from the :py:mod:`khorosjx.core` module as it was not being used.
* Moved the :py:func:`khorosjx.admin.verify_core_connection.get_info` function to the module level as
:py:func:`khorosjx.admin.retrieve_connection_info`.
* Moved the :py:func:`khorosjx.content.base.verify_core_connection.get_info` function to the module level as
:py:func:`khorosjx.content.base.retrieve_connection_info`.
* Moved the :py:func:`khorosjx.content.docs.verify_core_connection.get_info` function to the module level as
:py:func:`khorosjx.content.docs.retrieve_connection_info`.
* Moved the :py:func:`khorosjx.content.docs.__perform_overwrite_operation` function to be at the module level
instead of within the :py:func:`khorosjx.content.docs.overwrite_doc_body` function.
* Moved the :py:func:`khorosjx.content.events.verify_core_connection.get_info` function to the module level as
:py:func:`khorosjx.content.events.retrieve_connection_info`.
* Moved the :py:func:`khorosjx.content.ideas.verify_core_connection.get_info` function to the module level as
:py:func:`khorosjx.content.ideas.retrieve_connection_info`.
* Moved the :py:func:`khorosjx.content.threads.verify_core_connection.get_info` function to the module level as
:py:func:`khorosjx.content.threads.retrieve_connection_info`.
* Moved the :py:func:`khorosjx.content.videos.verify_core_connection.get_info` function to the module level as
:py:func:`khorosjx.content.videos.retrieve_connection_info`.
* Moved the :py:func:`khorosjx.content.videos.__append_videos` function to be at the module level
instead of within the :py:func:`khorosjx.content.videos.get_native_videos_for_space` function.
* Moved the :py:func:`khorosjx.groups.verify_core_connection.get_info` function to the module level as
:py:func:`khorosjx.groups.retrieve_connection_info`.
* Moved the :py:func:`khorosjx.groups.__add_paginated_members` function to be at the module level
instead of within the :py:func:`khorosjx.groups.get_group_memberships` function.
* Moved the :py:func:`khorosjx.groups.__get_paginated_groups` function to be at the module level
instead of within the :py:func:`khorosjx.groups.get_all_groups` function.
* Updated the :py:func:`khorosjx.groups.get_group_memberships` function to leverage the
:py:func:`khorosjx.utils.df_utils.convert_dict_list_to_dataframe` function rather than the deprecated
:py:func:`khorosjx.utils.core_utils.convert_dict_list_to_dataframe` function.
* Moved the :py:func:`khorosjx.news.verify_core_connection.get_info` function to the module level as
:py:func:`khorosjx.news.retrieve_connection_info`.
* Moved the :py:func:`khorosjx.news.get_subscriber_groups.__filter_subscriptions_by_id` function to the
module level as :py:func:`khorosjx.news.filter_subscriptions_by_id`.
* Moved the :py:func:`khorosjx.news.get_subscriber_groups.__get_subscriber_ids` function to the
module level as :py:func:`khorosjx.news.get_subscriber_ids`.
* Moved the :py:func:`khorosjx.users.verify_core_connection.get_info` function to the module level as
:py:func:`khorosjx.users.retrieve_connection_info`.
* Moved the :py:func:`khorosjx.users.get_user_content_count.__get_count` function to the module level as
:py:func:`khorosjx.users.__get_paginated_content_count`.

Documentation
-------------
Changes to the documentation.

* Updated the exception class references within docstrings to be hyperlinks to the class details in these functions:
* :py:func:`khorosjx.init_module`
* :py:func:`khorosjx.init_helper`
* :py:func:`khorosjx.admin.retrieve_connection_info`
* :py:func:`khorosjx.admin.verify_core_connection`
* :py:func:`khorosjx.core.get_data`
* :py:func:`khorosjx.core.get_fields_from_api_response`
* :py:func:`khorosjx.core.get_paginated_results`
* :py:func:`khorosjx.core.get_request_with_retries`
* :py:func:`khorosjx.core.post_request_with_retries`
* :py:func:`khorosjx.core.put_request_with_retries`
* :py:func:`khorosjx.core.set_credentials`
* :py:func:`khorosjx.core.set_base_url`
* :py:func:`khorosjx.core.verify_connection`
* :py:func:`khorosjx.core.__api_request_with_payload`
* :py:func:`khorosjx.content.get_content_id`
* :py:func:`khorosjx.content.get_document_attachments`
* :py:func:`khorosjx.content.get_document_info`
* :py:func:`khorosjx.content.overwrite_doc_body`
* :py:func:`khorosjx.content.__convert_lookup_value`
* :py:func:`khorosjx.content.base.get_content_id`
* :py:func:`khorosjx.content.base.retrieve_connection_info`
* :py:func:`khorosjx.content.base.verify_core_connection`
* :py:func:`khorosjx.content.base.__convert_lookup_value`
* :py:func:`khorosjx.content.docs.create_document`
* :py:func:`khorosjx.content.docs.delete_document`
* :py:func:`khorosjx.content.docs.get_content_id`
* :py:func:`khorosjx.content.docs.get_document_attachments`
* :py:func:`khorosjx.content.docs.get_document_info`
* :py:func:`khorosjx.content.docs.get_url_for_id`
* :py:func:`khorosjx.content.docs.overwrite_doc_body`
* :py:func:`khorosjx.content.docs.retrieve_connection_info`
* :py:func:`khorosjx.content.docs.verify_core_connection`
* :py:func:`khorosjx.content.docs.__perform_overwrite_operation`
* :py:func:`khorosjx.content.events.get_content_id`
* :py:func:`khorosjx.content.events.retrieve_connection_info`
* :py:func:`khorosjx.content.events.verify_core_connection`
* :py:func:`khorosjx.content.ideas.retrieve_connection_info`
* :py:func:`khorosjx.content.ideas.verify_core_connection`
* :py:func:`khorosjx.content.threads.get_content_id`
* :py:func:`khorosjx.content.threads.retrieve_connection_info`
* :py:func:`khorosjx.content.threads.verify_core_connection`
* :py:func:`khorosjx.content.videos.check_if_embedded`
* :py:func:`khorosjx.content.videos.get_content_id`
* :py:func:`khorosjx.content.videos.get_native_videos_for_space`
* :py:func:`khorosjx.content.videos.get_video_dimensions`
* :py:func:`khorosjx.content.videos.get_video_id`
* :py:func:`khorosjx.content.videos.get_video_info`
* :py:func:`khorosjx.content.videos.retrieve_connection_info`
* :py:func:`khorosjx.content.videos.verify_core_connection`
* :py:func:`khorosjx.groups.add_user_to_group`
* :py:func:`khorosjx.groups.check_user_membership`
* :py:func:`khorosjx.groups.get_all_groups`
* :py:func:`khorosjx.groups.get_group_info`
* :py:func:`khorosjx.groups.get_group_memberships`
* :py:func:`khorosjx.groups.get_user_memberships`
* :py:func:`khorosjx.groups.retrieve_connection_info`
* :py:func:`khorosjx.groups.verify_core_connection`
* :py:func:`khorosjx.news.filter_subscriptions_by_id`
* :py:func:`khorosjx.news.get_all_publications`
* :py:func:`khorosjx.news.get_publication`
* :py:func:`khorosjx.news.get_stream`
* :py:func:`khorosjx.news.get_subscriber_groups`
* :py:func:`khorosjx.news.get_subscription_ids`
* :py:func:`khorosjx.news.rebuild_publication`
* :py:func:`khorosjx.news.retrieve_connection_info`
* :py:func:`khorosjx.news.update_publication`
* :py:func:`khorosjx.news.update_stream`
* :py:func:`khorosjx.news.verify_core_connection`
* :py:func:`khorosjx.spaces.get_browse_id`
* :py:func:`khorosjx.spaces.get_permitted_content_types`
* :py:func:`khorosjx.spaces.get_space_info`
* :py:func:`khorosjx.spaces.get_space_permissions`
* :py:func:`khorosjx.spaces.get_spaces_list_from_file`
* :py:func:`khorosjx.users.get_json_field`
* :py:func:`khorosjx.users.get_primary_email`
* :py:func:`khorosjx.users.get_user_id`
* :py:func:`khorosjx.users.retrieve_connection_info`
* :py:func:`khorosjx.users.verify_core_connection`
* :py:func:`khorosjx.users.__get_paginated_content_count`
* :py:func:`khorosjx.users.__validate_lookup_type`

Fixed
=====

Security
--------
Fixes relating to security vulnerabilities.

* Updated the version of the ``bleach`` package in
`requirements.txt <https://github.com/jeffshurtliff/khorosjx/blob/master/requirements.txt>`_ to be ``3.1.2`` to
mitigate an identified `mutation XSS vulnerability <https://cure53.de/fp170.pdf>`_ that was reported by GitHub.

Documentation
-------------
Fixes to the documentation.

* Corrected a typo in the docstring for the :py:func:`khorosjx.core.get_base_url` function.

|

******

2.4.1

Not secure
******
**Release Date: 2020-03-23**

Fixed
=====

Primary Modules
---------------
Additions to the :doc:`primary modules <primary-modules>`.

* Added the ``verify_core_connection()`` function call to the :py:func:`khorosjx.content.base.__convert_lookup_value`
function to resolve the ``NameError: name 'base_url' is not defined`` error.
* Added missing docstrings to the :py:func:`khorosjx.content.ideas.get_ideas_for_space` function.

|

******

2.4.0

Not secure
******
**Release Date: 2020-03-16**

Added
=====

Primary Modules
---------------
Additions to the :doc:`primary modules <primary-modules>`.

* Added the :py:func:`khorosjx.content.ideas.get_ideas_for_space` function.
* Added the ``idea_fields`` list to the :py:class:`khorosjx.utils.classes.FieldLists` class.
* Added the :py:func:`khorosjx.utils.version.warn_when_not_latest` function call in the main :py:mod:`khorosjx` module.

Supporting Modules
------------------
Additions to the :doc:`supporting modules <supporting-modules>`.

* Added the :py:func:`khorosjx.utils.version.get_latest_stable` function.
* Added the :py:func:`khorosjx.utils.version.latest_version` function.
* Added the :py:func:`khorosjx.utils.version.warn_when_not_latest` function.

Changed
=======

Primary Modules
---------------
Changes to the :doc:`primary modules <primary-modules>`.

* Introduced the ``all_fields`` argument into the
:py:func:`khorosjx.content.base.get_paginated_content` function.
* Updated the ``datasets`` dictionary in the :py:class:`khorosjx.utils.classes.Content` class
to include the ``idea`` key value pair.
* Updated the :py:func:`khorosjx.groups.__get_paginated_groups` function to use the
:py:func:`khorosjx.utils.df_utils.convert_dict_list_to_dataframe` function instead of the deprecated
:py:func:`khorosjx.utils.core_utils.convert_dict_list_to_dataframe` function.
* Removed obsolete ``import re`` statement from the :py:func:`khorosjx.groups.__get_paginated_groups` function.

Fixed
=====

Primary Modules
---------------
Fixes to the :doc:`primary modules <primary-modules>`.

* Fixed a minor syntax issue in the :py:func:`khorosjx.content.base.get_content_id` function.

Documentation
-------------
Changes to the documentation.

* Fixed a typo in the `README.md <https://github.com/jeffshurtliff/khorosjx/blob/master/README.md>`_ file.

|

******

2.3.1

Not secure
******
**Release Date: 2020-02-24**

Changed
=======

General
-------
* Adjusted the ``python_requires`` value in ``setup.py`` to reject version 3.8.1 and above as the ``numpy`` and
``pandas`` packages do not currently support that version.
* Upgraded the `bleach <https://bleach.readthedocs.io/>`_ package to version ``3.1.1`` to mitigate a security alert
for a `mutation XSS <https://github.com/mozilla/bleach/security/advisories/GHSA-q65m-pv3f-wr5r>`_ vulnerability and
updated the ``requirements.txt`` file accordingly.

|

******

2.3.0

Not secure
******
**Release Date: 2020-02-11**

Added
=====

Primary Modules
---------------
Additions to the :doc:`primary modules <primary-modules>`.

* Added the :py:mod:`khorosjx.news` module with the following functions:
* :py:func:`khorosjx.news.verify_core_connection`
* :py:func:`khorosjx.news.get_all_publications`
* :py:func:`khorosjx.news.get_publication`
* :py:func:`khorosjx.news.delete_publication`
* :py:func:`khorosjx.news.get_subscription_data`
* :py:func:`khorosjx.news.get_subscription_ids`
* :py:func:`khorosjx.news.get_subscriber_groups`
* :py:func:`khorosjx.news.get_subscribers`
* :py:func:`khorosjx.news.rebuild_publication`
* :py:func:`khorosjx.news.get_stream`
* :py:func:`khorosjx.news.update_stream`
* :py:func:`khorosjx.news.delete_stream`

Supporting Modules
------------------
Additions to the :doc:`supporting modules <supporting-modules>`.

* Added the ``publication_fields``, ``subscription_fields`` and ``stream_fields`` lists to the
:py:class:`khorosjx.utils.classes.FieldLists` class.
* Added the :py:exc:`khorosjx.errors.exceptions.SubscriptionNotFoundError` exception class.

Changed
=======

Primary Modules
---------------
Changes to the :doc:`primary modules <primary-modules>`.

* Added the :py:mod:`khorosjx.news` module to the ``__all__`` special variable in the primary :py:mod:`khorosjx` module.
* Updated the :py:func:`khorosjx.init_module` function to be compatible with the :py:mod:`khorosjx.news` module.
* Updated the :py:func:`khorosjx.core.get_data` function to include the ``all_fields`` argument. (``False`` by default)
* Referenced the :py:exc:`khorosjx.errors.exceptions.POSTRequestError` exception class in the docstring for the
:py:func:`khorosjx.core.post_request_with_retries` function.
* Referenced the :py:exc:`khorosjx.errors.exceptions.PUTRequestError` exception class in the docstring for the
:py:func:`khorosjx.core.put_request_with_retries` function.

Supporting Modules
------------------
Changes to the :doc:`supporting modules <supporting-modules>`.

* Added a ``DeprecationWarning`` to the :py:func:`khorosjx.utils.core_utils.convert_dict_list_to_dataframe` function.

Fixed
=====

Primary Modules
---------------
Fixes to the :doc:`primary modules <primary-modules>`.

* Changed the ``json_payload`` type to ``dict`` in the docstring for the
:py:func:`khorosjx.core.put_request_with_retries` and :py:func:`khorosjx.core.post_request_with_retries` functions.

Removed
=======

General
-------
* Removed the ``MANIFEST.in`` file as the ``VERSION`` file is no longer used.

|

******

2.2.0

Not secure
******
**Release Date: 2020-01-22**

Added
=====

Primary Modules
---------------
Additions to the :doc:`primary modules <primary-modules>`.

* Added the :py:func:`khorosjx.core.get_base_url` function.
* Added the :py:func:`khorosjx.core.get_query_url` function.
* Added the :py:func:`khorosjx.core.__get_filter_syntax` function.
* Added the :py:func:`khorosjx.content.videos.get_video_id` function.
* Added the :py:func:`khorosjx.content.videos.get_native_videos_for_space` function.
* Added the :py:func:`khorosjx.content.videos.find_video_attachments` function.
* Added the :py:func:`khorosjx.content.videos.__construct_url_from_id` function.
* Added the :py:func:`khorosjx.content.videos.check_if_embedded` function.
* Added the :py:func:`khorosjx.content.videos.get_video_dimensions` function.

Supporting Modules
------------------
Additions to the :doc:`supporting modules <supporting-modules>`.

* Added the ``video_fields`` list to the :py:class:`khorosjx.utils.classes.FieldLists` class.
* Added the ``video`` key value pair to the ``datasets`` dictionary within the
:py:class:`khorosjx.utils.classes.Content` class.
* Added the :py:func:`khorosjx.errors.handlers.bad_lookup_type` function.
* Added the :py:exc:`khorosjx.errors.exceptions.ContentNotFoundError` exception.

Changed
=======

General
-------
* Updated `setup.py <https://github.com/jeffshurtliff/khorosjx/blob/master/setup.py>`_ to define ``version`` in the
:py:func:`setuptools.setup` function using the ``__version__`` value from :py:func:`khorosjx.utils.version`.

Primary Modules
---------------
Changes to the :doc:`primary modules <primary-modules>`.

* Updated the :py:func:`khorosjx.core.get_paginated_results` function to allow additional filters to be supplied as
a tuple containing the element and criteria (e.g. ``('type', 'video')`` or a list of tuples for multiple filters.
* Made minor adjustment to the :py:func:`khorosjx.groups.get_all_groups` function.
* Updated the :py:func:`khorosjx.content.videos.get_content_id` function to allow a URL or Video ID to be supplied.
* Updated the :py:func:`khorosjx.content.base.get_content_id` function to raise the
:py:exc:`khorosjx.errors.exceptions.ContentNotFoundError` exception instead of a generic ``KeyError`` exception.

******

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.