Commit Graph

913 Commits

Author SHA1 Message Date
d8a6acda96
Fix proxying unsplash images (security) 2020-05-31 22:36:25 +02:00
03ef48a0ae
Properly ping unsplash when using unsplash images
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-31 22:06:59 +02:00
8f35b9d579
Set unsplash empty collection caching to one hour
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-31 20:50:51 +02:00
ebfa982c72
Fix misspell
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-31 18:12:32 +02:00
2fa4fcc202
Fix caching of initial unsplash results per page
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-31 18:09:46 +02:00
ad67154e26
Add cache for initial unsplash collection
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-31 17:59:39 +02:00
250c45d1b9
Remove migration dependency to models
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-30 17:09:35 +02:00
dc036d44db
Update theme
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-30 17:00:52 +02:00
9c4c265767 Update alpine Docker tag to v3.12 (#573)
All checks were successful
continuous-integration/drone/push Build is passing
Update alpine Docker tag to v3.12

Reviewed-on: vikunja/api#573
2020-05-29 21:44:01 +00:00
a525787ab7
Update and fix staticcheck
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-29 22:15:21 +02:00
aae1bc3cab
Load the list when setting a background
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-29 22:12:16 +02:00
42ddee8d6f
Add logging if downloading an image from unsplash fails 2020-05-29 22:11:49 +02:00
54b18b3c59 Update module lib/pq to v1.6.0 (#572)
All checks were successful
continuous-integration/drone/push Build is passing
Update module lib/pq to v1.6.0

Reviewed-on: vikunja/api#572
2020-05-29 17:47:28 +00:00
5a04f1ecf4
Add option to disable totp for everyone
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-29 17:15:59 +02:00
a0fb8bd32d
Add unsplash image proxy for images and thumbnails
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-29 15:33:46 +02:00
c685250c96 Add test mail command (#571)
Some checks failed
continuous-integration/drone/push Build is failing
Add test mail command

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#571
2020-05-29 13:10:06 +00:00
9ea1104764 Update module stretchr/testify to v1.6.0 (#570)
Some checks failed
continuous-integration/drone/push Build is failing
Update module stretchr/testify to v1.6.0

Reviewed-on: vikunja/api#570
2020-05-29 09:37:34 +00:00
2ef2c7523d
Also return unsplash info when searching
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-27 22:12:12 +02:00
e5e30d0915 List Backgrounds (#568)
Some checks failed
continuous-integration/drone/push Build is failing
Return the updated list when setting a list background

Add swagger docs for unsplash methods

Add unsplash info to search results

Fix misspell

Fix lint

Add rights check for setting and getting backgrounds

Show unsplash information when loading a single list

Make application id for pingbacks configurable

Remove old backgrounds when setting a new one

Return 404 if the list does not have a background

Implement getting list backgrounds

Implement actually setting a photo from unsplash as list background

go mod tidy

Add migration for background file id

Roughly implement setting a list background from unsplash

Implement saving a background

Add migration for unsplash photo table

Add unsplash search

Fix parsing page param

Fix parsing page param

Fix background config

Add unsplash wrapper library

Add enabled background providers to info endpoint

Add config options for backgrounds

Add unsplash background provider

Add routing handler for backgrounds

Add basic background provider interface

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#568
2020-05-26 20:07:55 +00:00
c37b776f7a
Add docker setup guide from start to finish
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-24 13:50:17 +02:00
e9bc3246ce
Add todoist migrator to available migrators in info endpoint if it is enabled
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-24 12:51:38 +02:00
e89e6d47d4 Todoist Migration (#566)
All checks were successful
continuous-integration/drone/push Build is passing
Add swagger docs + fix lint

Add parsing logic + fix fixtures

Fix test init

Add logging to creating labels and debug logs

Add creating labels when migrating

Finish test fixtures

Started adding fixtures for testing

Add method and test structures to convert todoist to vikunja

Add basic structure to migrate everything

Add all structs for todoist api

Add docs for config options

Add routes for todoist migrator

Add api token exchange

Add basic structure for todoist migration

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#566
2020-05-23 20:50:54 +00:00
292c815000
Add restarting commands to all example docker compose files
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-23 19:34:44 +02:00
f0b1de5ec6
Use the db logger instance for logging migration related stuff
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-23 18:33:11 +02:00
4204af255c
Add ability to run the docker container with configurable user and group ids
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-22 21:18:11 +02:00
b0948a37d4 Update module go-redis/redis/v7 to v7.3.0 (#565)
All checks were successful
continuous-integration/drone/push Build is passing
Update module go-redis/redis/v7 to v7.3.0

Reviewed-on: vikunja/api#565
2020-05-21 08:56:39 +00:00
cc47d11792
"fix" gocyclo check
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-19 17:41:37 +02:00
b6b82e6f54
Merge branch 'release/0.13'
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-05-19 17:28:32 +02:00
16ed5fd982
Release preparations 2020-05-19 17:27:37 +02:00
24aa68f090
Don't return all tasks when a user has no lists 2020-05-19 17:23:49 +02:00
98ef052967
Don't return all tasks when a user has no lists 2020-05-19 17:22:10 +02:00
8a01b20e1e
Fix setting a list identifier to empty
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-16 13:13:11 +02:00
5a86f44fc3
Generate a random list identifier based on the list title
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-16 12:58:37 +02:00
fe43173b6c Ensure consistent naming of title fields (#528)
All checks were successful
continuous-integration/drone/push Build is passing
Remove task text and namespace name in migration

Fix lint

Add migration for namespace title

Fix renaming namespace name to title

Rename namespace name field to title

Drop text column at the end of the migration

Add migration for task text to title

Rename task text to title

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#528
2020-05-16 10:17:44 +00:00
587ce92dc9 Improve getting all namespaces performance (#526)
All checks were successful
continuous-integration/drone/push Build is passing
Improve getting all namespaces performance

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#526
2020-05-15 15:10:22 +00:00
8758fb6ac5 Fix case-insensitive task search for postgresql (#524)
All checks were successful
continuous-integration/drone/push Build is passing
"Fix" gocyclo

Fix case-insensitive task search for postgresql

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#524
2020-05-15 14:12:20 +00:00
92e5e2db6a
Make the _unix suffix optional when sorting tasks
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-15 16:07:36 +02:00
851f0d6c08 Update src.techknowlogick.com/xgo commit hash to 209a5cf (#523)
Some checks reported errors
continuous-integration/drone/push Build was killed
Update src.techknowlogick.com/xgo commit hash to 209a5cf

Reviewed-on: vikunja/api#523
2020-05-15 13:28:38 +00:00
333444b4e1
Improve metrics performance
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-15 14:42:32 +02:00
28a5c1f7b2 Remove dependencies on build step to speed up test pipeline (#521)
All checks were successful
continuous-integration/drone/push Build is passing
Make all steps depend on fetch tags to let them execute in parallel

Cleanup

Remove dependency from the build step everywhere

Add generation step for tests

Remove dependencies on build step to speed up test pipeline

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#521
2020-05-15 12:06:12 +00:00
4533ac6b28 Update module spf13/cobra to v1 (#511)
All checks were successful
continuous-integration/drone/push Build is passing
Update module spf13/cobra to v1

Reviewed-on: vikunja/api#511
2020-05-14 19:09:06 +00:00
91a3b7aba2
0.13 release preperations
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-12 22:11:46 +02:00
4137d4aed2
Fix creating new things with a link share auth
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-12 15:51:48 +02:00
cb095d70df
Add explanation to docs about cors
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-12 11:10:07 +02:00
e43e601912
Add traefik 2 example configuration
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-11 22:02:15 +02:00
55cd40d175
Fix team rights not updating for namespace rights
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-11 18:39:30 +02:00
55cd74efca Update module go-testfixtures/testfixtures/v3 to v3.2.0 (#505)
All checks were successful
continuous-integration/drone/push Build is passing
Update module go-testfixtures/testfixtures/v3 to v3.2.0

Reviewed-on: vikunja/api#505
2020-05-11 10:10:15 +00:00
a9d0079bf3 Update golang.org/x/crypto commit hash to 06a226f (#504)
All checks were successful
continuous-integration/drone/push Build is passing
Update golang.org/x/crypto commit hash to 06a226f

Reviewed-on: vikunja/api#504
2020-05-11 09:02:23 +00:00
8ac158cdb4 Task Filter Fixes (#495)
All checks were successful
continuous-integration/drone/push Build is passing
Fix gocyclo

Fix misspell

Error codes docs

Filter fixes

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#495
2020-05-09 15:48:56 +00:00
def2362682 Update module spf13/viper to v1.7.0 (#494)
All checks were successful
continuous-integration/drone/push Build is passing
Update module spf13/viper to v1.7.0

Reviewed-on: vikunja/api#494
2020-05-09 13:44:17 +00:00