Skip to content

Conversation

@ishii-lep
Copy link

@ishii-lep ishii-lep commented Mar 21, 2023

Ticket

【ストレージアドオン】 タイムスタンプ機能の改修

It corresponds to the following specifications chapter:
4.1. 機関ストレージタイムスタンプ処理性能の向上
→No3: 【ストレージアドオン】 タイムスタンプ機能の改修
・[Nextcloud for Institution]で既に対応済みの同機能をGRDM利用者向け拡張ストレージ [Nextcloud]へ機能移植する
・修正内容一例

Purpose

  • [Nextcloud for Institution]で既に対応済みの同機能をGRDM利用者向け拡張ストレージ [Nextcloud]へ機能移植する :
    • Porting the timestamp function already supported by Nextcloud for Institution to Nextcloud
  • 修正内容一例:
    • Improved timestamp function for storage adon

Changes

  • [Nextcloud for Institution]で既に対応済みの同機能をGRDM利用者向け拡張ストレージ [Nextcloud]へ機能移植する :
    • Porting the properties and methods of the timestamp function from NextcloudInstitutionsFile to NextcloudFile
      It includes the _hashes property and get_hash_for_timestamp, _my_node_settings, get_timestamp, set_timestamp methods
    • Updated addon_delete_file_node method in addons/base/views.py to avoid MultipleObjectsReturned error when deleting files/folder
    • Correct some logic code when operating on files/folders
  • 修正内容一例 :
    • Correct method to make URL to download file in download_file method of website/util/waterbutler.py

QA Notes

None

Documentation

None

Side effects

None

Deployment Notes

None

tma-ndhuy and others added 20 commits January 12, 2023 17:49
…B1-fix-performance

# Conflicts:
#	addons/base/views.py
#	osf_tests/factories.py
#	website/util/waterbutler.py
…rt changes on test_views.py, update test_waterbutler.py, remove unnecessary ResponseFactory class from factories.py
@hidefumi-moritani hidefumi-moritani requested a review from hide24 June 5, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants