Skip to content
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

Fixup direct sbot usage #115

Merged
merged 27 commits into from
Jul 22, 2021
Merged

Fixup direct sbot usage #115

merged 27 commits into from
Jul 22, 2021

Commits on Jul 14, 2021

  1. Configuration menu
    Copy the full SHA
    15d92d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2c8714 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6cf2c30 View commit details
    Browse the repository at this point in the history
  4. [[ ssb ]] refactored ssb.sbot.id to ssb.feed.

    This is part of #104: identifying all direct usage of sbot.
    
    Some of that usage is easy to refactor right away, such as cases where `sbot.id` is used to get the feed id for the running user. Patchfox has always exposed the feed id as `ssb.feed`, it was just a matter of using it.
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    d3074ac View commit details
    Browse the repository at this point in the history
  5. [[ ssb ]] added system namespace.

    * Added `ssb.system.*` namespace. It will be used for SSB workflow stuff such as joining pubs and rooms, inspecting peers. Mostly stuff that goes into the system package.
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    1e7d6a1 View commit details
    Browse the repository at this point in the history
  6. [[ system ]] Refactored to use ssb.system.acceptInvite

    Removed direct access to `sbot` to join pubs. Refactored to use `ssb.system.acceptInvite()` instead.
    
    This relates to #104
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    8a0e4a7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b94f302 View commit details
    Browse the repository at this point in the history
  8. [[ system ]] refactored to use ssb.system.*

    Related to #104 - removing direct sbot access.
    
    The system package has been refactored to use the new functions exposed by `ssb.system.*`.
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    93e0a5f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    61d2521 View commit details
    Browse the repository at this point in the history
  10. [[ blog ]] refactored to use ssb.addBlob

    Related to #104
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    ec1c3f1 View commit details
    Browse the repository at this point in the history
  11. [[ post ]] refactored to use ssb.addBlob

    Related to #104
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    a3b61d9 View commit details
    Browse the repository at this point in the history
  12. [[ books ]] removed direct sbot access, fixed bug with cover

    Related to #104
    
    * Refactored to use `ssb.addBlob`.
    * Fixed bug with cover display.
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    0622353 View commit details
    Browse the repository at this point in the history
  13. [[ contacts ]] refactored to ssb.addBlob

    Related to #104
    
    Refactored to use `ssb.addBlob`.
    Fixed small bugs.
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    3037efa View commit details
    Browse the repository at this point in the history
  14. [[ core ]] indentation and semi

    Fucking editor I was using previously sprinkled bad indentation and semicolons all over the place, and I never spent the necessary time to fix them all. I'm doing it file by file now.
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    27028b6 View commit details
    Browse the repository at this point in the history
  15. [[ ssb ]] new friendship namespace.

    This adds `ssb.friendship.*` which contains functions to help querying for following, followers, and friends of a feed.
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    94ad307 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    2bfd212 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    2024083 View commit details
    Browse the repository at this point in the history
  18. [[ contacts ]] removing direct access to sbot.links.

    * Refactored to use `ssb.friendship.*` instead of `sbot.links`.
    * Related to #104
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    a881f15 View commit details
    Browse the repository at this point in the history
  19. [[ ssb ]] rename platforms/ssb to platforms/nodejs-ssb

    refactoring platform from `ssb` to `nodejs-ssb` to prepare the ground for supporting `go-ssb` and `browsers-ssb` as well.
    
    Related to: #104 #105 #106
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    39438a7 View commit details
    Browse the repository at this point in the history
  20. [[ ssb ]] added serverType property to allow detection of backend.

    closes #106
    
    This allows package developers to create branching code to support different SSB server types.
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    0c738d9 View commit details
    Browse the repository at this point in the history
  21. [[ zine ]] detect nodejs-ssb

    Related to #104
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    6a0342b View commit details
    Browse the repository at this point in the history
  22. [[ contacts ]] detect nodejs-ssb

    Related to #104
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    e127e9b View commit details
    Browse the repository at this point in the history
  23. [[ calendar ]] detect nodejs-ssb

    Related to #104
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    0df7d11 View commit details
    Browse the repository at this point in the history
  24. [[ ssb ]] created supportedPlatforms array for packages.

    Each package needs to declare which platforms they suppport. This value needs to match the running server type.
    
    * `pkg.supportedPlatforms = ["nodejs-ssb"]`
    * `ssb.serverType = "nodejs-ssb"
    
    All packages patched to include this property.
    
    closes #106
    soapdog committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    0b04647 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. [[ version bump ]] 2021.7.1

    soapdog committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    074a847 View commit details
    Browse the repository at this point in the history
  2. [[ books ]] remove semi

    soapdog committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    366ad04 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c2db53 View commit details
    Browse the repository at this point in the history