Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
a377a99
ref 2.2.アドオンストレージに絡むファイル移動時のクオータ管理 : Commit code and UT handle quota …
tma-hcphat Apr 28, 2026
fa41a4b
ref 2.2.アドオンストレージに絡むファイル移動時のクオータ管理 : Fix review comment
tma-hcphat Apr 29, 2026
e13fdd9
ref 2.2.アドオンストレージに絡むファイル移動時のクオータ管理 : Fix review UT comment
tma-hcphat May 8, 2026
072c66b
Merge remote-tracking branch 'remotes/origin/develop' into feature/ni…
tma-hcphat May 29, 2026
16e472a
ref 2.2.アドオンストレージに絡むファイル移動時のクオータ管理 : Rework review comment
tma-hcphat Jun 2, 2026
4aaecab
ref 2.2.アドオンストレージに絡むファイル移動時のクオータ管理 : Update script use is_recalculati…
tma-hcphat Jun 10, 2026
f65c169
ref 2.2.アドオンストレージに絡むファイル移動時のクオータ管理: Fix IT error
tma-hcphat Jun 5, 2026
66bbbd6
ref 2.2.アドオンストレージに絡むファイル移動時のクオータ管理: Fix issue version incorrect
tma-hcphat Jun 17, 2026
ba196e1
ref 2.2.アドオンストレージに絡むファイル移動時のクオータ管理: Update script handle error
tma-hcphat Jun 24, 2026
106c84b
Ref: 機関管理者機能APIの適切な権限付与: Add a permission check step for some admin e…
tma-ntphat Aug 12, 2026
15d1bc9
y-websocket JWT認証トークン発行を追加
NishikawaKoharu Aug 31, 2026
c66bb89
ref 2.2.アドオンストレージに絡むファイル移動時のクオータ管理: Update logic pre-check quota, max…
tma-hcphat Aug 13, 2026
5415e04
Wikiインポート検証・タスク結果APIにADMIN権限チェックを追加
NishikawaKoharu Sep 11, 2026
14943c8
Ref: 機関管理者機能APIの適切な権限付与: Update token verify for the following endpoi…
ndnhat1 Sep 11, 2026
370b5f4
y-websocket JWT認証のCIテストを修正
NishikawaKoharu Sep 16, 2026
15c2cf9
y-websocket JWT認証テストのmockをsetUpに変更
NishikawaKoharu Sep 16, 2026
0c10408
y-websocket JWT認証テストのトークン検出regexを修正
NishikawaKoharu Sep 16, 2026
12d1433
ref 2.2.アドオンストレージに絡むファイル移動時のクオータ管理: Merge develop and resolve conflict
tma-hcphat Sep 16, 2026
47424ed
Ref: 機関管理者機能APIの適切な権限付与: Fix error when access statistic/index
ndnhat1 Sep 22, 2026
1c3801e
ref 2.2.アドオンストレージに絡むファイル移動時のクオータ管理: Update file size logic
tma-hcphat Sep 23, 2026
382a0ac
Wikiインポートタスク結果APIでtask_idとノードの対応を検証する
NishikawaKoharu Sep 24, 2026
c194e79
y-websocket JWTに利用者識別子subを追加
NishikawaKoharu Sep 25, 2026
6bbcb08
ref 2.2.アドオンストレージに絡むファイル移動時のクオータ管理: Update handle size is string
tma-hcphat Sep 28, 2026
a3325d0
feat(s3): sign S3 addon requests with SigV4
tishin-endou Oct 2, 2026
2f451dc
fix(s3): reuse the existing external account when the access key is a…
tishin-endou Oct 2, 2026
f70e7f0
test(s3): drop nose remnants and update the node addons mock to the S…
tishin-endou Oct 2, 2026
578a9eb
test(s3): cover folder_id formats, provider_id dedup and error paths
tishin-endou Oct 2, 2026
b684350
fix(s3): preserve bucket names as given and tolerate a missing owner …
tishin-endou Oct 2, 2026
abb5a78
test(s3): run the folder_id cases in a loop instead of pytest.mark.pa…
tishin-endou Oct 2, 2026
2a4e715
Merge RCOSDP develop into feature/s3-sigv4-clean
tishin-endou Oct 2, 2026
14a8027
Report us-east-1 as the empty-string bucket location
tishin-endou Oct 1, 2026
10873ee
Translate list_objects failures into HTTPError in get_bucket_prefixes
tishin-endou Oct 1, 2026
94d57ea
Catch BotoCoreError when creating a bucket
tishin-endou Oct 1, 2026
34e0cb3
Make the JAIRO Cloud index picker searchable by full index path becau…
yacchin1205 Oct 5, 2026
6bf6034
Show the JAIRO Cloud index save confirmation, which threw on folder h…
yacchin1205 Oct 5, 2026
dc29e79
Remove the unused connectAccount from the JAIRO Cloud node config, wh…
yacchin1205 Oct 5, 2026
787e30e
Expand the children WEKO hides behind an index's more entry so every …
yacchin1205 Oct 5, 2026
5ff320b
Show each JAIRO Cloud index's ID in the picker and match it in search…
yacchin1205 Oct 5, 2026
2a30024
Label JAIRO Cloud index choices with the name in the page language be…
yacchin1205 Oct 5, 2026
0ab1625
Add MATLAB release R2026b
chiku-samugari Oct 13, 2026
69f1eb4
Sync R2025a/R2025b/R2026a mpm input files
chiku-samugari Oct 13, 2026
e92d12f
Ref: 機関管理者機能APIの適切な権限付与: Update logic osf_superuser_check and handle …
tma-hcphat Oct 16, 2026
10e474d
Add eduGAIN logo image
Yusaku-Kitabatake Oct 19, 2026
33d7656
別プロジェクトのWikiを親に設定できないようにする
NishikawaKoharu Oct 20, 2026
226ec7f
Merge pull request #813 from NishikawaKoharu/feature/y-websocket-jwt-…
hide24 Oct 22, 2026
e0ae6b6
Merge pull request #814 from NishikawaKoharu/feature/fix-wiki-import-…
hide24 Oct 22, 2026
789f732
Merge pull request #815 from yacchin1205/feature/weko-index-search
hide24 Oct 22, 2026
ddcc350
Merge pull request #816 from chiku-samugari/feature/binderhub-2026101…
hide24 Oct 22, 2026
4ea56bc
Merge pull request #817 from tishin-endou/feature/s3-sigv4-clean
hide24 Oct 22, 2026
fcd47c1
Merge pull request #818 from RCOSDP/feature/nii_grdm_202510_step2/ins…
hide24 Oct 22, 2026
038424c
Merge pull request #819 from RCOSDP/feature/R-2024-AUTH01_50253_PR
hide24 Oct 22, 2026
359d935
Merge pull request #820 from RCOSDP/feature/nii_grdm_202603_step4/2.2…
hide24 Oct 22, 2026
0c5b554
Merge branch 'develop-202610a2' into feature/fix-wiki-cross-project-p…
hide24 Oct 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ COPY ./addons/onedrive/requirements.txt /code/addons/onedrive/
COPY ./addons/onedrivebusiness/requirements.txt /code/addons/onedrivebusiness/
#COPY ./addons/osfstorage/requirements.txt ./addons/osfstorage/
COPY ./addons/owncloud/requirements.txt ./addons/owncloud/
COPY ./addons/s3/requirements.txt ./addons/s3/
COPY ./addons/twofactor/requirements.txt ./addons/twofactor/
#COPY ./addons/wiki/requirements.txt ./addons/wiki/
COPY ./addons/zotero/requirements.txt ./addons/zotero/
Expand Down
40 changes: 39 additions & 1 deletion addons/base/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@
from website.ember_osf_web.decorators import ember_flag_is_active
from website.project.utils import serialize_node
from website.util import rubeus, timestamp, inspect_info # noqa
import re
import json as _json

