Dev Chat Summary for April 6, 2016

BuddyPress Work Party Recap

@dcavins reported that several tickets were fixed and closed during the party.

  • Fixed. Make sure inviter_id !== 0 before inviting a user to a group (#6941)
  • Fixed. Avoid using HTML tags in translation strings (bp-settings/bp-settings-template.php) (#6900)
  • Fixed. Request: Allow Gravatar’s “d” param to be filtered (#6989)

@djpaulgibbs and @boonebgorges also identified other tickets that are close or ready to be committed, if anyone wants to get in on the fun:

  • Profile Cover not working when we define a custom BP_XPROFILE_SLUG (#6962). Has patch.
  • Cover Image location is incorrect for blogs other than the primary blog (#6931). Has patch.
  • bp_core_print_generation_time() should echo only in WP_DEBUG mode (#6976). Has patch.

Trac Tickets

filter for $after_member_slug in bp-core-catchuri.php (#6694). Has patches from @dcavins, @boonebgorges, and @rayisme.

Group Types API (#6784). Has patch from @mamaduka. @boonebgorges would like to see the patch for the proposed Group Type UI before proceeding with the review.

Activity post form template improvements (#6680). Has patch. “The main template changes in the activity form ticket is markup changes for the placeholder and some new hooks. The rest are CSS/JS related,” @rayisme mentioned. @djpaulgibbs noted that the enhancement would break backward compatibility with themes. On another note, even if this new enhancement was used in a new bp-template-pack, this would (potentially–we’re not certain, yet–see “homework” below) break backpat with some BP plugins.

Discussion then ensued about what constitutes “breaking backpat issues” – HTML/style enhancements or JS/break functionality of BP plugins or both – which prevent or halts adding new enhancements to BuddyPress. @dcavins then said, “The activity stream/post box was mentioned in the BP survey results last year, and some of the alternatives were pretty impressive. I don’t want BP to fall far behind on key UI/UX bits.”

Homework (for whoever’s interested): Try the patch in #6680 [with BP plugins and themes -Ed.] so we can revisit next week with surety in our hearts about the way forward.

Route /me/*/ to /members//*/ (#6325). Has patch by @dcavins. @djpaulgibbs noted that a decision should be made on where the redirection should be done. @boonebgorges has since commented in ticket to handle redirect in a callback function via new action/filter hook.

Framework for bulk data handling after updates (#6841) @boonebgorges: “I’m most concerned about upgrade flow, and how it affects the technical infrastructure. From my experience, people are afraid to click upgrade DB buttons. You can blame WC for that :)” From @imath: “A lot of users are not backing up their DB before a plugin upgrade, i think we should inform them to do it and then let them click on a button to launch the routine.”

“Since it sounds like we want to require user action here, I think we should just start with an existing UI – doesn’t matter which one (bbPress, imath’s, whatever) and use it as a framework for talking about database locking, batch processing, etc. Migrations probably need to have a UI if only to report any errors. If we ever want to migrate activity favorites (or anything else) to generic relationships, that’s another use case. Anyway, I think we should start with an existing AJAX-based UI because they already exist, and we should solve some of the other problems first,” per @boonebgorges.

Behat for BuddyPress. @djpaulgibbs reported, “There is no documentation. This is annoying. That is all.” @boonebgorges linked to an article about Codeception, a possible alternative.

Style Modules @hnla requests more feedback on the proposal here at bpdevel to get a consensus.

Special BP Template Pack Meeting

What: Template pack by @im4th
When: Wednesday, April 13 @ 18:00 UTC
Where: #buddypress channel in Slack
Who: All interested parties are welcome to join @dcavins, @im4th, @hnla, and @mercime

Slack log: https://wordpress.slack.com/archives/buddypress/p1459969462001401

#dev-chat

#6325, #6694, #6784, #6841, #6900, #6931, #6941, #6962, #6976, #6989, #buddypress

Dev Chat Summary for March 30, 2016

BuddyPress 2.5.2

@dcavins,  release lead for BP 2.6.0, packaged and released BuddyPress 2.5.2 on Thursday, March 31. This fixes some email issues reported in trac and forums.

BuddyPress 2.6.0 Schedule

  • Beta 1: May 25, 2016
  • Release Candidate 1 (string freeze): June 8, 2016
  • Target Release Date: June 15, 2016
  • There are 95 tickets slated for 2.6.0 to date. Forty-seven of 79 tickets still open have patches.

Weekly Meeting Time

Join us every Wednesday at 19:00 UTC at the #buddypress channel on Slack. @djpaulgibbs encouraged anyone who wants “to participate in these meetings but can’t always make it can leave comments in Slack beforehand” or in posts here at bpdevel.

For newcomers, here’s how to get a WordPress/Slack account.

BuddyPress Work Parties née Bug Fixin’

A friendly reminder from @dcavins re invitation to a party on Slack or Trac  to fix ’em bugs this coming Tuesday, April 5 and Thursday, April 14. 🙂

2.6.0 Scoping/Wishlist

BP REST-API. @dcavins followed up on the status of this project, i.e., whether we can work on this or should this hold until WP API gets sorted. @djpaulgibbs noted that “WP API ​is​ sorted. You/we can work on it now.”

BP Style Modules – A Proposal. @dcavins asked for more information about the proposal. @hnla: “Style modules is an additional enhancement for templates, more for engaging the community and providing a means to add small code blocks, similar in the way frameworks offer them sometimes.” @boonebgorges and @hnla later exchanged a series of enlightening comments about some of the details of @hnla‘s proposal.

A new API to manage single items navigation (#6534) @boonebgorges passes baton to @im4th to save this ticket from oblivion. @im4th brought up the issue of an upgrade routine to implement this feature which requires Framework for bulk data handling after updates (#6841).

Incrementor-based caching for ID queries (#6643) @boonebgorges is looking to implement this for at least one component during 2.6.

Accessibility tickets. @mercime will be working on the ones already in trac and will be adding some more later.

Explore Behat to add a functional testing capability to the project. @djpaulgibbs‘ dream is look into adding a functional testing capability to the project. “I don’t know if this is something that we’ll want, but I need to build it before I can convince everyone.”

New bp-template pack @djpaulgibbs is trying to come up with a plan to answer the never-ending questions around if/when BuddyPress will ever get a new one. “I’ve started with asking about eight of you some questions around that. It’s going to be a lot of work to come up with some kind of plan. I got essay-length replies from everyone and each reply is vastly different. Everyone has a very different opinion. I think some goal-setting needs to occur before we are able to write new templates with 100% buy-in from everyone, but it’s still early days and I reserve the right to change that opinion.”

Group Types API (#6784) @boonebgorges mentioned that it would be good to make headway on this ticket. Ping @mamaduka

2016 BuddyPress Survey (#6792) @mercime will conduct this year’s survey after the April 15 tax day.

Activity link moderation doesn’t output useful error message to end users (#6719) @rayisme has made some headway on better error messages in the activity stream. “Question is should we be holding off on this for an activity_status DB column.” @boonebgorges noted that  the “main issue would be documenting that select * from $bp->activity->table_name queries will have to be adjusted accordingly.”

Slack log: https://wordpress.slack.com/archives/buddypress/p1459364425000688

#6534, #6643, #6719, #6784, #6792, #6841, #buddypress, #dev-chat

Core Dev Chat Summary for January 27, 2016

Trac Tickets

Comment syncing between activity and post comments for Custom Post Types (#6842)  @im4th needed to run an upgrade routine to add a new activity meta to activities about a blog post and consulted whether he could do this using a regular upgrade routine or wait for #6841 to be fixed to committed to core.  @boonebgorges, @djpaulgibbs, @johnjamesjacoby, @rayisme, and @dcavins joined in the discussion to find the optimal solution in the upgrade routine. @im4th also suggested using a dynamic meta_key so that he could avoid the upgrade routine. Update: @im4th has uploaded a new patch which shows that using the dynamic meta_key can avoid an upgrade routine 🙂

Profile/Cover image upload doesn’t work in MS Edge browser (#6846) Update: @im4th just committed to trunk and 2.4 branch so this one’s fixed already 🙂

Email API and customisation features (#6592)  @djpaulgibbs has started committing section by organized section of this cool new feature last week (Jan. 27). Dev feedback welcome.

BuddyPress 2.5.0

  • Beta 1: February 8, 2016
  • RC 1 (string freeze): February 22, 2016
  • Target Release Date: March 2, 2016
  • There are 126 tickets slated for this cycle to date. (Closed: 41. Active: 85)

Slack log: https://wordpress.slack.com/archives/buddypress/p1453925069000147

#6592, #6842, #6846, #dev-chat