Commit Graph

274 Commits

Author SHA1 Message Date
22fa1dba13 Apply folder restriction to fulltext only search
And update index when folder changes.
2020-07-12 13:50:45 +02:00
5b95fddf3d Make item queries depend on the account-id
Now the user is required, too, to list items.
2020-07-11 21:54:51 +02:00
86443e10a6 Set the folder of an item 2020-07-11 12:57:17 +02:00
2ab0b5e222 Rename space -> folder 2020-07-11 11:54:23 +02:00
60a08fc786 Return member count and if current user is owner or member 2020-07-11 01:30:29 +02:00
ea4ab11195 Allow to only return owning spaces 2020-07-11 01:30:28 +02:00
752a94a9e2 Implement space operations 2020-07-11 01:30:28 +02:00
c12201c4a5 Add routes to manage spaces 2020-07-11 01:30:28 +02:00
347a029af8 Scalafix organize-imports 2020-06-28 21:20:47 +02:00
41c0f70d3b Fix cancelling jobs
A request to cancel a job was not processed correctly. The cancelling
routine of a task must run, regardless of the (non-final) state. Now
it works like this: if a job is currently running, it is interrupted
and its cancel routine is invoked. It then enters "cancelled" state.
If it is stuck, it is loaded and only its cancel routine is run. If it
is in a final state or waiting, it is removed from the queue.
2020-06-26 23:08:27 +02:00
0ba1736bc8 Remove items/attachments from index on delete 2020-06-25 00:00:10 +02:00
d5c9923a6d Add a route that only searches the full-text index
It returns the results in the same order as received from the index to
preserve the relevance ordering.
2020-06-24 00:03:17 +02:00
d9f0f05613 Refactor findItemsWithTags to more general useful 2020-06-23 21:27:01 +02:00
647911563e Fix paging when using full-text search 2020-06-23 01:44:52 +02:00
15c0fb4395 Merge branch 'master' into fts 2020-06-23 00:32:27 +02:00
ffbb16db45 Transport highlighting information to the client 2020-06-23 00:17:29 +02:00
cfe5aa8894 Use no-op fts-client if disabled + push this flag to the webui 2020-06-21 21:06:08 +02:00
330fdcdd5b Add rest endpoints to re-create the index 2020-06-21 20:13:33 +02:00
0d8b03fc61 Add backend operations for re-creating the full-text index 2020-06-21 15:46:51 +02:00
14ea4091c4 Renaming things 2020-06-21 13:15:02 +02:00
9acea8307d Update full-text index when changing data 2020-06-21 00:33:39 +02:00
7609b2b7c3 Run scalafmtAll 2020-06-20 23:03:51 +02:00
1f4ff0d4c4 Add language to schema, extend fts-client 2020-06-20 22:44:47 +02:00
3576c45d1a First basic working solr search 2020-06-20 02:18:49 +02:00
522daaf57e Introducing fts client into codebase 2020-06-17 23:20:46 +02:00
7a3d2e4dc6 Extract OItemSearch from OItem 2020-06-15 23:13:48 +02:00
84a26461ed Add a route to update the name of an attachment 2020-06-14 17:03:07 +02:00
617487f5b3 Add mail-debug flag to rest-server
It has been added to the joex application, but it should be possible
to debug mail problems on both apps.
2020-06-13 15:10:00 +02:00
e51e84408b Change notify-due-item routes to allow multiple tasks per user 2020-06-13 14:26:38 +02:00
363eb81aff Add remaining routes to create and update item meta data 2020-06-11 22:28:31 +02:00
c6accca0ff Add route to create and associate correspondent org 2020-06-11 22:11:58 +02:00
f407f08ed3 Add a route to add a new tag and associate it to an item 2020-06-11 21:51:42 +02:00
1d2a6e6caa Add endpoint to search for items and return their tags
This is a more expensive query, since the tags must be resolved per
item. This is now implemented by doing additional queries while
caching each resolved tag.
2020-06-07 15:18:28 +02:00
e5b90eff34 Allow client to load items in batches 2020-06-06 11:05:15 +02:00
ee394eae86 Try streamline the different impls for MimeType 2020-05-25 09:24:24 +02:00
3cb738568f Allow to change position of attachments 2020-05-24 17:30:25 +02:00
24caba1457 Refactor UploadRoutes to remove duplicate code 2020-05-24 11:48:49 +02:00
f519a8effa Check for an existing item before attempting to add files 2020-05-24 11:48:49 +02:00
f4949446e3 Allow to specify an item id to amend files to existing items 2020-05-23 20:15:55 +02:00
f16632bc7f Allow a collective to disable the integration endpoint 2020-05-23 14:29:24 +02:00
9f9dd6c0fb Change routes for scan-mailbox task to allow multiple tasks per user 2020-05-21 22:04:45 +02:00
451a09dda0 Allow to skip joex notification on uploads 2020-05-20 17:52:38 +02:00
852455c610 Add upload operation to task arguments 2020-05-20 17:52:38 +02:00
6e8582ea80 Implement scan-mailbox form and routes 2020-05-20 17:52:38 +02:00
c9de74fd91 Add imap settings 2020-05-18 08:46:04 +02:00
bd5066740d Joex depends on backend module
The job executor depends on backend module, since it may control the
application via user tasks. The `ONode` can now be moved from the
store module into the backend module.
2020-05-10 21:03:12 +02:00
c41cdeefec Update scalafmt to 2.5.1 + scalafmtAll 2020-05-04 23:53:57 +02:00
0a1b3fcf95 Set list-id header for notification mails 2020-04-30 21:23:56 +02:00
a939839041 Delete single attachments 2020-04-26 23:11:49 +02:00
84e0ebf1a2 Add a flag for restricting overdue items 2020-04-23 21:37:03 +02:00