Commit Graph

1719 Commits

Author SHA1 Message Date
eikek
c0fa48e924 Set version to 0.41.0-SNAPSHOT 2023-03-11 20:47:55 +01:00
eikek
5e618c9304 Set version to 0.40.0 2023-03-11 18:28:18 +01:00
eikek
df98a4c069 Solr doesn't define a ukrainian text field by default 2023-03-06 21:22:35 +01:00
eikek
3718442e29 Fix notifications for collective scoped tasks 2023-03-06 16:46:31 +01:00
eikek
e6e605f630 Map comma to dot for numeric custom fields
Closes: #1975
2023-03-04 23:37:24 +01:00
eikek
f146511928 Improve error reporting when a file cannot be stored
Fixes logging the error (the effect was not evaluated before) and also
distinguishes this case from having no files in the request.

Closes: #1976
2023-03-04 22:04:34 +01:00
renovate[bot]
6546be00d6 Update dependency postcss-purgecss to v5 2023-02-18 12:24:53 +00:00
eikek
df1526e628 Fix deleting users
Can now be deleted by id or login. It was wrongly documented.
2023-02-02 07:58:43 +01:00
eikek
b31bd01b84 Fix creating DELETE sql statement with table alias 2023-02-02 07:58:43 +01:00
eikek
85094cc1f6 Fix html conversion for text files
It must honor the configuration when doing html->pdf.
2023-01-09 18:17:23 +01:00
eikek
05ed96b2cc Fix querying shares without a name
Fixes: #1840
2022-11-14 12:38:07 +01:00
GooRoo
61d5585e68 Add Ukrainian language 2022-11-09 22:24:32 +01:00
eikek
1e8461801b Set new version to 0.40.0-SNAPSHOT 2022-11-07 19:26:51 +01:00
eikek
bd31ec2cd8 Set version to 0.39.0 2022-11-07 18:52:48 +01:00
eikek
e701040212 Fix item selection after merge
Issue: #1809
2022-11-07 17:29:38 +01:00
eikek
91849e5513 Allow class attributes in sanitized html for emails 2022-11-07 10:31:25 +01:00
eikek
df75fbddcd Allow to convert html->pdf via weasyprint 2022-11-07 10:31:25 +01:00
eikek
8ae4c9ec78 Allow to authenticate with the same account from different sources
A new config allows to treat an account same independent where it was
created (openid or local).

Issue: #1827 #1781
2022-11-04 23:29:10 +01:00
eikek
14643ae4d1 Improve error messages when using oidc with an existing account
If an account was created before locally (by signing up at docspell)
and the same account is later tried to signin via openid, a better
error message is shown in the logs to be able to act on it. The user
won't see any details in the webapp.

Issue: #1827 #1781
2022-11-04 22:34:55 +01:00
eikek
c0feb13f63 Add Estonian language
Closes: #1646
2022-11-01 01:00:16 +01:00
mergify[bot]
54ee80932c
Merge pull request #1817 from eikek/1808-fix-linked-items-query
Fix query generated for linked queries
2022-10-31 21:44:30 +00:00
mergify[bot]
41e929d9b7
Merge pull request #1815 from eikek/fix/attach-count-query
Remove `attach.count` from query
2022-10-31 21:37:07 +00:00
eikek
a247c4ef1c Fix query generated for linked queries
Closes: #1808
2022-10-31 22:28:17 +01:00
eikek
a5c84da51f Remove attach.count from query
Issue: #1758
2022-10-31 22:20:24 +01:00
eikek
643afd1809 Allow to change extracted text of attachments
Closes: #1775
2022-10-31 22:18:19 +01:00
renovate[bot]
ded298daa7 Update dependency minimatch to 3.0.5 [SECURITY] 2022-10-21 20:24:53 +00:00
eikek
c84645dd46 Fix compile error new in scala 2.13.9 2022-09-24 12:49:15 +02:00
renovate[bot]
154532d7b1 Update dependency postcss-import to v15 2022-08-31 03:41:57 +00:00
eikek
2844f1c997 Fix selectNextGroup query for an empty job table 2022-08-14 00:30:05 +02:00
eikek
e42794869f Apply auto-formatting fixes 2022-08-12 17:28:30 +02:00
eikek
5bbe073bf3 Fix job query for H2
Unfortunately, the new h2 version has some regressions related to
CTEs. The query selecting the next group failed only for H2 after the
update. The query has been rewritten to not use union on CTE tables.
The weird thing was that the error only occured using bind values and
was not reproducible with "just string" SQL in the h2 console.

