Comments (9)
That's weird, because as far as I know paperless always converts images into pdf format, see https://docs.paperless-ngx.com/faq/#what-file-types-does-paperless-ngx-support
Do you mean the document preview or the scanner preview?
What app version do you have installed and which server version are you running?
from paperless-mobile.
I ment the document preview, but you are right, paperless is supposed to return pdf in any case. Hence, there is no need to handle other formats than pdf. I'm actually not using a paperless server but seeddms (www.seeddms.org) which emulates the paperless api as good as possible. seeddms has no restrictions on file formats. It can store any file uploaded and if that file can be converted to pdf, it will convert it on request. There is no notion of an archived document. I initially thought, your app requests the original file on preview. Actually I wonder if there is a way to get back the original file, e.g. if it was a jpeg uploaded with 'paperless share'
from paperless-mobile.
BTW, if you want to try seeddms, just connect with your app to https://demo6.seeddms.org/restapi/index.php with admin/admin.
from paperless-mobile.
I see, I think this might be a good feature to support in the future. It should not be too much effort to check the mimetype of the file returned by document/:id/preview/ and open it in the system viewer.
from paperless-mobile.
I just realized that your app calls api/documents/{id}/download/ and api/documents/{id}/preview. Could that be the distinction to download the original file and the pdf version of it?
The title of this issue could be misleading. The native api of seeddms is quite different from the paperless api. I just added those api calls of paperless to make it work with your app, because it is a very efficient way to get documents into seeddms. Though it covers just a small portion of the functionality of seeddms.
from paperless-mobile.
As far as I know they are similar, both download and preview return a pdf file.
Right, I thought that the paperless api was natively built in, I'll change the title back.
from paperless-mobile.
I was looking for some more documentation at paperless ngx web site but quite find any. Do you have any more official information on what the different api calls precisly do? Maybe a swagger definition?
from paperless-mobile.
Unfortunately not, I also asked in the matrix chat, there should be a way to generate a swagger documentation from the Django framework but I couldn't manage to get it to run.
from paperless-mobile.
I'll maybe reconsider once the app has most of the paperless features implemented, until then, I'll probably not support other systems due to time constraints.
from paperless-mobile.
Related Issues (20)
- [Bug]: Gray Page when trying to create new corespondant from search HOT 3
- [Feature]: Swipe option between footer tabs HOT 3
- Scanner shows camera stretched out HOT 1
- [Bug]: App freezes on Startscreen HOT 5
- [Bug] Scanner page restoring indefinitely
- [Bug]: Marking an inbox document as seen unsets the owner property
- [Bug]: Filter rule "has storage path in" (rule_type: 30) is not working HOT 1
- [Bug]: Server URL validation misses scheme validation. HOT 2
- [Question] How to get the certificate for authentication? HOT 3
- [Feature]: Notes function
- [Bug]: Scanner cropping is hard to use and buggy HOT 1
- After Update S23 to android 14 app does not start HOT 2
- [Feature]: Allow upload of document with unset owner field
- [Bug]: Can not log ing HOT 12
- [Bug]: Server-Version not displayed correctly HOT 1
- [Bug]: Login stuck at getting Userinformation
- [Bug]: Changes not saved HOT 7
- Fails to edit document (removed a tag) HOT 5
- [Bug]: Stuck at home screen HOT 2
- versioncode decreased?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paperless-mobile.