Skip to content

docs: a Files page: the project file library, to-do files, recordings, roles and limits - #123

Open
gloriafolaron wants to merge 1 commit into
masterfrom
docs/files
Open

gloriafolaron wants to merge 1 commit into
masterfrom
docs/files

Conversation

@gloriafolaron

Copy link
Copy Markdown
Contributor

A new page, Files (using-leantime/files.md), for the project file library and to-do files. Until now these only came up in passing. Checked on a Leantime 3.16.0 test server.

What the page covers

  • Where files are: project → DATA ROOM → Files (/files/browse). Everyone who can see the project can see and download them.
  • Adding files:
    • drag and drop, or Browse; files upload right away;
    • Webcam (photo or video) and Screen Capture (both Uppy plugins);
    • files that are refused: php, phtml, php3–php5, phar, shtml, .htaccess and SVG (FileManager::DENIED_EXTENSIONS, plus the SVG check).
  • Download and delete: both on the file's ⋮ menu. Deleting asks for confirmation.
  • To-do files: each to-do's Files (n) tab. These files are stored with module ticket, separately from the library's module project, so neither list shows the other's files.
  • Roles:
    • Read Only can view and download (files.view);
    • Commenter can also upload (files.upload, verb upload);
    • Editor and above can also delete (files.delete).
  • Switching the library off: Project Settings → Modules → Files. To-do files and images in text stay available.
  • Storage: Cloud, userfiles/, or S3, with a link to backups.
  • Troubleshooting:
    • the size limit is min(post_max_size, upload_max_filesize), and the Docker image accepts up to 100 MB;
    • blocked file types;
    • camera and screen permissions.

One screenshot (files-library.webp, test files only).

Other pages

  • task-management.md: the to-do's Files tab links to the new page.
  • managing-projects.md: the Modules bullet links to it.
  • _sidebar.md: "Files" after Docs.

The Starlight branch (#63) gets the page's metadata and a slot in "Write and share" (pushed with this PR).

Checks

On the #63 build:

  • all links resolve, and check:headings and check:seo pass;
  • files, task-management and managing-projects have no axe violations at 390 and 1280 px.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FGYRyhyPHQyrtvsu5aawzi

…cam and screen recordings, roles, limits

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FGYRyhyPHQyrtvsu5aawzi

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The documentation omits blocked extensions and filename restrictions and fails to explain that uploaders can delete their own files regardless of their current role.

2 open issues
What changed in this PR

Adds a dedicated Files guide covering project libraries and to-do attachments, with links from the existing project and task documentation.

Changes:

  • Documents uploads, recordings, downloads, deletion, roles, storage, and troubleshooting.
  • Explains the separation between project-library files and to-do attachments.
  • Adds navigation and contextual links to the new guide.
File Description
using-leantime/​task-management.md Links the to-do Files tab description to attachment guidance.
using-leantime/​managing-projects.md Links the Files module setting to the new guide.
using-leantime/​files.md Adds the Files guide and library screenshot reference.
_sidebar.md Adds Files after Docs in the navigation.

Review effort: Balanced

Comment thread using-leantime/files.md

Your browser asks for permission to use the camera or your screen the first time.

**What can't I upload?** For security, Leantime refuses PHP files, `.htaccess` files and SVG images. Everything else is allowed, up to your server's upload size limit.
Comment thread using-leantime/files.md
Comment on lines +38 to +40
| Read Only | See and download them |
| Commenter | Also upload them |
| Editor and above | Also delete them |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants