Eike Kettner
d937e0501a
Add source files to collective insights
2020-02-23 20:17:53 +01:00
Eike Kettner
be8eacdbe9
Display full attachment name in title tooltip
2020-02-23 14:36:19 +01:00
Eike Kettner
1f431c3222
Make link to original file enabled if files are different
2020-02-23 14:33:22 +01:00
Eike Kettner
957073fe62
Return info about original files in item detail
...
This adds data to the current rest api.
2020-02-23 14:25:32 +01:00
Eike Kettner
ec419c7bfd
Adopt nix modules to new config
2020-02-22 12:40:56 +01:00
Eike Kettner
74a037887d
Fix deleting items and attachments to also remove the binary files
2020-02-22 00:54:55 +01:00
Eike Kettner
8cfecfb3dd
Update docs
2020-02-22 00:48:58 +01:00
Eike Kettner
98576a5fb5
Add link to original file
2020-02-20 22:40:27 +01:00
Eike Kettner
72fd3b1a25
Implement downloading original file
2020-02-20 22:33:57 +01:00
Eike Kettner
39809f9d05
Sketch route for retrieving original file
2020-02-20 22:12:27 +01:00
Eike Kettner
7fe8843893
Update documentation sites
2020-02-20 21:43:37 +01:00
Eike Kettner
3f316ab4d0
Update config file doc
2020-02-20 21:10:00 +01:00
Eike Kettner
fbe0c1aec5
Allow more chars for mimetype
2020-02-20 00:39:31 +01:00
Eike Kettner
97305d27ff
Integrate support for more files into processing and upload
...
The restriction that only pdf files can be uploaded is removed. All
files can now be uploaded. The processing may not process all. It is
still possible to restrict file uploads by types via a configuration.
2020-02-19 23:27:00 +01:00
Eike Kettner
9b1349734e
Convert some files to pdf
2020-02-19 02:03:10 +01:00
Eike Kettner
5869e2ee6e
Streamline extern-conv stdin/infile
2020-02-18 12:43:47 +01:00
Eike Kettner
0dcc00836b
Make logger configurable in system commands
2020-02-18 12:02:43 +01:00
Eike Kettner
bd605b8c94
Add first drafts for converting
2020-02-18 01:31:22 +01:00
Eike Kettner
c665c212a0
Early draft for running wkhtmltopdf
2020-02-17 14:02:23 +01:00
Eike Kettner
e0682464b5
Configure pdf extraction; move Logger and DataType to common
2020-02-17 14:01:36 +01:00
Eike Kettner
3d615181e0
Early draft for text extraction
2020-02-17 01:57:22 +01:00
Eike Kettner
8143a4edcc
Adding extraction primitives
2020-02-16 21:37:26 +01:00
Eike Kettner
851ee7ef0f
Reorganize processing code
...
Use separate modules for
- text extraction
- conversion to pdf
- text analysis
2020-02-15 21:25:25 +01:00
Eike Kettner
919381be1e
More research on how to create pdfs from other files
2020-02-15 13:57:21 +01:00
Eike Kettner
3deba44282
Rename example files
2020-02-15 12:52:24 +01:00
Eike Kettner
1309c8b7fa
Move mimetype detection to docspell-files
2020-02-14 22:06:18 +01:00
Eike Kettner
5c3d2b2e28
Rename example-files to files
2020-02-14 11:14:09 +01:00
Eike Kettner
bf9bf25502
Rename example files
2020-02-14 11:10:54 +01:00
Eike Kettner
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
Eike Kettner
2c0425433e
Move File class to common module
2020-02-11 22:42:04 +01:00
Eike Kettner
3026f199f7
Some research on pdf conversion
2020-02-11 22:41:44 +01:00
Eike Kettner
ce22b727b1
Add new convert module and sketch its integration
2020-02-11 00:33:52 +01:00
Eike Kettner
3be90d64d5
Move SystemCommand
to common module
2020-02-10 22:23:06 +01:00
Eike Kettner
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
Eike Kettner
5c37efeaba
Apply scalafmt to all files
2020-02-09 01:54:26 +01:00
Eike Kettner
533396d386
Using the new preview route to show the attachment in webui
2020-02-08 18:02:31 +01:00
Eike Kettner
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
Eike Kettner
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
Eike Kettner
9b66604b96
Include item notes in search
2020-02-08 13:39:06 +01:00
Eike Kettner
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
Eike Kettner
f8aa5c28ac
Update http4s to 0.21.0-RC3, fs2 to 2.2.2
2020-02-04 22:14:18 +01:00
Eike Kettner
c9c8672234
Fix line-breaks in mail body
2020-02-02 12:25:15 +01:00
Eike Kettner
518d6911f0
Edit notes in a larger area
2020-01-29 21:57:02 +01:00
Eike Kettner
c504a3df42
Fix elm-analyse issues
2020-01-29 20:56:14 +01:00
Eike Kettner
1c8a143623
Add a complete example for nixos
2020-01-24 23:12:08 +01:00
Eike Kettner
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
Eike Kettner
23af8acff8
Add support for integrating into nix/nixos
2020-01-20 00:21:15 +01:00
Eike Kettner
2454f358b1
Add sbt task to create a zip for things in tools/
2020-01-19 20:32:52 +01:00
Eike Kettner
8f7e8c7800
Add redirect for root (/
) to gui (/app
)
2020-01-18 17:48:45 +01:00
Eike Kettner
1c13537f47
Set version to 0.3.0-SNAPSHOT
2020-01-12 15:36:09 +01:00