Skip to content

Commit

Permalink
v 2.5.9: Release notes and API freeze.
Browse files Browse the repository at this point in the history
  • Loading branch information
grololo06 committed Jun 10, 2021
1 parent d49faf2 commit 0ed7b33
Show file tree
Hide file tree
Showing 73 changed files with 179 additions and 143 deletions.
13 changes: 11 additions & 2 deletions appli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,18 +395,27 @@ def JinjaGetManagerList(sujet=""):
return " ".join(["<li><a href='mailto:{1}{0}'>{2} ({1})</a></li> ".format(sujet, *r) for r in LstUsers])


ecotaxa_version = "2.5.8"
ecotaxa_version = "2.5.9"


def JinjaGetEcotaxaVersionText():
return ecotaxa_version + " 2021-05-26"
return ecotaxa_version + " 2021-06-10"


app.jinja_env.filters['datetime'] = JinjaFormatDateTime
app.jinja_env.filters['nl2br'] = JinjaNl2BR
app.jinja_env.globals.update(GetManagerList=JinjaGetManagerList, GetEcotaxaVersionText=JinjaGetEcotaxaVersionText)

"""Changelog
2021-06-10 : V 2.5.9
Feature #600: Move export function(s) to back-end
Feature #603: Add image references to exported data, even if without images themselves
Feature #678: Remove XML export which is in a specific unused format
Bug #679: Duplicates pathes inside exported zip files
Bug #676: Hard-coded relative pathes in export code
Feature #539: Include export log files in produced zip. Should be useful for non-fatal problems.
Feature #682: Avoid historical trouble with leading 0s in times by enabling a formatted time
Bug #683: Images without file name (in historically imported UVP6 projects)
2021-05-26 : V 2.5.8
Feature #360: Allow to subset by sampling various entities, not only categories.
Bug #595: Project managers should be able to clone their own projects, even if they are not Project Creator.
Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.13
The version of the OpenAPI document: 0.0.14
Generated by: https://openapi-generator.tech
"""

