Repository navigation
v0.2.0 #152
v0.2.0
#152
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Security
occor Nextcloud's provisioning API, doesn't get the token either: synchronization pauses until the token is entered again. The update keeps the stored token for the URL that is configured.http://paperless:8000in Docker orhttp://192.168.1.20:8000, works with the new setting Paperless runs in my local network, which allows such an address only for the requests of Paperless Sync to the saved Paperless URL. Before, saving failed withHost "paperless" violates local access rules, and the only way out was the switchallow_local_remote_servers, which turns off Nextcloud's protection against server-side request forgery for every app and every user. Saving and a run by hand now say what to do instead, also for a name that only the hosts file of the server knows, and the settings page moves the focus to the setting. While the setting is off, a download that Paperless redirects to an address of your network is refused, also when Nextcloud'sdns_pinningis turned off. If you turned that switch on for this app, turn the setting on and save, then turn the switch off again:occ config:system:delete allow_local_remote_servers.Features
Bug fixes
.error.txtof a failed import of the inbox has the reason of Paperless again, such as a file type that it doesn't take, and the ID of the Paperless task. Before, it said only Paperless import failed: Paperless-ngx 3.x answers in version 10 of its API by default, whose shape the app didn't read.REVOKEDin the task list of Paperless, moves the file to the error folder with that reason. A day after the upload, a file whose content Paperless has, found by its checksum, counts as imported. A task that Paperless still lists as pending or started moves the file to the error folder, with a note that the document may still appear, because Paperless-ngx 3.x would import a second upload as a duplicate. A task that Paperless no longer lists, as after a restart of its queue, sends the file up again after 15 minutes, with an error in the report and a warning in the Nextcloud log.IMPORT SUCCESS: Dokumente/Paperless/Eingang/police.pdf -> P456. Paperless Sync now needs Paperless-ngx 2.16 or newer, the first version with version 9 of the API; with an older Paperless, saving and every run say so.occ.memory_limit. Before, the app read every download into memory to compute its checksum, so a document larger than the free memory stopped the run before it saved its state, the status stayed running, and every following run died on the same document. Downloads now go from a temporary file to Nextcloud in chunks.SCAN INCOMPLETE, the Nextcloud log has a warning, and the next complete scan carries on. Before, a document that still existed in Paperless could move to the deleted folder, or be deleted when direct deletion is on.EXPORT STOPPED; the other documents follow in the next run. A file name that Nextcloud refuses concerns only its document.SCAN INCOMPLETEandEXPORT STOPPEDalso after a hundred other lines.$in a title or a name stays in the path of the file: "Refund $100 from Shop" no longer becomes "Refund 0 from Shop", and "Tarif $0 Basis" no longer takes in a piece of the template. A title that contains a variable, such as{{ correspondent }}, stays as it is too.[P123]and the extension off a file name. Before, two such documents could get the same path, and with Replace synchronized file the second one replaced the file of the first. Now only the free text is shortened, the longest first, and a template that leaves out the marker or the extension gets them added at the end of the file name.{{id}}for{{ id }}, and the message about an unknown variable names it as{{ owner }}._in names too, and names of Windows devices such asCOM0,LPT¹orCONIN$get a leading_as well.Every pull request of this release
⚠ BREAKING CHANGES
Features
Bug fixes
Compare with the previous release
This discussion was created from the release v0.2.0.
All reactions