Commit Graph

2361 Commits

Author SHA1 Message Date
kolaente c9aec495d5
fix(ci): use the same go image for everything 2023-10-10 18:46:20 +02:00
kolaente f2b4702893
chore(deps): update lockfile 2023-10-10 18:21:09 +02:00
kolaente b3a932e903
chore(deps): update lockfile 2023-10-10 18:15:08 +02:00
renovate ac91a8a3a8
fix(deps): update module golang.org/x/oauth2 to v0.13.0
(cherry picked from commit 8b714eee7fa11a686e2bf543f7652bff6bdeb965)
2023-10-10 18:10:22 +02:00
renovate 33af96265b
fix(deps): update module github.com/threedotslabs/watermill to v1.3.5
(cherry picked from commit 9cccf7387ce62f38f07375f62533429e886037f6)
2023-10-10 18:10:08 +02:00
renovate 30e8dc53e5
fix(deps): update module github.com/redis/go-redis/v9 to v9.2.1
(cherry picked from commit a60158998539d43fe43a6a49652c868c891626db)
2023-10-10 18:09:57 +02:00
renovate 6e41567f9e
fix(deps): update module github.com/jinzhu/copier to v0.4.0
(cherry picked from commit a5ee64466b5a6bf9f98a08fa9ab8dbe2ee2ca29f)
2023-10-10 18:09:44 +02:00
renovate 7c008b1693
fix(deps): update module xorm.io/xorm to v1.3.3
(cherry picked from commit f3fe371f03adb6b17c1a98bfeda04834d333f020)
2023-10-10 18:09:29 +02:00
renovate 367a35912b
fix(deps): update module github.com/yuin/goldmark to v1.5.6
(cherry picked from commit 635351d0a2bd2124d98af7b5f7c78f6b21632916)
2023-10-10 18:09:15 +02:00
renovate 4f53a608a7
fix(deps): update src.techknowlogick.com/xgo digest to 1510ee0
(cherry picked from commit b555b010fd339e680dab93b80c7575c886cd3f89)
2023-10-10 18:08:58 +02:00
KaibutsuX 137f3bc151
chore: assume username instead of id when parsing fails for user commands (#87)
Reviewed-On: https://github.com/go-vikunja/api/pull/87
2023-10-10 18:06:10 +02:00
kolaente 0abf686f66
chore: add pr lockdown 2023-10-10 17:56:50 +02:00
kolaente 83f02b1ebc
chore: update contributing guidelines 2023-10-10 17:48:10 +02:00
kolaente f5ac3abb2a
chore(test): add task deleted assertion to project deletion test 2023-10-03 15:52:38 +02:00
Peter H0ffmann ad04d302af chore: reverse the coupling of module log and config (#1606)
This way the config module can already use the log module with the same result (default logging to StdOut with Level INFO, same output as before) but ENV variables can already change the logging of config file related log output). It is now possible to dump as a cronjob without having to filter the default log about the used config file.

Also:
- all logging modules are now configurable when initializing which makes testing easier
- viper dependency removed from logging
- log correct settings when configured error level is invalid
- deprecation of value "false" for log.standard and log.events (already not mentioned in https://vikunja.io/docs/config-options/)

Co-authored-by: Berengar W. Lehr <Berengar.Lehr@uni-jena.de>
Reviewed-on: vikunja/api#1606
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Peter H0ffmann <hoffmannp@noreply.kolaente.de>
Co-committed-by: Peter H0ffmann <hoffmannp@noreply.kolaente.de>
2023-10-03 09:28:28 +00:00
kolaente c217233e08
fix(typesense): getting all data from typesense 2023-09-29 21:26:12 +02:00
kolaente 98102e59f2
feat(typesense): add new tasks to typesense directly when they are created 2023-09-29 21:15:28 +02:00
kolaente 8f4ee3a089
fix(typesense): make sure searching works when no task has a comment at index time 2023-09-29 16:35:59 +02:00
kolaente 70d1903dca
docs: add typesense setup 2023-09-29 12:30:53 +02:00
Erwan Martin feacbbff74 fix(caldav): do not update dates of tasks when repositioning them (#1605)
When a task is updated, the position of the tasks of the whole project/bucket are updated. This leads to column "updated" of model Task to be updated quite often. However, that column is used for the ETag field of CALDAV.
Thus, changing a task marks all the other tasks as updated, which prevents clients from synchronizing their edited tasks.

Co-authored-by: Erwan Martin <erwan@pepper.com>
Reviewed-on: vikunja/api#1605
Co-authored-by: Erwan Martin <public@fzwte.net>
Co-committed-by: Erwan Martin <public@fzwte.net>
2023-09-27 16:17:52 +00:00
kolaente f065dcf4ad
fix(typesense): add typesense sync to initial structs 2023-09-15 12:53:29 +02:00
kolaente addcbdd8ca
fix(test): don't check for error 2023-09-13 12:52:42 +02:00
kolaente 054f21821c
fix(typesense): don't try to index tasks if there are none 2023-09-13 12:19:09 +02:00
kolaente 38a3a5c6e8
fix(typesense): explicitely create typesense sync table 2023-09-13 12:05:37 +02:00
kolaente 1ee243f2bd
fix(project background): add more checks for whether a background file exists when duplicating or deleting a project
Related discussion: https://community.vikunja.io/t/500-internal-server-error-when-selecting-unsplash-background-image/778/18
2023-09-13 11:20:59 +02:00
kolaente 191c154150
chore(build): use our own goproxy to prevent issues with packages not found 2023-09-12 13:34:35 +02:00
kolaente 378759e06d
fix(build): don't remove swagger files when running build:clean step 2023-09-12 13:12:30 +02:00
kolaente c5c74e9537
chore(caldav): improve trimming .ics file ending 2023-09-07 15:52:37 +02:00
kolaente e34f503674
fix: lint 2023-09-07 11:31:35 +02:00
kolaente bfcefa0217
fix(caldav): check for related tasks synced back from a caldav client
Related discussion https://community.vikunja.io/t/tasks-org-subtask-syncing-issue/737/9
2023-09-07 11:29:44 +02:00
kolaente c6bdb5752a
fix(import): create related tasks without an id 2023-09-07 11:16:04 +02:00
kolaente 68d4dcd7e6
fix(projects): don't limit results to top-level projects when searching
Resolves https://github.com/go-vikunja/api/issues/82
2023-09-07 10:56:59 +02:00
kolaente b2f3a23cb3
fix(import): correctly set child project relations 2023-09-07 10:45:15 +02:00
kolaente 93795d2f29
fix(import): resolve task relations by old task ids 2023-09-07 10:24:15 +02:00
kolaente adf4b95ed3
fix(import): ignore duplicate project identifier 2023-09-07 10:12:15 +02:00
kolaente ce3a06f03b
fix(import): don't fail when importing from dev exports 2023-09-07 10:11:59 +02:00
kolaente 2c0c3ea24e
fix(build): don't require swagger to build 2023-09-06 21:08:09 +02:00
kolaente 2d9cf672b8
fix(ci): don't generate swagger docs in ci 2023-09-06 20:52:19 +02:00
kolaente ae766f52c7
fix(build): don't generate swagger files when building 2023-09-06 18:36:08 +02:00
kolaente 107b0b791f
fix(swagger): add generated swagger docs to repo 2023-09-06 18:01:45 +02:00
kolaente 985233ac38
fix(build): don't run go mod commands when generating swagger docs 2023-09-06 16:41:39 +02:00
kolaente 424bf7647b
fix: lint 2023-09-06 14:56:25 +02:00
kolaente 06bc92556e
fix(docs): add empty swagger file so that the package exists 2023-09-06 13:13:51 +02:00
kolaente 7c4b2c9b39
chore: go mod tidy 2023-09-06 12:02:48 +02:00
kolaente b8e73f4fa5
fix: lint 2023-09-06 10:52:30 +02:00
kolaente bfb01898c2
fix(api tokens)!: make sure task create routes are available to use with the api
BREAKING CHANGE: The api route to create a new task is now /projects/:project/tasks instead of /projects/:project
2023-09-06 10:33:52 +02:00
kolaente d6db498853
fix: lint 2023-09-04 14:25:46 +02:00
kolaente 80b40bb2c0
feat(notify): don't notify disabled users 2023-09-04 14:23:56 +02:00
kolaente c28d1af877
fix(cmd): do not initialize asnyc operations when running certain cli commands 2023-09-04 11:22:50 +02:00
kolaente f38535b2f4
fix(typesense): upsert all documents at once 2023-09-04 11:19:55 +02:00