Skip to content

Upgrade dependencies, enhance security, and improve documentation - #1942

Merged
nmaguiar merged 27 commits into
masterfrom
t8
Nov 26, 2026
Merged

nmaguiar merged 27 commits into
masterfrom
t8

Conversation

@nmaguiar

@nmaguiar nmaguiar commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

This pull request introduces several improvements and cleanups across the codebase, focusing on security enhancements for CI workflows, coding style documentation, and minor code consistency updates. The most significant changes are grouped below:

CI/CD Workflow Security and Cleanliness:

  • The GitHub Actions workflow (.github/workflows/build-and-test.yml) has been updated to use read-only permissions for all jobs, reducing the risk of accidental or malicious repository modifications during CI runs. Write permissions and check-in steps have been removed. Additionally, the actions/checkout step now disables credential persistence for extra safety. [1] [2] [3] [4] [5] [6] [7] [8]
  • A new test (python3 tests/test-workflow-permissions.py) was added to verify workflow permissions are set correctly.

Coding Style and Documentation:

  • The AGENTS.md documentation now includes detailed guidelines for logical code sectioning, section comments, and YAML job formatting, promoting consistency across JavaScript and YAML code.

CSS and Theming Improvements:

  • The css/nJSMap.css file introduces a new inline tree view theme with CSS variables for both light and dark modes, improving the appearance and maintainability of tree controls in the UI.

JavaScript and YAML Code Consistency:

  • Minor style corrections were made in buildos.js and clean.yaml to remove unnecessary semicolons and use consistent code formatting, aligning with the updated style guidelines. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Build Process Improvements:

  • The build process now ensures the latest ODoc parser is used from the current checkout, preventing the use of outdated documentation generators.
  • Improved error handling during ODoc documentation generation by throwing an explicit error if documentation building fails.

Nuno Aguiar and others added 16 commits November 13, 2026 21:17
Update jline-native, jline-reader, and jline-terminal jars to version 4.7.0.
Update pom.json and pom.xml to reflect dependency changes.
Require HTTPS for remote oJob definitions, including every redirect
hop: explicit HTTP URLs and HTTPS-to-HTTP downgrades are rejected
before contacting the HTTP endpoint, even for authorized domains or
when an integrity hash is configured.

Harden the build/test workflow: default read-only token permissions,
persist-credentials: false on all checkouts, and removal of
GITHUB_TOKEN-based checkin steps, now guarded by
tests/test-workflow-permissions.py.

Tests: convert the download-limits regression to a loopback TLS
server and add ojob-https.js regression for the URL/redirect policy.
- Update multiple reference docs in docs/ref/
- Expand js/openaf.js functionality
- Add new JSONC tests (autoTestAll.JSONC.js/yaml)
- Update existing IO and ODocReference tests
Align JS, Java and oJob YAML sources with the current coding
guidelines (indentation, section comments, minimized diffs) across
~212 files, including skills assets and tests.

Adds examples/ojob-interact.yaml and examples/screen-ui-sample.js.
Added 15 lines to js/openaf.js to enhance core functionality.
- Update js/opack.js to support source updates
- Add tests/opack-update-source.js for validation
- Update docs/opacks.md documentation
- Create docs/browse.md for documentation
- Implement js/owrap.server.browse.js for browse logic
- Update js/owrap.server.js to integrate browse functionality
Update various reference documents in docs/ref/ and refine the server browse implementation in js/owrap.server.browse.js.
Extend js/owrap.server.browse.js with new server browse behaviour and
adjust js/openaf.js and js/owrap.oJob.js to support it. Add matching
checks to the Generic auto tests and update ojob configuration files.
Regenerated the docs/ref API reference pages as a result of the odoc
changes.
- Update AI-related documentation and core logic in owrap.ai.js
- Significantly expand owrap.server.browse.js for improved server browsing
- Improve njsmap.js and nJSMap.css for better mapping visualization
- Update mdtablesort.js and corresponding tests
- Refine various server-side documentation (HTTPD, JWT, Socket)
- Refactor js/owrap.ai.js for improved AI handling
- Update AI-related documentation in docs/
- Expand and refine tests in tests/autoTestAll.*
Update various reference pages for AI, GPT, and network normalization to refine descriptions and maintain consistency across the documentation.
@nmaguiar nmaguiar self-assigned this Nov 20, 2026
@nmaguiar nmaguiar added bug documentation dependencies Pull requests that update a dependency file labels Nov 20, 2026
Nuno Aguiar and others added 8 commits November 21, 2026 06:30
- Add js/openaf.colorThemes.js with new theme definitions
- Update various reference docs in docs/ref/ to reflect API changes
- Enhance js/openaf.js and js/owrap.format.js
- Add and update tests in tests/autoTestAll.Format.*
Update dependency versions in pom.xml and pom.json.
Add formatting changes in js/openaf.js covered by new checks in the autoTestAll.Format test pair and regenerate the reference docs under docs/ref for the affected modules to keep published help in sync.
- Upgrade semver4j from 6.0.0 to 6.1.0
- Update AI and server wrap logic in js/owrap.ai.js and js/owrap.server.js
- Improve server browsing functionality in js/owrap.server.browse.js
- Update AI tests in tests/autoTestAll.AI.js
- Update documentation and project configuration (pom.xml, pom.json)
- Update ArchiveLimits.java and opack.js to support larger/different limits
- Add opack-streaming.py for streaming validation
- Update ZIP plugin documentation and related tests
- Refine oJob wrapper and core command base
nmaguiar and others added 3 commits November 23, 2026 07:17
- Update js/openaf.js and js/owrap.server.js to improve MCP server logic.
- Expand tests/autoTestAll.MCPAdvanced.js and .yaml for comprehensive MCP validation.
Update a wide range of reference documents in docs/ref/ and refine server-side logic in js/owrap.server.js and js/openaf.js.
@nmaguiar
nmaguiar merged commit 6742ea9 into master Nov 26, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Continuous Enhancement Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug dependencies Pull requests that update a dependency file documentation

Projects

Development

Successfully merging this pull request may close these issues.

1 participant