Re: [Mayan EDMS: 2447] Metadata values from a different database

2018-05-07 Thread RW Shore
I've got some Java code (GIT repo at https://github.com/shorero/ExifExtractor.git) that looks for images in Mayan, extracts EXIF metadata, and adds the EXIF information to Mayan as metadata tags. This could probably be modified to do what you need. On Thu, Apr 19, 2018 at 4:14 PM, Pablo Castro wr

[Mayan EDMS: 2392] Problem creating a document from Java

2018-03-24 Thread RW Shore
Mayan version: NG 2.8 I'm writing a Mayan dump/restore application in Java. The dump works fine. However, I'm having issues creating a new document. Mayan is returning status 415 (Unsupported Media Type) when I do a post to api/documents/documents. Anybody see any obvious problems? Specifically, w

Re: [Mayan EDMS: 2367] Re: Documentation mismatch with reality

2018-03-18 Thread RW Shore
at 2:53 PM, Michael Price wrote: > Thanks! I've been cleaning up the API a lot. The documentation > capabilities of Django REST framework leave a lot to be desired. We just > upgraded to the latest DRF. Checkout the screenshots for what's coming. > > On Thursday, March 15

Re: [Mayan EDMS: 2366] What hardware are you using to host Mayan EDMS?

2018-03-18 Thread RW Shore
I have a small docker swarm of 4 NUC-sized machines (mix of Core i5 and Core i7 CPUs) plus one old laptop (Core i5); each of the 5 hosts runs Fedora. Mayan and its database are running as two services in the swarm, attached to a mayan-specific docker network. The docker volume runs under a separate

[Mayan EDMS: 2356] Documentation mismatch with reality

2018-03-15 Thread RW Shore
The documentation for the API function that creates a new tag (POST /api/tags/tags) indicates an optional parameter documents_pk_list. This parameter does not actually exist; a POST request to this function that includes field documents_pk_list fails with a 400 (Bad Request) response. -- --- Yo

Re: [Mayan EDMS: 2353] Re: EXIF extractor application

2018-03-13 Thread RW Shore
Let me know if I've messed up anything On Tue, Mar 13, 2018 at 1:23 AM, wrote: > Sweet! I gonna give it a try. > > > On Saturday, March 10, 2018 at 11:27:42 AM UTC-4, RW Shore wrote: >> >> I have created an external, Java application that adds EXIF metadata a

Re: [Mayan EDMS: 2352] Re: Authentication in the REST API

2018-03-13 Thread RW Shore
n Tuesday, March 13, 2018 at 1:32:15 AM UTC-4, ericr...@gmail.com wrote: >> >> Request a token from /api/auth/token/obtain/ and include it in your >> request headers. >> >> On Wednesday, March 7, 2018 at 3:31:39 PM UTC-4, RW Shore wrote: >>> >>> Ign

Re: [Mayan EDMS: 2351] Re: UI suggestion

2018-03-13 Thread RW Shore
metadata/models.py (Michael Price 2018-03-10 >> 13:18:55 -0400 170) >> >> >> On Tuesday, March 13, 2018 at 1:24:31 AM UTC-4, ericr...@gmail.com wrote: >>> >>> I think metadata types are already sorted. I'll take a look. >>> >>>

[Mayan EDMS: 2333] EXIF extractor application

2018-03-10 Thread RW Shore
I have created an external, Java application that adds EXIF metadata as metadata fields to Mayan-maintained images. The app is on GitHub at https://github.com/shorero/ExifExtractor.git Feel free to use, to ask me questions, or to suggest changes. -- --- You received this message because you

[Mayan EDMS: 2332] UI suggestion

2018-03-10 Thread RW Shore
The ordering of metadata tags is not consistent from page to page. In particular, the display on the document-type setup page where one specifies the allowed metadata types for a document type sorts the metadata types alphabetically by label. The display of metadata fields on the recent-documents p

[Mayan EDMS: 2331] Successful use of the API

2018-03-10 Thread RW Shore
I've successfully written a Java program that adds EXIF values as metadata to images stored in Mayan. The program also adds any metadata fields that don't exist, processes only images with a special 'unprocessed' tag which it removes, pays attention to allowed metadata fields for a document type, a

[Mayan EDMS: 2326] Unable to add metadata value via the API

2018-03-08 Thread RW Shore
I'm trying to add a metadata value to a specific document via the REST API. Mayan itself is running in a docker comtainer; the image is the latest (as of a couple of days ago) NG version. I've registered a response filter that dumps stuff from the request and response; this is what I see --

[Mayan EDMS: 2322] Authentication in the REST API

2018-03-07 Thread RW Shore
Ignore the last posting. I had the authentication configured incorrectly. It's rolling now. -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+unsubs

