Decisions¶
The decisions that shape this project, each with its reasons, so that a later change can see why things are as they are. A decision that changes an earlier one gets a new record, and the earlier one says which record replaces it.
Copy the template to the next free number and describe the decision in the pull request that makes it.
| Record | Decision | Status |
|---|---|---|
| 0001 | Record the decisions that shape the project | accepted |
| 0002 | Write the archive through the filesystem API of Nextcloud | accepted |
| 0003 | Paperless is the source of the archive | accepted |
| 0004 | Delete only what Paperless has confirmed gone, and only what fits into a run | accepted |
| 0005 | Run the end-to-end tests where a change can make them fail | accepted |
| 0006 | Every file name keeps its marker and its extension, within the bytes of Nextcloud | accepted |
| 0007 | Run the end-to-end tests on the databases and the storage of real installations | accepted |
| 0008 | Reach a Paperless in the local network per request, never for the whole server | accepted |
| 0009 | Keep the SHA-256 and the MD5 of every download, for Paperless-ngx 2 and 3 | accepted |
| 0010 | Mirrored files keep their identity: moved, and updated in place | accepted |
| 0011 | Check every permission that a run needs before the settings are saved, and block only what no run survives | accepted |
| 0012 | Ask for version 9 of the Paperless API in every request, and need Paperless-ngx 2.16 | accepted |
| 0013 | The Activity stream tells the target user what a run did, one entry per run and per import | accepted |
| 0014 | Try unsaved settings with the saved connection, and keep the paths the same in every run | accepted |
| 0015 | Check the app and the answers of its unit tests against a real Paperless-ngx every week | accepted |
| 0016 | Translate a message where its reader is known, and check the German catalog against the code | accepted |
| 0017 | Name new folders in the default language of Nextcloud, and keep the names of every installation in use | accepted |
| 0018 | Runs by hand run as background jobs, and occ runs them in the shell | accepted |
| 0019 | Changes from Paperless arrive through the webhook of its workflows, as runs of one document | accepted |
| 0020 | One connection to Paperless for each run, through a client for that connection | accepted |
| 0021 | The metadata of Paperless goes next to the archive, as a sidecar for each copy and one index | accepted |
| 0022 | A dry-run takes the plan of a run: planners decide, executors apply or only report | accepted |
| 0023 | Actions in the menu of Files, without a build, and uploads in the background | accepted |
| 0024 | The tags of Paperless become tags of Nextcloud that the app alone changes | accepted |
| 0025 | Each user gets the documents that they own in Paperless, through one account of the app | accepted |
| 0026 | Every change of files runs in the filesystem of their user, through the setup manager of Nextcloud | accepted |
| 0027 | The settings create the account of the app in Paperless with a token of a superuser that they use once | accepted |
| 0028 | Test the upgrade that users run: from the last release, on PostgreSQL and MariaDB, with the packages they install | accepted |
| 0029 | Share the end-to-end runs between both required jobs, and make each call of the suite quick | accepted |
| 0030 | Lint the JavaScript with ESLint, and measure its coverage in the checks in the browser | accepted |
| 0031 | The inbox sets aside videos, programs and archives by their extensions, and leaves every other file to Paperless | accepted |
| 0032 | Spend the runners of the end-to-end tests on the tests: health checks that check often only while a service starts, traces without snapshots in a first attempt, no more runs than processors, the data in memory, and a split by what a run costs | accepted |
| 0033 | Each user also gets a copy of the documents that Paperless shares with them | accepted |
| 0034 | A note in Files says what a folder of the app does, from one answer for each user | accepted |
| 0035 | Delegate the settings page, and no key of its configuration | accepted |
| 0036 | Speak more languages from catalogs that a check holds complete, and let no catalog move an archive | accepted |
| 0037 | Name the scenarios of the end-to-end tests, each with what it needs | accepted |
| 0038 | Each user may see the documents with their tags, as the administrator sets them | accepted |
| 0039 | A file of the inbox goes to Paperless once, whatever its path | accepted |
| 0564 | A document that the MD5 alone found counts only with the SHA-256 of its original | accepted |
| 0568 | In per-user ownership, a document of the account counts only as the user's own upload | accepted |
| 0571 | In per-user ownership, follow every upload until its document has its owner, and prove a lost upload by the ID of its document | accepted |