Commit Graph

378 Commits

Author SHA1 Message Date
0cfd8974d3 Add a flag to imap settings to enable/disable oauth2 scheme 2021-01-04 11:03:04 +01:00
6346bf6a34 Add summary for fulltext searches 2020-12-17 00:11:33 +01:00
8fba637ebe Add folder counts to search summary 2020-12-16 01:14:27 +01:00
80e23d1c84 Add a route to get search summary 2020-12-15 23:37:02 +01:00
80406cabc2 Refactoring some code into separate files 2020-12-15 21:03:47 +01:00
adee496b77 Convert source record 2020-12-15 21:03:46 +01:00
b338f18e98 Remove redundant fileCount from search result 2020-12-15 21:03:46 +01:00
5882405f30 Search index if search object only contains this field 2020-12-05 02:59:57 +01:00
0337391b20 Change remember period to 30 days 2020-12-04 20:30:25 +01:00
a0642905db Use remember-me cookie if present 2020-12-04 17:59:25 +01:00
c10c1fad72 Prepare remember-me authentication variant 2020-12-04 17:59:25 +01:00
fc2668feee Allow to connect a person to an organization 2020-12-01 23:39:45 +01:00
0ee8ff66d5 Allow to search by source name 2020-11-30 14:07:45 +01:00
7052bc6b8e Add cc and bcc to item mail 2020-11-28 01:36:59 +01:00
5fe532001b Allow to specify document lanugage with the request 2020-11-23 20:49:01 +01:00
7b7f1e4d6d Return custom field values with search results 2020-11-23 10:23:25 +01:00
066c856981 Allow to search for custom field values 2020-11-22 21:41:09 +01:00
1aefff37aa Return custom field values with item details 2020-11-22 21:41:09 +01:00
8d35d100d6 Change custom fields for multiple items 2020-11-22 21:41:09 +01:00
93295d63a5 Change custom field values for a single item 2020-11-22 21:41:09 +01:00
62313ab03a Add and change custom fields 2020-11-22 21:41:09 +01:00
248ad04dd0 Prepare custom fields 2020-11-22 21:41:09 +01:00
5034e12bec Add a subject filter to scan-mailbox args 2020-11-13 23:15:20 +01:00
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
4fd6e02ec0 Improve glob and filter archive entries 2020-11-11 21:01:23 +01:00
55a6f7aaf6 Add more properties to upload meta data 2020-11-11 21:01:23 +01:00
29455d638c Add startup task to find page counts of existing files 2020-11-09 20:35:35 +01:00
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
8c8788bc69 Provide fallback image for previews 2020-11-09 09:00:03 +01:00
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
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
8cc89fd3b7 Move handling binary responses to a shared space 2020-11-08 15:12:56 +01:00
d376ef3ef1 Add simple route to get the preview image 2020-11-08 13:33:39 +01:00
59dfae6a49 Introduce fomantic-ui, replacing semantic-ui
Replaced semantic-ui with the drop-in replacement fomantic-ui [0]
which is a maintained fork. The fomantic-ui used here is a custom
build [1] of the less-version _without_ google-fonts (css-only). The
javascript part of fomantic-ui is not used, and also jquery could be
dropped now.

[0] https://fomantic-ui.com
[1] https://github.com/eikek/fomantic-slim-default

Issue: #349
2020-11-05 22:44:10 +01:00
f4c79c72ae Allow to remove tags from multiple items 2020-10-31 14:42:17 +01:00
0114bb4d72 Use source name from config file for integration endpoint uploads
Fixes: #389
2020-10-26 22:37:30 +01:00
998aad5627 Delete multiple items 2020-10-26 14:46:04 +01:00
9193d7ca51 Send multiple items to reprocessing 2020-10-26 14:03:56 +01:00
26e89bf84e Edit org/person/equipment of multiple items 2020-10-26 13:35:47 +01:00
2e6026b817 Edit dates of multiple items 2020-10-26 13:16:03 +01:00
d4043634ac Edit direction of multiple items 2020-10-26 12:48:15 +01:00
42c989a6cd Edit folder of multiple items 2020-10-26 12:39:44 +01:00
17472fa4ca Edit name of multiple items 2020-10-26 12:17:55 +01:00
7ad37c8d26 Editing tags for multiple items 2020-10-26 11:54:04 +01:00
458fa7edd9 Allow to search in a defined item subset 2020-10-25 22:19:55 +01:00
4ee881963e Fix cookie's secure flag based on protocol
Now, if the configured base-url is `localhost` (that is, it is left
unchanged), the request is insepected to retrieve the base-url value.
This is then used to set the `secure` cookie attribute. The `domain`
attribute has been removed from the cookie.

The notify-items task has been updated to use the same pattern for
creating absolute urls to items it its mail body.
2020-10-11 18:31:36 +02:00
df646dfabe Get the client host first from x-forwarded-host header
Then use the x-forwarded-for header (doing a reverse lookup, if
possible). At last use the Host header.
2020-10-09 23:47:07 +02:00
67e1ba05f4 Fix domain for auth cookie
The domain was incorrectly extracted from the request. It must be
using the `Host` header at last, trying now `X-Forwarded-For` and
`X-Forwarded-Host` first.
2020-09-28 00:52:09 +02:00
030ee6c932 Update website 2020-09-24 00:49:51 +02:00
f6f63000be Prepend a duplicate check when uploading files 2020-09-23 23:37:00 +02:00