-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapt listMembers to exclusion and test it #95
Merged
Merged
Changes from 35 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
fe81368
Add failing listMembers exclusion test and getPickedEpoch
Powersource fe01c0e
Use epoch functions to fix listMembers
Powersource 6350e08
Remove .only
Powersource 1c5ee7b
Move listMembers exclude tests to listMembers file
Powersource 78f2931
Start to integrate getGroupInfoUpdates
Powersource 23f87f6
Merge branch 'master' of github.com:ssbc/ssb-tribes2 into listmembers…
Powersource df4556d
Use new box2 version
Powersource 362fa2d
Make getPickedEpoch a stream
Powersource f54684d
Try to make live listMembers work
Powersource 929c279
Use new getMemberUpdates stream in listMembers instead
Powersource d1ce6c1
Fix getting empty excluded group object
Powersource 3482198
Test listMembers live with exclude
Powersource d37c83a
Update listMembers readme for live exclude
Powersource c6ec4ec
Remove comment
Powersource bcea87e
Remove .only
Powersource 4d7f63f
Merge branch 'master' of github.com:ssbc/ssb-tribes2 into listmembers…
Powersource 68b262d
Test adding person to new epoch and checking live list
Powersource e309902
Fix small review suggestions
Powersource 4758a34
Stop live stream in stream to fix switching between epochs
Powersource 19c2b19
refactor epochs to consolidate getPreferredEpoch
mixmix 145f853
tests passing
mixmix 3c75122
Merge branch 'master' of github.com:ssbc/ssb-tribes2 into refactor_epoch
mixmix b68fc0f
Merge branch 'master' of github.com:ssbc/ssb-tribes2 into listmembers…
mixmix 5288576
updates listMembers output, README
mixmix 366dbf5
listen for new epochs
mixmix 70cbecf
remove logs
mixmix fa49579
Merge branch 'listmembers-exclusion' of github.com:ssbc/ssb-tribes2 i…
mixmix 833ad63
only log listener errors if ssb is still "open"
mixmix 850e1c2
add err handler on listener drain
mixmix 1bd9446
add timeout on bob close
mixmix 3b6d921
extract ./listeners
mixmix 430cae7
Merge pull request #104 from ssbc/refactor_epoch
mixmix 25bdbce
Apply suggestions from code review
mixmix a67f6ee
test fixes: safer ssb.close, explicit t.end
mixmix bbc964d
Merge branch 'listmembers-exclusion' of github.com:ssbc/ssb-tribes2 i…
mixmix d613a48
preferredEpoch (live) now emits on membership updates
mixmix 5d451ba
Merge pull request #112 from ssbc/listmembers-exclusions-fixes
Powersource 2fd0c34
Update box2
Powersource File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BOOM, look at this cute lil guy. Tidies up a whole mess.
Also takes an error-handler at the end, so we can easily decide what we wanna do with those errors later and change this in one place
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woo nice