Key-Value Storages #674

Merged
konrad merged 20 commits from feature/key-value into master 2020-10-10 16:54:00 +00:00
Owner

Description

This PR adds a key value storage with a memory and a redis backend.
It aims to replace various caches and things where you "just quickly need something to store data".

Checklist

  • Return a custom error if a key was not found
  • Metrics should use keyvalue
  • All of the various files caches should use the keyvalue store
  • Docs for new config options
# Description This PR adds a key value storage with a memory and a redis backend. It aims to replace various caches and things where you "just quickly need something to store data". # Checklist * [x] Return a custom error if a key was not found * [x] Metrics should use keyvalue * [x] All of the various files caches should use the keyvalue store * [x] Docs for new config options
konrad added 8 commits 2020-10-07 20:01:53 +00:00
75d2405fca
Add memory implementation for keyvalue store
Signed-off-by: kolaente <k@knt.li>
f2d0a25c2f
Add doc comments
Signed-off-by: kolaente <k@knt.li>
e9e3445397
Add redis keyvalue storage implementation
Signed-off-by: kolaente <k@knt.li>
0ed3484457
Add configuration of the storage backend
Signed-off-by: kolaente <k@knt.li>
139fbab773
Add docs
Signed-off-by: kolaente <k@knt.li>
continuous-integration/drone/pr Build is passing Details
79979d4e38
Init keyvalue storage
Signed-off-by: kolaente <k@knt.li>
konrad added 1 commit 2020-10-10 10:15:10 +00:00
continuous-integration/drone/pr Build is passing Details
b7d54151a4
Merge branch 'master' into feature/key-value
konrad added 1 commit 2020-10-10 10:36:00 +00:00
continuous-integration/drone/pr Build is failing Details
7de86c5eb6
Return custom error if a key does not exist
konrad added 1 commit 2020-10-10 11:00:39 +00:00
continuous-integration/drone/pr Build is failing Details
627ed0cfd2
Fix lint
konrad added 1 commit 2020-10-10 11:14:44 +00:00
konrad added 1 commit 2020-10-10 11:17:24 +00:00
continuous-integration/drone/pr Build is passing Details
6294c57704
Use keyvalue for metrics
konrad added 1 commit 2020-10-10 13:04:31 +00:00
continuous-integration/drone/pr Build is passing Details
c519df786c
Fix initializing metrics
konrad added 1 commit 2020-10-10 13:29:13 +00:00
continuous-integration/drone/pr Build is failing Details
b9ac642423
Use keyvalue store for initials avatar
konrad added 1 commit 2020-10-10 13:44:35 +00:00
continuous-integration/drone/pr Build is failing Details
7939f4262e
Use keyvalue store for upload avatar
konrad added 2 commits 2020-10-10 13:51:23 +00:00
konrad added 1 commit 2020-10-10 13:53:21 +00:00
continuous-integration/drone/pr Build is failing Details
e8a6a0b8de
Add docs for keyvalue config options
konrad changed title from WIP: Key-Value Storages to Key-Value Storages 2020-10-10 13:53:29 +00:00
konrad added 1 commit 2020-10-10 14:15:31 +00:00
continuous-integration/drone/pr Build is passing Details
da4d0d7825
Fix lint
konrad merged commit d56a611be7 into master 2020-10-10 16:54:00 +00:00
konrad referenced this issue from a commit 2020-10-10 16:54:00 +00:00
konrad deleted branch feature/key-value 2020-10-11 16:10:45 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#674
No description provided.