-
-
Notifications
You must be signed in to change notification settings - Fork 169
Add optional mode argument to persist_uploaded_file #1241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lovasoa
merged 8 commits into
main
from
add-mode-to-persist-uploaded-file-11313602530541471062
Mar 13, 2026
+92
−1
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
828b613
Add optional mode argument to persist_uploaded_file
google-labs-jules[bot] 91ec86b
Address PR feedback: Add integrated test for persist_uploaded_file mode
google-labs-jules[bot] e3c4d7a
Fix Windows CI: Normalize paths and improve tests
google-labs-jules[bot] 6fa9299
Address PR feedback: Assert file contents and ignore test uploads
google-labs-jules[bot] c8a5862
Address PR feedback: Revert breaking change to return value
google-labs-jules[bot] 066e241
Address PR feedback: Query results as JSON in integrated test
google-labs-jules[bot] 3e0d1cc
Fix Windows CI: Robust path handling in tests
google-labs-jules[bot] 89e331c
Address PR feedback: Delete leftover test file
google-labs-jules[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,3 +11,4 @@ xbed.sql | |
| **/sqlpage.bin | ||
| node_modules/ | ||
| sqlpage/sqlpage.db | ||
| tests_uploads/ | ||
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| set contents = sqlpage.persist_uploaded_file('my_file', 'tests_uploads', 'txt', $mode); | ||
| select 'text' as component, $contents as contents; |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.