[5785]
|
netweb
|
Tests: Add test `test_bbp_update_topic_forum_id()` for `bbp_update_topic_forum_id()`
|
[5784]
|
netweb
|
Tests: Tests for the reply status template functions.
|
[5783]
|
netweb
|
Tools: Forums should not include forum meta key `_bbp_forum_id`, forums with this meta key were due to either:
1) Incorrectly added by the `bbp_admin_repair_forum_meta()` repair tool
2) Incorrectly added by an old version of one of the included bbPress importers, these were fixed in r5526
Props netweb. Fixes #2669
|
[5782]
|
netweb
|
Tests: Add admin tools test `test_bbp_admin_repair_forum_meta()` for `bbp_admin_repair_forum_meta()`
Props netweb. See #2669
|
[5781]
|
netweb
|
Tests: Spam and Unspam reply function tests:
* `test_bbp_spam_reply()` for `bbp_spam_reply()`
* `test_bbp_unspam_reply()` for `bbp_unspam_reply()`
|
[5780]
|
netweb
|
Tests: Updated topic component count functions tests
Props thebrandonallen, netweb. See #2801
|
[5779]
|
netweb
|
Tests: Adds forum, topic and reply insert function tests:
* `test_bbp_insert_forum()` for `bbp_insert_forum()`
* `test_bbp_insert_topic()` for `bbp_insert_topic()`
* `test_bbp_insert_reply()` for `bbp_insert_reply()`
Props netweb. Fixes #2805
|
[5778]
|
netweb
|
Topics: When moving a topic update the topics post parent in `bbp_move_topic_handler()`, includes unit test `test_bbp_move_topic_handler()`
Props netweb. See #2322
|
[5777]
|
netweb
|
Tests: Fix failing test `test_bbp_update_forum_topic_count()`
Props thebrandonallen. See #2801
|
[5776]
|
netweb
|
Topics: Pass correct array value `post_author` to `bbp_update_topic()` in `bbp_insert_topic()` added in r5775
See #2805
|
[5773]
|
netweb
|
Tests: Add post meta test assertions to `test_bbp_create_initial_content()`, see #2805
|
[5769]
|
netweb
|
Tests: Added integer differential bump count assertions to `test_bbp_bump_topic_reply_count()` and `test_bbp_bump_topic_reply_count_hidden()` tests
Props thebrandonallen. See #2801
|
[5768]
|
netweb
|
Topics: Correct PHPDoc in `bbp_bump_topic_reply_count()` and `bbp_bump_topic_reply_count_hidden()` functions
|
[5767]
|
netweb
|
Tests: Improved performance of forum component count template function tests
Props thebrandonallen. See #2801
|
[5766]
|
netweb
|
Tests: Improved performance and use `bbp_clean_post_cache()` in topics template counts function tests
Props thebrandonallen. See #2081
|
[5765]
|
netweb
|
Tests: Rename forums forum functions test file name
|
[5764]
|
netweb
|
Tests: Tests: Skeleton test placeholders for topics topic functions
|
[5763]
|
netweb
|
Tests: Tests: Skeleton test placeholders for replies reply functions
|
[5762]
|
netweb
|
Tests: Skeleton test placeholders for reply status functions.
|
[5761]
|
netweb
|
Tests: Skeleton test placeholders for topic status functions.
|
[5760]
|
netweb
|
Tests: Skeleton test placeholders for topic update last functions
|
[5759]
|
netweb
|
Tests: Skeleton test placeholders for reply template functions
|
[5758]
|
netweb
|
Tests: Skeleton test placeholders for reply link template functions
|
[5757]
|
netweb
|
Tests: Skeleton test placeholders for topic tag functions.
|
[5756]
|
netweb
|
Tests: Fix duplicate `@group` annotation for topic tags template function tests
|
[5755]
|
netweb
|
Tests: Remove incorrect class prefix from `@covers` annotations in user functions tests
|
[5754]
|
netweb
|
Tests: Skeleton test placeholders for search functions and template functions
|
[5753]
|
netweb
|
Tests: Skeleton test placeholders for topic template functions
|
[5752]
|
netweb
|
Tests: Skeleton test placeholders for topic link template functions
|
[5751]
|
netweb
|
Tests: Skeleton test placeholders for topic get last template functions
|
[5750]
|
netweb
|
Tests: Skeleton test placeholders for topic tag template functions.
|
[5749]
|
netweb
|
Tests: Skeleton test placeholders for topic status template functions.
|
[5748]
|
netweb
|
Tests: Skeleton test placeholders for user component functions.
|
[5747]
|
netweb
|
Tests: Rename user favorites test class, favorites ends in a single `s`
|
[5746]
|
netweb
|
Tests: Add post type object and hierarchical test assertions for forum, topic and reply post types.
|
[5745]
|
netweb
|
Tests: Skeleton test placeholders for forum update last functions
|
[5744]
|
netweb
|
Tests: Tests: Skeleton test placeholders for forums forum functions
|
[5743]
|
netweb
|
Tests: Skeleton test placeholders for forum statuses and types functions
|
[5742]
|
netweb
|
Tests: Skeleton test placeholders for forum visibility functions.
|
[5741]
|
netweb
|
Tests: Improved performance of user component count function tests, now 33⅓% faster
Props thebrandonallen. See #2081
|
[5740]
|
netweb
|
Tests: Test an array of posts not the total post counts:
* Test the forum's topic ids in `test_bbp_forum_query_topic_ids()`
* Test the forum's subforum ids in `test_bbp_forum_query_subforum_ids()`
Props thebrandonallen, netweb. See #2801
|
[5728]
|
netweb
|
Fix copy pasta placeholder argument in `loop-single-topic.php` template
Props netweb. Fixes #2799
|
[5727]
|
netweb
|
Add `bbp_rel_nofollow` and `wp_unslash` filters to `bbp_get_topic_reply_link` and `bbp_get_reply_to_link` topic reply links.
Props netweb. Fixes #2515
|
[5726]
|
netweb
|
Tests: Topic and Reply revisions template function unit tests
|
[5725]
|
netweb
|
Tests: Topic and Reply loop template function unit tests
|
[5724]
|
netweb
|
Tests: Topic and Reply forms template function unit tests
|
[5723]
|
netweb
|
Tests: Topic and Reply authors template function unit tests
|
[5722]
|
netweb
|
Tests: Topic and Reply post type template function unit tests
|
[5721]
|
netweb
|
Tests: Forum template tests:
* Skip forum URL tests in multisite for now, we need a more robust permalink test setup first.
* Remove a couple of poorly architected tests so our tests pass
|
[5720]
|
netweb
|
Tests: Skip feed URL tests in multisite for now, we need a more robust permalink test setup first.
|
[5719]
|
netweb
|
Tests: Remove copy pasta parameters to fix topic count tests
* Manually flush the cache, our setup/teardown needs more work here.
Props thebrandonallen. Fixes #2796
|
[5718]
|
netweb
|
Add missing @since phpdoc to `bbp_get_public_child_count()` and `bbp_get_public_child_ids()` functions
|
[5717]
|
netweb
|
Tests: Tests for the topic component count template functions `/includes/topics/template.php`
|
[5716]
|
netweb
|
Tests: Tests for the topic component count functions `/includes/topics/template.php`
|
[5715]
|
netweb
|
Tests: Fix copy pasta in forums count functions tests:
* `test_bbp_update_forum_topic_count_hidden()`
* `test_bbp_update_forum_reply_count()`
|
[5714]
|
netweb
|
Topics: Filter `bbp_get_topic_reply_count_hidden` to format the output, to match other count functions.
|
[5713]
|
netweb
|
Tests: Core Update initial pass unit tests for /includes/core/update.php
|
[5712]
|
netweb
|
Install/Update: Don't add reply titles in sample forum content `bbp_create_initial_content()`, reply title requirements were removed in r5177.
Props netweb. Fixes #2795
|
[5710]
|
netweb
|
Tests: Fix forums functions tests:
* Fix `test_bbp_bump_forum_topic_count_hidden` per r5709
* Replace some debug comments in `test_bbp_update_forum_topic_count`
|
[5707]
|
netweb
|
Tests: Forum counts and query functions `/includes/forums/functions.php`
|
[5704]
|
netweb
|
Tests: SVN rename `/tests/phpunit/testcases/user` to `/tests/phpunit/testcase/users` to match `/src` folder naming structure
|
[5703]
|
netweb
|
Tests: Initial unit tests for users component
* User counts functions `/includes/users/functions.php` and `/includes/users/options.php`
* User favorites skeleton tests placeholder functions
* User subscriptions skeleton tests placeholder functions
* User counts template functions `/includes/users/template.php`
|
[5702]
|
netweb
|
Tests: Forum unit tests for `/includes/forums/template.php`
|
[5701]
|
netweb
|
Tests: Author unit tests for `/includes/forums/template.php`
|
[5700]
|
netweb
|
Tests: Initial unit tests for `/includes/forums/template.php`
|
[5699]
|
netweb
|
Tests: Travis CI Improvements
* Brings `.travis.yml` configuration up to speed with BuddyPress'
* Preliminary support for side-by-side BuddyPress testing integration
Props netweb. See #2782
|
[5690]
|
netweb
|
SVN: Remove invalid SVN property `sv:eol-style` from image files in `/branches/2.0` and `/tags/2.0.x`
|
[5687]
|
netweb
|
Tests: Add factory support for parsing meta arguments from forum, topic, and reply `::create_object` factories in `BBP_UnitTestCase` testcases.
|
[5686]
|
netweb
|
Fix missing @since revision in `bbp_is_forum_visibility()`
|
[5679]
|
netweb
|
Tests: Code formatting improvements to `BBP_UnitTestCase`
* Remove whitespace surrounding array keys
* Remove whitespace in cast statements
* Whitespace beside `!` operators
* Yoda conditions
|
[5678]
|
netweb
|
Tests: Remove `bbp_create_initial_content()` from `tests/phpunit/includes/install.php`
* WordPress' test suite resets post and taxonomy content between each test via `WP_UnitTestCase::setUp`
|
[5677]
|
netweb
|
Tests: Add PHPUnit factory's for topics and replies:
* New class `BBP_UnitTest_Factory_For_Topic` for creating topics in PHPUnit tests
* New class `BBP_UnitTest_Factory_For_Reply` for creating replies in PHPUnit tests
|
[5673]
|
netweb
|
Add support for BuddyPress PHPUnit test integration
* Bootstrap and load `/src/bbpress.php` when loading the test environment
* Detect and load BuddyPress when running the BuddyPress PHPUnit tests
* Setup `BP_UnitTest_Factory` in `BBP_UnitTestCase` during new BuddyPress PHPUnit test integration
* Bootstrap and load new factory class `BBP_UnitTest_Factory_For_Forum` for creating forums
Props boonebgorges. See #2782
|
[5672]
|
netweb
|
Exclude BuddyPress tests when running `phpunit`
BuddyPress unit testing will conflict with stand alone bbPress user testing, when BuddyPress is active the core members component cannot be deactivated thus testing users with BuddyPress at `/member/username` vs bbPress only `/user/username` and custom rewrites `/custom-user-slug/username` will cause conflicts in user PHPUnit tests.
A new Grunt sub task `grunt phpunit:buddypress` has been added to test BuddyPress integration with bbPress without compromising bbPress standalone PHPUnit testing.
Props netweb. See #2782
|
[5671]
|
netweb
|
Remove `BBP_UnitTestCase::knownBBPBug` PHPUnit tests support for bbPress unclosed Trac tickets.
See #WP30284 and #BuddyPress6223
|
[5670]
|
netweb
|
Fix i18n `_n()` plurals placeholders missed in r5668 in `bbp_admin_repair_closed_topics()`
|
[5669]
|
netweb
|
Topics: Fix missing meta data during new closed topic creation
* In `bbp_new_topic_handler()` check if the post status is `closed` and close using `bbp_close_topic()`
* In `bbp_close_topic()` allow topics to be properly closed if `_bbp_status` is missing from topic meta
Props netweb. Fixes #2653
|
[5668]
|
netweb
|
Tools: Introduce "Repair closed topics tool" `bbp_admin_repair_closed_topics()`
See #2653
|
[5667]
|
netweb
|
Topics: Update `bbp_open_topic()` and `bbp_close_topic()` `@uses` documentation missed in r5656
See #2653
|
[5656]
|
netweb
|
Don't create post revisions when opening topics in `bbp_open_topic()` or closing topics in `bbp_close_topic()` as post content does not change.
Props netweb. See #2653
|
[5655]
|
netweb
|
Forums: Fix missing meta data during new forum creation
* Call `bbp_open_forum()` if the forum is "open" to add the forum `_bbp_status` = `open` meta
* Call `bbp_normalize_forum()` if the forum is a "forum" to add the forum `_bbp_forum_type` = `forum` meta
Props netweb. Fixes #2647
|
[5654]
|
netweb
|
Akismet: Pass additional user and post information to Aksimet helping identify suspicious new posts
* `comment_total`: Total user posts via `bbp_get_user_post_count()`
* `comment_last_active_gmt`: Topic last active time via `bbp_get_topic_last_reply_id()`
* `comment_account_registered_gmt`: User registered via `$userdata->user_registered`
Props eoigal. Fixes #2591
|
[5653]
|
netweb
|
BuddyPress: Use `bbp_is_favorites_active()` and `bbp_is_subscriptions_active()` respectively to check if bbPress' favorites and/or subscriptions are enabled before displaying menu items in BuddyPress member profiles.
Props tharsheblows. Fixes #2594
|
[5652]
|
netweb
|
CSS: Include relevant topic and search CSS classes alongside existing reply responsive media queries for mobile search results.
Props netweb. Fixes #2486
|
[5651]
|
netweb
|
Don't create post revisions when updating replies menu order in `bbp_update_reply_position()` as there's no post content changed.
Props netweb. Fixes #2656
|
[5650]
|
netweb
|
Subscriptions are both forums and topics, remove "Topic" from single slug setting description.
Props netweb. Fixes #2709
|
[5649]
|
netweb
|
Bring Gruntfile.js tasks up to speed with BuddyPress
* Adds a `src` target for `jsvalidate` to validate JavaScript files in the `/src` folder
* WordPress JavaScript coding standards improvements
* See also r5614
Props netweb. Fixes #2766
|
[5648]
|
netweb
|
Update NPM Grunt package: grunt-sass v0.18.1
|
[5640]
|
netweb
|
Use `preg_replace` over incorrect `ltrim` usage in `bbp_get_do_not_reply_address()` causing undeliverable or invalid subscription emails in certain situations because the "from" address was incorrect.
Props DJPaul. See #2618 (trunk)
|
[5639]
|
netweb
|
Use `preg_replace` over incorrect `ltrim` usage in `bbp_get_do_not_reply_address()` causing undeliverable or invalid subscription emails in certain situations because the "from" address was incorrect.
Props DJPaul. See #2618 (2.5 Branch)
|
[5635]
|
netweb
|
Updated `_admin.scss` via WP:changeset:31648 for `grunt-sass` v0.18.0 compatibility via r5624 See #2583
|
[5634]
|
netweb
|
Tag 2.5.5.
|
[5623]
|
netweb
|
Update NPM Grunt packages:
* `grunt-contrib-copy` v0.8.0
* `grunt-contrib-uglify` v~0.8.0
* `grunt-contrib-jshint` v~0.11.0
* `grunt-wp-i18n` v~0.5.0
Fixes #2766
Each of these packages updates results in no change to the `/build` folder via `grunt build` or `/src` folder.
|
[5622]
|
netweb
|
Remove `onevar` from `.jshintrc`, as of JSHint v2.5 `onevar` is no longer an option.
See #2746
|
[5621]
|
netweb
|
Update grunt-patch-wordpress to 0.3.0
* Via #WP31466 / [wp:changeset:31557]
* This new update includes the following changes:
* the tools directory can now be patched along with a handful of other root level files that were failing
* If patching fails and issues a prompt, you can now interact with the prompt
* we only save the watch file to your directory if you pass the --debug flag
* we default to selecting the newest patch rather then the oldest patch
* Full changelog: https://github.com/aaronjorbin/grunt-patch-wordpress/compare/0.2.1...0.3.0
Props ocean90 netweb kadamwhite aaronjorbin. Fixes #2765
|
[5620]
|
netweb
|
Updated `_admin.scss` via WP:changeset:31564. See #2583
|
[5619]
|
netweb
|
Build Tools: Include PHP-7 "nightly" builds with failures allowed in Travis-CI
|
[5617]
|
netweb
|
Restore PHP 5.2 to Travis CI
* Travis restored PHP 5.2 support late last week.
Fixes #2753
|
[5616]
|
netweb
|
Temporarily (I hope) remove PHP 5.2 from tests being run on travis-ci
Travis-ci has disabled PHP 5.2. This has happened before when 5.2 didn't compile and then was restored when that was fixed.
See upstream issues:
* #WP31244
* https://github.com/travis-ci/travis-ci/issues/3152
* https://github.com/WP-API/WP-API/issues/846
See #2753
|
[5600]
|
netweb
|
Remove `trailing` option from `.jshintrc`, as of JSHint v2.5 `trailing` is no longer an option.
See https://github.com/jshint/jshint/pull/1554
Fixes #2746
|