The QJobTest are now running on all databases.
2022-08-12 16:34:56 +02:00
eikek
0a3ac9f121 Add anonymous subselects to query builder 2022-08-12 16:34:56 +02:00
eikek
e39ddc7c17 Rename column 'value' to 'value_'
In sql 'value' is a reserved word and should not be used (unless
quoted). Postgresql and MariaDB are ok with it, but the new version of
h2 is now complaining.
2022-08-12 16:34:56 +02:00
eikek
aac6f69ea2 Update h2 and flyway
Sadly it is necessary to fix an existing changeset for H2.
2022-08-12 16:34:51 +02:00
eikek
b51b782c73 Apply formatting fixes 2022-08-07 16:31:09 +02:00
eikek
868285a26b Fix fulltext search queries for new collective-id 2022-08-07 16:28:22 +02:00
eikek
d9485355e9 Fix websocket frame to user mapping 2022-08-07 16:26:04 +02:00
eikek
e9e3e607d3 Fix collective insights query 2022-08-07 16:26:04 +02:00
eikek
7424a9b2f9 Migrate background task to new collective id 2022-08-07 16:26:04 +02:00
eikek
ae4c49027f Refactor scala base db migrations. Add marker trait for task args 2022-08-07 16:26:04 +02:00
eikek
66265d8455 Migrate file_id columns 2022-08-07 16:26:04 +02:00
eikek
816cca7ea2 Adopt joex to new collective-id 2022-08-07 16:26:04 +02:00
eikek
eabcffe71a Adopt restserver to new collective-id 2022-08-07 16:26:04 +02:00
eikek
53d92c4a26 Adopt backend to collective-id 2022-08-07 16:26:04 +02:00
eikek
26d7c91266 Adopt modules to new collective table 2022-08-07 16:26:04 +02:00
eikek
77f22bb5ea Adopt store module to new collective table 2022-08-07 16:26:04 +02:00
eikek
35882fce84 Refactor collective table to use artificial primary key 2022-08-07 16:26:04 +02:00
eikek
429825de1c Set version to 0.39.0-SNAPSHOT 2022-07-09 23:28:05 +02:00
eikek
516cb6885f Set version to 0.38.0 2022-07-09 22:54:55 +02:00
mergify[bot]
3d4c9370e0
Merge pull request #1640 from eikek/redirect-oidc
Allow to skip login page if a single oidc provider is configured
2022-07-08 15:26:09 +00:00
eikek
3fc72cedac Allow to skip login page if a single oidc provider is configured 2022-07-08 17:09:56 +02:00
mergify[bot]
34571556e7
Merge pull request #1615 from eikek/update/scribe-3.10.0
Update scribe, scribe-slf4j to 3.10.0
2022-07-08 08:57:01 +00:00
eikek-scala-steward
0fa543121f Update scribe, scribe-slf4j to 3.10.0 2022-07-08 10:41:48 +02:00
eikek
d413b16b03 Allow to always use OCR extracted text
Fixes: #1628
2022-07-07 17:58:03 +02:00
eikek
508ad5bc03 Create external accounts independent from signup config
Refs: #1619, #1621
2022-07-07 15:28:59 +02:00
eikek
2c9e012c96 Fix url parsing with trailing slash
Refs: #1545
2022-07-07 15:22:26 +02:00
eikek
e9cb3d2b42 Better logging in oidc flows 2022-07-07 15:22:26 +02:00
eikek
2e5ad4960b Add a state parameter to oidc flow
Refs: #1619
2022-07-07 15:22:26 +02:00
Helvio Pedreschi
45ae99537d
Add state to oidc uri
Should fix #1619 - Cannot compile offline to test. I am not familiar with SBT.
2022-07-01 14:38:07 -04:00
renovate[bot]
38b793fe6a Update dependency postcss-cli to v10 2022-06-30 04:56:58 +00:00
eikek
ea6320e359 Use uid as foreign key in rememberme 2022-06-27 23:28:45 +02:00
eikek
f6fd155150 Update scribe to 3.9.0 2022-06-27 13:27:01 +02:00
eikek
bca2ea28e3 Update binny to 0.6.0 2022-06-27 13:23:48 +02:00
eikek
5c66fdda3a Fail addon validation when joex cannot be reached 2022-06-18 16:53:13 +02:00
eikek
6cef9d4f07 Improve performance of zip/unzip
Adds tests and includes some cleanup
2022-06-18 16:39:57 +02:00
eikek
7b535e59a6 Fix starting a background task to install an addon 2022-06-17 22:37:50 +02:00
eikek
42588593f3 Dependency updates 2022-06-14 23:52:43 +02:00
eikek
3d58cffada Remove search feature flag 2022-06-11 21:14:25 +02:00
eikek
aeeb54fcc3 Remove unused column in item 2022-06-11 13:03:14 +02:00
eikek
1611df81ed Add more indexes 2022-06-11 12:40:46 +02:00
eikek
4d79badc2d Fix logging warn->debug 2022-06-11 12:40:16 +02:00
eikek
4bca6031af Fix flaky db test 2022-06-11 01:02:22 +02:00
eikek
c76644511f Add paging to share view 2022-06-11 00:34:55 +02:00
eikek
cfe500f813 Fix external link icon 2022-06-09 22:02:36 +02:00
eikek
5d612f6ca1 Use backticks instead of scaladoc link 2022-06-06 13:18:37 +02:00
eikek
7ce6bc2f9d Remove unused code (search update) 2022-06-05 23:27:59 +02:00
eikek
c6a9a17f89 Set version to 0.38.0-SNAPSHOT 2022-06-04 23:35:10 +02:00
eikek
f4460c92d9 Set version to 0.37.0 2022-06-04 23:06:49 +02:00
eikek
6063ccef3a Return 400 when input is invalid instead of server error 2022-06-04 19:08:38 +02:00
eikek
d58bf80c46 Fix select e-mail from suggestions
The blur event messed up when clicking on a suggestion. Now it only is
used when the user has typed in an e-mail not in the suggestion list.

