Discover Moodle folder contents with bounded read-only traversal
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, node.js
Research direction
Read AGENTS.md and docs/PROJECT_CONTEXT.md, then trace discovery through src/sections.js and src/resources.js, with src/pdf-resource.js as a resource handling reference. Inspect the existing authorization, safe-error, and synthetic-fixture patterns in test/. Add bounded, read-only folder traversal that meets the listed route, coverage, and safety criteria; run the relevant offline tests and checks, and report anything not run.
Written by the indexing model from the issue text.
Description
Part of #28 · Target: Discovery / v0.2
Goal and scope
Read discovered same-course folder modules; normalize nested resource identity and expose inaccessible/unsupported items. Validate every supported file/child route before fetching and carry provenance/coverage to consumers.
Implementation starting points
src/sections.js, src/resources.js, src/pdf-resource.js, test/. Follow AGENTS.md and docs/PROJECT_CONTEXT.md; reuse existing authorization, safe-error and synthetic-fixture patterns. New runtime dependencies need a documented reason.
Dependencies and readiness
Ready to discuss/start independently against current master.
Out of scope
No bulk download, arbitrary pluginfile paths, external origins or changing folder content.
Acceptance criteria and test plan
Synthetic nested folders, duplicate/cyclic links, denied items, unsafe redirects and count/depth/time limits return each supported item once. Existing discovery/reader authorization remains intact and missing content is explicitly partial.
Run the relevant offline tests, npm run check and git diff --check; runtime changes also require npm test and npm audit. Report checks not run. No faculty credentials or private course material are required for a contribution.
Contributing
Comment here before starting so the maintainer can coordinate the approach and avoid duplicate work. Fork the repository, branch from master, and open a focused PR referencing this issue. No assignee or delivery deadline is set; required checks and review apply.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 1h 25m
- Merged PRs (30d)
- 13
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mahmutmft/courses-mcp
-
area:docs good first issue help wanted priority:medium type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
mahmutmft/courses-mcp#51 ·
Maintainers usually reply within 1 day
-
area:backend area:docs help wanted priority:high type:chore
Difficulty 4/5 3-5 days Newbie friendliness 57/100
mahmutmft/courses-mcp#50 ·
Maintainers usually reply within 1 day
-
area:backend area:docs help wanted priority:medium type:feature
Difficulty 4/5 3-5 days Newbie friendliness 48/100
mahmutmft/courses-mcp#49 ·
Maintainers usually reply within 1 day
-
area:backend area:docs priority:high status:blocked type:chore
Difficulty 5/5 Over a week Newbie friendliness 25/100
mahmutmft/courses-mcp#48 ·
Maintainers usually reply within 1 day
-
area:backend area:docs help wanted priority:medium type:feature
Difficulty 5/5 Over a week Newbie friendliness 35/100
mahmutmft/courses-mcp#47 ·
Maintainers usually reply within 1 day
All issues in mahmutmft/courses-mcp
Similar issues
-
502 on Node 26: ERR_INVALID_ARG_VALUE: Setting the TLS ServerName to an IP address is not permittedOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
github/paste-markdown#129 · 2 reactions ·
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 83/100
obsidianmd/obsidian-help#1164 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
richardcase/skills#26 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day