• Extensions
  • FriendsOfFlarum Byōbu, well integrated, advanced private discussions

We'll release a compatible update for beta 7 within 48 hours. The update will fix opening up private discussions when byobu is disabled once and for all.

Tagged 0.1.0-beta.17 and 0.1.0-beta.18.

  • Implemented is_private properties of core to hide etc.
  • Fixed a bug where deleting a recipient added through the profile card control was impossible.
  • Added missing translation for "send pm" control on profile card.

If no new issues arise this will be most likely the last beta for this extensions. Because.. Flarum now supports keeping discussions and posts invisible (is_private) even if Byobu is disabled or uninstalled ? @Toby flagrow/byobu11

Now onto the harder part, updating. Read with care:

  • Enable maintenance mode and make sure it works!
  • Run composer update --prefer-dist --no-dev -o.
  • Open your admin area to continue the database upgrade.
  • Make sure you have beta 7 by checking in console with php flarum info.
  • Do some quick checks whether your discussions are private still, if not create an issue on our tracker.
  • Disable maintenance mode by setting offline to false in your config.php.

If at any step you get lost, get in touch!

I have just updated to Beta 7 including updating Flagrow byōbu. Everything went fine, private posts are properly hidden when the extension is disabled.

One reported bug is still present though:

Apoculos Only Admins are allowed to edit user participants once a private discussion is started... regardless of how I setup the permissions.

This brought me into a strange situation at my local testbed installation: As an admin I initiated a private discussion with another user and before sending it (or after the fact, I don't remember exactly) I withdrew myself from the recipient list. After that nobody was able to correct this mishap. As an admin I could not open this discussion (even though I started it), and the other user could not add me to the recipients again.

The bug that I Pollux earlier is now halfway resolved. Private discussions in the All Discussions view get their byōbu-decoration and the recipients listed even without having visited such a discussion before. The same however is not true when I enter any tag view with private discussions and reload the page. As before there will be no more visual indicators for a private discussion. To make them visible again, I need to look into said private discussions (as reported before) or reload the All Discussions view (new).

    Pollux if you are able to report them on github it's easier for us to follow up. We'll look into this soon.

    6 days later

    @luceos - hi, any progress with more "realtime" chatting in this great extension? I saw some commits in your GitHub, any ETA for beta testing? Thank you!

      Eldenroot I have been silently deliberating to separate such a chat into another extension. There is no sane reason to combine the code into one extension and I think real time chat would be pretty distinctive from private discussions.. The basic integration of a button and modal works, but I think if I make real time chat an extension by itself it will also look differently than my proof of concept under Byobu.

      Keep you posted.

      I found a serious bug exposing supposedly private discussions to the public, when initiated via the user profile link.

      I also reported it on Github: flagrow/byobu37

      Pollux no worries I follow all Flagrow extension threads.

      I'll take a look asap and do some catching up on reported items tomorrow.

      Tagged 0.1.0-beta.19:

      • German translation added by Kakifrucht
      • Permission can now be configured per tag: check your permissions after updating
      • Fixed issue where only admins could set recipients.
      • Fixed issue where opening a private discussion from a user profile didn't make a discussion private ?.
      • Some improvements to less files and listeners.

      Update using:

      composer update flagrow/byobu --prefer-dist --no-dev -o
      php flarum cache:clear

      Or use flagrow/bazaar ?

      I suggest updating IMMEDIATELY!

        @luceos

        Wonderful, I updated already. Unfortunately the second change (permission can now be configured per tag) doesn't work as intended.

        I also reported it on Github: flagrow/byobu39

        6 days later

        Thank you for the update luceos

        We run into a small problem after updating, public discussions cannot be started anymore. A discussion can only be started when recipients are selected..

        I reported the bug on Github flagrow/byobu40

          ajvdeutekom and others

          Tagged 0.1.0-beta.20

          Update using

          composer update flagrow/byobu --prefer-dist --no-dev -o
          php flarum cache:clear

          Or use bazaar.

          Please update immediately.

          ajvdeutekom thank you so much for reporting this issue. Can't understand why you're the only one ?

            luceos Can't understand why you're the only one ?

            In my case, our forum is not public yet and our talks right now were in fact only in existing discussions.

            Thanks once more for your prompt reaction.

            luceos Thank you for you swift response ?? and the great extensions you wrote ?

            I am getting

            POST http://flarum.loc/api/discussions
            
            {
              "errors": [
                {
                  "status": "404",
                  "code": "resource_not_found"
                }
              ]
            }

            when I specify a recipient.

            And discussion is created normally if I don't specify a recipient.

              sledov I'm getting the same. Posted the issue on Github.

                Yeah, I'm getting the same as 2 users above. You can even make private discussion with yourself, but anyone else provides us this error.

                sledov JRay
                Well, guys... We are stupid. xD You simply need to add yourself to discussion as well as the others... xD

                  Veriael right, previously you were added per default. That might have been lost, I will look into this.