[6470]
|
netweb
|
Build Tools: Update `package.json` to define a minimum Node.js version `6.9.1`
This changeset updates the recommended Node.js version to the latest 6.x.x Node.js LTS version. The Node.js 4.x.x LTS branch is now in maintenance mode and brings bbPress' build tool version requirements in line with WordPress' and the broader WordPress plugin community.
|
[6469]
|
netweb
|
Build Tools: Update `grunt-wp-i18n` from 0.5.4 to 1.0.0
* See https://github.com/cedaro/grunt-wp-i18n/compare/v0.5.4...v1.0.0
|
[6468]
|
netweb
|
Build Tools: Update `grunt-contrib-cssmin` from 1.0.0 to 2.2.0
* See https://github.com/gruntjs/grunt-contrib-cssmin/compare/v1.0.0...v2.2.0
* Updates `clean-css` to v4.1.1
|
[6467]
|
netweb
|
Build Tools: Update `grunt-contrib-uglify` from 2.0.0 to 3.0.1
* See https://github.com/gruntjs/grunt-contrib-uglify/compare/v2.0.0...v3.0.1
* Bumps `uglify-js` to 3.0.4
|
[6466]
|
netweb
|
Build Tools: Update `autoprefixer` from 6.7.1 to 7.1.1
• https://github.com/postcss/autoprefixer/compare/6.7.1...7.1.1
|
[6465]
|
netweb
|
Build Tools: Update `grunt-stylelint` from 0.7.0 to 0.8.0
• See https://github.com/wikimedia/grunt-stylelint/compare/v0.7.0...v0.8.0
|
[6464]
|
netweb
|
Build Tools: Update `grunt-exec` from 1.0.1 to 2.0.0
* See https://github.com/jharding/grunt-exec/compare/v1.0.1...e1ef5d9
|
[6463]
|
netweb
|
Build Tools: Update `postcss-scss` from 0.4.0 to 1.0.0
* See https://github.com/postcss/postcss-scss/compare/0.4.0...1.0.0
|
[6462]
|
netweb
|
Build Tools: Build Tools: Update `grunt-contrib-clean` from 1.0.0 to 1.1.0
* https://github.com/gruntjs/grunt-contrib-clean/compare/v1.0.0...v1.1.0
This changeset reverts the incorrect change in [6461] to `grunt-contrib-copy` instead of `grunt-contrib-clean`
Antiprops netweb.
|
[6461]
|
netweb
|
Build Tools: Update `grunt-contrib-copy` from 1.0.0 to 1.1.0
* https://github.com/gruntjs/grunt-contrib-clean/compare/v1.0.0...v1.1.0
|
[6423]
|
netweb
|
Tests: Improve `test_bbp_get_forum_last_reply_id()` test performance.
No need to query for the last reply ID as we already knew what to expect.t.
See #3108.
Props thebrandonallen.
|
[6418]
|
netweb
|
Parser: PHP 7.1 compatibility fixes to `parser.php`
Props xknown.
See #2973, #2987.
Merges [6212] to the 2.5 branch.
|
[6417]
|
netweb
|
General: Set the default return to an empty array in `$posts_query->get()` in `bbp_pre_get_posts_normalize_forum_visibility()`
This changeset fixes PHP 7.1 warnings `[] operator not supported for strings` due to `WP_Query:get()` defaulting to returning an empty string if the requested key isn't set. However, you can pass a default return value. This commit sets the default return to an empty array.
Props thebrandonallen.
See #2987.
Merges [6113] to the 2.5 branch.
|
[6416]
|
netweb
|
Trash: Cast _pre_ post-meta values to an array.
Prevents notices & warnings in the event 0 or 1 replies exist.
Props SergeyBiryukov.
See #3053.
Merges [6360] to the 2.5 branch.
|
[6408]
|
netweb
|
Build Tools: Update stylelint to `11.0.0` and use unitless values for `line-height`
This changeset updates stylelint to the latest version and removes `%` and `em` from `line-height` values per the WordPress CSS coding standards.
Fixes #3106.
|
[6405]
|
netweb
|
Build Tools: Remove HHVM from the test infrastructure on Travis.
Fixes #3104.
|
[6404]
|
netweb
|
Build Tools: Fix copy pasta of `;` instead of `,` added in [6403].
WordPress Coding Standards requires one variable declaration.
See #2924.
|
[6403]
|
netweb
|
Build Tools: Update stylelint
* Update `stylelint` to v7.10.1
* Update `grunt-stylelint` to v0.7.0
* Switch from `.stylelintrc` format to stylelint shared config `stylelint-config-wordpress`
* Add SCSS linting support that's now included in `stylelint-config-wordpress`
See #2924.
|
[6376]
|
netweb
|
Build tools: Don't attempt to report PHP's extensions when running HHVM jobs on Travis. It doesn't work.
Props johnbillion.
See #3085.
|
[6375]
|
netweb
|
Build/Test Tools: Fix YAML indentation in `.travis.yml` following yolo'd [6373].
See #3085.
|
[6374]
|
netweb
|
Build/Test Tools: Revert unintended unit test change included in commit [6373]
Antiprops netweb.
See #3085, #2963.
|
[6373]
|
netweb
|
Build/Test Tools: Update `.travis.yml` to explicitly use PHPUnit 5.7 for the PHP 7 builds on Travis.
* Add some more debugging to Travis.
* Clean up indentation.
Fixes #3085.
|
[6371]
|
netweb
|
General: Following [6366] use a single blank line for end-of-file extras templates.
See #3078.
|
[6365]
|
netweb
|
Fix `@return` docs typo in `bbp_title`
Props SergeyBiryukov.
Fixes #3080.
|
[6364]
|
netweb
|
Fix basename filter in `bbPress:setup_globals()`.
This changeset if for `/branches/2.5`, previously [5316] for `/trunk`
Props alexvorn2.
Fixes #3079.
|
[6363]
|
netweb
|
Replies: Allow `pending` replies to be edited on the front end.
This changeset in `bbp_get_reply_edit_url()` switches from detecting pretty permalinks using `bbp_use_pretty_urls()` to detect the query string for `?` instead, this is due to pending replies always have ugly permalinks.
Props SergeyBiryukov.
Fixes #3054.
|
[6362]
|
netweb
|
Topics: Allow `pending` topics to be edited on the front end.
This changeset in `bbp_get_topic_edit_url()` switches from detecting pretty permalinks using `bbp_use_pretty_urls()` to detect the query string for `?` instead, this is due to pending topics always have ugly permalinks.
Props SergeyBiryukov.
See #3054.
|
[6361]
|
netweb
|
General: Improve verbiage for closed forum and closed topic template notices.
This changeset also adds a template notice to the reply form noting that the forum you're posting to is closed to new content.
Props @SergeyBiryukov.
Fixes #3076.
See also #2353-meta.
|
[6357]
|
netweb
|
Forums: Add missing `@since` PHPDoc to `bbp_list_forums()`
|
[6356]
|
netweb
|
i18n: Update translation context for open/close strings in `bbp_get_topic_close_link()` and approve/unapprove stringsin `bbp_get_topic_approve_link()`
Props fiskhandlarn.
Fixes #3023.
|
[6355]
|
netweb
|
Users: Use `bbp_rel_nofollow()` for users profile description in `user-profile.php` template.
This changeset will help curb spammers taking advantage of posting URLs in their user profile descriptions.
Props Robkk.
Fixes #2854.
|
[6352]
|
netweb
|
Accessibility: Add accessible hidden headings and text for Forums, Topics, Topic Tags, and Replies list table views.
Props mercime, netweb.
Fixes #2899.
|
[6351]
|
netweb
|
Tools - Build: Disable Xdebug on stable builds of PHP when testing on Travis CI.
Hat tip johnbillion.
Fixes #3075.
|
[6349]
|
netweb
|
Moderation: Autoprefixer follow up to [6348] and [6344]
See #3073.
|
[6348]
|
netweb
|
Moderation: CSS coding standards fixes follow up after [6344]
See #3073.
|
[6345]
|
netweb
|
About: Fix Gravatar URL
|
[6333]
|
netweb
|
API - Installation/Upgrade: Fix copy pasta inline doc in `bbp_admin_upgrade_user_engagements()`
|
[6295]
|
netweb
|
Theme Compat: Use tabs not spaces for indentation in `BBP_Theme_Compat`
|
[6294]
|
netweb
|
Users: Add missing asterix from PHPDoc block in `bbp_make_spam_user()`
|
[6293]
|
netweb
|
Converters: Fix PHPDoc indentation in `Invision.php`
|
[6292]
|
netweb
|
Update: Uses tabs not spaces for indentation in `bbp_add_activation_redirect()`
|
[6291]
|
netweb
|
Docs: Fix typo in `bbPress::*_query::have_posts()` PHPDoc `@uses` references.
Props SergeyBiryukov.
Fixes #3061.
|
[6268]
|
netweb
|
Build Tools: Update PostCSS Autoprefixer from v6.6.1 to v6.7.0
|
[6267]
|
netweb
|
Build Tools: NPM modules in `package.json` should only use semantic versioning `~` ''minor'' versions, rather than `^` ''major'' versions.
This changeset will help avoid the pitfalls of upstream NPM modules breaking our build due to a release of a new major version for which bbPress has not yet tested against.
|
[6266]
|
netweb
|
Build Tools: Update stylelint to v7.7.1 and `.stylelintrc` to stylelint-config-wordpress v9.1.1
|
[6265]
|
netweb
|
Capabilities: Fix inline docs copy pasta introduced in [5852]
See #2685
|
[6244]
|
netweb
|
Topics: Fix misspelled `bbp_get_topic_last_reply_*` filters.
* Update `bbp_get_topic_last_reply_title()` to use `bbp_get_topic_last_reply_title`
* Includes a fallback for any plugins or themes that use `bbp_get_topic_last_topic_title`
* Fix PHPDocs `@uses` PHPDocs for `bbp_get_topic_last_reply_permalink` and `bbp_get_topic_last_reply_url`
Props SergeyBiryukov.
Fixes #3039.
|
[6239]
|
netweb
|
Build Tools: Update `grunt-sass` from v1.2.0 to v2.0.0
* See https://github.com/sindresorhus/grunt-sass/compare/v1.2.0...v2.0.0
* Bumps `node-sass` from v3.7.0 to v4.0.0
* See https://github.com/sass/node-sass/compare/v3.7.0...v4.0.0
|
[6238]
|
netweb
|
Build Tools: Update `grunt-contrib-jshint` from v1.0.0 to v1.1.0
* See https://github.com/gruntjs/grunt-contrib-jshint/compare/v1.0.0...v1.1.0
|
[6237]
|
netweb
|
Build Tools: Update PostCSS SCSS from v0.3.0 to v0.4.0
* See https://github.com/postcss/postcss-scss/compare/0.3.0...0.4.0
|
[6236]
|
netweb
|
Build Tools: Update PostCSS Autoprefixer from v6.5.1 to v6.6.1
* See https://github.com/postcss/autoprefixer/compare/6.5.1...6.6.1
|
[6235]
|
netweb
|
Administration: Remove duplicate props entry for 2.6 release.
|
[6234]
|
netweb
|
Administration: Second pass updating contributors and props list for 2.6 release.
|
[6233]
|
netweb
|
Administration: Initial pass updating contributors and props list for 2.6 release.
|
[6232]
|
netweb
|
Subscriptions: Update the forum and topic subscriptions 2.6 database update routine.
Previously in r6193 the topic subscription update tool was renamed from `bbp_admin_upgrade_user_subscriptions()` to `bbp_admin_upgrade_user_topic_subscriptions()` to facilitate the addition of the forum subscription update tool `bbp_admin_upgrade_user_forum_subscriptions()`.
This changeset updates the `bbp_version_updater()` 2.6 database update to run both the above upgrade tools.
Props barry.hughes.
Fixes 3038.
+ bbp_admin_upgrade_user_forum_subscriptions();
|
[6231]
|
netweb
|
Tests: Rely on WP Core's version of `go_to()`.
Our version of `go_to()`, inherited from BuddyPress was very messy, and since it was copied a few years ago, it has been refactored in WordPress. We can remove this duplication which makes for a cleaner method, and rely on the upstream version.
This also helps avoid false positives in tools that check for use of deprecated WordPress functions.
There was a conditional block in the old go_to() that was for compatibility with WordPress <3.9.
See also: buddypress:changeset:11254
Fixes #3015.
Props DJPaul, netweb.
|
[6222]
|
netweb
|
Build Tools: Update Grunt and companion packages to the latest version.
This changeset updates `grunt`, `grunt-exec`, and `grunt-legacy-utils` to the latest version.
Run `npm install` in your terminal to install the updates above.
|
[6217]
|
netweb
|
Unit Tests: Don't run BuddyPress PHPUnit tests on PHP 5.2.x
Previously r6204 attempted to skip BuddyPress tests if the PHP version was less than 5.3.0, this didn't work as intended as BuddyPress was still being loaded, the change would have only skipped tests rather than completely excluding the BuddyPress PHPUnit test suite from running on PHP versions less than 5.3.0.
This changeset reverts r6204 and separates the `grunt test` tasks into individual WordPress and BuddyPress PHPUnit Grunt tasks, this gives us the ability to explicitly exclude BuddyPress PHPUnit test suite from running on PHP 5.2.
See also https://bpdevel.wordpress.com/2016/07/21/php-5-2-bp-2-8-and-php-support-guidelines/
Fixes #3037.
|
[6214]
|
netweb
|
Appearance - Included Themes: Update admin base SCSS styles:
* Updated via upstream WordPress `_admin.scss` file via WP:changeset:38602, WP:changeset:38638, WP:changeset:38660, WP:changeset:39141, and WP:changeset:39249
See #2583
|
[6211]
|
netweb
|
Fix s/convertion/conversion typo in changelog introduced in r4422 (2.5 branch)
|
[6210]
|
netweb
|
Fix s/convertion/conversion typo in changelog introduced in r6127
|
[6204]
|
netweb
|
Unit Tests: Don't run BuddyPress PHPUnit tests on versions less than PHP 5.3.0
BuddyPress 2.8 has dropped support for PHP 5.2.x, this changeset updates the BuddyPress PHPUnit configuration to only run the tests on PHP versions greater than `5.3.0`
See also https://bpdevel.wordpress.com/2016/07/21/php-5-2-bp-2-8-and-php-support-guidelines/
Fixes #3037.
|
[6203]
|
netweb
|
Build Tools: Add Travis CI cache for installed apt packages.
See #2980.
|
[6202]
|
netweb
|
Accessibility: Bump headings for BuddyPress group forums.
Props mercime.
Fixes #2968.
|
[6201]
|
netweb
|
Build Tools: Remove unsupported WordPress versions from Travis CI build job matrix.
This changeset removes all WordPress versions previous to 4.7 as this is now bbPress' minimum required version.
|
[6200]
|
netweb
|
Metaboxes: Update `@since` revisions for functions introduced in r6197.
See #2959.
|
[6195]
|
netweb
|
Converter: Give `!` usages some breathing room.
|
[6194]
|
netweb
|
Tests: Add favorite, topic subscriptions, and forum subscription upgrade tool tests.
* `BBP_Tests_Admin_Tools::test_bbp_admin_upgrade_user_favorites`
* `BBP_Tests_Admin_Tools::test_bbp_admin_upgrade_user_topic_subscriptions`
* `BBP_Tests_Admin_Tools::test_bbp_admin_upgrade_user_forum_subscriptions`
See #2959.
|
[6193]
|
netweb
|
Tools: Add an upgrade tool for forum subscriptions.
* Adds `bbp_admin_upgrade_user_forum_subscriptions()`
* Renames `bbp_admin_upgrade_user_subscriptions()` to `bbp_admin_upgrade_user_topic_subscriptions()`
* Updated inline docs
Previously in r6174 upgrade tools were added for favorites and subscriptions, support for migrating forums subscriptions meta `_bbp_forum_subscriptions` wasn't included, rather than adding extra overhead to the existing topic subscriptions upgrade tool another upgrade tool was added for forum subscriptions.
See #2959.
|
[6190]
|
netweb
|
Admin: Add missing `@since` revisions from r6186.
|
[6179]
|
netweb
|
Build Tools: `.jshintrc` is a JSON file, indentation should use spaces, not tabs, and lastly have `.editorconfig` treat `jshintrc` as a JSON file.
|
[6146]
|
netweb
|
Moderation: Add some missing PHPDoc `@since` revisions
See #3032.
|
[6145]
|
netweb
|
Build Tools: Travis CI: Only test PHP 7.1 against WordPress 4.7 or greater
This changeset updates the Travis CI test matrix to match WordPress' PHP 7.1 compatability, which was only added in version 4.7.
|
[6132]
|
netweb
|
Build Tools: Add PHP 7.1 to the Travis CI job matrix and remove from `allow_failures` list
|
[6131]
|
netweb
|
Build Tools: Add WordPress 4.7 to Travis CI build matrix
|
[6117]
|
netweb
|
Build Tools: Update `grunt-contrib-uglify`.
Update uglify-js to v2.7.0. `screwIE8` is enabled by default.
See https://github.com/gruntjs/grunt-contrib-uglify/compare/v1.0.2...v2.0.0
|
[6115]
|
netweb
|
Indentation fixes, tabs, not spaces.
|
[6114]
|
netweb
|
Users: Include users closed topic counts in `bbp_get_user_topic_count_raw()`
This changeset works around an issue where the lack of custom post statuses support upstream in #WP12706 prevents us from including users closed topics counts in a users raw topic count. See also #meta1870
Props netweb.
Fixes #2978.
|
[6113]
|
netweb
|
General: Set the default return to an empty array in `$posts_query->get()` in `bbp_pre_get_posts_normalize_forum_visibility()`
This changeset fixes PHP 7.1 warnings `[] operator not supported for strings` due to `WP_Query:get()` defaulting to returning an empty string if the requested key isn't set. However, you can pass a default return value. This commit sets the default return to an empty array.
Props thebrandonallen.
Fixes #2987.
|
[6112]
|
netweb
|
Theme Compatibility: Parameter `$in_footer` in `bbp_enqueue_script()` should be boolean.
This changeset updates copy-pasta introduced in [5181], `bbp_enqueue_script()` is a wrapper for `wp_enqueue_script()`, `$in_footer` boolean parameter introduced in wp:changeset:10367. Whether on purpose, or inadvertently, our scripts where being added in the footer, this commit explicitly maintains this behavior.
Props thebrandonallen.
Fixes #3013.
|
[6111]
|
netweb
|
Users: Update PHPDoc's for user functions and capabilities.
See #2959.
|
[6110]
|
netweb
|
Tests: Use `assertEqualSets()` instead of `assertEquals()` in favorites and subscriptions tests.
This changeset improves array comparisons where arrays may not be in the same order.
See #2959.
|
[6104]
|
netweb
|
Build Tools: Update `autoprefixer` to v6.5.1
See https://github.com/postcss/autoprefixer/compare/6.3.3...6.5.1
|
[6103]
|
netweb
|
Build Tools: Update `grunt-check-dependencies` to v1.0.0
See https://github.com/mgol/grunt-check-dependencies/compare/0.12.0...1.0.0
|
[6102]
|
netweb
|
General - Administration: Add i18n text domain missed in [6101]
See #2246.
|
[6101]
|
netweb
|
General - Administration: Introduce bulk actions to spam and unspam topics and replies in wp-admin
This Friday #yolo changeset comes care of the upcoming WordPress 4.7 release via #WP16031 / wp:changeset:38647
Props jmdodd.
See #2246.
|
[6100]
|
netweb
|
Build Tools: Switch stylelint Grunt task from `grunt postcss:lint` to `grunt stylelint`
This changeset switches the stylelint task from using the `grunt-postcss` to `grunt-stylelint` NPM module. This new Grunt module supports stylelint's native formatters and allows for improved task error reporting. This change also splits the CSS and SCSS lint tasks in preparation for a future `stylelint-config-wordpress` SCSS update.
See also: https://github.com/wikimedia/grunt-stylelint
Props netweb.
See #2924.
|
[6099]
|
netweb
|
Topics: Revert [6098]
This doesn't work, on many levels, when testing a patch make sure the patch your testing matches the same site you're testing with.
Antiprops netweb.
See #2587.
|
[6098]
|
netweb
|
Topics: Call `bbp_move_topic_handler()` when moving a topic to a new forum in the back end.
This changeset ensures that both the source and destination forums meta is updated when a topic is moved.
Fixes #2587.
|
[6093]
|
netweb
|
Build Tools: Update stylelint to v7.2.0 and bump `.stylelintrc` to `stylelint-config-wordpress` v9.0.0
|
[6092]
|
netweb
|
Bump alpha version in bbpress.php to latest revision.
|
[6091]
|
netweb
|
Tools: Running the "Reset Forums" tool now deletes bbPress' custom post type revisions from the database.
This changeset adds support for deleting forum, topic, and reply post types revisions to `bbp_admin_reset_handler()`.
Fixes #2945.
|
[6090]
|
netweb
|
Tests: Remove the "reply only" test from `test_bbp_update_topic_last_active_id()`
This changeset reverts a test added in r6088 that passed only the reply id to `bbp_update_topic_last_active_id()`, the test passed locally but failed on every Travis CI job except HHVM. Further investigation is required, but not today.
|
[6089]
|
netweb
|
Locale - i18n/l10n: Differentiate the noun and verb "Reply" string.
"Reply" can be used as both a verb and a noun, this changeset adds this context to instances of the "Reply" string thus allowing the different contexts to be translated accurately.
Props ocean90.
Fixes #2977.
|
[6088]
|
netweb
|
Tests: Improve `test_bbp_update_topic_last_active_id()` tests.
This changeset adds a passing reply id only test for `bbp_update_topic_last_active_id()`
|
[6086]
|
netweb
|
Topics: `@uses` not `@yses` PHPDoc in `bbp_update_topic()`
|
[6085]
|
netweb
|
Moderation: Include topic and reply post content with and without HTML in `moderation_keys` and `blacklist_keys` checks.
This changeset ensures users cannot bypass the moderation word checks by wrapping parts of the word or term in HTML, e.g. `bannedword` could previously be bypassed using `<em>banned</em>word`
Fixes #2986.
|
[6084]
|
netweb
|
Tests: Add user email, URL, IP, moderator, keymaster `bbp_check_for_moderation()` and `bbp_check_for_blacklist()` tests
|
[6083]
|
netweb
|
Tests: Initial `bbp_check_for_blacklist()` tests
|
[6082]
|
netweb
|
Tests: Initial `bbp_check_for_moderation()` tests
|