Fixes: #1565
2022-06-04 18:57:42 +02:00
eikek
ae265ed19a Fix tests for mariadb 2022-06-04 10:16:03 +02:00
eikek
cfc903403a Fix load-more button state 2022-06-04 01:36:15 +02:00
eikek
b50f57f7fe Send no fts query if it is disabled 2022-06-04 01:36:15 +02:00
eikek
66aab0c952 Refactoring 2022-05-31 23:15:04 +02:00
eikek
78b19a0940 Remove obsolete endpoint
Search by index is the same as a search with only a `content:`
expression.
2022-05-31 20:15:39 +02:00
eikek
e47396182d Fix obvious things and add search summary 2022-05-31 19:56:45 +02:00
eikek
1266cdefe1 Prepare for new search logic with feature toggle 2022-05-30 22:45:46 +02:00
eikek
04ccad2ce0 Temporary table support for holding fts results 2022-05-29 22:33:50 +02:00
eikek
671230a9aa Streamline database tests 2022-05-29 00:09:51 +02:00
eikek
42435c693a Add a db type for db specific things 2022-05-28 17:19:33 +02:00
eikek
4ce64d2841 Fix detecting addons from zip file
Also set the default to `collectOutput` where it would parse the
output of an addon.
2022-05-27 22:44:05 +02:00
eikek
50edf13f94 Include limit-capped flag with search response
The server defines a `limit` value and search requests are capped to
this limit if their requested value exceeds it. If this happens it is
now returned with the search response (clients can print a warning).

