lp:buddypress

Created by Jelmer Vernooij on 2011-06-08 and last modified on 2020-10-20
Get this branch:
bzr branch lp:buddypress

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
BuddyPress
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the Subversion branch from http://svn.buddypress.org/trunk.

The next import is scheduled to run in 1 hour.

Last successful import was 4 hours ago.

Import started 4 hours ago on alnitak and finished 4 hours ago taking 25 seconds — see the log
Import started 10 hours ago on izar and finished 10 hours ago taking 20 seconds — see the log
Import started 16 hours ago on alnitak and finished 16 hours ago taking 25 seconds — see the log
Import started 22 hours ago on izar and finished 22 hours ago taking 25 seconds — see the log
Import started on 2020-10-22 on alnitak and finished on 2020-10-22 taking 25 seconds — see the log
Import started on 2020-10-22 on alnitak and finished on 2020-10-22 taking 25 seconds — see the log
Import started on 2020-10-22 on izar and finished on 2020-10-22 taking 25 seconds — see the log
Import started on 2020-10-22 on alnitak and finished on 2020-10-22 taking 30 seconds — see the log
Import started on 2020-10-21 on izar and finished on 2020-10-21 taking 25 seconds — see the log
Import started on 2020-10-21 on alnitak and finished on 2020-10-21 taking 25 seconds — see the log

Recent revisions

9705. By imath on 2020-10-20

BP Blocks: make sure the Activity Embed block renders the activity

The Activity permalink URL was wrongly reset to an empty string the first time the embed request was made. As a result the error state of the block was rendered.

This commit fixes this issue and brings some complementary improvements:
- Stop using the deprecated Toolbar Block component in favor of the ToolbarGroup one.
- Use the Disabled Block component to disable links inside the rendered activity.

Fixes #8377

9704. By imath on 2020-10-16

7.0.0-beta1 version bumps

9703. By imath on 2020-10-16

PHP Unit tests: fix avatar filter failing test

This is a follow up of [12757] in order to take in account the lazy loading attribute when testing the avatar filter output.

See #8340

9702. By dcavins on 2020-10-16

Allow invitations table name to be filtered.

Add the `bp_invitations_table_name` filter in
`BP_Invitation_Manager::get_table_name()`.

Fixes #8375.

9701. By dcavins on 2020-10-16

Fix admin tool reference to invitations table.

The reference to the invitations table in the repair tool should use the established function to fetch the table name.

Props shawfactor.

See #8375.

9700. By r-a-y on 2020-10-16

Add lazy loading support for images and iframes.

In order to take advantage of native browser support for lazy loading,
this commit adds the 'loading="lazy"' attribute to all <img> and
<iframe> elements used throughout BuddyPress (activity content,
private messaging content and avatar display).

The generic function, bp_core_add_loading_lazy_attribute(), is
introduced to help with this.

A special case is made for WordPress post embeds. As of this commit,
only Chromium-based browsers (77+) support iframe lazy loading if the
iframe is visible on load. (See https://web.dev/iframe-lazy-loading/#iframe-specific-lazy-loading-behavior.)
Since WordPress post embeds uses inline CSS to hide their iframe on
initial load, we need to remove their inline CSS so lazy loading can
be properly applied.

Props r-a-y, imath.

Fixes #8340.

9699. By imath on 2020-10-15

Activity: adds the `ugc` rel attribute to activity item links

Props vapvarun

Fixes #8326

9698. By imath on 2020-10-15

Nouveau: make sure the `bp_before_activity_comment` hook is available

The BP Nouveau template pack was missing the `bp_before_activity_comment` hook in activity/comment.php.

Props r-a-y

Fixes #8370

9697. By imath on 2020-10-15

Members: stop mirroring user `last_activity` data to user metadata

The primary storage location for user `last_activity` is the activity table. For backward compatibility reasons, we used to mirror that data into user metadata.

Backward compatibility user `last_activity` metadata mirroring is now only done if the legacy user query is enabled. This can be achieved by forcing the `bp_use_legacy_user_query` filter to return `true`.

Props boonebgorges, r-a-y

Fixes #7882

9696. By imath on 2020-10-15

Core: use only one global to store the Notifications DB table name

- Deprecate `$bp->core->table_name_notifications`.
- Add a magic getter to `BP_Core`, with a fallback if the Notifications component isn't active.
- Audit the related queries and method params, and makes sure they work as intended, and update them to our latest coding standards.

Props johnjamesjacoby

Fixes #8360

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.