1331 Commits

Author SHA1 Message Date
mergify[bot]
b0bd7e417f
Merge pull request #439 from eikek/mail-subject-filter
Mail subject filter
2020-11-13 23:07:12 +00:00
Eike Kettner
ec5b822e09 Add subject-filter to scan-mailbox-form 2020-11-13 23:15:20 +01:00
Eike Kettner
5034e12bec Add a subject filter to scan-mailbox args 2020-11-13 23:15:20 +01:00
mergify[bot]
7216629059
Merge pull request #440 from eikek/fix-mk-tools
Fix packaging tools
2020-11-13 22:14:52 +00:00
Eike Kettner
3c4f2c6841 Fix packaging tools
Due to hardcoding files, the new ones were not packaged.
2020-11-13 22:19:21 +01:00
mergify[bot]
98ee813820
Merge pull request #438 from eikek/item-card-fixes
Item card fixes
2020-11-13 07:36:47 +00:00
Eike Kettner
2f9e0a8214 Use more prominent indication when an item is selected
Downside to this approach is that the item card is not accessible when
selected.
2020-11-13 01:54:19 +01:00
Eike Kettner
8950cc4dc9 Improve item card 2020-11-13 01:18:45 +01:00
mergify[bot]
e5ce1fd45f
Merge pull request #437 from eikek/upload-improvements
Upload improvements
2020-11-12 22:58:08 +00:00
Eike Kettner
75c1c5b7f4 Add tags and file-filter settings to scan-mailbox form 2020-11-12 22:37:37 +01:00
Eike Kettner
04ba14f802 Amend source form with tags and file-filter
Allow to define tags and a file filter per source.
2020-11-12 22:37:28 +01:00
mergify[bot]
95328c1e09
Merge pull request #436 from scala-steward/update/http4s-blaze-client-0.21.9
Update http4s-blaze-client, ... to 0.21.9
2020-11-11 20:39:42 +00:00
Eike Kettner
4fd6e02ec0 Improve glob and filter archive entries 2020-11-11 21:01:23 +01:00
Eike Kettner
27eb5d70de Apply given tags in processing step
Issue: #346
2020-11-11 21:01:23 +01:00
Eike Kettner
55a6f7aaf6 Add more properties to upload meta data 2020-11-11 21:01:23 +01:00
Scala Steward
8f3946ebb5
Update http4s-blaze-client, ... to 0.21.9 2020-11-11 20:32:12 +01:00
mergify[bot]
b5038255a9
Merge pull request #434 from eikek/improvements
Improvements
2020-11-10 22:53:21 +00:00
Eike Kettner
a21a97f7d5 Add a simple glob data type 2020-11-10 22:44:08 +01:00
Eike Kettner
cd81161cb0 Add support for jbig2 encoded images
This is often used for binary images.