Closes: #1358
2022-05-26 22:24:56 +02:00
eikek
7b281a0162 Enable/disable user task based on addon run config 2022-05-26 10:39:38 +02:00
eikek
6c57077d68 Fixes related to addons
- Fix applying new-items from addon results
- Notify joex when a scheduled addon is updated
2022-05-23 23:28:54 +02:00
eikek
3f0c21e429 Set version to 0.37.0-SNAPSHOT 2022-05-22 12:04:48 +02:00
eikek
f593b76389 Set version to 0.36.0 2022-05-22 10:11:11 +02:00
eikek
3764f9265b Configure run/repair db migrations
Refs: #1517
2022-05-22 00:07:36 +02:00
mergify[bot]
ad658806ff
Merge pull request #1561 from eikek/ui-tweaks
UI tweaks
2022-05-21 17:05:33 +00:00
eikek
a156fc4e0b Show dashboard box headers in bold not italic
Closes: #1531
2022-05-21 18:52:42 +02:00
mergify[bot]
9ef8d2ccc8
Merge pull request #1556 from scala-steward/update/circe-core-0.14.2
Update circe-core, circe-generic, ... to 0.14.2
2022-05-21 14:51:26 +00:00
eikek
7a2491a61e Split out separate circe versions 2022-05-21 16:36:27 +02:00
eikek
5ec311c331 Add polish to processing lanugages
SOLR doesn't support polish out of the box. Plugins are required for
polish. The language has been added only with basic support. For
better results, a manual setup of solr is required.

Closes: #1345
2022-05-21 14:41:16 +02:00
eikek
9d69401fea Add Lithuanian to processing languages
SOLR doesn't support Lithuanian, maybe it can be added via plugins. A
manual setup of solr is required then. It has been added with basic
support.

