Commit Graph

1132 Commits

Author SHA1 Message Date
6a3386ce66 Fix sql comparison with optional values 2020-10-19 00:29:41 +02:00
abb903c5ea Merge pull request #340 from eikek/fix-search-api-spec
Fix openapi spec for rest-server
2020-10-18 22:09:50 +00:00
ec0d0f8475 Fix openapi spec for rest-server
- The `itemId` parameter was not declared for
  `item/{itemId}/reprocess`
- `tagCategories*` must be declared required for `ItemSearch`
  structure
2020-10-18 23:55:56 +02:00
5c9f214f80 Merge pull request #339 from eikek/fix-detail-links
Fix detail links
2020-10-18 19:53:26 +00:00
5e0eaf419e Fix browser back button to restore scroll state
Removes the url parameter that was used to identify the card to scroll
to and instead use the id from the internal model.
2020-10-18 21:35:42 +02:00
ead2e52253 Show item name in document title 2020-10-18 14:26:18 +02:00
fc5035ea8d Use anchor links instead of javascript to go to detail view 2020-10-18 14:09:52 +02:00
791a61b24b Merge pull request #335 from scala-steward/update/scalafmt-core-2.7.5
Update scalafmt-core to 2.7.5
2020-10-16 20:51:14 +00:00
03f05293df Update scalafmt-core to 2.7.5 2020-10-16 22:37:52 +02:00
703d7c5a95 Merge pull request #334 from scala-steward/update/flyway-core-7.0.4
Update flyway-core to 7.0.4
2020-10-16 16:39:25 +00:00
19a0720a22 Update flyway-core to 7.0.4 2020-10-16 18:18:53 +02:00
8195ac50a2 Merge pull request #328 from scala-steward/update/http4s-blaze-client-0.21.8
Update http4s-blaze-client, ... to 0.21.8
2020-10-16 06:46:42 +00:00
33180e7cf5 Update http4s-blaze-client, ... to 0.21.8 2020-10-16 08:34:07 +02:00
9fd813a645 Merge pull request #324 from scala-steward/update/swagger-ui-3.35.2
Update swagger-ui to 3.35.2
2020-10-15 22:38:11 +00:00
790c519afe Update swagger-ui to 3.35.2 2020-10-16 00:25:11 +02:00
7dca00ad22 Merge pull request #321 from scala-steward/update/postgresql-42.2.18
Update postgresql to 42.2.18
2020-10-15 14:43:05 +00:00
9de30932c0 Update postgresql to 42.2.18 2020-10-15 16:30:56 +02:00
9d1d6af7f9 Merge pull request #320 from scala-steward/update/flyway-core-7.0.3
Update flyway-core to 7.0.3
2020-10-14 14:46:21 +00:00
68aa85fc71 Update flyway-core to 7.0.3 2020-10-14 16:31:51 +02:00
09d793c025 Merge pull request #319 from scala-steward/update/sbt-openapi-schema-0.7.0
Update sbt-openapi-schema to 0.7.0
2020-10-14 10:37:56 +00:00
77f29f667a Update sbt-openapi-schema to 0.7.0 2020-10-14 12:25:52 +02:00
ca1217c16b Merge pull request #317 from scala-steward/update/sbt-native-packager-1.7.6
Update sbt-native-packager to 1.7.6
2020-10-12 00:30:08 +00:00
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