Commit Graph

1511 Commits

Author SHA1 Message Date
698ff58aa3 Provide a more convenient interface to search 2021-03-01 11:50:07 +01:00
e079ec1987 Provide custom error structure for parse failures 2021-03-01 00:51:01 +01:00
d737da768e Move to munit in query module 2021-03-01 00:51:01 +01:00
9013d9264e Add more convenient date parsers and some basic macros 2021-03-01 00:51:01 +01:00
af73b59ec2 Parser improvements
- default expressions into a and node
- fix parsing string lists that end in whitespace
- fix package names of internal classes
2021-03-01 00:51:01 +01:00
a80d73d5d2 Optimize imports 2021-03-01 00:51:01 +01:00
e9ed998e3a Basic poc to search via custom query 2021-03-01 00:51:01 +01:00
186014a1c6 Refactor search to separate between a base query and user query
The `findBase` is adding only strictly required conditions. Everything
else comes from the user.
2021-03-01 00:51:01 +01:00
c3cdec416c Sketching some basic tests 2021-03-01 00:50:52 +01:00
be5c7ffb88 First draft of ast and parser 2021-03-01 00:46:57 +01:00
74a79a79d9 Initial project setup 2021-03-01 00:46:57 +01:00
cfa36a5270 Fix preview png tests
Outcome was checked manually.
2021-03-01 00:33:57 +01:00
e6d9ce2c37 Remove obsolete type capabilities
These are now detected by the new scala compiler and lead to compile
errors.
2021-03-01 00:16:30 +01:00
c7d4c77e6d Allow more suggestions for date variants in English 2021-02-26 00:35:17 +01:00
017241bccb Fix typo 2021-02-22 15:09:10 +00:00
cd2f623773 Set version to 0.21.0-SNAPSHOT 2021-02-19 23:32:10 +01:00
4d3a25a8c1 Set version to 0.20.0 2021-02-19 22:36:55 +01:00
07a061febc Make sure certain styles are not stripped by purge-css 2021-02-19 22:36:55 +01:00
211499a7e6 Add bottom border to metadata view 2021-02-19 11:17:35 +01:00
d819878974 Re-add the button to create new tags in detail view 2021-02-19 11:07:42 +01:00
9156e56d65 Merge pull request #651 from eikek/language-source
Add language to a source
2021-02-19 01:30:24 +00:00
7ef3185659 Add language to a source
Allows to define upload urls for different languages.
2021-02-18 23:34:42 +01:00
5c6f57cc6a Trim values of some input data
Some values don't make sense when padded with whitespace, like
organization name, source ids etc. These are trimmed now when
received.
2021-02-18 22:07:32 +01:00
70fa57587b Fix setting ui theme for anonymous 2021-02-18 22:02:56 +01:00
0e9d8f8794 Fix hover when folder is a drop-target 2021-02-18 00:43:15 +01:00
d7bc963450 Cleanup nodes that are not reachable anymore 2021-02-18 00:37:18 +01:00
b16166f1e9 Merge pull request #645 from eikek/equipment-description
Equipment description
2021-02-17 22:17:03 +00:00
5181283b1b Add a short-name to organizations 2021-02-17 22:55:35 +01:00
20ccdda609 Add a notes field to equipments 2021-02-17 22:39:07 +01:00
e07d732193 Show item position in detail view 2021-02-17 22:18:22 +01:00
a79fa6f74a Add version info back to frontend 2021-02-17 21:54:53 +01:00
e177336155 Better align tags in multi-select field 2021-02-17 00:14:06 +01:00
4ef1996137 Fix extracted content border 2021-02-17 00:14:06 +01:00
33cfd6df6f Hide Load-more button when there is no more 2021-02-17 00:14:06 +01:00
29d80adace Ui updates: place result message below buttons 2021-02-17 00:14:06 +01:00
48eee00c0b Allow person to be correspondent, concerning or both 2021-02-16 22:49:55 +01:00
d99ce76d89 Remove person suggestion if it doesn't match with organization 2021-02-16 00:29:54 +01:00
eb308cfa85 Remove duplicate candidates when creating list of suggestions 2021-02-15 23:56:09 +01:00
64bacb665a Show queue counts in side menu 2021-02-15 00:27:55 +01:00
07edaaaf5e Try fix attachment selection for firefox
It works great in chromium, in firefox the border is a bit off.
2021-02-15 00:11:37 +01:00
9c90d7c4c2 Fix min height of tag area in detail
This avoids "nervous/noisy" ui flickering when changing between items
where one has no tags/fields to show.
2021-02-15 00:10:38 +01:00
a10971607e Always show custom field dropdown in detail mode
Even if there are no custom fields define, the control is shown now.
The user can create a new one in this view.
2021-02-14 23:34:18 +01:00
dec6148df6 Hide field stats component if there is nothing to show 2021-02-14 23:29:05 +01:00
31cb8284a5 Fix formatting icon in top nav bar 2021-02-14 23:22:37 +01:00
1dcc3941ed Fix overflowing content in item cards
When displaying long lines this leads to horizontal scrolling the
complete item list.
2021-02-14 23:18:18 +01:00
f29353adb3 Use different worker cache name per ui
Avoid to have users clear their browser caches
2021-02-14 11:29:36 +01:00
5461321e59 Remove unused styles and prevent postcss from purging relevant ones 2021-02-14 02:20:01 +01:00
f6e5bda2d8 Change default ui to be the new ui
The old ui is still available, using a header: `Docspell-Ui: 1`. Using
a browser addon a "ui switch" can be easily achieved.
2021-02-14 01:46:13 +01:00
dd935454c9 First version of new ui based on tailwind
This drops fomantic-ui as css toolkit and introduces tailwindcss. With
tailwind there are no predefined components, but it's very easy to
create those. So customizing the look&feel is much simpler, most of
the time no additional css is needed.

This requires a complete rewrite of the markup + styles. Luckily all
logic can be kept as is. The now old ui is not removed, it is still
available by using a request header `Docspell-Ui` with a value of `1`
for the old ui and `2` for the new ui.

Another addition is "dev mode", where docspell serves assets with a
no-cache header, to disable browser caching. This makes developing a
lot easier.
2021-02-14 01:46:13 +01:00
442b76c5af Setup tailwind with docspell build 2021-02-03 21:35:15 +01:00