-
Notifications
You must be signed in to change notification settings - Fork 23
Sync: ncbo v6.6.1 release #27
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
Merged
Conversation
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
Contributor
alexskr
commented
Sep 24, 2025
- https://github.com/ncbo/ontologies_linked_data/releases/tag/v6.6.0
- https://github.com/ncbo/ontologies_linked_data/releases/tag/v6.6.1
Develop to master merge, release v6.5.0
Add `system_controlled` DSL to LinkedData::Hypermedia::Resource - Adds `:system_controlled` to the DSL SETTINGS list - Allows declaring system-assigned (internally-managed) attributes in model classes - Intended for use in the API layer to reject client input for restricted fields like `uploadFilePath` - Mirrors the behavior of other DSLs like `serialize_never` (last call wins) - Add selected attributes to system_controlled list for User, OntologySubmission, Note and Project model as a proof of concept. More models may follow after further analysis. See ncbo/bioportal-project#348
Feature: submission version validation and fixes to the metadata auto-extraction
Fix/analytics key errors
Add unit test to verify fix for #232
Develop -> Master merge, release v6.6.0
- Switch from shelling out to `file --mime` to checking magic bytes
(PK for ZIP, 1F 8B for GZIP). Improves portability and removes
external dependency.
- Add `safe_join` guard to block path traversal.
- Normalize gzip names via `resolve_gzip_name` (strip control chars,
collapse to basename, ensure non-empty).
- Explicitly exclude .tar.gz and .tgz files (not supported yet).
- align with RubyZip v3+ semantics:
- enforce explicit destination_directory (no implicit cwd writes),
- block path traversal (`../` entries skipped).
- use streaming writes (`IO.copy_stream`) to reduce memory usage.
- Rename `files_from_zip` to `filenames_in_archive` for clarity
(returns entry names, not extracted files
- add rubyzip gem as dependency to gemspec
- pin thin gem to v1 for compatibility reasons
Refactor: improve archive handling in LinkedData::Utils::FileHelpers
Develop -> Master merge, release v6.6.1
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.