nextcloud / nextcloud/richdocuments
Default empty templates should be updated automatically on upgrade
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 453
- Forks
- 147
- Avg merge
- 14h 54m
- Merged PRs (30d)
- 83
Description
Currently empty templates are only updated after an upgrade if the admin runs occ richdocuments:update-empty-templates manually. This was useful in the past, when the default empty templates had specific locale baked in. However, with fb68779048bdeedc1cbf87d2d992b966b9b0c3b1 locale-independent default templates were introduced, eliminating the reason to have custom empty templates, and the need for the above command.
Now the issue is that users aren't receiving the updated templates unless they run that command, thus let's always update the default templates on upgrade.
Contributor 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.
Research direction
Start by tracing the occ richdocuments:update-empty-templates command and the upgrade path, using commit fb68779048bdeedc1cbf87d2d992b966b9b0c3b1 for context. Done means the default empty templates are updated automatically during an upgrade without requiring the command to be run manually.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100