14
0
Commit Graph

11 Commits

Author SHA256 Message Date
7f07fb3c66 Accepting request 1165991 from home:mnhauke
- Update to version 2.5.0
  Deprecations:
  * Requests version required >= 2.31.0
  New Features:
  * Pro Edition: RedmineUP Products plugin support
  * Issue copying (see docs for details)
  Improvements:
  * dir(resource) and list(resource) now also show properties of
    an object.
  * Support for issues_assigned and issues_authored relations in
    User object
  * Original filename will be used as a filename for all uploaded
    files if a path was provided and filename wasn't set.
  * Pro Edition: Added support for RedmineUP Contact avatar
    add/update operations (see docs for details).
  * Pro Edition: Added support for RedmineUP DealCategory create(),
    update(), delete() operations (see docs for details).
  * Pro Edition: RedmineUP CrmQuery resource now supports
    invoices and expenses relation attributes.
  * PerformanceWarning will be issued when Python-Redmine does some
    unnecessary redirects before the actual request is made.
  Changes:
  * Backwards Incompatible: API key is now being sent in the
    X-Redmine-API-Key header instead of the key GET parameter which
    makes things more secure in case of a failed connection, but
    it might created issues for servers that don't do custom
    request header forwarding by default, so be sure to check your
    web server before upgrading (Issue #328 and Issue #330).
  * Backwards Incompatible: User all operation now really returns
    all users, i.e. not only active, but locked, registered and

OBS-URL: https://build.opensuse.org/request/show/1165991
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-redmine?expand=0&rev=18
2024-04-08 08:15:49 +00:00
6534d2187f - Switch to pyproject and autosetup macros.
- Add patch support-python-312.patch, support Python 3.12.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-redmine?expand=0&rev=16
2024-03-04 02:07:24 +00:00
ddd292c0f9 - Add 328.patch to workaround "API key leakage on exception"
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-redmine?expand=0&rev=14
2023-09-29 07:27:41 +00:00
dfcac9db60 Accepting request 1113727 from home:mnhauke
- Add patch to workaround "API key leakage on exception"
  described in boo#1215722
  https://github.com/maxtepkeev/python-redmine/issues/330
  https://github.com/maxtepkeev/python-redmine/pull/328

OBS-URL: https://build.opensuse.org/request/show/1113727
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-redmine?expand=0&rev=13
2023-09-27 09:13:54 +00:00
e9b4aeb97a Accepting request 1060191 from home:mnhauke
- Update to version 2.4.0
  New Features:
  * Timezone support.
  Improvements:
  * Added support for Python 3.10, 3.11 and latest PyPy
  * Added support for `allowed_statuses` to ``include`` param and
    on demand includes for Issue resource.
  * Added support for `issue_custom_fields` to ``include``
    param and on demand includes for Project resource.
  - Added support for `comments` and `attachments` to ``include``
    param and on demand includes for News resource.
  * Added support for Project ``close()``, ``reopen()``,
    ``archive()``, ``unarchive()`` operations.
  * Added support for updating and deleting issue journals.
  Backwards Incompatible Changes:
  * Switched to pytest instead of nose as nose project is dead
  * Removed usage of distutils.LooseVersion internally since it
    became deprecated and caused warnings, because of that all
    version info internally is now being represented as tuples
    and not strings as before.
  Bugfixes:
  * Stop raising `ResourceAttrError` for attributes that actually
    exist, but their value is `None`.
  * Project resource ``default_assignee`` attribute was returned
    as a dict instead of being converted to Resource object.
  * Project resource ``time_entry_activities`` attribute was
    returned as a list instead of being converted to ResourceSet
    object.

OBS-URL: https://build.opensuse.org/request/show/1060191
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-redmine?expand=0&rev=11
2023-01-24 08:31:33 +00:00
Martin Hauke
db3a713e07 Accepting request 969352 from home:mcalabkova:branches:devel:languages:python
- do not take python2 into account, it is long dead... and drop mock requirement

OBS-URL: https://build.opensuse.org/request/show/969352
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-redmine?expand=0&rev=9
2022-04-12 15:30:33 +00:00
Tomáš Chvátal
67a0a633c8 Accepting request 827117 from home:jayvdb:py-submit
Replace nose with pytest

OBS-URL: https://build.opensuse.org/request/show/827117
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-redmine?expand=0&rev=7
2020-08-17 06:15:54 +00:00
Tomáš Chvátal
d68e10d92c Accepting request 824459 from home:mcalabkova:branches:devel:languages:python
- Update to version 2.3.0
  * Support custom filename in ``redmine.upload()``
  * Support for ``get()`` and ``update()`` operations for ``/my/account`` endpoint which doesn't require admin
    privileges by using ``me`` as an id, i.e. ``redmine.user.get('me')`` or ``redmine.user.update('me',firstname='John')``
    (requires Redmine >= 4.1.0)
  * News ``create()``, ``update()``, ``delete()`` operations support (requires Redmine >= 4.1.0)
  * ResourceSet's ``export()`` method now supports ``columns`` keyword argument which can be either an iterable
    of column names, an "all" string which tells Python*Redmine to export all available columns, "all_gui" string
    for GUI like behaviour or iterable of elements with "all_gui" string and additional columns to export
  * Added support for special characters in WikiPage titles (`Issue #222 <https://github.com/maxtepkeev/python-redmine/
    issues/222>`__) (thanks to `Radek Czajka <https://github.com/rczajka>`__)
  * Added ``return_response`` and ``ignore_response`` parameters to engine which allow to skip response processing
    and speed up the create/update/delete operation in case response body isn't needed (see
    `docs <https://python*redmine.com/advanced/request_engines.html#session>`__ for details)
  * *Backwards Incompatible:* Requests version required >= 2.23.0
  * *Backwards Incompatible:* Removed Python 3.4 support as it's not supported by Requests anymore