Expand Down
8 changes: 4 additions & 4 deletions to_back/ecotaxa_cli_py/api/acquisitions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.13
The version of the OpenAPI document: 0.0.14
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -132,7 +132,7 @@ def acquisition_query_acquisition_acquisition_id_get_with_http_info(self, acquis
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/acquisition/{acquisition_id}', 'GET',
Expand Down Expand Up @@ -246,7 +246,7 @@ def acquisitions_search_acquisitions_search_get_with_http_info(self, project_id,
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/acquisitions/search', 'GET',
Expand Down Expand Up @@ -364,7 +364,7 @@ def update_acquisitions_acquisition_set_update_post_with_http_info(self, bulk_up
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/acquisition_set/update', 'POST',
Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/authentification_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.13
The version of the OpenAPI document: 0.0.14
Generated by: https://openapi-generator.tech
"""

Expand Down
14 changes: 7 additions & 7 deletions to_back/ecotaxa_cli_py/api/collections_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.13
The version of the OpenAPI document: 0.0.14
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -364,7 +364,7 @@ def create_collection_collections_create_post_with_http_info(self, create_collec
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/collections/create', 'POST',
Expand Down Expand Up @@ -514,7 +514,7 @@ def emodnet_format_export_collections_collection_id_export_emodnet_get_with_http
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/collections/{collection_id}/export/emodnet', 'GET',
Expand Down Expand Up @@ -628,7 +628,7 @@ def erase_collection_collections_collection_id_delete_with_http_info(self, colle
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/collections/{collection_id}', 'DELETE',
Expand Down Expand Up @@ -742,7 +742,7 @@ def get_collection_collections_collection_id_get_with_http_info(self, collection
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/collections/{collection_id}', 'GET',
Expand Down Expand Up @@ -856,7 +856,7 @@ def search_collection_collections_search_get_with_http_info(self, title, **kwarg
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/collections/search', 'GET',
Expand Down Expand Up @@ -983,7 +983,7 @@ def update_collection_collections_collection_id_put_with_http_info(self, collect
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/collections/{collection_id}', 'PUT',
Expand Down
6 changes: 3 additions & 3 deletions to_back/ecotaxa_cli_py/api/files_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.13
The version of the OpenAPI document: 0.0.14
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -132,7 +132,7 @@ def list_common_files_common_files_get_with_http_info(self, path, **kwargs): #
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/common_files/', 'GET',
Expand Down Expand Up @@ -250,7 +250,7 @@ def put_user_file_my_files_post_with_http_info(self, file, **kwargs): # noqa: E
['multipart/form-data']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/my_files/', 'POST',
Expand Down
2 changes: 1 addition & 1 deletion to_back/ecotaxa_cli_py/api/instrument_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.13
The version of the OpenAPI document: 0.0.14
Generated by: https://openapi-generator.tech
"""

Expand Down
18 changes: 9 additions & 9 deletions to_back/ecotaxa_cli_py/api/jobs_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.13
The version of the OpenAPI document: 0.0.14
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -132,7 +132,7 @@ def erase_job_jobs_job_id_delete_with_http_info(self, job_id, **kwargs): # noqa
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/jobs/{job_id}', 'DELETE',
Expand Down Expand Up @@ -243,10 +243,10 @@ def get_job_file_jobs_job_id_file_get_with_http_info(self, job_id, **kwargs): #
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json', 'application/zip']) # noqa: E501
['application/json', 'application/zip', 'text/tab-separated-values']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/jobs/{job_id}/file', 'GET',
Expand Down Expand Up @@ -360,7 +360,7 @@ def get_job_jobs_job_id_get_with_http_info(self, job_id, **kwargs): # noqa: E50
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/jobs/{job_id}/', 'GET',
Expand Down Expand Up @@ -474,7 +474,7 @@ def get_job_log_file_jobs_job_id_log_get_with_http_info(self, job_id, **kwargs):
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/jobs/{job_id}/log', 'GET',
Expand Down Expand Up @@ -588,7 +588,7 @@ def list_jobs_jobs_get_with_http_info(self, for_admin, **kwargs): # noqa: E501
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/jobs/', 'GET',
Expand Down Expand Up @@ -715,7 +715,7 @@ def reply_job_question_jobs_job_id_answer_post_with_http_info(self, job_id, body
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/jobs/{job_id}/answer', 'POST',
Expand Down Expand Up @@ -829,7 +829,7 @@ def restart_job_jobs_job_id_restart_get_with_http_info(self, job_id, **kwargs):
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/jobs/{job_id}/restart', 'GET',
Expand Down
6 changes: 3 additions & 3 deletions to_back/ecotaxa_cli_py/api/misc_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.13
The version of the OpenAPI document: 0.0.14
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -123,7 +123,7 @@ def do_nothing_noop_get_with_http_info(self, **kwargs): # noqa: E501
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/noop', 'GET',
Expand Down Expand Up @@ -228,7 +228,7 @@ def system_error_error_get_with_http_info(self, **kwargs): # noqa: E501
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/error', 'GET',
Expand Down
6 changes: 3 additions & 3 deletions to_back/ecotaxa_cli_py/api/object_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.13
The version of the OpenAPI document: 0.0.14
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -132,7 +132,7 @@ def object_query_history_object_object_id_history_get_with_http_info(self, objec
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/object/{object_id}/history', 'GET',
Expand Down Expand Up @@ -246,7 +246,7 @@ def object_query_object_object_id_get_with_http_info(self, object_id, **kwargs):
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['HTTPBearer'] # noqa: E501
auth_settings = ['BearerOrCookieAuth'] # noqa: E501

return self.api_client.call_api(
'/object/{object_id}', 'GET',
Expand Down
Loading

0 comments on commit 0ed7b33

Please sign in to comment.