Commit Graph

1110 Commits

Author SHA1 Message Date
78b4825928 Update sbt-native-packager to 1.7.6 2020-10-12 02:17:50 +02:00
3ad4d6871c Merge pull request #316 from eikek/fix-cookie-domain
Fix cookie domain
2020-10-11 16:51:34 +00:00
4ee881963e Fix cookie's secure flag based on protocol
Now, if the configured base-url is `localhost` (that is, it is left
unchanged), the request is insepected to retrieve the base-url value.
This is then used to set the `secure` cookie attribute. The `domain`
attribute has been removed from the cookie.

The notify-items task has been updated to use the same pattern for
creating absolute urls to items it its mail body.
2020-10-11 18:31:36 +02:00
df646dfabe Get the client host first from x-forwarded-host header
Then use the x-forwarded-for header (doing a reverse lookup, if
possible). At last use the Host header.
2020-10-09 23:47:07 +02:00
d4a2596b1f Merge pull request #313 from scala-steward/update/flyway-core-7.0.2
Update flyway-core to 7.0.2
2020-10-09 14:52:25 +00:00
241bba1ef8 Merge pull request #314 from scala-steward/update/postgresql-42.2.17
Update postgresql to 42.2.17
2020-10-09 14:52:19 +00:00
59e2a93942 Update postgresql to 42.2.17 2020-10-09 16:40:01 +02:00
ca721fa098 Update flyway-core to 7.0.2 2020-10-09 16:39:54 +02:00
a65e05c002 Merge pull request #310 from scala-steward/update/swagger-ui-3.35.1
Update swagger-ui to 3.35.1
2020-10-09 00:30:18 +00:00
20f9bbfd34 Update swagger-ui to 3.35.1 2020-10-09 02:17:10 +02:00
abe998b486 Merge pull request #309 from scala-steward/update/flyway-core-7.0.1
Update flyway-core to 7.0.1
2020-10-07 12:34:13 +00:00
e4a9425774 Update flyway-core to 7.0.1 2020-10-07 14:21:23 +02:00
ab9866a64f Merge pull request #307 from scala-steward/update/scalafmt-core-2.7.4
Update scalafmt-core to 2.7.4
2020-10-06 21:42:57 +00:00
3f697f51aa Autoformat 2020-10-06 23:31:09 +02:00
c57b908461 Update scalafmt-core to 2.7.4 2020-10-06 22:44:12 +02:00
24a53d6247 Merge pull request #306 from scala-steward/update/swagger-ui-3.35.0
Update swagger-ui to 3.35.0
2020-10-05 18:44:04 +02:00
6cd29ad9a9 Update swagger-ui to 3.35.0 2020-10-05 18:33:53 +02:00
899b08ecf1 Merge pull request #304 from scala-steward/update/sbt-1.4.0
Update sbt to 1.4.0
2020-10-05 10:01:31 +02:00
2e1df702e3 Update sbt to 1.4.0 2020-10-05 02:59:05 +02:00
df95513ba3 Merge pull request #302 from eikek/ui-fixes
Ui fixes
2020-10-03 01:10:52 +02:00
160fc6627c Reset upload page on init
Fixes: #294
2020-10-03 00:37:27 +02:00
87d9e03f1f Submit search when intialising overview page
When coming back from detail with changes to an item, it should update
the view. Otherwise it is confusing to still see a deleted or changed
item.
2020-10-03 00:32:42 +02:00
c5676f9f56 Merge pull request #301 from eikek/fix-date-validation
Skip invalid dates find in texts
2020-10-02 22:49:50 +02:00
53c8d3031d Skip invalid dates find in texts
Fixes: #298
2020-10-02 22:37:15 +02:00
ba6645fcc4 Merge pull request #300 from eikek/fix-joblog-order
Add counter to joblog for correct log order
2020-10-02 22:22:22 +02:00
80ddca9aa3 Add counter to joblog for correct log order
This is to distinguish log entries created at the same time.
2020-10-02 22:14:30 +02:00
bcf86d97f5 Merge pull request #299 from eikek/fix-mariadb-text-column
Fix mariadb text column
2020-10-02 19:38:00 +02:00
d4354b8b49 Skip pdf conversion if a converted file exists
For images the conversion also returns the extracted text. If this
would have failed to be saved, it is extracted in the following
text-extraction step.
2020-10-02 17:39:39 +02:00
b6f23b038a Fix finding attachments for retries
The attachments to process again must be searched in sources and
archives, too.
2020-10-02 17:39:34 +02:00
5e21552358 Don't do duplicate check on retries 2020-10-02 16:50:52 +02:00
e26d7129e7 Add fix for mariadb text columns
The `text` data type can only store up to 64kb data. The `mediumtext`
up to 16M and `longtext` up to 4G.

Issue: #297
2020-10-02 16:50:51 +02:00
13e9fc892e Merge branch 'current-docs' 2020-09-30 00:26:56 +02:00
9f1d8cee8f Add search to docs
Closes: #295
2020-09-30 00:21:21 +02:00
3d727670d2 Merge pull request #296 from scala-steward/update/scalafmt-core-2.7.3
Update scalafmt-core to 2.7.3
2020-09-29 20:51:49 +00:00
ea6eee7215 Update scalafmt-core to 2.7.3 2020-09-29 22:38:27 +02:00
b76171e198 Merge pull request #291 from scala-steward/update/flyway-core-7.0.0
Update flyway-core to 7.0.0
2020-09-28 13:21:25 +00:00
552cdac1d3 Apply flyway api changes 2020-09-28 15:12:10 +02:00
ee78133e49 Update flyway-core to 7.0.0 2020-09-28 14:15:26 +02:00
48757cb6c7 Merge branch 'master' of github.com:eikek/docspell 2020-09-28 01:13:15 +02:00
db9753046a Set version to 0.13.0-SNAPSHOT 2020-09-28 01:12:10 +02:00
13daa99933 Update docker and nix setup 2020-09-28 01:10:44 +02:00
f40eb15e86 Set version to 0.12.0 2020-09-28 00:52:09 +02:00
1df160160c Update Changelog 2020-09-28 00:52:09 +02:00
67e1ba05f4 Fix domain for auth cookie
The domain was incorrectly extracted from the request. It must be
using the `Host` header at last, trying now `X-Forwarded-For` and
`X-Forwarded-Host` first.
2020-09-28 00:52:09 +02:00
ee3ae0a402 Update documentation regarding text fields 2020-09-27 13:12:39 +02:00
76d9699b1a Merge pull request #290 from scala-steward/update/organize-imports-0.4.2
Update organize-imports to 0.4.2
2020-09-27 08:24:37 +00:00
e058760982 Update organize-imports to 0.4.2 2020-09-27 10:14:52 +02:00
28a70f56ec Fix joex docker image 2020-09-27 01:20:00 +02:00
4451ba0ef3 Configure joex with 1.5g heap in docker compose
Issue: #287
2020-09-26 13:18:54 +02:00
801de558b8 Merge pull request #286 from eikek/attachment-tabs
Attachment tabs
2020-09-26 00:04:56 +00:00