Attachments
You can keep files with a task: a photo of the receipt, the quote as a PDF, a scan. They are in the task window, under the subtasks, and everyone who sees the task sees them too.
Adding a file
Open the task and under Attachments choose the button Add a file. You can choose several files at once, or drop them on that part from your computer. On a phone or tablet there is also Take a photo: that opens the camera, and the photo becomes an attachment right away.
- A file can be at most 25 MB (the administrator can set it differently), and a task has at most 20 attachments. Every user also has their own storage on the server (1 GB by default). If a file does not fit, you see why below the list.
- Shrinking large photos: with the tick Shrink large photos before uploading a photo is shrunk to at most 2048 pixels on the long side before it is uploaded. A photo from a phone is then often a tenth the size. The tick stays on this device.
- The name is cleaned up: characters that cannot be in a file name (such as
/and:) become an underscore, and a very long name is shortened, keeping the extension (.pdf).
Without a connection
Choosing a file also works offline. It is kept on your device (separately from the changes that are waiting) and shows in the list with the status Waiting for a connection. As soon as there is a connection and the task is on the server, it is uploaded and you see the progress; after that it is a normal attachment. A task you just made offline can therefore already have attachments: they wait until the task itself has been sent.
- If you close the app or reload the page, waiting files stay.
- If a file fails because the server refuses it (too large, no space left, the task no longer exists), the reason is shown, with Try again and Remove. A file that is only waiting for the connection is retried by the app itself, with a little more waiting time each time.
- If a file no longer fits in the storage of your device, the app says so and it is not added.
- Signing out and clearing local data also removes the waiting files.
Viewing, saving and deleting
- Images (png, jpeg, gif, webp) have a small preview; click it to see it large. All other files (pdf, Word, a zip) are saved when you click them: your browser puts them in your downloads and you open them there. An svg or html file is never shown inside Tickory itself, even if it looks like an image.
- Save saves the file under its own name.
- Deleting (the bin) can be done by the person who added the attachment, and by the owner of the project; it applies to everyone and the file disappears from the server. Another participant does not see the bin. If you delete a task, a section or a project, the attachments go with it.
- An attachment cannot be renamed or replaced: delete it and add the file again.
- Whoever fetches an attachment does so with their own sign-in; a link to an attachment does nothing outside the app. Someone who is not a member of the project gets nothing.
In the list, a task with attachments shows a paperclip with the number.
On Android
In the Android app you choose files with Android's own picker (gallery, files, other apps) and your phone's camera app takes a photo; Tickory asks for no permission for that. Opening or saving an attachment is done by the app itself: Save lets you choose where the file goes, and clicking a name opens the file in another app on your phone. Tickory is also in the share menu of other apps for files: share a photo and it becomes an attachment of a new task in your Inbox, after you have pressed Add in Add task.
For administrators
The files are in your data volume (attachments/ next to the database, in Docker /data/attachments), under random names, and belong in your backup. You set the limits with MAX_UPLOAD_MB and ATTACHMENT_QUOTA_MB (see Settings). If a reverse proxy sits in front, let it allow files of at least that size: for nginx that is client_max_body_size (see HTTPS). The server cleans up what is no longer needed by itself. It does not scan files for viruses.
What is not possible yet
- An attachment directly on a project, without a comment: put it on a comment on the project.
- Viewing a pdf or other file inside Tickory itself: it is saved and then opened with another program.
- Resuming an upload that was interrupted halfway: it starts over.