Commit Graph

37 Commits

Author SHA1 Message Date
ffa82556e0 feat(teams): add public flags to teams to allow easier sharing with other teams (#2179)
Some checks failed
continuous-integration/drone/push Build is failing
Resolves #2173
Co-authored-by: Daniel Herrmann <daniel.herrmann1@gmail.com>
Reviewed-on: #2179
Reviewed-by: konrad <k@knt.li>
Co-authored-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
Co-committed-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
2024-03-10 14:04:32 +00:00
119c68be9d
feat: rename frontend url config to public url 2024-02-09 14:41:55 +01:00
ce53663a88
fix(openid): use the calculated redirect url when authenticating with openid providers
Some checks failed
continuous-integration/drone/push Build is failing
2024-01-28 12:41:35 +01:00
177f367a8c
feat(webhooks): expose whether webhooks are enabled 2023-10-17 20:35:14 +02:00
97b5cd306f
feat: add demo mode flag
All checks were successful
continuous-integration/drone/push Build is passing
Related to vikunja/frontend#2453
2023-09-01 17:47:43 +02:00
e518fb1191
chore: remove year from copyright headers
Some checks failed
continuous-integration/drone/push Build is failing
Resolves vikunja/api#1483
2023-09-01 08:32:28 +02:00
ef1d1e2b20 feat(migrators): remove wunderlist (#1346)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1346
2022-12-29 17:12:39 +00:00
f5a33478f2
fix(migration): make sure importing works when the csv file has errors and don't try to parse empty values as dates
All checks were successful
continuous-integration/drone/pr Build is passing
2022-10-09 22:58:08 +02:00
0d044997df
fix(migration): expose ticktick migrator to /info 2022-10-09 22:45:01 +02:00
ae8db176db
feat: expose if task comments are enabled or not in /info
Some checks failed
continuous-integration/drone/push Build is failing
2021-09-26 13:37:57 +02:00
90146aea5b User Data Export and import (#967)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#967
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-09-04 19:26:31 +00:00
27119ad6d4 User account deletion (#937)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#937
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-08-11 19:08:10 +00:00
c4a71016b8
Update copyright year
Some checks failed
continuous-integration/drone/push Build is failing
2021-02-02 20:19:13 +01:00
9baf6d39bd
Change license to AGPLv3
Some checks failed
continuous-integration/drone/push Build is failing
2020-12-23 16:41:52 +01:00
b2e4fde63a Add email reminders (#743)
All checks were successful
continuous-integration/drone/push Build is passing
Fix tests

Expose email reminder setting through jwt

Set reminders on by default

Fix lint

Make user email configurable

Expose email reminder setting through /info

Don't try to send any reminders if none were found

More spacing for buttons

Fix db time format

Enable reminders by default

Make emails look more like the frontend

Add config to disable it

Add sending emaisl

Add getting all task users and reminding them

Add getting the next reminder in a cron

Move task reminder to separate file

Add cron

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#743
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-18 23:21:17 +00:00
f5b5204776 Add Microsoft Todo migration (#737)
All checks were successful
continuous-integration/drone/push Build is passing
Add more logs

Fix lint

Generate docs

Add swagger docs

Add microsoft todo parsing logic

go mod tidy

Add basic test structure

Add more fields to tasks

rename microsoft todo package

Add getting microsoft todo data

Add structs and helper methods

Add microsoft todo config and routes

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#737
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-18 11:12:05 +00:00
9f3d898150 Add trello migration (#734)
All checks were successful
continuous-integration/drone/push Build is passing
Fix tests for background images

Generate docs

Fix lint

Do the swag

Add more logging

Remove the default bucket if it was empty

Add launch.json

Make importing backgrounds work

Add comment

Fix getting task attachments

Fix getting trello token

Add trello migration routes and status

Add support for converting checklists

Add test for attachments

Add the actual conversion

Add Trello conversion test

Add migration function stubs

Add basic trello migration structure

Add trello migration config

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#734
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-17 13:44:04 +00:00
9334b29366 Add testing endpoint to reset db tables (#716)
All checks were successful
continuous-integration/drone/push Build is passing
Fix lint

Better error messages

Add docs

Add testing endpoint to reset db

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#716
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-28 23:08:30 +00:00
d2d610e0f5
Fix /info endpoint 500 error when no openid providers were configured
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-26 21:26:31 +01:00
2b5c9ae7a8 Authentication with OpenID Connect providers (#713)
All checks were successful
continuous-integration/drone/push Build is passing
Add config docs

Lint

Move provider-related stuff to separate file

Refactor getting auth providers

Fix tests

Fix user tests

Fix openid tests

Add swagger docs

Fix lint

Fix lint issues

Fix checking if the user already exists

Make sure to create a new namespace for new users

Docs

Add tests for openid

Remove unnessecary err check

Consistently return nil users if creating a new user failed

Move sending confirmation email to separate function

Better variable names

Move checks to separate functions

Refactor creating user into seperate file

Fix creating new local users

Test creating new users from different issuers

Generate a random username right away if no preferred username has been given

Add todo

Cache openid providers

Add getting int clientids

Fix migration

Move creating tokens to auth package

Add getting or creating a third party user

Add parsing claims

Add retreiving auth tokens

Add token callback from openid package

Add check for provider key

Add routes

Start adding openid auth handler

Add config for openid auth

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#713
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-21 16:38:58 +00:00
699d3d6060 Add Golangci Lint (#676)
All checks were successful
continuous-integration/drone/push Build is passing
Increase golangci timeout

Fix installing golangci-lint in ci

Remove mage targets replaced by golangci

Run golint in ci

Add goheader linter

Enable & fix more linters

Fix lint issues

Add mage target to automagically fix issues found by golangci

golangci-lint run --fix

Add golangci config

Add golangci mage target

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#676
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-11 20:10:03 +00:00
e4dd314079
Add caldav enabled/disabled to /info endpoint
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-04 09:58:42 +02:00
41cf73a473
Add option to configure legal urls
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-18 18:53:56 +02:00
a0ffe89056 List Background upload (#582)
All checks were successful
continuous-integration/drone/push Build is passing
Add filesize check when uploading a new file

Fix error 500 if the uploaded background was not an unsplash one

Add upload background setting to info endpoint

Add config docs

Fix lint

Return list background type if it was uploaded

Add file upload

Add docs

Save uploaded backgrounds as file

Add background upload handler

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#582
2020-06-11 17:31:37 +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
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
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
1f99238019
Update copyright header
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-07 17:27:45 +01:00
fc65052ba0 Add config options for task attachments (#125)
Some checks reported errors
continuous-integration/drone/push Build was killed
Add config options for task attachments

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#125
2020-01-26 19:10:31 +00:00
9e39399689 Migration (#120)
Go mod tidy

[skip ci] Add modules/migration to docs

[skip ci] update date

fmt

Merge branch 'master' into feature/migration

# Conflicts:
#	pkg/routes/api/v1/info.go

Add docs on how to create a migrator

Add available migrators to /info endpoint

Return a message once everything was migrated successfully

Add swagger docs for wunderlist migration

Docs for migration [skip ci]

Fix due date fixture in migration test

Fix staticcheck

Fix lint

Logging and cleanup

Make the migrator work with real data

Add routes for migration

Fix misspell

Add method to store a full vikunja structure into vikunja

Add getting all data from wunderlist

Add attachment migration from wunderlist

Add done and done at to wunderlist migrator

Add todo

Add wunderlist auth url implementation

Fix lint

Finish wunderlist migration

Added all structs for the wunderlist migratior

Fix owner field being null for user shared namespaces (#119)

Update copyright year (#118)

Add option to disable registration (#117)

Added migrator interface

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#120
2020-01-19 16:52:16 +00:00
a0c5e4e985 Update copyright year (#118)
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 17:33:22 +00:00
402cef3c15 Add option to disable registration (#117)
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-30 23:27:02 +00:00
e890001ee1 Consistent copyright text in file headers (#112)
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-04 19:39:56 +00:00
b81cd6128a
Fixed error when setting max file size on 32-Bit systems
Some checks failed
continuous-integration/drone/push Build is failing
2019-10-18 17:30:25 +02:00
2169464983 Task Attachments (#104)
Some checks failed
continuous-integration/drone/push Build is failing
2019-10-16 20:52:29 +00:00
8d57923a7d Sharing of lists via public links (#94)
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-31 20:56:41 +00:00
e2d9de191d /info endpoint (#85)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-15 22:54:38 +00:00