from osf.features import (
SLOAN_COI_DISPLAY,
Expand Down Expand Up @@ -433,6 +435,14 @@ def get_auth(auth, **kwargs):
credentials = node.serialize_waterbutler_credentials(provider_name)
waterbutler_settings = node.serialize_waterbutler_settings(provider_name)

if is_node_process and provider_settings:
# Same limit the file browser shows;
# Only osfstorage defines `high_max_file_size`.
max_size = getattr(provider_settings.config, 'max_file_size', None)
if auth.user and 'high_upload_limit' in auth.user.system_tags:
max_size = getattr(provider_settings.config, 'high_max_file_size', None) or max_size
waterbutler_settings['max_file_size'] = max_size

if not is_node_process:
# for only location_id value
storage = ExportDataLocation.objects.get(pk=location_id)
Expand Down Expand Up @@ -582,6 +592,33 @@ def create_waterbutler_log(payload, **kwargs):
params=payload
)
if payload.get('email') is True or payload.get('errors'):
# Parse structured error info from WaterButler exception repr strings
# e.g. "<InvalidParameters(413, {"message_key": "quota_exceeded", ...})>"
error_info = None
if payload.get('errors'):
for err_str in payload['errors']:
# Try to extract JSON payload embedded in the repr string
json_match = re.search(r'\((?:\d+),\s*(\{.*\})\)', err_str, re.DOTALL)
if json_match:
try:
err_data = _json.loads(json_match.group(1))
message_key = err_data.get('message_key', '')
if message_key == 'quota_exceeded' or 'quota_exceeded' in err_str:
error_info = {'type': 'quota_exceeded'}
break
elif err_data.get('oversized_files'):
error_info = {
'type': 'oversized',
'oversized_files': err_data['oversized_files'],
'max_size': err_data.get('max_size'),
}
break
except Exception as e:
logger.warning(
f'Failed to parse WaterButler error representation string: {err_str}. '
f'Error: {e}'
)

