BP Dev-Chat summary: February 27, 2023

12.0.0: BP Rewrites merge progress

#4954 3 changes were committed so far. The third one introduced an important function that will be used to build all BuddyPress links bp_rewrites_get_url(). We now need to replace all existing links so that they use this function.

We also talked about moving the BP Default theme into the BP Classic back compatibily plugin we’ll package for plugins not yet ready for BP Rewrites.

12.0.0 schedule

  • 12.0.0-beta1 : April 15,
  • 12.0.0 : May 31.

BP Attachments

@im4th fixed all issues and improvements @dcavins identified during his beta-tests. We decided to request a repository to the WordPress.org plugins directory on early March.

@dcavins will run some more testing of the Add-on and share new feedbacks about it. Here’s a preview of a Media attached to an activity into the BuddyX theme.

BP Attachments 1.0.0 schedule

  • 1.0.0-beta: right now!
  • WP.org plugin submission: early March.
  • 1.0.0 release: March 25.

Next Dev-Chat

It will happen on March 13 at 21:00 UTC in #BuddyPress. If you have specific points or ideas you want to discuss about, don’t hesitate to share them in comments.

#12-0-0, #dev-chat, #summary

BP Dev-Chat Agenda February 27, 2023

Hi!

Our next development meeting will happen on February 27 at 21:00 UTC (today) in #BuddyPress. Here’s our agenda:

  • 12.0.0: accomplished progresses about BP Rewrites merge.
  • BP Attachments: time to submit the plugin to WP.org directory.
  • 2022 feedbacks wrap-up & 2023 roadmap post.

If you have specific/additional points you need to discuss about, please share them into the comments area of this post.

🧗🏻‍♂️🏔️

#12-0-0, #agenda, #dev-chat

BP Dev-Chat summary: February 13, 2023

11.1.0 maintenance release

We mainly discussed about this ticket #8821. In short, if a string containing placeholders has not been updated by a translator of the Polyglots team, it can result in a fatal error when using the sprintf() function. @dcavins and I think it’s a WordPress issue, but WordPress core team don’t, see #55776. As it was too heavy to address this issue in a maintenance release, we’ve decided to use a workaround for 11.1.0 trying to alert translation contributors they need to remove one of the placeholders for specific strings using gettext comments. We’ll try to find a nicer way to avoid these kind of fatals during the 12.0 development cycle, see #8836.

11.1.0 was released on February 16. Many thanks to contributors who shared their time with us to make it happen.

12.0.0: required documentation effort about migrating to using the WP Rewrite API.

@im4th believes most of the work will consist in documenting the changes about the way to extend BuddyPress. A place of choice for this documentation is the developer.buddypress.org site.

@dcavins thinks so too and started talking about the Code Reference part of this website. We haven’t progressed much into this area & @im4th thinks we do need to use composer on the server to benefit from the WP Parser tool. Tests he made about WP export/import tool wasn’t conclusive due to missing relationships between post types. It doesn’t mean we’re giving up, it simply needs some available time.

@im4th’s idea is to create first chapters of a BP Plugin Handbook as it’s very easy to do so on the current developer documentation site. We’ll try this way once most of the BP Rewrites API will have been merged into Core.

About this subject, progress can be followed from this ticket #4954. @im4th will make small steps using pull requests. Once the function to build links using BP Rewrites is available in Core, @dcavins will be able to give him a hand on reviewing all existing BP links so that they are built using this new function.

@dcavins will take in charge #8794 💪

12.0.0 schedule

  • 12.0.0-beta1 : April 15,
  • 12.0.0 : May 31.

BP Attachments: beta and first stable version schedule

@dcavins tested the plugin and found some issues. The biggest one was with regular WordPress themes. As @im4th only tested it with Block themes he hadn’t figured it out so far.

@dcavins & @im4th then discussed about how site owners need to set the private uploads directory. @im4th is convinced the best way to do it is to put it one level upper the site’s directory: a bit like what you can do to secure your wp-config.php file. Doing so requires a bit more work to make sure the directory is writable for the server’s user, but this feedback from a betatester is very interesting as it seems not too difficult to understand thanks to the admin notices in place.

As @dcavins noted, we’ll need to document the private uploads directory creation process.

BP Attachments 1.0.0 schedule

  • 1.0.0-beta: right now!
  • WP.org plugin submission: early March.
  • 1.0.0 release: March 25.

Next Dev-Chat

It will happen on February 27 at 21:00 UTC in #BuddyPress. If you have specific points or ideas you want to discuss about, don’t hesitate to share them in comments.

#11-0-0, #12-0-0, #dev-chat, #summary

BuddyPress 11.1.0

Here comes 11.1.0, this is a maintenance release, please upgrade!

#11-1-0, #maintenance, #release

BP Dev-Chat Agenda February 13, 2023

Hi!

Our next development meeting will happen on February 13 at 21:00 UTC (Monday) in #BuddyPress. Here’s our agenda:

  • 11.1.0 schedule & included fixes.
  • 12.0.0: required documentation effort about migrating to using the WP Rewrite API.
  • BP Attachments: beta and first stable version schedule.

If you have specific/additional points you need to discuss about, please share them into the comments area of this post.

💕 👬👭👫

#11-0-0, #12-0-0, #agenda, #dev-chat

WordPress required version update

Hi !

Please note that BuddyPress 12.0.0 will require WordPress >= 5.8.

