Options for how uploads are stored and linked to spreadsheet

未关闭
#3,162 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript
领域
backend

调研方向

Issue 中没有指定文件、测试或入口点。首先定位 Nextcloud Forms 中现有的上传存储和电子表格关联入口点,然后定义标识符、共享文件夹或每个 submission 对应的文件夹以及已删除 submission 应如何处理;当所选存储选项能够保持每个 submission 与其上传内容之间明确无歧义的关联时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

0. Needs triage enhancement

Nextcloud (please complete the following information):

  • Nextcloud-Version: 32.0.4
  • Forms-Version: 5.2.4

Is your feature request related to a problem? Please describe.
In Forms, files that are uploaded when submitting a form are now stored in folders, one folder per submission. Folders are automatically numbered continously.
This can creates problems:

  1. If submissions are deleted, and thereby also their uploads-folders, other folder numbers are not updated. Thus, folder names do not follow spreadsheet row number any more. E.g. I deleted the first two submission of a series, and uploads-folders are now only numbered from 3. If this happens more times, it will be very troublesome to link submissions with their uploads.
  2. The separate folders pr submission makes it very tedious to combine all submitted files into one folder or document, as we need for our accounts.

Describe the solution you'd like

  1. a unique identifier / link between each submission in the spreadsheet and associated uploads(-folder) (has also been suggested by someone else in this forum)
  2. an option to write this identifier to the file name(s) of the uploaded files (or replace the file name)
  3. an option to select if uploads should be stored in separate folders per submission or in one common folder

Describe alternatives you've considered
I have used Google Forms before, where all submitted files are linked to entries in the spreadsheet

Additional context
We, a Danish nature organization, have just recently moved to Nextcloud, and will use Forms to allow users to submit request for refunds. They will fill in a form and submit associated receipts, and this will be used to keep track of expenses and for the annual accounts, including associated receipt as a documentation

主要语言
JavaScript
星标
385
派生
133
平均合并
7 小时 54 分钟
30 天内合并 PR
157

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/forms 的其他 Issue

查看 nextcloud/forms 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。