Commit Graph

13 Commits

Author SHA1 Message Date
renovate 9ea1104764 Update module stretchr/testify to v1.6.0 (#570)
Update module stretchr/testify to v1.6.0

Reviewed-on: vikunja/api#570
2020-05-29 09:37:34 +00:00
konrad d28f005552 Update xorm to v1 (#323)
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
renovate 13ebb98644 Update module spf13/viper to v1.6.2 (#272)
Update module spf13/viper to v1.6.2

Reviewed-on: vikunja/api#272
2020-04-08 18:43:35 +00:00
jtojnar ce5be947b4 Add postgres support (#135)
Revert fixture fixes for postgres

Use postgres connection string with spaces instead of url

Fix label order

Make postgres tests in ci less verbose

Add sequence update script

Skip resets in postgres

Remove option to skip resets in postgres

Make postgres tests in ci verboseq

Update test fixtures database

Fix file tests on postgres

Add postgres options to sample config

Make sure tests init test fixtures before running the actual tests

Fix issues with IDs too big to fit in an int

Fix duplicate auto incremented IDs

Refactor / Fix team tests

Refactor team member tests

Fix team member create

Fix label test

Fix getting labels

Fix test fixtures for postgresql

Fix connection string params

Disable ssl mode on postgres integration tests

Disable ssl mode on postgres tests

Use sprintf to create the connection string for postgresql

fixup! Add postgres support

Add postgres support

Added generate as a make dependency for make build

Clarify docs on building

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
Reviewed-on: vikunja/api#135
2020-02-16 21:42:04 +00:00
kolaente 1c3b35fa6f
Add more logging to web handler methods 2020-02-08 22:45:38 +01:00
konrad 7e4deab8f7 Task collection improvements (#109) 2019-12-01 13:38:11 +00:00
konrad 2169464983 Task Attachments (#104) 2019-10-16 20:52:29 +00:00
konrad 3872d1d8a7 Integration tests (#71) 2019-04-21 18:18:17 +00:00
konrad 97febdb397 Tests can now use config files (#36) 2018-12-18 16:01:46 +00:00
konrad 0cfea682ea Add password reset (#3) 2018-10-27 09:33:28 +00:00
konrad 6ff10e6353
added missing libraries 2018-07-24 14:06:03 +02:00
kolaente 9c0c9474e8
Migrated to dep instead of govendor 2018-07-24 13:49:45 +02:00
konrad 479cf54ada
initial commit 2018-06-10 11:11:42 +02:00