Repository navigation
feat: enable configurable multipart upload settings using database - #3622
Merged
aglinxinyuan merged 5 commits intoAug 9, 2025
Merged
Conversation
xuang7
marked this pull request as ready for review
August 4, 2025 23:18
aglinxinyuan
self-requested a review
August 9, 2025 00:31
aglinxinyuan
approved these changes
Aug 9, 2025
aglinxinyuan
enabled auto-merge (squash)
August 9, 2025 02:42
SarahAsad23
pushed a commit
to madisonmlin/texera
that referenced
this pull request
May 20, 2026
…pache#3622) ### **Purpose** This PR extends the [configuration-CRUD framework](apache#3528) in Admin Settings to include multipart-upload parameters. Admins can adjust global defaults for max file upload size, chunk size, and concurrent upload count directly from Admin → General Settings → Dataset. Changes take effect immediately without service restarts and persist in the _site_settings_ table. ### **Changes** - admin-settings.component.ts/html/scss: Added a Dataset card with three controls (max file size, chunk size, concurrency). - files-uploader.component.ts: Switched to reading the “single-file-upload-maximum-size-mb” setting from the database. - dataset-detail.component.ts/dataset.service.ts: Extended multipartUpload() signature to accept partSizeMB and concurrencyLimit and forward them to the backend. - default.conf: Defined upload default values. - gui.conf/gui-config.service.ts/gui-config.service.mock.ts/GuiConfig.scala/ConfigResource.scala: Migrated upload-setting storage to the new keys and removed the original byte-based fields. - app.module.ts: Imported NzInputNumberModule to enable number-input controls in the admin UI. ### **Demonstration** Settings Interface: <img width="788" height="361" alt="Uploading" src="https://github.com/user-attachments/assets/81fbaff7-dad0-4132-9454-2b07854dc280" /> --------- Co-authored-by: Xinyuan Lin <[email protected]>
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
…pache#3622) ### **Purpose** This PR extends the [configuration-CRUD framework](apache#3528) in Admin Settings to include multipart-upload parameters. Admins can adjust global defaults for max file upload size, chunk size, and concurrent upload count directly from Admin → General Settings → Dataset. Changes take effect immediately without service restarts and persist in the _site_settings_ table. ### **Changes** - admin-settings.component.ts/html/scss: Added a Dataset card with three controls (max file size, chunk size, concurrency). - files-uploader.component.ts: Switched to reading the “single-file-upload-maximum-size-mb” setting from the database. - dataset-detail.component.ts/dataset.service.ts: Extended multipartUpload() signature to accept partSizeMB and concurrencyLimit and forward them to the backend. - default.conf: Defined upload default values. - gui.conf/gui-config.service.ts/gui-config.service.mock.ts/GuiConfig.scala/ConfigResource.scala: Migrated upload-setting storage to the new keys and removed the original byte-based fields. - app.module.ts: Imported NzInputNumberModule to enable number-input controls in the admin UI. ### **Demonstration** Settings Interface: <img width="788" height="361" alt="Uploading" src="https://github.com/user-attachments/assets/81fbaff7-dad0-4132-9454-2b07854dc280" /> --------- Co-authored-by: Xinyuan Lin <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This PR extends the configuration-CRUD framework in Admin Settings to include multipart-upload parameters. Admins can adjust global defaults for max file upload size, chunk size, and concurrent upload count directly from Admin → General Settings → Dataset. Changes take effect immediately without service restarts and persist in the site_settings table.
Changes
Demonstration
Settings Interface:
