Skip to content

RAPyDo 0.7.0 (#27)

Choose a tag to compare

@mdantonio mdantonio released this 25 Nov 13:21
· 20 commits to master since this release
12abefe
* Upgrade to RAPyDo 0.7.0

* Upgrade to neomodel 3.3.2 (new neobolt driver is now used)

* Added install_all_labels to neo4j init

* Fix neo4j error parser in case of duplicated properties

* Upgrade Flask-SQLAlchemy from 2.4.0 to 2.4.1

* In neo4j init: added remove_all_labels before install_all_labels

* Fix group list in admin users page

* Increased sleep time before testing production server

* Added get_periodic_task automatic reconnection

* Improved password reset message

* Working on catching exceptions raised during the execution of pyunittests

* Simplying tests by using a custom .projectrc instead of specifying options from CLI

* Using new GRAPHDB_AUTOINDEXING option

* Disabling neo4j auto indexing during tests

* Implemented alternative way to load endpoints:
Instead of define yaml files with swagger configuration, SPECS and METHODS can be specified as dictionary into the endpoint class
Modified the /api/status endpoint to test the new endpoint configuration

* Removed obsolete endpoints

* Core endpoints are now loaded by using the new endpoint definition (by removing swagger yamls)

* Status endpoint is now based on new endpoint definition

* Profile endpoint is now based on new endpoint definition

* Login endpoint is now based on new endpoint definition

* Logout endpoint is now based on new endpoint definition

* Verify endpoint is now based on new endpoint definition

* Tokens endpoint is now based on new endpoint definition

* Specs endpoint is now based on new endpoint definition

* Admin Users endpoint is now based on new endpoint definition

* User Roles endpoint is now based on new endpoint definition

* Reset password endpoint is now based on new endpoint definition

* Profile Activate endpoint is now based on new endpoint definition

* Queue endpoint is now based on new endpoint definition

* swagger/models.yaml moved in models/swagger.yaml

* Bug fix reading endpoint configuration multiple times (e.g. from tests)

* Replacing specs authentication settings with authentication.required decorator

* Removed common blocks from endpoint specs

* Dropped support for 'ids' key in endpoints specs

* Expose key in specs replaced with boolean class attribute expose_schema

* Publish key in specs replaced with boolean class attribute publish

* Removed SPECS attribute, replaced with mapping attribute

* Removed mapping specs, mapping and labels are now merged together

* Removed default publish:True settings

* Extended endpoint new definitions to custom endpoints

* Removed SWAGGER_MODELS_FILE also on custom projects, moved in models folder

* Swagger folder is no longer required

* Bug fix to enable celery beat only when required

* Defaulting swagger labels [empty list]

* Added utility script to convert swaggers yaml to new endpoint-based definitions

* Stopping tests on centos build, removed official support

* Extended swagger convert script with required roles parameter

* Fix to avoid duplicated import during endpoints definition

* Truncated long arguments of failed tasks to avoid logging overflow

* Swagger converter extended with depends on configuration

* Swagger converter extended with baseuri configuration

* Included head methods to swagger conversion script

* Bug fix to include swagger models in the package

* Implemented celery beat scheduler based on Redis

* Fixed deprecation warning on werkzeug ProxyFix

* Fixed deprecation warning on flask_alchemy SQLALCHEMY_TRACK_MODIFICATIONS

* Admin users endpoint extended to sql and mongo

* Extended CORS in debug mode to support chunked uploads

* Implemented chunk uploads protocol described in https://developers.google.com/drive/api/v3/manage-uploads#resumable

* Bug fix reading Content-Range header

* Bug fix in case of Content-Range with */<size> syntax

* Bug fix retrieving roles from neo4j in admin users endpoint

* Admin users endpoint: email update is no longer supported

* Deprecated methods in graph_endpoint, moved into flask_neo4j ext and decorators

* Removed deprecated file

* Added deprecation warnings when using old authentication decorator

* Added explicit restapi init before starting tests

* Implemented local setting of allow_access_token_parameter flag on authorization.required decorator

* Added Pushpin service

* Added Websocket management endpoint

* Bug fix publishing on pushpin sockets, missing return value

* Added tests on pushpin template project

* Bug fix parsing Content-Range: bytes */<total-len>

* Bug fix saving first/last login in user model

* Default backend port in debug mode is now 8080 (no longer 5000)

* Bug fix when editing users on SQL databases

* Direct use of processes utilities without using the utilities wrapper

* Added certificates utilities

* Added sendmail utilities

* Added globals, htmlcodes, meta, and uuid utilities

* Added time utilities

* Removed YAML_EXT|YAML_SHORT_EXT constants from utilities

* Loading load_yaml_file from utilities.configuration instead of utilities.myyaml

* Added implementation of load_group function in detector

* Added basher utility

* Removed dependency from utilities.basher

* Added get_api_url utility

* Removed dependency from utilities.helpers

* Removed dependency from utilities confs

* Removing depency from utilities.htmlcodes

* Removed dependency from globals, time, uuid, meta utilities

* Removed utilities imports

* Removed depedency from utilities.log and utilities.configuration

* Removed checks on running celery during backend startup... it raises an unnecessary warning both when celery is executed as secondary stack and when celery is loading slower than backend

* Converted log.critical_exit in log.exit

* Converted log.*(message % (x, y)) into log.*(message, x, y)

* Converted log.*(message % x) into log.*(message, x)

* Removed print_stack log utility

* Removed print log utility

* Removed pp and app log utilities

* Removed checked and clear_screen log utilities

* Converted very_verbose messages into verbose

* Endpoints loading errors now stop the server with a critical error