Closes: #1540
2022-05-21 14:36:01 +02:00
eikek
47bd6cd0ba Fail fast when multiple addons are run 2022-05-21 00:40:26 +02:00
eikek
29a5894884 Refresh item after addon is done 2022-05-21 00:40:26 +02:00
eikek
73747c4ea3 Basic ui for addons 2022-05-15 23:46:43 +02:00
eikek
7fdd78ad06 Experiment with addons
Addons allow to execute external programs in some context inside
docspell. Currently it is possible to run them after processing files.
Addons are provided by URLs to zip files.
2022-05-15 23:46:43 +02:00
eikek
506fbcbcb7 Improve log events, adding new logger to capture data 2022-05-01 12:28:27 +02:00
eikek
5bdf728eb3 Improve logging configuration
- Log levels of specific loggers can be defined in the config
  file (doesn't work with env variables)

- Log events of background tasks carry now additional data
2022-04-30 18:26:19 +02:00
eikek
ab56d3706c Fix validation 2022-04-29 22:16:54 +02:00
eikek
0d8666491a Allow an auth token to carry a specific validity 2022-04-29 21:02:17 +02:00
eikek
868d06d378 Merge branch 'current-docs' 2022-04-24 22:28:24 +02:00
eikek
9851b71c45 Fix documentation about fulltext search 2022-04-24 18:34:22 +02:00
eikek
8b235dc705 Set version to 0.36.0-SNAPSHOT 2022-04-14 23:45:36 +02:00
eikek
f5958b3a51 Set version to 0.35.0 2022-04-14 22:11:21 +02:00
eikek
46f65b10ad Log server options 2022-04-14 22:03:29 +02:00
monnypython
7e176e1bd1
Update Search.elm
Typos
2022-04-11 21:54:59 +02:00
eikek
8a2fed47aa Increase size for passwords
Closes: #1508
2022-04-11 10:55:06 +02:00
eikek
f6bfb6f1d2 Revert z-index change
It is used by global dimmer that must be on top
2022-04-10 14:09:40 +02:00
eikek
9759a9258a Hide delete button on new notification channels 2022-04-09 20:36:38 +02:00
eikek
b4ee1a52e1 Fix loading collective settings
It responded with 404 when some sub-settings (classifier) didn't exist.
2022-04-09 20:33:06 +02:00
eikek
613f21a9fc Run fixup migration from 0.32 onwards 2022-04-09 16:50:06 +02:00
eikek
4bbf0b60a3 Avoid logging non-errors as error 2022-04-09 16:00:51 +02:00
eikek
4488291319 Download multiple files as zip 2022-04-09 15:28:51 +02:00
dependabot[bot]
0b3a043025
Bump minimist from 1.2.5 to 1.2.6 in /modules/webapp
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 04:22:17 +00:00
eikek
0346c5a654 Apply fixup migration only from previous version 2022-03-23 23:52:41 +01:00
eikek
f9f6504471 Set version to 0.35.0-SNAPSHOT 2022-03-21 21:55:07 +01:00
eikek
c6da3eb0d6 Set version to 0.34.0 2022-03-21 21:25:01 +01:00
eikek
1693871e0d Show link icon when no tags or fields exists 2022-03-21 21:22:56 +01:00
eikek
21e13341e3 Configure postgres fts backend 2022-03-21 11:05:03 +01:00
eikek
1e56e832da Reformat code 2022-03-21 11:04:26 +01:00
eikek
fef00bdfb5 Some basic tests and config 2022-03-21 11:04:26 +01:00
eikek
029335e607 Working poc of postgresql based fulltext search backend 2022-03-21 11:04:26 +01:00
eikek
b2add008ed Pass language when updating fulltext index 2022-03-21 11:04:26 +01:00
eikek
f2a2d15e7f Add missing fixup changesets 2022-03-21 10:28:21 +01:00
eikek
892b3cdcfd Return results for empty trash task 2022-03-20 11:51:53 +01:00
eikek
0b3fe8eb5c Publish joex from within the job store
Reduces friction when using the job store.
2022-03-20 11:40:44 +01:00
eikek
b84bbbd750 Upload zip files contents as independent files 2022-03-20 11:40:25 +01:00
eikek
37b5a4dfef Select linked items from search page
- Quickly select related items from the search view
- Include related items with item details to spare another request
2022-03-19 18:31:45 +01:00
eikek
ae845dfe3b Fix previously published db migration 2022-03-19 14:20:25 +01:00
eikek
57bcea7ae3 Allow to configure some http server details 2022-03-19 00:22:15 +01:00
eikek
e3ed0ba24d Use temporary files when receiving large data 2022-03-18 23:57:36 +01:00
eikek
e957d6e96f Link multiple items via selection 2022-03-18 00:41:00 +01:00
eikek
288ed83b7f Make ItemMerge independent from the action 2022-03-17 23:25:04 +01:00
eikek
c7b2a1271a Link items it detail view 2022-03-16 23:56:59 +01:00
eikek
232baf5858 Add routes to link items 2022-03-16 23:56:59 +01:00
eikek
1874ac070f Fix executing collective user tasks now 2022-03-16 23:56:59 +01:00
eikek
8d5fc7f9da Move scheduler queries into the new module 2022-03-16 23:56:59 +01:00
eikek
d12c672dcf Log structured details during job execution 2022-03-16 23:56:59 +01:00
eikek
c7da3dcfee Fix French translation
Thanks @jgiradet
2022-03-16 23:25:06 +01:00