Skip to:
Content

BuddyPress.org

Opened 5 months ago

Last modified 3 months ago

#9229 assigned task

Apply BP REST API - V2 internally

Reported by: espellcaste's profile espellcaste Owned by: espellcaste's profile espellcaste
Milestone: Up Next Priority: highest
Severity: normal Version:
Component: REST API Keywords: has-patch
Cc:

Description

This ticket is currently blocked by #9145

This is a placeholder ticket to keep track of places we need to use the V2 REST API internally. Here is a list of features or places where we will need to upgrade to use the V2 of the BP REST API.

  • Ajax;
  • BP Block;
  • #9156;
  • #8774;
  • Manage Group Members UI.

Change History (9)

This ticket was mentioned in Slack in #buddypress by espellcaste. View the logs.


5 months ago

This ticket was mentioned in Slack in #buddypress by espellcaste. View the logs.


4 months ago

#3 @imath
4 months ago

Just checked "Manage Group Members UI", it behaves as expected with BP REST API v2 ✅

This ticket was mentioned in PR #378 on buddypress/buddypress by @imath.


4 months ago
#4

  • Keywords has-patch added

Replace buddypress/v1 with buddypress/v2.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/9229

#5 @imath
4 months ago

In 14033:

BP Blocks: update hardcoded endpoints to use BP REST API v2

See #9229
Closes https://github.com/buddypress/buddypress/pull/378

#6 @espellcaste
3 months ago

In 14069:

Messages: filter threads by recipient IDs.

bp_has_message_threads (and the BP REST API) can filter thread(s) messages by recipient IDs. Very useful when trying to identify if a member already messaged another.

Props imath and slaFFik.

See https://github.com/buddypress/BP-REST/issues/455
Closes https://github.com/buddypress/buddypress/pull/394
See #9229 and #9145
Fixes #9157

#7 @espellcaste
3 months ago

In 14070:

A user is no longer de-authenticated when making REST API requests.

We are introducing a new BP_LoggedIn_User class to fetch data about a BuddyPress logged-in user. This new addition fixes an issue where a user could be de-authenticated when making REST API requests.

Props dcavins, DJPaul, johnjamesjacoby, and imath.

Closes https://github.com/buddypress/buddypress/pull/395
See #9229 and #9145
Fixes #7658

#8 @espellcaste
3 months ago

In 14071:

Misc changes to the signups and pending accounts.

We are improving how signups and pending accounts are handled in BuddyPress.

  • activation emails resend are blocked for one hour, by default;
  • emails are checked if they are already in use in a signup;
  • signup endpoint (https://developer.buddypress.org/bp-rest-api/reference/signup/) returns a useful error when feature is disabled;
  • Signup::resend: Added the ability to resend to a single ID, instead of an array of IDs.

Props niftythree and imath.

Closes https://github.com/buddypress/buddypress/pull/396
See #9229 and #9145
Fixes #9137

#9 @espellcaste
3 months ago

  • Milestone changed from 15.0.0 to Up Next
Note: See TracTickets for help on using tickets.