Commit Graph

1591 Commits

Author SHA1 Message Date
kolaente d3bdafb717 fix: decoding images for blurHash generation 2022-03-30 16:36:07 +00:00
kolaente e19ad11846 fix: go mod tidy 2022-03-30 16:36:07 +00:00
kolaente 6b51fae093 fix: return BlurHash in unsplash search results 2022-03-30 16:36:07 +00:00
kolaente ba2bdff391 chore: generate swagger docs 2022-03-30 16:36:07 +00:00
kolaente 7fa0865188 fix: lint 2022-03-30 16:36:07 +00:00
kolaente 6df865876d feat: return BlurHash for unsplash search results 2022-03-30 16:36:07 +00:00
kolaente 2ec7d7a8a8 feat: save BlurHash from unsplash when selecting a photo from unsplash 2022-03-30 16:36:07 +00:00
kolaente f83b09af59 feat: generate a BlurHash when uploading a new image 2022-03-30 16:36:07 +00:00
kolaente 362706b38d feat: add migration to create BlurHash strings for all list backgrounds 2022-03-30 16:36:07 +00:00
renovate 1fa1cd365e fix(deps): update module github.com/swaggo/swag to v1.8.1 (#1156)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1156
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-30 15:51:03 +00:00
konrad 0a1d8c9404 feat: add date math for filters (#1086)
continuous-integration/drone/push Build is passing Details
This adds support for relative dates in filters, similar to the ones from [grafana](https://grafana.com/docs/grafana/latest/dashboards/time-range-controls) or [elasticsearch](https://www.elastic.co/guide/en/elasticsearch/reference/7.3/common-options.html#date-math).

In short, it allows you to filter for due dates by passing in dates like "now - 7d" to get a date from 7 days ago.

This is a very powerful addition for saved filters as they will allow you to create filters for all kinds of stuff where you previously only could use fixed dates. Now you can for example create a saved filter for "all tasks this week".

Frontend PR: vikunja/frontend#1342

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1086
2022-03-27 20:35:04 +00:00
konrad d08dcc4e44 A bunch of dependency updates at once (#1155)
continuous-integration/drone/push Build is failing Details
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1155
2022-03-27 19:21:36 +00:00
kolaente ac6818a476
fix: checking for error types
continuous-integration/drone/push Build is passing Details
2022-03-27 17:52:33 +02:00
kolaente 5cf263a86f
feat: upgrade golangci-lint to 1.45.2
continuous-integration/drone/push Build is failing Details
2022-03-27 16:55:37 +02:00
renovate 09c0d14444 fix(deps): update module github.com/stretchr/testify to v1.7.1 (#1148)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1148
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-15 22:21:40 +00:00
renovate da0bcc6322 fix(deps): update module github.com/labstack/echo/v4 to v4.7.1 (#1146)
continuous-integration/drone/push Build is failing Details
Reviewed-on: vikunja/api#1146
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-13 19:17:28 +00:00
renovate f5b0c603a3 chore(deps): update klakegg/hugo docker tag to v0.93.3 (#1142)
continuous-integration/drone/push Build is failing Details
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1142
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-13 15:59:41 +00:00
renovate aa30baf1bc fix(deps): update golang.org/x/sys commit hash to b874c99 (#1141)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1141
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-10 06:54:02 +00:00
renovate 581dcd41f1 fix(deps): update golang.org/x/oauth2 commit hash to 6242fa9 (#1140)
continuous-integration/drone/push Build is passing Details
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/oauth2](https://github.com/golang/oauth2) | require | digest | `ee48083` -> `6242fa9` |

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Reviewed-on: vikunja/api#1140
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-09 16:26:50 +00:00
renovate d013020268 fix(deps): update golang.org/x/crypto commit hash to efcb850 (#1139)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1139
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-07 22:27:03 +00:00
renovate bc8a02d794 fix(deps): update golang.org/x/sys commit hash to 22a9840 (#1138)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1138
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-07 21:56:23 +00:00
kolaente b60c69c5a8
chore: cleanup namespace creation
continuous-integration/drone/push Build is passing Details
2022-03-06 17:09:05 +01:00
renovate 9d816205da chore(deps): update klakegg/hugo docker tag to v0.93.2 (#1137)
continuous-integration/drone/push Build is passing Details
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1137
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-06 13:14:51 +00:00
kolaente 8aa646e4d9
chore(docs): redirect properly from /docs/docs
continuous-integration/drone/push Build is passing Details
2022-03-06 13:42:07 +01:00
renovate b167aac624 fix(deps): update module github.com/yuin/goldmark to v1.4.8 (#1136)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1136
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-05 11:09:10 +00:00
kolaente 75f74b429e
fix: validate email address when creating a user via cli
continuous-integration/drone/push Build is passing Details
2022-03-04 19:58:40 +01:00
renovate 21541bc118 chore(deps): update klakegg/hugo docker tag to v0.93.0 (#1135)
continuous-integration/drone/push Build is passing Details
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1135
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-04 14:06:12 +00:00
renovate 72ee84d43d fix(deps): update module github.com/labstack/echo/v4 to v4.7.0 (#1134)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1134
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-03 08:23:42 +00:00
renovate f2f6cc68d9 fix(deps): update golang.org/x/image commit hash to 723b81c (#1133)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1133
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-03-02 10:37:17 +00:00
renovate c870627644 fix(deps): update golang.org/x/sys commit hash to 4e6760a (#1131)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1131
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-28 06:51:29 +00:00
renovate edc5084278 fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.12 (#1132)
continuous-integration/drone/push Build is failing Details
Reviewed-on: vikunja/api#1132
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-28 06:51:08 +00:00
kolaente 82158d7718
fix(docs): don't use cannonify url
continuous-integration/drone/push Build is passing Details
2022-02-25 14:25:03 +01:00
renovate 16a98a5c70 fix(deps): update golang.org/x/oauth2 commit hash to ee48083 (#1128)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1128
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-24 15:17:36 +00:00
renovate f77f2387b6 fix(deps): update golang.org/x/sys commit hash to 95c6836 (#1130)
continuous-integration/drone/push Build is failing Details
Reviewed-on: vikunja/api#1130
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-24 14:03:30 +00:00
renovate a423e111e9 fix(deps): update golang.org/x/sys commit hash to dbe011f (#1129)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1129
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-24 07:36:49 +00:00
renovate f96c2fe23f chore(deps): update klakegg/hugo docker tag to v0.92.2 (#1127)
continuous-integration/drone/push Build is passing Details
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1127
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-23 08:00:21 +00:00
renovate 81ab23385f fix(deps): update golang.org/x/sys commit hash to f242548 (#1126)
continuous-integration/drone/push Build is failing Details
Reviewed-on: vikunja/api#1126
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-23 07:12:52 +00:00
renovate 325ba622e0 fix(deps): update golang.org/x/sys commit hash to 0005352 (#1125)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1125
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-22 20:52:32 +00:00
renovate cda78ea702 fix(deps): update module github.com/swaggo/swag to v1.8.0 (#1124)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1124
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-22 13:56:36 +00:00
kolaente 8bf2254f4b
fix: restoring dumps with no config file saved in them
continuous-integration/drone/push Build is passing Details
2022-02-19 17:46:10 +01:00
kolaente 22e3f242a3
fix: disabling logging completely now works
continuous-integration/drone/push Build is failing Details
2022-02-19 17:42:32 +01:00
kolaente 8cb92b3924
fix(dump): don't try to save a config file if none was provided and dump vikunja env variables
continuous-integration/drone/push Build is passing Details
2022-02-19 11:32:30 +01:00
kolaente 44aaf0a4ec
fix: clarify which config file is used on startup 2022-02-19 11:32:30 +01:00
renovate 2bc82bc1a0 fix(deps): update module github.com/yuin/goldmark to v1.4.7 (#1123)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1123
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-18 20:25:20 +00:00
kolaente 43f1daf40c
fix: microsoft todo migration not importing all tasks
continuous-integration/drone/push Build is passing Details
Previously, we did not check if a list has more tasks than the ones returned. By default, the Microsoft Graph API only returns 10 tasks. If the user had more they would not get imported.
Now we check if there are more pages with tasks and pull them all in until we have everything.
2022-02-18 20:00:42 +01:00
renovate 545999cf5e fix(deps): update module github.com/yuin/goldmark to v1.4.6 (#1122)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1122
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-17 22:35:36 +00:00
renovate c8aab8a8ad fix(deps): update golang.org/x/crypto commit hash to 8634188 (#1121)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1121
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-17 12:04:47 +00:00
renovate 7978c91d09 fix(deps): update golang.org/x/crypto commit hash to f4118a5 (#1118)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1118
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-10 19:16:06 +00:00
renovate 519675ab23 fix(deps): update golang.org/x/crypto commit hash to db63837 (#1115)
continuous-integration/drone/push Build is passing Details
Reviewed-on: vikunja/api#1115
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-10 10:38:08 +00:00
renovate 4e257b82a3 fix(deps): update golang.org/x/sys commit hash to 3681064 (#1116)
continuous-integration/drone/push Build was killed Details
Reviewed-on: vikunja/api#1116
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-02-10 10:37:49 +00:00