- Drop apparently obsolete python-python-redmine-use-system-requests.patch

OBS-URL: https://build.opensuse.org/request/show/824459
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-redmine?expand=0&rev=5
2020-08-06 05:41:37 +00:00
Tomáš Chvátal
f8a506a698 - Fix the runtime dependencies
- Fix build without python2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-redmine?expand=0&rev=3
2020-04-20 10:04:41 +00:00
Stephan Kulow
1448bededf Accepting request 680144 from devel:languages:python
- Update to version 2.2.1
  Bugfixes:
  * ProjectMembership resource ``group`` attribute was returned as
    a dict instead of being converted to Resource object
- Update to version 2.2.0
  Improvements:
  * ``PerformanceWarning`` will be issued when Python-Redmine does
    some unnecessary work under the hood to fix the clients code
    problems
  Changes:
  * *Backwards Incompatible:* Removed vendored Requests package
    and make it an external dependency as Requests did the same with
    it's own dependencies
  * *Backwards Incompatible:* Removed Python 2.6 and 3.3 support as
    they're not supported by Requests anymore
  Bugfixes:
  * ``Redmine.upload()`` fails under certain circumstances when used
    with a file-like object and it contains unicode instead of bytes
  * - ``Redmine.session()`` doesn't restore previous engine if fails
- Update patch:
  * python-python-redmine-use-system-requests.patch
- Use %license for license install
- Initial package, version 2.0.2
- Add patch:
  * python-python-redmine-use-system-requests.patch

OBS-URL: https://build.opensuse.org/request/show/680144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-redmine?expand=0&rev=1
2019-03-01 19:30:41 +00:00
Tomáš Chvátal
4e20fd0c61 Accepting request 680143 from home:mnhauke
Initial package for pyhton-python-redmine

OBS-URL: https://build.opensuse.org/request/show/680143
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-redmine?expand=0&rev=1
2019-02-28 14:52:48 +00:00