vikunja/pkg
kolaente 940d149e2a
fix(typesense): force position to always be float instead of auto-inferring
This fixes an issue where it would be impossible to update a task in Typesense when the position for a view of it was previously saved as int64. This happened because the field is created per view on demand and its type is automatically inferred from the data saved. Now, when the first value for a particular position field is a float which could as well be an int (for example, 42.0), that field gets created as an int64 instead of float. Subsequent tries to save a float into that field will then fail.

Additionally, errors about this are silently discarded when using bulk insert. That's why the problem was not really debuggable at first.

(cherry picked from commit 50a0674835)
2024-09-20 14:28:00 +02:00
..
caldav fix(caldav): make sure colors are correctly saved and returned 2024-09-20 14:22:47 +02:00
cmd fix(deps): update golangci 2024-09-20 14:20:56 +02:00
config feat(teams): add public flags to teams to allow easier sharing with other teams (#2179) 2024-03-10 14:04:32 +00:00
cron chore: remove year from copyright headers 2023-09-01 08:32:28 +02:00
db fix(subscriptions): correctly inherit subscriptions 2024-09-20 14:22:33 +02:00
events chore(deps): update golangci-lint rules 2023-12-19 13:34:31 +01:00
files fix(files): use absolute path everywhere 2024-09-20 14:25:02 +02:00
initialize chore: rearrange cron registers 2024-09-20 14:27:28 +02:00
integrations chore(web): move web handler package to Vikunja 2024-09-20 14:22:08 +02:00
log chore(logging): simplify log template string 2024-09-20 14:27:58 +02:00
mail fix(mail): do not fail testmail command when the connection could not be closed. 2024-08-12 20:16:54 +02:00
metrics chore(web): move web handler package to Vikunja 2024-09-20 14:22:08 +02:00
migration fix(views): add migration for filtered kanban buckets 2024-09-20 14:27:38 +02:00
models fix(typesense): force position to always be float instead of auto-inferring 2024-09-20 14:28:00 +02:00
modules fix(files): use absolute path everywhere 2024-09-20 14:25:02 +02:00
notifications fix(notifications): rendering of plaintext mails 2024-04-07 14:12:44 +02:00
red chore: remove year from copyright headers 2023-09-01 08:32:28 +02:00
routes fix(caldav): reject invalid project id with error 400 2024-09-20 14:25:41 +02:00
swagger [skip ci] Updated swagger docs 2024-09-20 14:26:01 +02:00
user fix(user): do not create user with existing id 2024-09-20 14:26:40 +02:00
utils fix(subscriptions): cleanup and simplify fetching subscribers for tasks and projects logic 2024-09-20 14:22:37 +02:00
version fix(build): don't require swagger to build 2023-09-06 21:08:09 +02:00
web chore(web): always set internal error 2024-09-20 14:22:28 +02:00