Commit Graph

900 Commits

Author SHA1 Message Date
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
18f6e31b54
Fix parsing array style comparators by query param
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-09 15:08:58 +02:00
7e1d0a81bf
Change totp secret datatype from varchar to text
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-05-09 14:45:57 +02:00
f30e405229 Update module lib/pq to v1.5.2 (#491)
All checks were successful
continuous-integration/drone/push Build is passing
Update module lib/pq to v1.5.2

Reviewed-on: vikunja/api#491
2020-05-08 13:23:26 +00:00
563fe16bd4
Add checking and logging when trying to put a task into a nonexisting bucket
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-07 10:20:10 +02:00
a30a358b73
Update theme
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-06 21:03:15 +02:00
497499e221
Fix reference to reverse proxies in docs 2020-05-06 21:02:58 +02:00
1fdc51078e
Add docs for changing frontend url
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-06 20:44:48 +02:00
60f343a926 Update module lib/pq to v1.5.1 (#485)
All checks were successful
continuous-integration/drone/push Build is passing
Update module lib/pq to v1.5.1

Reviewed-on: vikunja/api#485
2020-05-05 08:59:08 +00:00
fd3ccd6130 Fix total label count when getting all labels (#477)
All checks were successful
continuous-integration/drone/push Build is passing
Fix total label count when getting all labels

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#477
2020-05-03 21:28:36 +00:00
a97ce76f1f
Fix bucket ID being reset with no need to do so
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-03 22:25:48 +02:00
83cf6e191c
Fix not moving its bucket when moving a task between lists
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-03 21:33:59 +02:00
f0ac6e89be
Remove setting task bucket to 0
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-03 21:24:28 +02:00
23950c0602 Update module lib/pq to v1.5.0 (#476)
All checks were successful
continuous-integration/drone/push Build is passing
Update module lib/pq to v1.5.0

Reviewed-on: vikunja/api#476
2020-05-03 18:14:57 +00:00