Elia Zammuto
279bbcd70c
Home List ID
2022-06-11 19:48:43 +02:00
a6556f3505
Merge pull request 'main' ( #1 ) from vikunja/api:main into main
...
Reviewed-on: #1
2022-06-11 16:55:28 +00:00
92a87cfe4f
fix(deps): update module github.com/stretchr/testify to v1.7.2 ( #1182 )
...
Reviewed-on: vikunja/api#1182
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-06-07 18:10:50 +00:00
163a4624ee
fix(deps): update module github.com/imdario/mergo to v0.3.13 ( #1178 )
...
Reviewed-on: vikunja/api#1178
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-06-01 20:51:01 +00:00
37a07aa677
fix(deps): update module gopkg.in/yaml.v3 to v3.0.1 ( #1179 )
...
Reviewed-on: vikunja/api#1179
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-06-01 17:07:40 +00:00
e52c45d5aa
fix: sort tasks logically and consistent across dbms ( #1177 )
...
This PR changes the behavoir of sorting tasks. Before, tasks were sorted with null values first. Now, null values are always sorted last which is usually what you want.
Partial fix for https://github.com/go-vikunja/frontend/issues/54
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1177
2022-05-30 20:53:58 +00:00
grahammiln
acaa85083f
feat: ability to serve static files ( #1174 )
...
Added the configuration key, `service.staticpath`, to serve files from the configuration path on root (/).
Serving static files allows the api service to also serve the frontend content. This is a simple option for deploying Vikunja without needing any other servers or proxies.
Running a complete instance becomes:
VIKUNJA_SERVICE_STATICPATH=/path/to/frontend ./vikunja
Where `/path/to/frontend` is a copy of Vikunja's frontend static files.
## Implementation
Providing a path, via the configuration or environment, adds a static file middleware to serve the path's contents from root (/).
By default, the configuration path is empty and Vikunja's existing behaviour is unchanged.
Co-authored-by: Graham Miln <graham.miln@dssw.co.uk>
Reviewed-on: vikunja/api#1174
Reviewed-by: konrad <k@knt.li>
Co-authored-by: grahammiln <grahammiln@noreply.kolaente.de>
Co-committed-by: grahammiln <grahammiln@noreply.kolaente.de>
2022-05-23 20:49:28 +00:00
f5ebada913
fix: set derived default values only after reading config from file or env
2022-05-23 22:12:15 +02:00
7b10176a10
fix(deps): update module github.com/lib/pq to v1.10.6 ( #1169 )
...
Reviewed-on: vikunja/api#1169
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-05-16 20:58:16 +00:00
3ab0ac9f27
fix(deps): update module github.com/swaggo/swag to v1.8.2 ( #1167 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1167
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-05-15 19:57:00 +00:00
dc5faaf2cf
fix(deps): update module github.com/coreos/go-oidc/v3 to v3.2.0 ( #1164 )
...
Reviewed-on: vikunja/api#1164
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-05-14 15:09:22 +00:00
85be5a7bcd
fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.13 ( #1165 )
...
Reviewed-on: vikunja/api#1165
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-05-14 15:08:28 +00:00
9ab00fd2e6
fix(deps): update module github.com/prometheus/client_golang to v1.12.2 ( #1166 )
...
Reviewed-on: vikunja/api#1166
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-05-14 15:07:58 +00:00
9845fcc170
fix: add more methods to figure out the current binary location
2022-05-08 21:54:26 +02:00
b4f57dc3e1
fix(deps): update module github.com/yuin/goldmark to v1.4.12 ( #1162 )
...
Reviewed-on: vikunja/api#1162
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-04-24 15:38:36 +00:00
tuxthepenguin
4960a498ff
Add client-cert parameters of the Go pq driver to the Vikunja config ( #1161 )
...
Co-authored-by: tuxthepenguin <tux@saturnv.uphus-internal.de>
Reviewed-on: vikunja/api#1161
Reviewed-by: konrad <k@knt.li>
Co-authored-by: tuxthepenguin <tuxthepenguin@noreply.kolaente.de>
Co-committed-by: tuxthepenguin <tuxthepenguin@noreply.kolaente.de>
2022-04-23 15:46:00 +00:00
Subhaditya Nath
96e519ea96
fix: broken link ( #27 )
2022-04-18 21:00:46 +02:00
81a18661ad
fix(deps): update module github.com/spf13/viper to v1.11.0 ( #1159 )
...
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1159
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-04-18 17:33:19 +00:00
fabd3471a8
fix(deps): update module github.com/lib/pq to v1.10.5 ( #1157 )
...
Reviewed-on: vikunja/api#1157
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-04-08 19:56:37 +00:00
8cdbc78b1c
fix(deps): update module github.com/spf13/cobra to v1.4.0 ( #1145 )
...
Reviewed-on: vikunja/api#1145
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-04-01 19:17:32 +00:00
91c89931f8
fix(deps): update module github.com/yuin/goldmark to v1.4.11 ( #1143 )
...
Reviewed-on: vikunja/api#1143
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-04-01 15:55:57 +00:00
e4b50e84a4
feat: add caldav tokens ( #1065 )
...
# Description
This PR adds API routes to create and manage caldav tokens. These tokens can be used instead of a user password - required for users who are using external auth providers and don't have a password.
Fixes #842
Frontend: vikunja/frontend#1186
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1065
2022-03-30 18:25:56 +00:00
726a517bec
chore: go mod tidy
2022-03-30 16:36:07 +00:00
de97fcbd12
fix: lint
2022-03-30 16:36:07 +00:00
d3bdafb717
fix: decoding images for blurHash generation
2022-03-30 16:36:07 +00:00
e19ad11846
fix: go mod tidy
2022-03-30 16:36:07 +00:00
6b51fae093
fix: return BlurHash in unsplash search results
2022-03-30 16:36:07 +00:00
ba2bdff391
chore: generate swagger docs
2022-03-30 16:36:07 +00:00
7fa0865188
fix: lint
2022-03-30 16:36:07 +00:00
6df865876d
feat: return BlurHash for unsplash search results
2022-03-30 16:36:07 +00:00
2ec7d7a8a8
feat: save BlurHash from unsplash when selecting a photo from unsplash
2022-03-30 16:36:07 +00:00
f83b09af59
feat: generate a BlurHash when uploading a new image
2022-03-30 16:36:07 +00:00
362706b38d
feat: add migration to create BlurHash strings for all list backgrounds
2022-03-30 16:36:07 +00:00
1fa1cd365e
fix(deps): update module github.com/swaggo/swag to v1.8.1 ( #1156 )
...
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
0a1d8c9404
feat: add date math for filters ( #1086 )
...
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
d08dcc4e44
A bunch of dependency updates at once ( #1155 )
...
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
ac6818a476
fix: checking for error types
2022-03-27 17:52:33 +02:00
5cf263a86f
feat: upgrade golangci-lint to 1.45.2
2022-03-27 16:55:37 +02:00
09c0d14444
fix(deps): update module github.com/stretchr/testify to v1.7.1 ( #1148 )
...
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
da0bcc6322
fix(deps): update module github.com/labstack/echo/v4 to v4.7.1 ( #1146 )
...
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
f5b0c603a3
chore(deps): update klakegg/hugo docker tag to v0.93.3 ( #1142 )
...
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
aa30baf1bc
fix(deps): update golang.org/x/sys commit hash to b874c99 ( #1141 )
...
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
581dcd41f1
fix(deps): update golang.org/x/oauth2 commit hash to 6242fa9 ( #1140 )
...
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
d013020268
fix(deps): update golang.org/x/crypto commit hash to efcb850 ( #1139 )
...
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
bc8a02d794
fix(deps): update golang.org/x/sys commit hash to 22a9840 ( #1138 )
...
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
b60c69c5a8
chore: cleanup namespace creation
2022-03-06 17:09:05 +01:00
9d816205da
chore(deps): update klakegg/hugo docker tag to v0.93.2 ( #1137 )
...
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
8aa646e4d9
chore(docs): redirect properly from /docs/docs
2022-03-06 13:42:07 +01:00
b167aac624
fix(deps): update module github.com/yuin/goldmark to v1.4.8 ( #1136 )
...
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
75f74b429e
fix: validate email address when creating a user via cli
2022-03-04 19:58:40 +01:00