e5e30d0915
List Backgrounds ( #568 )
...
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
b0948a37d4
Update module go-redis/redis/v7 to v7.3.0 ( #565 )
...
Update module go-redis/redis/v7 to v7.3.0
Reviewed-on: vikunja/api#565
2020-05-21 08:56:39 +00:00
851f0d6c08
Update src.techknowlogick.com/xgo commit hash to 209a5cf ( #523 )
...
Update src.techknowlogick.com/xgo commit hash to 209a5cf
Reviewed-on: vikunja/api#523
2020-05-15 13:28:38 +00:00
4533ac6b28
Update module spf13/cobra to v1 ( #511 )
...
Update module spf13/cobra to v1
Reviewed-on: vikunja/api#511
2020-05-14 19:09:06 +00:00
55cd74efca
Update module go-testfixtures/testfixtures/v3 to v3.2.0 ( #505 )
...
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 )
...
Update golang.org/x/crypto commit hash to 06a226f
Reviewed-on: vikunja/api#504
2020-05-11 09:02:23 +00:00
def2362682
Update module spf13/viper to v1.7.0 ( #494 )
...
Update module spf13/viper to v1.7.0
Reviewed-on: vikunja/api#494
2020-05-09 13:44:17 +00:00
f30e405229
Update module lib/pq to v1.5.2 ( #491 )
...
Update module lib/pq to v1.5.2
Reviewed-on: vikunja/api#491
2020-05-08 13:23:26 +00:00
60f343a926
Update module lib/pq to v1.5.1 ( #485 )
...
Update module lib/pq to v1.5.1
Reviewed-on: vikunja/api#485
2020-05-05 08:59:08 +00:00
23950c0602
Update module lib/pq to v1.5.0 ( #476 )
...
Update module lib/pq to v1.5.0
Reviewed-on: vikunja/api#476
2020-05-03 18:14:57 +00:00
19a05a7c2c
Update golang.org/x/crypto commit hash to 4b2356b ( #475 )
...
Update golang.org/x/crypto commit hash to 4b2356b
Reviewed-on: vikunja/api#475
2020-05-01 10:06:00 +00:00
299e856736
Update module prometheus/client_golang to v1.6.0 ( #463 )
...
Update module prometheus/client_golang to v1.6.0
Reviewed-on: vikunja/api#463
2020-04-28 18:50:58 +00:00
6d95dc16c2
Update golang.org/x/crypto commit hash to 729f1e8 ( #458 )
...
Update golang.org/x/crypto commit hash to 729f1e8
Reviewed-on: vikunja/api#458
2020-04-27 18:56:31 +00:00
711124f5c0
Update module go-testfixtures/testfixtures/v3 to v3.1.2 ( #457 )
...
Update module go-testfixtures/testfixtures/v3 to v3.1.2
Reviewed-on: vikunja/api#457
2020-04-27 09:10:08 +00:00
2b1fc441e6
Update golang.org/x/crypto commit hash to 4bdfaf4 ( #438 )
...
Update golang.org/x/crypto commit hash to 4bdfaf4
Reviewed-on: vikunja/api#438
2020-04-24 15:23:22 +00:00
4f1c0d99ea
Update golang.org/x/crypto commit hash to 44a6062 ( #429 )
...
Update golang.org/x/crypto commit hash to 44a6062
Reviewed-on: vikunja/api#429
2020-04-22 22:49:56 +00:00
f0792cfb0b
Update module lib/pq to v1.4.0 ( #428 )
...
Update module lib/pq to v1.4.0
Reviewed-on: vikunja/api#428
2020-04-22 10:16:38 +00:00
dece744685
Update golang.org/x/crypto commit hash to 3c4aac8 ( #419 )
...
Update golang.org/x/crypto commit hash to 3c4aac8
Reviewed-on: vikunja/api#419
2020-04-21 07:41:16 +00:00
c69f0bf3cb
Update golang.org/x/crypto commit hash to a76a400 ( #411 )
...
Update golang.org/x/crypto commit hash to a76a400
Reviewed-on: vikunja/api#411
2020-04-20 20:58:32 +00:00
24904585a2
Add 2fa for authentification ( #383 )
...
Fix user tests
Add swagger docs
Fix lint
Add totp check when logging in
Make totp enrollment work
Add migration for totp table
go mod vendor
Add routes for totp routes
Add route handler for totp routes
Add basic implementation to enroll a user in totp
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#383
2020-04-17 19:25:35 +00:00
12e18de8ad
Update golang.org/x/crypto commit hash to 0848c95 ( #371 )
...
Update golang.org/x/crypto commit hash to 0848c95
Reviewed-on: vikunja/api#371
2020-04-15 06:48:46 +00:00
025b00247d
Fix replace statements for tail
2020-04-14 21:37:00 +02:00
81990f3f80
Update xorm redis cacher to use the xorm logger instead of a special seperate one
2020-04-13 23:18:33 +02:00
9559a68416
Update module prometheus/client_golang to v1
2020-04-12 22:06:24 +02:00
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
713560702b
Update module go-redis/redis to v7 ( #309 )
...
Update module go-redis/redis to v7
Reviewed-on: vikunja/api#309
2020-04-11 21:43:04 +00:00
0ba121fdfb
Task filters ( #243 )
...
Fix not returning errors
Fix integration tests
Add more tests
Make task filtering actually work
Change tests
Fix using filter conditions
Fix test
Remove unused fields
Fix static check
Remove start and end date fields on task collection
Fix misspell
add filter logic when getting tasks
Add parsing filter query parameters into task filters
Start adding support for filters
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#243
2020-04-11 14:20:33 +00:00
0e2449482f
Fix dependencies
2020-04-09 23:06:57 +02:00
8d1a3f4fd7
Update module spf13/viper to v1.6.3 ( #291 )
...
Update module spf13/viper to v1.6.3
Reviewed-on: vikunja/api#291
2020-04-09 20:29:11 +00:00
7abac07837
Update src.techknowlogick.com/xgo commit hash to bb0faa3 ( #279 )
...
Update src.techknowlogick.com/xgo commit hash to bb0faa3
Reviewed-on: vikunja/api#279
2020-04-09 04:36:03 +00:00
15d718fb1a
Update module go-redis/redis to v7 ( #277 )
...
Update module go-redis/redis to v7
Reviewed-on: vikunja/api#277
2020-04-09 04:35:36 +00:00
4ca3f714ea
Update module stretchr/testify to v1.5.1 ( #274 )
...
Update module stretchr/testify to v1.5.1
Reviewed-on: vikunja/api#274
2020-04-08 20:30:48 +00:00
6d1b123a25
Update module spf13/cobra to v0.0.7 ( #271 )
...
Update module spf13/cobra to v0.0.7
Reviewed-on: vikunja/api#271
2020-04-08 19:44:10 +00:00
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
dda558fe1c
Update module prometheus/client_golang to v0.9.4 ( #245 )
...
Update module prometheus/client_golang to v0.9.4
Reviewed-on: vikunja/api#245
2020-04-07 20:42:06 +00:00
76f19db6e7
Update module labstack/echo/v4 to v4.1.16 ( #241 )
...
Update module labstack/echo/v4 to v4.1.16
Reviewed-on: vikunja/api#241
2020-04-07 18:59:53 +00:00
f776b799b8
Update module olekukonko/tablewriter to v0.0.4 ( #240 )
...
Update module olekukonko/tablewriter to v0.0.4
Reviewed-on: vikunja/api#240
2020-04-07 16:58:27 +00:00
746a443660
Update module imdario/mergo to v0.3.9 ( #238 )
...
Update module imdario/mergo to v0.3.9
Reviewed-on: vikunja/api#238
2020-04-07 16:05:10 +00:00
026d3dc80d
Update module go-redis/redis to v6.15.7 ( #234 )
...
Update module go-redis/redis to v6.15.7
Reviewed-on: vikunja/api#234
2020-04-07 12:31:33 +00:00
fd7dd47d5e
Update github.com/gordonklaus/ineffassign commit hash to 7953dde ( #233 )
...
Update github.com/gordonklaus/ineffassign commit hash to 7953dde
Reviewed-on: vikunja/api#233
2020-04-07 12:30:57 +00:00
1e5a1b4892
Update github.com/shurcooL/httpfs commit hash to 8d4bc4b ( #229 )
...
Update github.com/shurcooL/httpfs commit hash to 8d4bc4b
Reviewed-on: vikunja/api#229
2020-04-07 08:39:00 +00:00
c7f6748761
Update github.com/jgautheron/goconst commit hash to cda7ea3 ( #228 )
...
Update github.com/jgautheron/goconst commit hash to cda7ea3
Reviewed-on: vikunja/api#228
2020-04-07 08:38:00 +00:00
7efa0069cb
Update golang.org/x/crypto commit hash to 056763e ( #222 )
...
Update golang.org/x/crypto commit hash to 056763e
Update golang.org/x/lint commit hash to 738671d (#223 )
Update golang.org/x/lint commit hash to 738671d
Reviewed-on: vikunja/api#223
Update src.techknowlogick.com/xgo commit hash to c43d4c4 (#224 )
Update src.techknowlogick.com/xgo commit hash to c43d4c4
Reviewed-on: vikunja/api#224
Reviewed-on: vikunja/api#222
2020-04-07 08:37:20 +00:00
424cf80e5c
Update golang.org/x/lint commit hash to 738671d ( #223 )
...
Update golang.org/x/lint commit hash to 738671d
Reviewed-on: vikunja/api#223
2020-04-07 07:29:05 +00:00
1448d9de98
Update src.techknowlogick.com/xgo commit hash to c43d4c4 ( #224 )
...
Update src.techknowlogick.com/xgo commit hash to c43d4c4
Reviewed-on: vikunja/api#224
2020-04-07 07:28:48 +00:00
cbf01e118a
Update github.com/c2h5oh/datasize commit hash to 28bbd47 ( #212 )
...
Update github.com/c2h5oh/datasize commit hash to 28bbd47
Reviewed-on: vikunja/api#212
2020-04-06 20:28:57 +00:00
4472020ee9
Add workaround for timezones on windows ( #151 )
...
Add workaround for timezones on windows
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#151
2020-03-09 22:41:08 +00:00
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
caf91d1904
Update xorm to use the new import path ( #133 )
...
Fix ineffassign
Fix getting all labels including the ones not associated to a task
Signed-off-by: kolaente <k@knt.li>
Fix logging sql queries
Signed-off-by: kolaente <k@knt.li>
Start fixing getting all labels
Update xormigrate
Update xorm to use the new import path
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#133
2020-02-14 16:34:25 +00:00
1c3b35fa6f
Add more logging to web handler methods
2020-02-08 22:45:38 +01:00
a464d1760c
Add logging for invalid model errors ( #126 )
...
Add logging for invalid model errors
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#126
2020-01-26 19:40:23 +00:00
402cef3c15
Add option to disable registration ( #117 )
2019-12-30 23:27:02 +00:00
d8399e374c
Sort Order for tasks ( #110 )
2019-12-07 14:30:51 +00:00
7e4deab8f7
Task collection improvements ( #109 )
2019-12-01 13:38:11 +00:00
8948a5f219
Improve pagination ( #105 )
2019-10-23 21:11:40 +00:00
b81cd6128a
Fixed error when setting max file size on 32-Bit systems
2019-10-18 17:30:25 +02:00
2169464983
Task Attachments ( #104 )
2019-10-16 20:52:29 +00:00
4327a559e5
feature/rate-limit ( #91 )
2019-07-21 21:27:30 +00:00
50ca8bd28e
Statically compile templates in the final binary ( #84 )
2019-07-11 19:10:42 +00:00
f1d21ea52b
Use the auth methods to get IDs to avoid unneeded casts
2019-06-28 10:21:48 +02:00
fc3c5f2187
Updated the web handler with updated param binder
2019-06-28 09:13:17 +02:00
5d3b6573ca
Updated echo to use the latest version
2019-06-28 09:01:50 +02:00
16825ba7c6
Update echo ( #82 )
2019-06-22 21:51:58 +00:00
24ce940885
Put reminders in an extra table ( #75 )
2019-05-25 07:33:57 +00:00
6b348fad04
Used one branch for both fixes in caldav-go
2019-05-24 20:01:59 +02:00
951d92b2f0
Fixed ical-go package include
2019-05-24 19:45:58 +02:00
24f06b2da5
Fixed ical-go package include
2019-05-24 19:45:33 +02:00
a7bbaf7c5f
Fixed replace directive
2019-05-24 11:57:18 +02:00
7107d030fc
Better caldav support ( #73 )
2019-05-22 17:48:48 +00:00
3d7fd9ca20
Updated libraries
2019-05-07 21:42:24 +02:00
6bab8fb769
Updated and re-enabled statickcheck
2019-04-23 10:34:06 +02:00
10f80c190b
Switched to techknowlogick/xgo
2019-04-22 14:02:18 +02:00
99f83542f6
Updated staticcheck
2019-04-22 12:59:42 +02:00
konrad
3872d1d8a7
Integration tests ( #71 )
2019-04-21 18:18:17 +00:00
be5a17e993
DB Migrations ( #67 )
2019-03-29 17:54:35 +00:00
e21471a193
Update web handler (fixed)
2019-03-29 18:29:44 +01:00
8d78e473f5
Added cli for general usage of Vikunja ( #66 )
2019-03-24 17:15:44 +00:00
5525ee0328
Refactored canRead method to get the list before checking the right ( #65 )
2019-03-24 13:17:36 +00:00
47352d3ed4
Let rights methods return errors ( #64 )
2019-03-24 12:35:50 +00:00
11e7c071ce
Updated handler config ( #63 )
2019-03-24 09:13:40 +00:00
1b84292332
Fix lint errs ( #59 )
2019-02-18 19:32:41 +00:00
2d88fad5b1
Huge improvements for docs ( #58 )
2019-02-17 19:53:04 +00:00
9e635ea54e
Improve logging handling ( #57 )
2019-01-25 11:40:54 +00:00
607dbd6ae8
API Docs improvements ( #46 )
2019-01-03 22:22:06 +00:00
018dd8164c
[CI] Add more checks ( #43 )
2018-12-28 22:15:05 +00:00
3814b8a504
Add bulk edit for tasks ( #42 )
2018-12-28 21:49:46 +00:00
7322bfafb3
Fix swaggerdocs generation to produce actually valid output ( #39 )
2018-12-21 21:30:43 +00:00
0edc5fd315
go mod tidy
2018-12-19 22:07:23 +01:00
97febdb397
Tests can now use config files ( #36 )
2018-12-18 16:01:46 +00:00
777d63dff1
More unit tests ( #34 )
2018-12-16 13:21:32 +00:00
e047673c6b
Add prometheus endpoint for getting metrics ( #33 )
2018-12-12 22:50:35 +00:00
fc17232819
Updated vendor
2018-12-02 19:30:42 +01:00
007d8ec375
Fixed generation of swagger docs ( #29 )
2018-12-01 01:59:17 +00:00
ce2cae9430
Move the crudhandler to own repo ( #27 )
2018-11-30 23:26:56 +00:00
136adb69c8
tidied mod
2018-11-28 20:50:06 +01:00
0c544fe355
Added validation for structs ( #19 )
2018-11-16 23:17:37 +00:00
373bbd2202
Migrate to new swagger docs generation ( #18 )
2018-11-12 15:46:35 +00:00
d03fca801b
CalDAV support ( #15 )
2018-11-03 15:05:45 +00:00
321c0f2404
Fix build when using go modules ( #6 )
2018-10-28 16:11:13 +00:00
0cfea682ea
Add password reset ( #3 )
2018-10-27 09:33:28 +00:00
a612037ee1
added go mod
2018-10-11 13:28:41 +02:00