Commit Graph

481 Commits

Author SHA1 Message Date
569aae3038 Add example files into its own project
The text and convert module can use them in their tests.
2020-02-11 22:46:23 +01:00
2c0425433e Move File class to common module 2020-02-11 22:42:04 +01:00
3026f199f7 Some research on pdf conversion 2020-02-11 22:41:44 +01:00
ce22b727b1 Add new convert module and sketch its integration 2020-02-11 00:33:52 +01:00
3be90d64d5 Move SystemCommand to common module 2020-02-10 22:23:06 +01:00
ba3865ef5e Starting to support more file types
First, files are be converted to PDF for archiving. It is also easier
to create a preview. This is done via the `ConvertPdf` processing
task (which is not yet implemented).

Text extraction then tries first with the original file. If that
fails, OCR is done on the (potentially) converted pdf file.

To not loose information of the original file, it is saved using the
table `attachment_source`. If the original file is already a pdf, or
the conversion did not succeed, the `attachment` and
`attachment_source` record point to the same file.
2020-02-10 12:42:45 +01:00
5c37efeaba Apply scalafmt to all files 2020-02-09 01:54:26 +01:00
533396d386 Using the new preview route to show the attachment in webui 2020-02-08 18:02:31 +01:00
8908ad2561 Add attachment preview url based on ViewerJS
The viewerJS library can display PDF files easily using pdfjs. Another
attachment route redirects to the viewerjs application to display the
current attachment.

The attachment responses have been improved in that now the response
headers are added to all responses. Additional a HEAD route has been
added to support the viewerJS application.
2020-02-08 18:02:31 +01:00
e1826f39ac Disable revolver plugin on non-app projects
This allows to type `reStart` in the root sbt project to start both
applications.
2020-02-08 18:02:31 +01:00
9b66604b96 Include item notes in search 2020-02-08 13:39:06 +01:00
d2edddd238 Show attachment meta data in ui
Allow to view the extracted text and results from text analysis of an
attachment.
2020-02-08 12:23:59 +01:00
f8aa5c28ac Update http4s to 0.21.0-RC3, fs2 to 2.2.2 2020-02-04 22:14:18 +01:00
c9c8672234 Fix line-breaks in mail body 2020-02-02 12:25:15 +01:00
518d6911f0 Edit notes in a larger area 2020-01-29 21:57:02 +01:00
c504a3df42 Fix elm-analyse issues 2020-01-29 20:56:14 +01:00
1c8a143623 Add a complete example for nixos 2020-01-24 23:12:08 +01:00
61bbdab8b5 nix: add user doc and pkg fixes
- Add user doc for how to use with nix/nixos

- fix potential collisions in packages if both are installed via
  `nix-env`
2020-01-24 21:56:48 +01:00
23af8acff8 Add support for integrating into nix/nixos 2020-01-20 00:21:15 +01:00
2454f358b1 Add sbt task to create a zip for things in tools/ 2020-01-19 20:32:52 +01:00
8f7e8c7800 Add redirect for root (/) to gui (/app) 2020-01-18 17:48:45 +01:00
1c13537f47 Set version to 0.3.0-SNAPSHOT 2020-01-12 15:36:09 +01:00
ab045b0ce6 Set version to 0.2.0 2020-01-12 13:58:04 +01:00
d8da55fa23 Update readme + fix typo 2020-01-12 13:56:50 +01:00
e8122e5f35 Fix input width for multi dropdown and recipients 2020-01-12 13:37:56 +01:00
4b4d236ca4 Show loader while sending mail 2020-01-12 12:31:31 +01:00
d057d4de7c Shorten attachment filenames in tab view 2020-01-12 11:56:31 +01:00
8058bdd398 Fix textarea issue 2020-01-12 10:58:48 +01:00
6d0c140e8e Add mariadb database migration 2020-01-12 01:17:49 +01:00
c6f3920351 Streamline query parameters 2020-01-12 01:13:03 +01:00
d535130c9e Provide email proposals from address book 2020-01-12 01:04:42 +01:00
c84a69aa9c Update documentation 2020-01-11 22:12:51 +01:00
bb1f948f25 Fix search menu width 2020-01-11 20:22:51 +01:00
c15701a21a Use PasswordInput in change password form 2020-01-11 18:55:33 +01:00
6e56aad251 Sow sent mails in item detail 2020-01-11 18:15:08 +01:00
88efe13209 Fix item route responses
Also avoid storing empty strings in a nullable field.
2020-01-11 12:58:04 +01:00
2ecfb679d9 Add routes to retrieve sent mails 2020-01-11 12:58:04 +01:00
b795a22992 Send mails for items 2020-01-10 00:45:29 +01:00
2d69d39dd1 Connect multiple items to a mail 2020-01-09 18:20:59 +01:00
7a3289c41d Prepare sending mail 2020-01-08 22:44:34 +01:00
51ce48997c Start with send-mail widget 2020-01-08 20:51:57 +01:00
4490a444a9 Allow dots in identifiers 2020-01-07 00:20:41 +01:00
32050a9faf Finish mail settings 2020-01-07 00:20:28 +01:00
f235f3a030 Starting with mail functionality 2020-01-05 23:23:28 +01:00
2e3454c7a1 Starting with mail settings 2020-01-05 15:31:32 +01:00
9020d9aa3b Don't require a prefix when configuring byte arrays 2020-01-05 15:29:58 +01:00
993a3d05e2 Fix redirection after login 2020-01-03 20:42:38 +01:00
06d84550f5 Fix documentation for ds.sh 2020-01-03 18:17:48 +01:00
6eaac50e63 Save search query state
For when coming back from detail view.
2020-01-03 00:22:07 +01:00
9a300e213d Correct secondary menu width 2020-01-02 23:46:56 +01:00