Dtool-lookup-server

Latest version: v0.18.0

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

Scan your dependencies

Page 1 of 4

0.18.0

---------------------


Added
^^^^^

- Integrated openapi
- Pagination for all listing endpoints
- Defined schemas for endpoint arguments
- Missing and improved docstrings for endpoints
- Replaces get_json() uses for the use of request's arguments
- Flask CLI commands for inspecting app configuration
- ``/config/versions`` route
- Entrypoints ``extensions``, ``search``, ``retrieve`` for plugins
- Abstract base classes for plugins
- Plugins provied a metho ``get_config_secrets_to_obfuscate`` that tells the core app which configuration parameters are not to be reported clear text
- Sample ``wsgi.py`` script for wrapping Flask app and dumping all HTTP requests and responses

Changed
^^^^^^^

- The frozen_at and created_at fields for /dataset/register endpoint are string representation of the floating point
value. Previously the application was permissive and accepted any integer, float or string type. The type sanitation
shall happen in the API client.
- When registering a dataset the readme should now be provided as a string
(text) rather than as a dictionary of key value entries
- The ``/config/inforoute now provides a dump of the actual Flask app config
- Epoxe ``X-Pagination`` headers per default.


Removed
^^^^^^^

- ``plugins`` entrypoint

0.17.2

---------------------

Fixed
^^^^^

- Made code compatible with flask-jwt-extended version 4 API
https://github.com/jic-dtool/dtool-lookup-server/issues/19
- Resolve SQLAlchemy warnings about conflicting relationships
https://github.com/jic-dtool/dtool-lookup-server/issues/20
- Resolve SQLAlchemy warning about cartesian product

0.17.1

---------------------

Fixed
^^^^^

- Fixed version of flask-jwt-extended to be less than 4 to fix
https://github.com/jic-dtool/dtool-lookup-server/issues/19

0.17.0

---------------------

Improved user management.

Added
^^^^^

- Added ``flask user delete`` CLI command
- Added ``flask user update`` CLI command
- Added ``dtool_lookup_server.utils.delete_users`` helper function
- Added ``dtool_lookup_server.utils.update_users`` helper function

0.16.0

---------------------

Changed
^^^^^^^

- Moved ``iter_datasets_in_base_uri`` from ``dtool_lookup_server.utils`` to ``dtoolcore``

Fixed
^^^^^

- Fixed issues registering datasets with "too much" metadata, resulting in datasets
information JSON documents that were too large for the mongo database. These datasets
are now ignored. See
`issue 16 <https://github.com/jic-dtool/dtool-lookup-server/issues/16>`_
for more information:

0.15.0

---------------------

This release makes it possible to create plugins to the dtool-lookup-server!

Many thanks to `Johannes L. H�rmann <https://github.com/jotelha>`_ and `Lars
Pastewka <https://github.com/pastewka>`_ for bug reports, design discussions
and code contributions.

Added
^^^^^

- Added hook to allow the loading of plugins. Scaffold code for implementing a
plugin can be found in
https://github.com/IMTEK-Simulation/dtool-lookup-server-plugin-scaffolding.
For examples of actual plugins see:
https://github.com/IMTEK-Simulation/dtool-lookup-server-dependency-graph-plugin
and
https://github.com/IMTEK-Simulation/dtool-lookup-server-plugin-scaffolding
- Added /config route; see
https://github.com/jic-dtool/dtool-lookup-server/pull/6
- Added ability to filter searches by UUID by supplying ``uuids`` keyword and list of
UUIDs of interest to a query submitted to the /dataset/search route; see
https://github.com/jic-dtool/dtool-lookup-server/pull/8
- Added dtool_lookup_server.utils.preprocess_query_base_uris helper function; see
https://github.com/jic-dtool/dtool-lookup-server/pull/7 and
https://github.com/jic-dtool/dtool-lookup-server/issues/10

Fixed
^^^^^

- Fixed timestamps returned form /dataset/search route; they are now returned
as floats rather than as strings; see
https://github.com/jic-dtool/dtool-lookup-server/issues/3
- Fixed defect in ``flask user token`` CLI command when using python3; see
https://github.com/jic-dtool/dtool-lookup-server/pull/5

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.