mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #558] [Discussion] Integrating Papermerge in a third party app #434
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#434
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maheshj01 on GitHub (Nov 3, 2023).
Original GitHub issue: https://github.com/ciur/papermerge/issues/558
Originally assigned to: @ciur on GitHub.
Hello @ciur,
Thank you so much for building this great tool. I am looking at papermerge as a potential solution to integrate into our utility mobile app. Our app has users of different roles Building owner, tenant, and contractor for each building. We would like to integrate paper into allowing our users to upload their files and retrieve them for preview.
I looked into the documentation but I couldn't understand whether our requirement could be met, Here are some general questions I have about paper merge, It would be great if you could help clarify the following questions.
Best,
Mahesh
@ciur commented on GitHub (Nov 4, 2023):
I will assume that you are interested in P3 (version 3.0 and later, which will be out December 2023).
Short answer is: yes you can.
Long answer: from P3 application does not manage any authorization/authentication - it just receives a token (which contains currently logged in user), assumes session is valid, and returns you whatever you are asking for.
The AA (authorization and authentication) is managed by other, external application.
Out of the box, P3 comes with its own AA which currently does not support any permission management at all, but supports multiple authentication schemes.
It is up to you and your particular need to supply the AA part.
Not necessary, papermerge can be used as external service.
Currently the files will be uploaded to the same storage filesystem where application runs, but in general you can customize that as well to support e.g. S3 storage.
@maheshj01 commented on GitHub (Nov 5, 2023):
Thanks for the info @ciur
@maheshj01 commented on GitHub (Nov 8, 2023):
@ciur I am trying to setup a local server by referring the docs complete-stack-in-2-minutes
I was able to run the papermerge client and uploaded few image files and a pdfs, but I am not able to preview any of the images, I tried multiple images of different formats png, jpg,jpeg
Any idea what could potentially be wrong here?
Also for consuming the rest APIs do I need to run a different server?
@ciur commented on GitHub (Nov 9, 2023):
yes, the thing is that in version 2.1.x (I guess this is the version you are testings) there is no support for png, jpg and tiff.
Version 2.1.x has only support for pdf files.
Documentation is misleading because prior versions (2.0.x) has support for images.
Support for png, jpg, tiff will be reintroduced in version 3.0.