mails.send_mail(
user.username,
mails.FILE_OPERATION_FAILED if payload.get('errors')
Expand All @@ -592,7 +629,8 @@ def create_waterbutler_log(payload, **kwargs):
source_path=payload['source']['materialized'],
source_addon=payload['source']['addon'],
destination_addon=payload['destination']['addon'],
osf_support_email=settings.OSF_SUPPORT_EMAIL
osf_support_email=settings.OSF_SUPPORT_EMAIL,
error_info=error_info,
)
if payload.get('errors'):
# Action failed but our function succeeded
Expand Down
2 changes: 2 additions & 0 deletions addons/binderhub/settings/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
]

MATLAB_RELEASES = [
'R2026b',
'R2026a',
'R2025b',
'R2025a',
Expand All @@ -56,6 +57,7 @@
]

MATLAB_PRODUCTNAMES_MAP = {
'R2026b': gen_product_name_list('addons/binderhub/settings/mpm_inputs/mpm_input_r2026b.txt'),
'R2026a': gen_product_name_list('addons/binderhub/settings/mpm_inputs/mpm_input_r2026a.txt'),
'R2025b': gen_product_name_list('addons/binderhub/settings/mpm_inputs/mpm_input_r2025b.txt'),
'R2025a': gen_product_name_list('addons/binderhub/settings/mpm_inputs/mpm_input_r2025a.txt'),
Expand Down
18 changes: 18 additions & 0 deletions addons/binderhub/settings/mpm_inputs/mpm_input_r2025a.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,24 @@

# destinationFolder=

########################################################################
## SUPPORT PACKAGE DESTINATION
########################################################################
##
## Specify the full path to the folder where you want to install
## support packages. If not specified, support packages are installed
## to the default support package location.
##
## Example:
## (Windows) supportPackageDestinationFolder=C:\shared\spkgs
## (Linux) supportPackageDestinationFolder=/home/<USER>/spkgs
## (Mac) supportPackageDestinationFolder=/home/<USER>/spkgs
##
## Set the desired value for supportPackageDestinationFolder and
## uncomment the following line.

# supportPackageDestinationFolder=

########################################################################
## ACCEPT VENDOR LICENSE AGREEMENTS
########################################################################
Expand Down
18 changes: 18 additions & 0 deletions addons/binderhub/settings/mpm_inputs/mpm_input_r2025b.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,24 @@

# destinationFolder=

########################################################################
## SUPPORT PACKAGE DESTINATION
########################################################################
##
## Specify the full path to the folder where you want to install
## support packages. If not specified, support packages are installed
## to the default support package location.
##
## Example:
## (Windows) supportPackageDestinationFolder=C:\shared\spkgs
## (Linux) supportPackageDestinationFolder=/home/<USER>/spkgs
## (Mac) supportPackageDestinationFolder=/home/<USER>/spkgs
##
## Set the desired value for supportPackageDestinationFolder and
## uncomment the following line.

# supportPackageDestinationFolder=

########################################################################
## ACCEPT VENDOR LICENSE AGREEMENTS
########################################################################
Expand Down
18 changes: 18 additions & 0 deletions addons/binderhub/settings/mpm_inputs/mpm_input_r2026a.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,24 @@

# destinationFolder=

########################################################################
## SUPPORT PACKAGE DESTINATION
########################################################################
##
## Specify the full path to the folder where you want to install
## support packages. If not specified, support packages are installed
## to the default support package location.
##
## Example:
## (Windows) supportPackageDestinationFolder=C:\shared\spkgs
## (Linux) supportPackageDestinationFolder=/home/<USER>/spkgs
## (Mac) supportPackageDestinationFolder=/home/<USER>/spkgs
##
## Set the desired value for supportPackageDestinationFolder and
## uncomment the following line.

# supportPackageDestinationFolder=

########################################################################
## ACCEPT VENDOR LICENSE AGREEMENTS
########################################################################
Expand Down
Loading
Loading