Closes: #433
2020-11-10 22:28:34 +01:00
Eike Kettner
746e04c624 Improve logging when creating preview images 2020-11-10 22:25:46 +01:00
Eike Kettner
ed26fe226b Split item card it several functions 2020-11-10 22:25:25 +01:00
mergify[bot]
ffaded9718 Merge pull request #432 from scala-steward/update/fs2-core-2.4.5
Update fs2-core, fs2-io to 2.4.5
2020-11-10 00:06:00 +00:00
Scala Steward
ce0fe59e07
Update fs2-core, fs2-io to 2.4.5 2020-11-09 22:53:06 +01:00
mergify[bot]
6a31336adb
Merge pull request #431 from eikek/pages-metadata
Pages metadata
2020-11-09 21:47:03 +00:00
Eike Kettner
976aa75710 Move card size definition in css and fix height bug
For very tall images (sometimes shopping receipts), the height must be
restricted, too.
2020-11-09 21:36:17 +01:00
Eike Kettner
10305bc82d Minor improvements 2020-11-09 21:16:53 +01:00
Eike Kettner
29455d638c Add startup task to find page counts of existing files 2020-11-09 20:35:35 +01:00
Eike Kettner
de00b46e5d Move searchbar to the right 2020-11-09 17:12:06 +01:00
Eike Kettner
89646ef3f6 Hide number of pages, if item is only one file with one page 2020-11-09 17:06:44 +01:00
Eike Kettner
7a14b05ea7 Enhance item card displaying current file and number of pages 2020-11-09 17:04:56 +01:00
mergify[bot]
f83d5fa875
Merge pull request #430 from scala-steward/update/flyway-core-7.2.0
Update flyway-core to 7.2.0
2020-11-09 15:16:05 +00:00
Scala Steward
8b940ba638
Update flyway-core to 7.2.0 2020-11-09 15:35:49 +01:00
Eike Kettner
848c245db6 Change the card link to only use the main content
The card is no longer a link itself. The main target is moved to be
the content (the area containing the title and tags). This is in
preparation of upcoming changes: if the whole card is a link, it
cannot contain other links, due to a restriction by html. Later a card
may have more links to provide.
2020-11-09 14:36:58 +01:00
Eike Kettner
67e8994aec Use attachment preview urls
This changes the preview urls to use the concrete attachment ids. This
way browsers have it easier to switch the preview image when the
attachment position is changed.
2020-11-09 14:29:52 +01:00
Eike Kettner
8c08bf233d Amend search results with attachment info
This uses again another query per item to retrieve some information
about each attachment already in the search results.
2020-11-09 14:24:28 +01:00
Eike Kettner
a77f34b7ba Add a processing step to retrieve page counts 2020-11-09 11:08:24 +01:00
mergify[bot]
5f217e6a76
Merge pull request #428 from eikek/attachment-preview
Attachment preview
2020-11-09 09:15:22 +00:00
Eike Kettner
757273d6ce Add a simple script for re-generating preview images
Submits jobs to regenerate previews of all attachments of a
collective.
2020-11-09 09:57:27 +01:00
Eike Kettner
5906c705c9 Allow the user to choose between 3 preview sizes 2020-11-09 09:40:21 +01:00
Eike Kettner
8c8788bc69 Provide fallback image for previews 2020-11-09 09:00:03 +01:00
Eike Kettner
d4bbb936b6 Count preview image sizes in insight data 2020-11-09 09:00:03 +01:00
Eike Kettner
30682fbecc Document the re-generate all previews endpoint 2020-11-09 09:00:03 +01:00
Eike Kettner
f4e50c5229 Provide endpoints to submit tasks to re-generate previews
The scaling factor can be given in the config file. When this changes,
images can be regenerated via POSTing to certain endpoints. It is
possible to regenerate just one attachment preview or all within a
collective.
2020-11-09 09:00:02 +01:00
Eike Kettner
6037b54959 Don't fail processing if generating preview fails 2020-11-09 00:05:11 +01:00
Eike Kettner
cf6e63785d Fix potential index-out-of-bounds error in classifier
The stanford library expects a non-empty text.
2020-11-09 00:04:51 +01:00
Eike Kettner
709848244c Create tasks to generate all previews
There is a task to generate preview images per attachment. It can
either add them (if not present yet) or overwrite them (e.g. some
config has changed).

There is a task that selects all attachments without previews and
submits a task to create it. This is submitted on start automatically
to generate previews for all existing attachments.
2020-11-08 23:46:02 +01:00
Eike Kettner
eede194352 Fix deleting preview files 2020-11-08 21:27:55 +01:00
Eike Kettner
2c96590aad First ui view of preview images for items
Users can choose to not show them via ui settings
2020-11-08 15:12:56 +01:00
Eike Kettner
7ba6baf6f0 Make preview image smaller 2020-11-08 15:12:56 +01:00
Eike Kettner
757ad31165 Add a route to get the item preview
This is the first available preview of an attachment wrt position. If
all attachments have a preview image, the preview of the first
attachment is returned.
2020-11-08 15:12:56 +01:00