To learn more about this change: https://buddypress.trac.wordpress.org/ticket/8822

To learn more about how we decide to bump our WordPress required version: https://codex.buddypress.org/getting-started/wordpress-version-compatibility/

#12-0-0, #wp-requirements

BP Dev-Chat summary: January 30, 2023

12.0.0: function signatures for hook callbacks

@espellcaste and I thought it was important to talk about the pull request he suggested about changing action callbacks returned value (from boolean to no returned value) See #GH55. During the discussion we had with @dcavins, we came to this conclusion as the change is a possible breaking one & targeted callbacks are in a bp-component-functions.php file we are not discouraging third party plugin authors from using them, these functions shouldn’t have their signature changed. Instead we should use hooks the right way inside a bp-component-hooks.php file.

12.0.0: first schedule & feature/fix ideas

We’ve decided the main focus of this release will be to merge BP Rewrites into Core (see #4954) and create a new plugin to provide backward compatibility users will be able to use in case one of their third party plugin is not compatible with BuddyPress Rewrites. We’ll also raise WordPress required version to above 5.8 and move legacy widgets into this plugin. We agreed a nice name for this plugin would be BP Classic!

Here’s 12.0.0 initial schedule

  • 12.0.0-beta1 : April 15,
  • 12.0.0 : May 31.

The BP Attachments Add-on is ready for beta testing!

@im4th plans to package a first beta version to submit it to the WordPress.org Plugin directory. @dcavins will use the next 2 weeks to test it as @im4th ask him to do so to feel more secure about it. To see the list of available features, you can have a look at the add-on’s GH readme.

Next Dev-Chat

It will happen on February 13 at 21:00 UTC in #BuddyPress. If you have specific points or ideas you want to discuss about, don’t hesitate to share them in comments.

#12-0-0, #dev-chat, #summary

BP Dev-Chat Agenda January 30, 2023

Hi!

Our next development meeting will happen on January 30 at 21:00 UTC in #BuddyPress. Here’s our agenda:

  • 12.0.0: code formatting, inline documentation improvements & function signatures for hooks callback
  • 12.0.0 first schedule & feature/fix ideas.
  • BP Attachments: last steps before the very first beta version.

Oh 😳 But wait it will happen a Monday and at a different time?

Yes, it was difficult for us to carry on meeting every other Wednesdays at 19:30 UTC, so we’re trying this new day/time to give most of us the opportunity to attend dev-chats.

If you have specific/additional points you need to discuss about, please share them into the comments area of this post.

🗓️ ⚠️

#12-0-0, #agenda, #dev-chat

BP Dev-Chat Agenda January 18, 2023

Hi!

Our next development meeting will happen on January 18 at 19:30 UTC (today) and of course in #BuddyPress. Here’s our agenda:

  • 11.0.0 first results and feedbacks.
  • BP Attachments: last steps before the very first beta version.
  • 12.0.0 first schedule & feature/fix ideas.

If you have specific/additional points you need to discuss about, please share them into the comments area of this post.

📯

#11-0-0, #12-0-0, #agenda, #dev-chat

BP Dev-Chat summary: January 4, 2023

Last 11.0.0 final release tasks

Before releasing 11.0.0 on January 5, we had another look to #8783. This is still a mysterious issue we haven’t manage to reproduce yet (Displaying The Opt-outs Administration page is not generating an error for us on multisite). We also decided @im4th would package the release & draft the announcement post & @dcavins would take care of the release changelog.

Focus on the BP Messages component

Specific needs about this component BP REST API endpoint were brought to @espellcaste‘s attention (see #8696). It made him think about this component more broadly. So far BP Messages is fetching all messages belonging to a thread and he thinks we can improve this behavior and performance using pagination. He shared the roadmap we all agreed on about it:

  • Remove the default behavior of loading all messages;
  • Set reasonable default for page and per_page ;
  • Update the BP Theme to support pagination (currently, it loads all messages);
  • Cache with bp_core_get_incremented_cache – The same approach used in the Activity component;
  • Apply the same suggestions to the recipients’ query.

How do you see BuddyPress at the end of 2023?

That’s the question we took a few minutes to try to reply to.

  • @espellcaste‘s priority is mostly dev-focused: a developer reference site, BP GraphQL Extension, PHPCS/PHPDoc Improvements, VSCode BP Extension,
  • @dcavins would like to see a simple “private site” option land in BP, he believes another big possibility is to make core BP template pieces “insertable” using the WP Site Editor.
  • @im4th‘s predictions are: “To me, at the end of 2023, BuddyPress Activities will use the Blocks API, the Post Form will be a block based one and we’ll have a brand new Block Templates based theme”.

We’ve also discussed about:

  • the opportunity to move the Site Wide Notices feature outside of the BP Messages one,
  • splitting optional components into plugins,
  • community media,
  • the ActivityPub protocol to make BuddyPress a bridge between WordPress sites.
  • the need to organize all the feedbacks we got from last year to take wise decisions.

Open floor

@espellcaste has a conflict of meeting, so he won’t be able to attend future meetings. @im4th & @dcavins are flexible about the meeting day and time (as long as it’s after 19:30 UTC for @im4th), let’s find asap a new day to “biweekly” meet!

Next Dev-Chat

It will happen on January 18 at 19:30 UTC in #BuddyPress. If you have specific points or ideas you want to discuss about, don’t hesitate to share them in comments.

#11-0-0, #dev-chat, #summary, #the-future