[Mayan EDMS: 2321] Using the REST API

2018-03-07 Thread RW Shore
I'm trying to write a client that hits the Mayan-EDMS REST API. I'm not getting any errors, but I'm not getting any meaningful information back. For example, I've got two tags defined, and when I hit api/tags/tags from my browser, I get the expected JSON structure back. However, when I hit it from

Re: [Mayan EDMS: 2315] Announcing Mayan EDMS NG version 2.8

2018-03-06 Thread RW Shore
Actually, the whole volume stuff should be taken as a low-priority suggestion. I've got my service build working now, and was even able to add a new analyzer function (from GIT repo https://gitlab.com/startmat/document_analyzer.git) to an extension of the docker image. I'd rather see a focus on cle

Re: [Mayan EDMS: 2314] Re: Metadata extractor?

2018-03-06 Thread RW Shore
om/startmat/document_analyzer > > br > Matthias > > > Am Freitag, 2. März 2018 18:01:19 UTC+1 schrieb RW Shore: > >> thank you for the suggestion. Unfortunately I can't get the >> document_analyzer app to install. My situation is the following: >>

Re: [Mayan EDMS: 2301] Re: Docker image for Mayan EDMS NG available

2018-03-02 Thread RW Shore
If you're talking a Windows deployer, fine, since I don't use M$ stuff. I've got 8 services running in a Docker swarm, and I use Docker from the fedora repos, so a deployer for my environment would be unusable. On Thu, Mar 1, 2018 at 6:11 PM, wrote: > I'll leave that up to Eric out resident Dock

Re: [Mayan EDMS: 2300] Re: Metadata extractor?

2018-03-02 Thread RW Shore
;ve verified that exiftool is installed and appears to run properly, though the only thing I actually did was "exiftool -ver". Any suggestions? On Fri, Mar 2, 2018 at 6:10 AM, Matthias Löblich wrote: > You can also use https://gitlab.com/mayan-edms/document_analyzer, which > i

Re: [Mayan EDMS: 2289] Announcing Mayan EDMS NG version 2.8

2018-03-01 Thread RW Shore
k the same on a PC and on a Raspberry Pi. > We are also experimenting with Alpine Linux to reduce the image size. Once > finished we will announce it on the list. > > On Wednesday, February 28, 2018 at 2:07:59 PM UTC-4, RW Shore wrote: >> >> re version 2.8: do you plan to

Re: [Mayan EDMS: 2278] Announcing Mayan EDMS NG version 2.8

2018-02-28 Thread RW Shore
re version 2.8: do you plan to have a Docker container as well? (hint hint :-) On Tue, Feb 27, 2018 at 5:40 AM, wrote: > Hi all, > > We love Mayan EDMS and have come to depend on it for our daily work. Like > many of you we are worried about the effects hurricane Maria has had on the > developme

Re: [Mayan EDMS: 2278] Re: Metadata extractor?

2018-02-28 Thread RW Shore
Thanks. Feel stupid for not finding it myself On Tue, Feb 27, 2018 at 7:21 PM, wrote: > Found this searching the web. Seems to be exactly what you are looking for. > > https://pypi.python.org/pypi/mayan-exif > > On Saturday, February 24, 2018 at 1:47:16 PM UTC-4, RW Shore wr

[Mayan EDMS: 2273] re tags - never mind

2018-02-26 Thread RW Shore
Never mind my previous posting. I missed the "tags" menu selection on the GUI. -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+unsubscr...@googleg

[Mayan EDMS: 2272] Retrieve by tag?

2018-02-26 Thread RW Shore
I understand indexing and have been able to build a new index from my metadata. Using the index I can quickly find documents with a particular value in a specific metadata field. Great. What about tags? Specifically, is there a way (index, other) to locate all documents with a particular tag? --

[Mayan EDMS: 2271] Metadata extractor?

2018-02-24 Thread RW Shore
Does anyone have a transformer that maps the embedded JPEG metadata (date/time taken, size, ...) into Mayan-EDMS metadata? Is such a transformation possible? -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and

Re: [Mayan EDMS: 2270] Examples of metadata templates?

2018-02-22 Thread RW Shore
Thanks On Thu, Feb 22, 2018 at 10:47 AM, Mark Phillips wrote: > I can answer one of your questions - multiple selections are not allowed > for metadata. Think of them as just key-value pairs to describe your > document. > > Mark > > On Thu, Feb 22, 2018 at 5:51 AM, RW Shore

[Mayan EDMS: 2269] Examples of metadata templates?

2018-02-22 Thread RW Shore
I don't know either Django or Python, and the documentation is a bit skimpy on examples for templates used to structure metadata. How about some examples? Common problems I have are: * Timestamping a document with "date created", rather than simply the date updated, with enforced format -mm