1
0
Commit Graph

9036 Commits

Author SHA1 Message Date
5567baf4e0 Fix the other sed in drone v3 2020-10-17 20:47:21 +02:00
6e8bad6eb3 Make sure to only execute build after fetich tags 2020-10-17 20:46:52 +02:00
de2772f2fd Fix the other sed in drone v2 2020-10-17 20:45:12 +02:00
895d1d6cd2 Fix the other sed in drone 2020-10-17 20:42:29 +02:00
4ab695decf Fix sed in drone 2020-10-17 20:32:17 +02:00
36aa11d48f Have a default port and only switch to a random one if that's taken 2020-10-17 20:31:06 +02:00
e122ed329b Have a default port and only switch to a random one if that's taken 2020-10-17 20:30:59 +02:00
4d96f15583 Fix sed 2020-10-17 20:16:23 +02:00
a14a7e3361 Make sure a -master suffix is added to built files on master 2020-10-17 20:14:20 +02:00
153255cddd Re-Add version string to package.json 2020-10-17 20:07:11 +02:00
9a0da1003e Don't replace everything when releasing 2020-10-17 20:04:26 +02:00
7fe9e6d3f6 Update module swaggo/swag to v1.6.8 (#680)
Regenerate swagger docs with new swaggo

Update module swaggo/swag to v1.6.8

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/680
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-17 18:03:05 +00:00
0999f9ae9b Make sure the initial screen size is bigger 2020-10-17 19:59:28 +02:00
624afb5506 cleanup 2020-10-17 19:54:28 +02:00
4991ab7b91 Fix local path when serving files 2020-10-17 19:54:02 +02:00
14a3cf308b Rewrite urls served by express and not static 2020-10-17 18:36:08 +02:00
cb5fc63eb5 Add express to serve local files 2020-10-17 18:30:49 +02:00
75fdd5daf3 Cleanup 2020-10-17 18:16:02 +02:00
1602cef5cd format 2020-10-17 17:41:20 +02:00
1c79bbaf59 Add blank main.js from electron-starter 2020-10-17 17:40:40 +02:00
0fd48efd92 Remove all electron-forge-stuff 2020-10-17 17:40:20 +02:00
cbba0695a8 Update module fzipp/gocyclo to v0.3.0 (#687)
Update module fzipp/gocyclo to v0.3.0

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/687
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-17 10:26:52 +00:00
921526e086 Update golang.org/x/crypto commit hash to 9e8e0b3 (#685)
Update golang.org/x/crypto commit hash to 9e8e0b3

Co-authored-by: konrad <konrad@kola-entertainments.de>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/685
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-17 09:34:23 +00:00
1b21339bf8 Generate config docs from sample config (#684)
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: https://kolaente.dev/vikunja/api/pulls/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
e9d6daa1a3 Update module fzipp/gocyclo to v0.2.0 (#686)
Update module fzipp/gocyclo to v0.2.0

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/686
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-17 08:06:20 +00:00
6adde0c1e5 Update dependency vue-router to v3.4.7 (#269)
Update dependency vue-router to v3.4.7

Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/269
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-16 20:59:21 +00:00
8b001313f4 Update golang.org/x/crypto commit hash to 84dcc77 (#678)
Update golang.org/x/crypto commit hash to 84dcc77

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/678
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-16 19:55:20 +00:00
e0c8eca669 Update module prometheus/client_golang to v1.8.0 (#681)
Update module prometheus/client_golang to v1.8.0

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/681
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-15 20:24:03 +00:00
c629130b3b Update module spf13/cobra to v1.1.0 (#679)
Update module spf13/cobra to v1.1.0

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/679
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-14 19:16:18 +00:00
9252225d7f Disable gocyclo for migration modules
Signed-off-by: kolaente <k@knt.li>
2020-10-13 08:05:55 +02:00
38b5c7fb6c Add checks if tasks exist in maps before trying to access them
Signed-off-by: kolaente <k@knt.li>
2020-10-12 19:33:17 +02:00
e26df26f78 Fix migrating items with large items from todoist
see #266
2020-10-12 08:08:52 +02:00
158e07e581 Update module go-errors/errors to v1.1.1 (#677)
Update module go-errors/errors to v1.1.1

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/677
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-10-11 21:27:42 +00:00
699d3d6060 Add Golangci Lint (#676)
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: https://kolaente.dev/vikunja/api/pulls/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
e5774d4553 Fix replacing paths in drone 2020-10-11 12:30:14 +02:00
14374fd872 Add build status badge 2020-10-11 12:20:44 +02:00
3a3b23d925 Fix drone step dependency 2020-10-11 12:19:59 +02:00
a8d542a4c2 Add drone config 2020-10-11 12:19:26 +02:00
1935af83c3 Allow setting api url from the login screen (#264)
Cleanup

Use the http factory everywhere instead of the created element

Use the current domain if the api path is relative to the frontend host

Format

Prevent setting an empty url

Fix styling

Add changing api url

Add change url component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/264
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-11 10:13:35 +00:00
838622574b Ignore tgz files 2020-10-10 23:28:52 +02:00
9335d25ba3 Make sure to add all files to the bundle 2020-10-10 23:28:28 +02:00
99dbd9d45a Add icon 2020-10-10 23:16:43 +02:00
cf0f7f586f Add files to distributable 2020-10-10 23:16:28 +02:00
526cfa08a6 Fix path for dist 2020-10-10 23:15:48 +02:00
b3735d84a7 Fix license expression 2020-10-10 20:48:37 +02:00
2912cbc90a Use electron-builder to build electron apps 2020-10-10 20:47:30 +02:00
f904cdacd8 Cleanup 2020-10-10 19:22:18 +02:00
98f74bf031 Hide the toolbar 2020-10-10 19:22:12 +02:00
d56a611be7 Key-Value Storages (#674)
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: https://kolaente.dev/vikunja/api/pulls/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
bf5d8af3f6 Fix docs index links 2020-10-10 12:12:54 +02:00