Support Save History Default + Delete Server #529

Merged
sarah merged 8 commits from stable-blockers into master 2023-08-22 20:22:23 +00:00
Owner
No description provided.
dan was assigned by sarah 2023-08-14 18:48:46 +00:00
sarah added 1 commit 2023-08-14 18:48:46 +00:00
continuous-integration/drone/pr Build is passing Details
066ed86598
Support Save History Default + Delete Server
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/216
dan requested changes 2023-08-14 19:42:14 +00:00
event/common.go Outdated
@ -340,6 +341,7 @@ const (
DeleteHistoryDefault = "DefaultDeleteHistory"
SaveHistoryConfirmed = "SaveHistory"
DeleteHistoryConfirmed = "DeleteHistoryConfirmed"
SaveHistoryDefault = "DefaultSaveHistory"
Owner

so we have a profile level default, and then conversation level override?

do we want to rename from xDefault to xProfile? and xConversation or something as it's now a two level thing? also the comment is wrong, we did have 3 states, now we have... well we might want 3, but different, like notifications: "default" (do profile setting), "save", "delete"

so we have a profile level default, and then conversation level override? do we want to rename from xDefault to xProfile? and xConversation or something as it's now a two level thing? also the comment is wrong, we did have 3 states, now we have... well we might want 3, but different, like notifications: "default" (do profile setting), "save", "delete"
Owner

tho i guess we need to keep "DeleteHistoryDefault" for backwards compat too, but this should be split into two consts, and "DeleteHistoryDefault" now means just do the default, remeaning the name for compat

tho i guess we need to keep "DeleteHistoryDefault" for backwards compat too, but this should be split into two consts, and "DeleteHistoryDefault" now means just do the default, remeaning the name for compat
Author
Owner

Yeah, these need to stay the same for profile attribute/values compat. But their meanings are consistent.

Yeah, these need to stay the same for profile attribute/values compat. But their meanings are consistent.
@ -104,0 +108,4 @@
if err != nil {
return err
}
// Purge keys...
Owner

what's the ui flow for this? will the UI warn / prompt about groups and delete them first if asked? do we have a way to signal a group is now serverless and will never be online?

what's the ui flow for this? will the UI warn / prompt about groups and delete them first if asked? do we have a way to signal a group is now serverless and will never be online?
Author
Owner

The main usecase for this right now is people cleaning up servers they no longer use. To that end we can just disable the button on the UI side if there are active groups.

The main usecase for this right now is people cleaning up servers they no longer use. To that end we can just disable the button on the UI side if there are active groups.
sarah added 1 commit 2023-08-14 20:18:58 +00:00
continuous-integration/drone/pr Build is pending Details
e1877d69b7
Better Comments on History Keys
sarah added 1 commit 2023-08-14 20:20:01 +00:00
continuous-integration/drone/pr Build is pending Details
aae8a7fc03
Spelling
dan approved these changes 2023-08-14 20:34:00 +00:00
sarah added 1 commit 2023-08-17 16:47:45 +00:00
sarah added 1 commit 2023-08-21 16:32:56 +00:00
sarah added 1 commit 2023-08-21 16:34:06 +00:00
continuous-integration/drone/pr Build is pending Details
5b2b839865
Update Dependencies
sarah added 1 commit 2023-08-21 17:26:55 +00:00
continuous-integration/drone/pr Build is pending Details
51f993973c
Fixup Keys
sarah added 1 commit 2023-08-21 17:29:23 +00:00
continuous-integration/drone/pr Build is passing Details
d5c3795f13
Remove Unneeded Field
Member
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/cwtch/223
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/224
dan approved these changes 2023-08-22 20:22:11 +00:00
sarah merged commit 95527f8978 into master 2023-08-22 20:22:23 +00:00
Sign in to join this conversation.
No description provided.