Only run 3.9-safe multisite go_to() testcase method on 3.9+

Previous version_compare() did a comparison against 3.8.2.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8394 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Don't ping #IRC for my custom build
Add .gitattributes for Windows line endings
Ensure existing avatars are cleaned when running tests

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8395 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Tests: Clean up $wp_version before deciding whether to use 3.9+ go_to()

version_compare() was getting hung up on some WP version numbering schemas,
such as the addition of '-src' when running from a develop.svn.wordpress.org
checkout (like in the case of travis-ci).

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8396 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Merge branch 'master' of https://github.com/buddypress/BuddyPress
Introduce 'group_activity' sort order for group member queries

Adds a new 'Group Activity' option to the 'Order By' dropdown on group member
listings, so that you can see who has most recently been active in that
specific group.

Fixes #3430

Props imath

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8397 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Update pot file after 'group_activity' new member sort order introduction

The new sort order for group member queries generated a new string 'Group Activity'. As a result using 'grunt build-commit' generates a new buddypress.pot file.

see #3430'


git-svn-id: https://buddypress.svn.wordpress.org/trunk@8398 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Bring back join/leave button Ajax feature in Groups Directory

After r8378 the use of '.' instead of ',' at line 1244 of buddypress.js file was causing the ajax feature to fail.

fixes #5624

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8399 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Standardize placement of 'bp_get_activity_latest_update_excerpt' filter

When latest activity update excerpts are displayed in the Members directory,
they are displayed like this:

  - "Foo"

instead of just

  Foo

The wrapped string is then sent through the 'bp_get_activity_latest_update_excerpt'
filter. However, this creates inconsistencies with other uses of the
filter, which only filter the excerpt itself - not the dash and quotes. This
changeset fixes the inconsistency.

In addition, certain translations of the wrapper string were removing an
erroneous space character from the original string, which had been preventing
the make_clickable() callback from appending the trailing quote to URLs that
appeared at the end of the activity excerpt. In these translations (such as
fr_FR), the result was that the improper filter placement described above was
causing trailing quotation marks to be included as part of URLs when they
appeared at the end of an update string (from the point of view of make_clickable()).
This changeset also removes this extra space, since the bug will no longer
manifest itself in any language.

Fixes #5626

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8400 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Update .pot from previous commit

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8401 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Disable activity reply threading if WP comment threading is disabled

In r8201, BP adopted WP's thread_comments_depth setting for its own activity
reply threading. See #2768. However, the thread_comments toggle was not
respected. The current changeset adds support for thread_comments, so that
disabling WP comment threading will also enable nested activity comments
(though the top level of comments will still be allowed).

Fixes #5562

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8402 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Minify some admin images

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8403 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
bp_has_activities() show default to show_hidden=true for members of a group

Requiring the group to be non-public, as was previously the case, meant that
group members were unable to see legitimate group activity that was marked
hide_sitewide for some reason (such as when a group was previously non-public).

Fixes #2014

Props sbrajesh

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8404 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Specify logged-in user when getting first name for "What's new?" activity prompt

By default, BuddyPress only displays the post form in a context where
bp_get_user_fullname() would default to the logged-in user. However, if the
form is included elsewhere - such as on another user's profile - the first name
displayed would erroneously be that of the displayed user, rather than the
logged in user who is being prompted to post an update.

Fixes #5540

Props lenasterg

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8405 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Avoid PHP notices during unit tests

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8406 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Introduce 'active_format' param for bp_get_blog_last_active()

This allows themers to skip the 'active %s' wrapper that BP puts around the
date of last activity for a blog.

See #5392

Props lenasterg

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8407 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Introduce 'latest_format' param for bp_get_blog_latest_post()

This param allows themers to omit BP's 'Latest post: %s' wrapper around the
link to the latest post.

Fixes #5392

Props lenasterg

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8408 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Add state CSS classes to xprofile field visibility toggles and settings divs

This gives themers greater control over the behavior of these elements, by
telling them which "state" they're in.

Fixes #5498

Props hnla

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8409 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Pinking shears

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8410 cdf35c40-ae34-48e0-9cc9-0c9da1808c22