Commit graph

1203 commits

Author SHA1 Message Date
kolaente
1f99238019
Update copyright header 2020-02-07 17:27:45 +01:00
konrad
f603b41d99 Better efficency for loading teams (#128)
Fix staticcheck

Better performance for getting teams on a namespace

Better performance for getting teams on a list

Fix lint

Fix swagger

Signed-off-by: kolaente <k@knt.li>

Make loading a single full team more efficent

Signed-off-by: kolaente <k@knt.li>

Make loading teams more efficent

Signed-off-by: kolaente <k@knt.li>

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/128
2020-01-27 17:28:17 +00:00
konrad
2abb858859 Add rate limit by ip for non-authenticated routes (#127)
Add rate limit by ip for non-authenticated routes

Signed-off-by: kolaente <k@knt.li>

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/127
2020-01-26 19:53:47 +00:00
konrad
a464d1760c Add logging for invalid model errors (#126)
Add logging for invalid model errors

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/126
2020-01-26 19:40:23 +00:00
konrad
fc65052ba0 Add config options for task attachments (#125)
Add config options for task attachments

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/125
2020-01-26 19:10:31 +00:00
konrad
b2b1546a8f Add config options for cors handling (#124)
Add config options for cors handling

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/124
2020-01-26 19:09:54 +00:00
konrad
7e9446ea07 Refactor User and DB handling (#123)
fix copyright date

Add more user tests

More user tests

More user tests

Start refactoring user tests

Docs

Fix lint

Fix db fixtures init in tests

Fix models test

Fix loading fixtures

Fix ineffasign

Fix lint

Fix integration tests

Fix init of test engine creation

Fix user related tests

Better handling of creating test enging

Moved all fixtures to db package

Moved all fixtures to db package

Moved user related stuff to seperate package

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/123
2020-01-26 17:08:06 +00:00
konrad
8c33e24e92 Migration Improvements (#122)
Update swagger docs

Update docs

Let the wunderlist migrator use the registerRoutes function

Add migration status table

Add migration status

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/122
2020-01-20 19:48:46 +00:00
kolaente
0654ead831
Update version link in README 2020-01-19 22:27:19 +01:00
kolaente
2b80025cc0
Update changelog for v0.10 2020-01-19 22:25:38 +01:00
konrad
3081338a37 Use redis INCRBY and DECRBY when updating metrics values (#121)
Move test coverage processing to a seperate command

Use redis INCRBY and DECRBY when updating metrics values

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/121
2020-01-19 17:26:26 +00:00
konrad
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: https://kolaente.dev/vikunja/api/pulls/120
2020-01-19 16:52:16 +00:00
konrad
1d2cdf0fb8 Fix owner field being null for user shared namespaces (#119) 2020-01-09 19:24:08 +00:00
konrad
a0c5e4e985 Update copyright year (#118) 2020-01-09 17:33:22 +00:00
konrad
402cef3c15 Add option to disable registration (#117) 2019-12-30 23:27:02 +00:00
kolaente
b9f0ba84ab
Add motd config option to docs 2019-12-25 17:27:10 +01:00
konrad
7cdc997191 Fix new tasks not getting a new task index (#116) 2019-12-08 15:10:34 +00:00
konrad
720df3cbed Add task identifier (#115) 2019-12-07 22:28:45 +00:00
konrad
1a47d7d80d Use utf8mb4 instead of plain utf8 (#114) 2019-12-07 20:14:13 +00:00
konrad
62e550bf35 Add user token renew (#113) 2019-12-07 19:52:04 +00:00
kolaente
10ab8ef4d9
Fix task collection tests 2019-12-07 17:21:37 +01:00
kolaente
d483fe8beb
Fix passing sort_by and order_by as query path arrays 2019-12-07 16:57:19 +01:00
kolaente
1555f04bd2
Fix sorting tasks by bool values
There was a bug where it would return all tasks with a true value before the ones with a false value. This is the exact opposite of what the db does, leading to wrongly sorted values
2019-12-07 16:56:18 +01:00
konrad
d8399e374c Sort Order for tasks (#110) 2019-12-07 14:30:51 +00:00
shilch
e890001ee1 Consistent copyright text in file headers (#112) 2019-12-04 19:39:56 +00:00
shilch
38653b49c7 Add tests for md5 generation (#111) 2019-12-04 19:19:38 +00:00
konrad
7e4deab8f7 Task collection improvements (#109) 2019-12-01 13:38:11 +00:00
konrad
d96831fe3a Endpoint to get tasks on a list (#108) 2019-11-29 22:59:20 +00:00
kolaente
4c55b4455c
update theme 2019-11-25 19:12:42 +01:00
kolaente
b6308f783b
Add files volume to docker compose docs 2019-11-25 19:08:24 +01:00
kolaente
843c1e5193
Update docs with a traefik configuration 2019-11-25 19:07:11 +01:00
kolaente
6045f4a426
Prepare changelog & readme for 0.9 release 2019-11-24 19:38:23 +01:00
kolaente
7be14239a3
[skip ci] Add changelog in repo 2019-11-24 19:33:16 +01:00
konrad
27ba31366c Fix default logging settings (#107) 2019-11-24 18:17:59 +00:00
kolaente
9dc419e854
Add file volume to the docker image 2019-11-24 18:36:43 +01:00
kolaente
37efd5cb49
Fixed removing reminders 2019-11-24 16:13:16 +01:00
kolaente
dcec9511dc
Fixed a bug where deleting an attachment would cause a nil panic 2019-11-19 23:07:48 +01:00
kolaente
c203d73b33
Fixed a bug where adding assignees or reminders via an update would re-create them and not respect already inserted ones, leaving a lot of garbage 2019-11-03 23:08:26 +01:00
konrad
9be5ab248c Add endpoint to get a single task (#106) 2019-11-02 20:33:18 +00:00
kolaente
ed4c17892e
Fixed building docs theme 2019-10-30 21:53:57 +01:00
kolaente
886110a20a
update docs theme 2019-10-30 21:47:16 +01:00
konrad
8948a5f219 Improve pagination (#105) 2019-10-23 21:11:40 +00:00
kolaente
89f385a53d
Move from markdown lists to Vikunja for roadmap [skip ci] 2019-10-20 20:52:41 +02:00
kolaente
82f11c4ec2
Fixed not getting all labels when retrieving a list with all tasks 2019-10-20 17:56:53 +02:00
kolaente
eb279fdba3
Refactored getting task IDs for labels 2019-10-20 17:55:54 +02:00
kolaente
48e422b379
[skip ci] Prepare the roadmap for migration 2019-10-20 17:54:32 +02:00
kolaente
854fde1e4c
Fixed panic when using link share and metrics 2019-10-19 22:34:33 +02:00
kolaente
b653278e42
Reverted telegram notification in CI "fix" 2019-10-19 18:18:39 +02:00
kolaente
35e4ab198f
Fixed telegram notification in CI 2019-10-19 16:57:39 +02:00
kolaente
b81cd6128a
Fixed error when setting max file size on 32-Bit systems 2019-10-18 17:30:25 +02:00