Friends: Tweak bp_member_add_friend_button().

Due to changes in r8514, some code in this function is now redundant.
Therefore, this commit removes this code.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8546 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Introduce BP_XProfile_Field_Type::display_filter(), and implement in BP_XProfile_Field_Type_Datebox.

The new display_filter() method makes it easy for field types to customize the
appearance of its values. In the case of Datebox fields, this means formatting
the MySQL- or UNIX-formatted date in the format of bp_format_time().

Fixes #5630

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8547 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
In groups/template tests, cast time() to a variable before using to create data

This ensures that relative times don't get screwed up if tests take more than
one second.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8548 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Remove hard-coded image reference to `bp-default` in Messages autocomplete styling. See #2423.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8549 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Remove LESS support in `package.json` and `Gruntfile.js`, add `grunt-sass` and `grunt-jsvalidate` for future usage, and update `cssmin` and `uglify` to latest versions.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8550 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Setup `jsvalidate` task.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8551 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
More explicit group join dates so that automated tests for bp_group_is_user_banned() don't get fired out of order

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8552 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Merge branch 'master' into suggestions