Commit Graph

73 Commits

Author SHA1 Message Date
dbd6f36da6
docs: add another youtube tutorial
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-09-24 22:11:03 +02:00
4255bc3a94
docs: add docker-compose example with no proxy
Some checks failed
continuous-integration/drone/push Build is failing
2021-09-24 20:45:37 +02:00
be47459c14
Docs: Add another third-party tutorial link
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-06 21:15:04 +02:00
d7b74500c3
Add another youtube tutorial
Some checks failed
continuous-integration/drone/push Build is failing
2021-08-30 20:55:21 +02:00
bd24743640
docs: Add other installation resources
Some checks failed
continuous-integration/drone/push Build is failing
2021-08-23 17:52:01 +02:00
f8833ae8a2
docs: Add k8s-at-home Helm Chart for Vikunja
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-20 19:24:50 +02:00
dcddaab7b5
Set todoist migration redirect url to the frontend url by default
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-14 18:27:29 +02:00
77c2b77079
Show config full paths and env variables with config options
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-11 18:20:34 +02:00
dc2915875b
Docs: Fix rewrite rules in apache example configs
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-02 17:09:38 +02:00
373e3f3d60
Add a note about default password to docs
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-09 21:12:32 +02:00
bf68ccbb25
Don't use the mariadb root user in docker-compose examples
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-20 22:37:35 +02:00
b7ec24ff52
Fix old references to master in docs
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-17 12:53:12 +02:00
b76ad8efe2
Add more logging and better error messages for openid authentication + clarify docs
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-16 13:23:10 +02:00
86b7d224ab Expose tls parameter of Go MySQL driver to config file (#855)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Jonas Gunz <himself@jonasgunz.de>
Reviewed-on: vikunja/api#855
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: kompetenzbolzen <himself@jonasgunz.de>
Co-committed-by: kompetenzbolzen <himself@jonasgunz.de>
2021-05-08 14:54:55 +00:00
9dc72c5c98
Use golang's tzdata package to handle time zones
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-07 12:18:21 +02:00
3999580fe6
Add basic auth for metrics endpoint
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-28 11:29:53 +01:00
0ab9ce9ec4 Add events (#777)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#777
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-02-02 22:48:37 +00: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
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
1b21339bf8 Generate config docs from sample config (#684)
All checks were successful
continuous-integration/drone/push Build is passing
Add docs todo to PR template

Clarify docs

Fix parsing of descriptions and multi-level values

Add method to write out the file

Only render default value for non-top-level values

Remove comment headings from yaml comments

Add printing config

Add basic parsing of sample config with comments

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#684
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-17 08:07:39 +00:00
d56a611be7 Key-Value Storages (#674)
All checks were successful
continuous-integration/drone/push Build is passing
Fix lint

Add docs for keyvalue config options

Use keyvalue store to cache unsplash photo results

Cleanup

Use keyvalue store for upload avatar

Use keyvalue store for initials avatar

Fix initializing metrics

Use keyvalue for metrics

Add IncryBy and DecrBy methods to increase or decrease a value

Fix lint

Return custom error if a key does not exist

Init keyvalue storage

Follow the keyvalue storage setting for things like cache and other

Add docs

Add configuration of the storage backend

Add redis keyvalue storage implementation

Add doc comments

Add methods to use storage through the package itself

Add memory implementation for keyvalue store

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#674
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-10 16:53:59 +00:00
58dfbe13ed
Add FreeBSD guide to installation docs
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-03 17:44:44 +02:00
1a4eef1056
Add toc to docs
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-03 17:34:44 +02:00
8da7db3e26
Cleanup references to make
Some checks failed
continuous-integration/drone/push Build is failing
2020-09-03 17:18:41 +02:00
d88551e99d
Add dav proxy directions to example proxy configurations
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kolaente <k@knt.li>
2020-08-20 14:08:35 +02:00
28fd0e91ee
Mention client_max_body_size in nginx proxy settings
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-17 22:15:48 +02:00
dfb7730b63 More avatar providers (#622)
All checks were successful
continuous-integration/drone/push Build is passing
Don't fail if the last avatar file does not exist when deleting it

Fix lint

Remove old global avatar setting and update docs

Generate docs

Invalidate the avatar cache when uploading a new one

Add debug logs

Add caching for upload avatars

Add cache locks

Fix encoding

Resize the uploaded image to a max of 1024 pixels

Remove the old uploaded avatar if one already exists

Add mimetype check for images

Set avatar provider to upload when uploading an avatar

Add upload avatar provider

Make font size smaller to let the initials still look good in smaller sizes

Add debug log

Add cache and resizing of initials avatars

Make font size depend on avatar size

Add drawing initials avatar

Add initials provider

Make the initials avatar provider the default

Add routes

Add user avatar settings handler methods

Add user avatar provider field

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#622
2020-08-02 17:16:58 +00: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
092aae3260
Add config option to force ssl connections to connect with the mailer
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-14 17:30:39 +02:00
96f366f5e7
Add docs about using vikunja with utf-8 characters
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-06 21:53:26 +02:00
c8605d6b3d
Enable upload backgrounds by default
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-23 22:53:23 +02:00
f2025c2658
Fix sqlite path in default config
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-22 23:13:41 +02:00
8b030135de Added section to full-docker-example.md for Caddy v2. (#595)
All checks were successful
continuous-integration/drone/push Build is passing
Fixed one more leftover formatting oddity.

Fixed some leftovers from copy-paste.

Added section to full-docker-example.md for Caddy v2.

Co-authored-by: Christopher Leggett <chris@leggett.dev>
Reviewed-on: vikunja/api#595
Reviewed-by: konrad <konrad@kola-entertainments.de>
2020-06-22 04:48:00 +00:00
d02d413c5e Sentry integration (#591)
All checks were successful
continuous-integration/drone/push Build is passing
Use sentry echo integration to send errors

Only capture errors not already handled by echo

Add sentry panic handler

Add sentry library

Add sentry init

Add sentry config

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#591
2020-06-19 18:47:15 +00: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
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
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
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
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
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
0bfb3a4709
Add configuration options for log level
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-12 22:32:21 +02:00
d28f005552 Update xorm to v1 (#323)
Some checks failed
continuous-integration/drone/push Build is failing
Fix limit for databases other than sqlite

go mod tidy && go mod vendor

Remove unneeded break statements

Make everything work with the new xorm version

Fix xorm logging

Fix lint

Fix redis init

Fix using id field

Fix database init for testing

Change default database log level

Add xorm logger

Use const for postgres

go mod tidy

Merge branch 'master' into update/xorm

# Conflicts:
#	go.mod
#	go.sum
#	vendor/modules.txt

go mod vendor

Fix loading fixtures for postgres

Go mod vendor1

Update xorm to version 1

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#323
2020-04-12 17:29:24 +00:00
cdd068cdb6 Add empty avatar provider (#149)
All checks were successful
continuous-integration/drone/push Build is passing
Fix lint

Add docs for avatar configuration

Add default avatar provider

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#149
2020-03-01 21:10:25 +00:00