Eike Kettner
9f76357879
Add api functions for getting/setting client settings
2021-05-27 21:34:05 +02:00
Eike Kettner
414ffba453
Remove unused code
2021-05-27 21:34:05 +02:00
Eike Kettner
25788a0b23
Add routes for storing/retrieving client settings
2021-05-27 21:34:05 +02:00
Eike Kettner
08f280ac1c
Fix wrong macro name when running name query
...
Closes : #822
2021-05-23 14:14:25 +02:00
Eike Kettner
a1a93e5ca6
Fixes searching items with fulltext
...
When using fulltext only search, then only the index must be searched.
This wasn't working anymore, because the routes added a query to
always select valid items (those not being processed). But this lead
to the downstream code to always consult the database, too. Since the
routes are using a "simple-search" interface, this is now adding the
valid-state condition if applicable. There are still more low-level
interfaces that can be used when searching should be done differently.
Closes : #823
2021-05-23 14:14:25 +02:00
Eike Kettner
d7bbbd2f96
Remove upload meta form for anonymous uploads
...
Closes : #758
2021-05-22 21:33:10 +02:00
Eike Kettner
b3c73dafc0
Only show user menu when successfully logged in
...
Closes : #814
2021-05-22 20:30:05 +02:00
Eike Kettner
f91939ff5b
Use a configured placeholde instead of hardcoded string
2021-05-22 20:29:30 +02:00
Eike Kettner
283e80bc47
Add a now missing case to handle parse failures
2021-05-16 22:49:20 +02:00
Eike Kettner
e3053549b3
Extract strings in item detail modals
2021-04-26 22:02:45 +02:00
Eike Kettner
a98211af22
Remove Http.errorToString
2021-04-26 20:06:36 +02:00
Eike Kettner
a39dfbf82a
Refactor caleventinput field
2021-04-26 20:06:30 +02:00
Eike Kettner
b2cffb22ef
Externalize error messages
2021-04-26 10:00:01 +02:00
Eike Kettner
c9b54e80b7
Remove code from old ui
2021-04-26 10:00:01 +02:00
Eike Kettner
b3c3c783dc
Externalize more strings
2021-04-26 10:00:01 +02:00
Stefan Scheidewig
5faf0e5a0e
Made viewMode pattern matches exhaustive
2021-04-18 22:31:17 +02:00
Stefan Scheidewig
dd743cf273
Reformatted changed source files with elm-format
2021-04-18 22:27:50 +02:00
Stefan Scheidewig
decae84aec
Using SelectViewModel, bulk deletion of item attachments
2021-04-18 18:38:38 +02:00
Stefan Scheidewig
1db5eaf5ee
Attachments selectable
2021-04-17 16:43:24 +02:00
Stefan Scheidewig
a9c02e9e88
Prepared multiselect view mode for attachment list
2021-04-17 13:04:30 +02:00
Stefan Scheidewig
558197e415
Fixed the imports
2021-04-15 20:49:34 +02:00
Stefan Scheidewig
6149a2ab89
Restored unused imports to make it compile again
2021-04-15 18:34:54 +02:00
Stefan Scheidewig
fa34312020
Implemented endpoint to delete multiple attachments
2021-04-15 18:05:01 +02:00
Stefan Scheidewig
93f772351a
Made multi id read logic sharable
2021-04-15 18:03:58 +02:00
Stefan Scheidewig
037d8e818d
Added a route definition to bulk-delete attachments
2021-04-15 17:59:39 +02:00
Eike Kettner
9d6e26efb4
Use externalized strings for edit label
2021-04-14 00:11:10 +02:00
Eike Kettner
994e3df597
Fix query for getting tag categoy summary
2021-04-12 13:40:22 +02:00
Eike Kettner
5737eba82d
Prepare translating dates
2021-04-12 10:53:34 +02:00
Eike Kettner
cb522ee6eb
Set version to 0.23.0-SNAPSHOT
2021-04-11 23:36:16 +02:00
Eike Kettner
1492800be0
Set version to 0.22.0
2021-04-11 22:33:39 +02:00
Eike Kettner
f91f4340b8
Fix scanmailbox form layout
2021-04-11 20:38:09 +02:00
Eike Kettner
7b1cbe6435
Use a placeholder string for all dropdowns
2021-04-11 20:37:16 +02:00
Eike Kettner
255fe82005
Hide the language menu in login page when there are no options
2021-04-11 16:55:32 +02:00
Eike Kettner
c2599eda4c
Remove un-done translations for German
2021-04-11 16:05:11 +02:00
Eike Kettner
39ed246a42
Use correct category count in search menu
2021-04-11 14:34:44 +02:00
Eike Kettner
3e0914ece7
Correctly count tag categories
...
If multiple tags of the same category are applied to the same item,
just summing tag counts will produce the wrong results as now items
are counted multiple times.
2021-04-11 14:34:44 +02:00
eikek
1f60417189
Merge branch 'master' into query-fix
2021-04-11 12:59:00 +02:00
Eike Kettner
4041018c47
Reduce not expressions
...
Fixes queries containing macros inside a "not".
2021-04-11 12:57:42 +02:00
Eike Kettner
5f001b59e5
Show cancelled jobs in queue page
2021-04-11 01:01:32 +02:00
Eike Kettner
c07fd1e61d
Make long filenames break within the container
2021-04-10 23:26:28 +02:00
Eike Kettner
e1bbc2edf5
Apply autoformat
2021-04-10 16:31:58 +02:00
Eike Kettner
e630786104
Move ui language into messages
2021-04-10 16:13:49 +02:00
Eike Kettner
92ae22a68d
Externalize more strings missed before
2021-04-10 16:02:34 +02:00
Eike Kettner
7c43fa0874
Reorganize messages to reflect page structure
2021-04-10 00:30:42 +02:00
Eike Kettner
fa2c5750dd
Externalize strings in other of components
2021-04-09 23:10:00 +02:00
Eike Kettner
2f678aca17
Externalize strings in detail page
2021-04-09 22:40:03 +02:00
Eike Kettner
1762e7afac
Externalize strings for home page
2021-04-05 21:31:45 +02:00
Eike Kettner
9c1beb2240
Externalize strings in usersettings page
2021-04-04 22:07:37 +02:00
Eike Kettner
594818499e
Externalize strings in manage-data page
2021-04-04 22:07:37 +02:00
Eike Kettner
8f1380fcf5
Externalize strings in UiSettings page
2021-04-04 22:07:37 +02:00
Eike Kettner
e76d574ea3
Externalize strings for document language
2021-04-02 23:30:51 +02:00
Eike Kettner
dac95e81e6
Remove unused code for search dropdown
2021-04-02 23:16:38 +02:00
Eike Kettner
9a23ba9afb
Refactor FixedDropdown
2021-04-02 23:11:54 +02:00
Eike Kettner
8d15d97857
Refactor Dropdown
2021-04-02 22:20:55 +02:00
Eike Kettner
b9c98c6578
Externalize strings in queue page
2021-04-02 11:28:21 +02:00
Eike Kettner
968c8e02b7
Externalize strings in upload page
2021-04-02 11:28:21 +02:00
Eike Kettner
12cad398ac
Externalize strings in new-invite page
2021-04-02 11:28:21 +02:00
Eike Kettner
db6198673b
Externalize strings in register page
2021-04-02 11:28:21 +02:00
Eike Kettner
ec237a2eaa
Externalized strings
2021-04-02 11:28:21 +02:00
Eike Kettner
2b81c72d96
Provide translations for main menu
2021-04-02 11:28:21 +02:00
Eike Kettner
322a3e837c
Prepare for selecting languages
...
UI language is stored in user settings for authenticated users;
otherwise is only stored in the current model (not persisted).
2021-04-02 11:28:21 +02:00
Eike Kettner
9fcab84267
Add icon to fixed dropdown
2021-04-02 11:28:21 +02:00
Eike Kettner
589e136883
Add flag icons
2021-04-02 11:28:21 +02:00
Scala Steward
144ea852bf
Update fs2-core, fs2-io to 2.5.4
2021-03-31 21:10:42 +02:00
Eike Kettner
c36073b852
Allow to give human readable summary to user tasks
2021-03-27 22:13:13 +01:00
Eike Kettner
63331b6399
Remove unused code
2021-03-27 22:13:13 +01:00
Eike Kettner
ff0b70abfe
Fix scrollbar position
2021-03-27 22:13:13 +01:00
Eike Kettner
03459124ca
Don't return items still in processing
2021-03-27 22:13:13 +01:00
Eike Kettner
cc38b850a6
Remove deprecated search routes and some refactoring
2021-03-27 22:13:13 +01:00
Eike Kettner
7d513dce0b
Set version to 0.22.0-SNAPSHOT
2021-03-13 18:09:29 +01:00
Eike Kettner
39d6f5789a
Set version to 0.21.0
2021-03-13 16:57:33 +01:00
Eike Kettner
8c6ad8fc4e
This test only doesn't work on my ci
2021-03-13 16:57:08 +01:00
Eike Kettner
177488817d
Fix h2 migration
...
Using java source code obviously requires `javac` during migration.
2021-03-13 16:38:48 +01:00
Eike Kettner
2e443bc9b9
Fix mariadb migration
2021-03-13 15:52:38 +01:00
Eike Kettner
eb56c605cb
Add scrollbars
2021-03-13 14:11:37 +01:00
Eike Kettner
df6b6aba2c
Fix reading uri from a string
...
The read routine did not report all errors in the return type but some
raised exceptions.
2021-03-12 22:31:19 +01:00
Eike Kettner
f8bd42e5bd
Redo pdf conversion and text extraction on reprocess
...
When processing a new file conversion and text extraction is skipped
if detected to be already done. This prevents running expensive tasks
again after restarting/retrying. When explicitely reprocessing a file,
these tasks should run again and replace the existing results.
2021-03-12 00:45:28 +01:00
Eike Kettner
a7ee0aa08b
Add a flag to processing task to distinguish re-/processing
2021-03-12 00:45:23 +01:00
Eike Kettner
76f5ab6c68
Allow to reprocess single and multiple items in the ui
2021-03-12 00:16:19 +01:00
Eike Kettner
058c31e1f6
Reprocessing now sets metadata to an item if not in state confirmed
...
When reprocessing an item, the metadat of all *files* are replaced.
This change now also sets some metadat to an item, but only if the
item is not in state "confirmed". Confirmed items are not touched, but
the metadata of the files is updated.
2021-03-12 00:16:19 +01:00
Eike Kettner
ebaa31898e
Add missing solr migration for new language field
2021-03-12 00:16:00 +01:00
Eike Kettner
274e433d9d
Allow to change use enum for org/equipment
2021-03-10 23:55:18 +01:00
Eike Kettner
0229a867af
Add a use colum to metadata entities
2021-03-10 23:55:18 +01:00
Eike Kettner
1a188afbd7
Re-add ui-version to keep browser resource cache in service-worker
2021-03-10 23:16:01 +01:00
Eike Kettner
a4a84abae5
Show errors from failed register request
...
Also include a `@` in the valid chars for "idents". This allows to use
an e-mail address as username.
2021-03-10 22:14:55 +01:00
Eike Kettner
6a63694a3e
Convert unit tests to munit
2021-03-10 19:48:56 +01:00
Eike Kettner
64e3cb04f3
Remove fomantic ui and ui-header handling
2021-03-09 22:45:29 +01:00
Eike Kettner
b95338e744
Remove old ui code in frontend
2021-03-09 20:40:49 +01:00
Eike Kettner
9991ad5fcc
Add latvian language
2021-03-09 00:23:17 +01:00
Eike Kettner
77a87782b7
Refactoring parser
...
- put all used strings in one place to have it easier to track
- don't use `$` for shortcuts, it's a detail not interesting to a
user; now names must not clash (which is a good idea anyways)
- Added two more shortcuts `conc` and `corr`
2021-03-08 22:51:14 +01:00
Eike Kettner
e681ffa96f
Extend query builder allowing more conditions
...
Before only a column or a dbfunction could be used in a condition. It
is now allowed for all `SelectExpr`.
2021-03-08 22:51:08 +01:00
Eike Kettner
b514b85f39
Improve parser error messages a bit
2021-03-08 10:26:39 +01:00
Eike Kettner
30c901ddf1
Add more ways to query for attachments
...
- find items with a specified attachment count
- find items by attachment id
2021-03-08 09:49:38 +01:00
Eike Kettner
2b2f913e85
Add checksum query expr
2021-03-08 01:53:21 +01:00
Eike Kettner
7b1ec97c97
Fix sort when using fulltext only
2021-03-08 00:47:15 +01:00
Eike Kettner
c6032ff279
Check query in client
2021-03-08 00:46:31 +01:00
Eike Kettner
31e2e99c36
Add a $year
shortcut for selecting items within some year
2021-03-07 13:34:35 +01:00
Eike Kettner
7638dc5111
Flatten nested and/or queries
2021-03-07 12:36:51 +01:00
Eike Kettner
63d146c2de
Resolve fulltext search queries the same way as before
...
For now, fulltext search is only possible when being the only term or
inside the root AND expression.
2021-03-07 09:40:47 +01:00
Eike Kettner
1c834cbb77
Correctly compare numeric field values
2021-03-03 22:54:55 +01:00
Eike Kettner
d4006461f6
Serving scalajs artifacts and provide errors to js
2021-03-03 00:45:10 +01:00
Eike Kettner
71985244f1
Use a better representation for macros
2021-03-03 00:44:49 +01:00
Eike Kettner
a48504debb
Specificly search for field id vs name
2021-03-02 21:09:31 +01:00
Eike Kettner
b4b5acde13
Enable power search for power users via ui settings
...
A different search bar is presented if enabled in ui settings that
allows to search via the new query language.
2021-03-01 22:45:17 +01:00
Eike Kettner
168f5a1a98
Fix like search for custom fields
2021-03-01 20:56:23 +01:00
Eike Kettner
489581d90b
Fix parsing nested expressions
...
Since whitespace is used as a separator, it cannot be consumed by
and/or parens.
2021-03-01 20:56:23 +01:00
Eike Kettner
889e4f4fb0
SearchMenu uses query string instead of json form
2021-03-01 20:56:23 +01:00
Eike Kettner
f8307f77c6
Search by field id or name
2021-03-01 20:56:23 +01:00
Eike Kettner
18992ee374
Deprecate search endpoints
2021-03-01 15:31:02 +01:00
Eike Kettner
dadab0d308
Implement search by query in endpoints
2021-03-01 15:31:02 +01:00
Eike Kettner
698ff58aa3
Provide a more convenient interface to search
2021-03-01 11:50:07 +01:00
Eike Kettner
e079ec1987
Provide custom error structure for parse failures
2021-03-01 00:51:01 +01:00
Eike Kettner
d737da768e
Move to munit in query module
2021-03-01 00:51:01 +01:00
Eike Kettner
9013d9264e
Add more convenient date parsers and some basic macros
2021-03-01 00:51:01 +01:00
Eike Kettner
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
Eike Kettner
a80d73d5d2
Optimize imports
2021-03-01 00:51:01 +01:00
Eike Kettner
e9ed998e3a
Basic poc to search via custom query
2021-03-01 00:51:01 +01:00
Eike Kettner
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
Eike Kettner
c3cdec416c
Sketching some basic tests
2021-03-01 00:50:52 +01:00
Eike Kettner
be5c7ffb88
First draft of ast and parser
2021-03-01 00:46:57 +01:00
Eike Kettner
74a79a79d9
Initial project setup
2021-03-01 00:46:57 +01:00
Eike Kettner
cfa36a5270
Fix preview png tests
...
Outcome was checked manually.
2021-03-01 00:33:57 +01:00
Eike Kettner
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
Eike Kettner
c7d4c77e6d
Allow more suggestions for date variants in English
2021-02-26 00:35:17 +01:00
Yumekui
017241bccb
Fix typo
2021-02-22 15:09:10 +00:00
Eike Kettner
cd2f623773
Set version to 0.21.0-SNAPSHOT
2021-02-19 23:32:10 +01:00
Eike Kettner
4d3a25a8c1
Set version to 0.20.0
2021-02-19 22:36:55 +01:00
Eike Kettner
07a061febc
Make sure certain styles are not stripped by purge-css
2021-02-19 22:36:55 +01:00
Eike Kettner
211499a7e6
Add bottom border to metadata view
2021-02-19 11:17:35 +01:00
Eike Kettner
d819878974
Re-add the button to create new tags in detail view
2021-02-19 11:07:42 +01:00
mergify[bot]
9156e56d65
Merge pull request #651 from eikek/language-source
...
Add language to a source
2021-02-19 01:30:24 +00:00
Eike Kettner
7ef3185659
Add language to a source
...
Allows to define upload urls for different languages.
2021-02-18 23:34:42 +01:00
Eike Kettner
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
Eike Kettner
70fa57587b
Fix setting ui theme for anonymous
2021-02-18 22:02:56 +01:00
Eike Kettner
0e9d8f8794
Fix hover when folder is a drop-target
2021-02-18 00:43:15 +01:00
Eike Kettner
d7bc963450
Cleanup nodes that are not reachable anymore
2021-02-18 00:37:18 +01:00
mergify[bot]
b16166f1e9
Merge pull request #645 from eikek/equipment-description
...
Equipment description
2021-02-17 22:17:03 +00:00
Eike Kettner
5181283b1b
Add a short-name to organizations
2021-02-17 22:55:35 +01:00
Eike Kettner
20ccdda609
Add a notes field to equipments
2021-02-17 22:39:07 +01:00
Eike Kettner
e07d732193
Show item position in detail view
2021-02-17 22:18:22 +01:00
Eike Kettner
a79fa6f74a
Add version info back to frontend
2021-02-17 21:54:53 +01:00
Eike Kettner
e177336155
Better align tags in multi-select field
2021-02-17 00:14:06 +01:00
Eike Kettner
4ef1996137
Fix extracted content border
2021-02-17 00:14:06 +01:00
Eike Kettner
33cfd6df6f
Hide Load-more button when there is no more
2021-02-17 00:14:06 +01:00
Eike Kettner
29d80adace
Ui updates: place result message below buttons
2021-02-17 00:14:06 +01:00
Eike Kettner
48eee00c0b
Allow person to be correspondent, concerning or both
2021-02-16 22:49:55 +01:00
Eike Kettner
d99ce76d89
Remove person suggestion if it doesn't match with organization
2021-02-16 00:29:54 +01:00
Eike Kettner
eb308cfa85
Remove duplicate candidates when creating list of suggestions
2021-02-15 23:56:09 +01:00
Eike Kettner
64bacb665a
Show queue counts in side menu
2021-02-15 00:27:55 +01:00
Eike Kettner
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