| [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
|
| [5599]
|
netweb
|
Include WordPress v4.1 in Travis CI tests
|
| [5586]
|
netweb
|
Add `grunt-banner` to replace deprecated banners in `cssmin`
|
| [5585]
|
netweb
|
|
| [5584]
|
netweb
|
Switch to container-based infrastructure on Travis CI.
The container-based infrastructure has more memory and more cores. It also is designed to startup faster. We give up the ability to use sudo, but we aren't using that right now so we should be good.
Props tw2113, netweb
Fixes #2736
|
| [5582]
|
netweb
|
Updated `_admin.scss` via WP:changeset:30531. See #2583
|
| [5581]
|
netweb
|
Travis-CI: Specify IRC server/channel using a secure encrypted key
- This prevents our IRC dev channel #bbPress-dev from being notified when other people run bbPress' unit tests with travis-ci integration of their own Github forks.
- Key created using `travis encrypt "irc.freenode.net#bbpress-dev" -r bbpress/bbPress` results in IRC notifications only from the bbPress official GitHub repo https://github.com/bbpress/bbPress
- See http://docs.travis-ci.com/user/encryption-keys/
|
| [5580]
|
netweb
|
Example importer: Include Subscribed Forums, Subscribed Topics and Favourite Topics
Props netweb. See #2668
|
| [5579]
|
netweb
|
XenForo importer: Include Subscribed Forums and Subscribed Topics
Props netweb. See #2668
|
| [5578]
|
netweb
|
vBulletin 3 importer: Include Subscribed Forums and Subscribed Topics
Props netweb. See #2668
|
| [5577]
|
netweb
|
vBulletin 4 importer: Include Subscribed Forums and Subscribed Topics
Props netweb. See #2668
|
| [5576]
|
netweb
|
SMF importer: Include Subscribed Forums and Subscribed Topics
Props netweb. See #2668
|
| [5575]
|
netweb
|
PunBB importer: Include Subscribed Forums and Subscribed Topics
Props netweb. See #2668
|
| [5574]
|
netweb
|
Phorum importer: Include Subscribed Topics
Props netweb. See #2668
|
| [5573]
|
netweb
|
FluxBB importer: Include Subscribed Forums and Subscribed Topics
Props netweb. See #2668
|
| [5572]
|
netweb
|
bbPress 1.x importer: Include Subscribed Topics and Favourite Topics
Props netweb. See #2668
|
| [5571]
|
netweb
|
Add support to `converter.php` to allow importing Subscribed Forums, Subscribed Topics and Favourite Topics
Props netweb. See #2668
|
| [5570]
|
netweb
|
bbPress 1.x importer: Only import bbPress 1.x topic tag taxonomy `bb_topic_tag` so that the `tags` import does not also import topic subscriptions.
|
| [5569]
|
netweb
|
Include topic-tag descriptions in bbPress 1.x importer
* Props thebrandonallen for initial patch
* Fixes #2710
|
| [5568]
|
netweb
|
Xenforo 1.x importer: Fix regression introduced in r5349 where topics were imported a second time as part of the reply section import.
|
| [5557]
|
netweb
|
Fix incorrect variable name in `SMF.php` callback `callback_html()`
* This caused the regular expression for BBCode `[list]` and `[list type=decimal]` to not be included in the `callback_html()` callback.
Props netweb. Fixes #2715
|
| [5556]
|
netweb
|
Bump NPM package versions in package.json
"grunt-sass": "~0.16.0" -> "~0.16.1"
Requires npm install to update packages and dependencies
|
| [5555]
|
netweb
|
Bump NPM package versions in package.json
"grunt-contrib-copy": "~0.6.0" -> "~0.7.0"
"grunt-sass": "~0.14.1" -> "~0.16.0"
"grunt-wp-i18n": "~0.4.8" -> "~0.4.9"
Requires npm install to update packages and dependencies
|
| [5554]
|
netweb
|
Include anonymous reply author name in `Drupal7.php` importer.
Props netweb. See #2347
|
| [5551]
|
netweb
|
Include anonymous topic and reply import support in Phorum (`Phorum.php`) importer
Props netweb. Fixes #2703
|
| [5550]
|
netweb
|
Include anonymous topic and reply import support in XMB 1.x (`XMB.php`) and PunBB (`PunBB.php`) importers
Props netweb. See #2347
|
| [5549]
|
netweb
|
XMB 1.x: Fix regression introduced in r5349 where topics were imported a second time as part of the reply section import.
|
| [5548]
|
netweb
|
Include anonymous topic and reply import support in SimplePress 5 (`SimplePress5.php`) importer
Props netweb. See #2347
|
| [5547]
|
netweb
|
SimplePress 5:
* Fix regression introduced in r5349 where topics were imported a second time as part of the reply section import.
* Fix reply parent forum ID mini cache callback to use `callback_forumid`
* Add topic author IP address to topics import section
|
| [5546]
|
netweb
|
Include anonymous topic and reply import support in vBulletin 3 (`vBulletin3.php`) and vBulletin 4 (`vBulletin.php`) importers
Props netweb. See #2347
|
| [5545]
|
netweb
|
vBulletin 3 & 4: Fix reply parent forum id in `vBulletin.php` and `vBulletin3.php` importers
* Retrieves the replies topic ID and utilizes `callback_topicid_to_forumid` mini cache to convert the topic id to the new forum ID
* Eliminates an unnecessary SQL join improving import performance.
|
| [5544]
|
netweb
|
Move callback `callback_check_anonymous` from individual importers to `BBP_Converter_Base` in `converter.php`.
* Allows us to lean on `callback_userid` to determine multiple anonymous or guest topic and reply authors during import and reduces code duplication
Props netweb. See #2347
|
| [5543]
|
netweb
|
DB schema change for `wp_bbconverter_translator` converter sync table
* Increase `meta_value` maximum characters from 25 o 255 to allow for longer meta values during import
See #2650
|
| [5542]
|
netweb
|
Vanilla2: Include anonymous topic and reply import support in `Vanilla.php` importer
Props netweb. See #2347
|
| [5541]
|
netweb
|
Include anonymous topic and reply import support in `Drupal7.php` importer
Props netweb. See #2347
|
| [5540]
|
netweb
|
Drupal7: Add support for importing Drupal v7.x pending topics and replies. See #2645
|
| [5539]
|
netweb
|
Include anonymous topic and reply import support in `phpBB.php` and `SMF.php` importers
Props netweb. See #2347
|
| [5538]
|
netweb
|
Introduce support for importing anonymous topics and replies in `converter.php`
* Adds two new steps to the import conversion process:
* "Convert anonymous topic authors" and "Convert anonymous reply authors"
* Utilizes existing bbPress support for anonymous user topics and replies
* Adds post meta key `_bbp_anonymous_name` to imported anonymous topic and replies
* Depending on the forum being imported these may be referenced as anonymous, guest or deleted topics or replies
* Imported topics and replies are assigned post meta key `_bbp_old_topic_author_name_id` or `_bbp_old_reply_author_name_id` respectively that is then compared using the returned `true` or `false` in the callback function `callback_check_anonymous()` of each of importers that are are supported.
Props netweb. See #2347
|
| [5537]
|
netweb
|
Vanilla2 importer improvements:
* Don't import Vanilla 2's deleted topic or replies as both topic and reply content is deleted resulting in fragmented topic context
* Use `callback_topicid_to_forumid` to convert replies parent topic id to forum id eliminating a SQL join improving performance.
|
| [5536]
|
netweb
|
Drupal7: Don't import Drupal 7's guest user
|
| [5535]
|
netweb
|
Vanilla2: Don't import Vanilla 2's deleted users
|
| [5533]
|
netweb
|
Fix regression in `bbPress1.php` importer introduced in r5349 where topics were imported a second time as part of the reply section import.
|
| [5532]
|
netweb
|
Bump NPM package versions in package.json
"grunt-contrib-copy": "~0.5.0" -> "~0.6.0"
"grunt-contrib-uglify": "~0.5.1" -> "~0.6.0"
Requires npm install to update packages and dependencies
|
| [5531]
|
netweb
|
Add a leading slash to `phpunit.xml` in `.gitignore` to only ignore `phpunit.xml` in the root folder
|
| [5530]
|
netweb
|
Converter import user meta data improvements and fixes:
* Original 'old' user meta key is now defined using `_bbp_old_user_id`
* Fixes the "Purge Previous Import" optional removal of previously imported users when using the database sync_table.
* Updates all included importers with the above changes including the custom callback in `e107v1.php`
See #2650
|
| [5529]
|
netweb
|
punBB: Don't import punBB's guest user
|
| [5528]
|
netweb
|
phpBB: Don't import phpBB search engine bot/crawler user accounts, e.g Google Bot, Bing Bot
|
| [5527]
|
netweb
|
Converter import meta data improvements and fixes:
* Original 'old' hierarchical/threaded replies meta key is now defined using `_bbp_old_reply_to_id`
* Fixes the "Purge Previous Import" optional removal of previously imported hierarchical/threaded replies when using the database sync_table.
* Updates `Drupal7.php` importer compatibility for the above changes
See #2650
|
| [5526]
|
netweb
|
Importer templates updates to coincide with r5525 changeset to differentiating original forum, topic and reply meta ID's from new bbPress post meta keys.
* Renames `_bbp_forum_id` to `_bbp_old_forum_id`
* Renames `_bbp_topic_id` to `_bbp_old_topic_id`
* Renames `_bbp_post_id` to `_bbp_old_reply_id`
See #2650
|
| [5525]
|
netweb
|
Converter import meta data improvements and fixes:
* Original 'old' forum, topic or reply meta data is now explicitly defined using a common `_bbp_old` prefix in the post meta keys that clearly differentiates the new bbPress post meta from the original 'old' forum meta.
* Fixes the "Purge Previous Import" optional removal of previously imported forums, topics and replies when using the database sync_table. Meta keys ending with `_id` are now copied to the database sync_table.
See #2650
|
| [5524]
|
netweb
|
In `phpBB.php` importer use the correct `callback_forumid` callback for reply forum ID's.
|
| [5523]
|
netweb
|
Vanilla forum importer:
* Use the correct `callback_forumid` callback for reply forum ID's.
* Add support for importing Vanilla 'Announcements' as bbPress 'Sticky' topics
|
| [5522]
|
netweb
|
In `Phorum.php` importer use the correct `callback_forumid` callback for reply forum ID's.
|
| [5521]
|
netweb
|
Use tabs not spaces for indentation in `Kunena1.php`
|
| [5520]
|
netweb
|
In `Example.php` importer use the correct `callback_forumid` callback for reply forum ID's.
|
| [5519]
|
netweb
|
Improved `Drupal7.php` importer performance by leaning on our helper functions.
* Use `callback_topicid_to_forumid()` to convert the topic ID to forum ID eliminating an extra MySQL join.
|
| [5518]
|
netweb
|
Spelling typo in `bbp_toggle_reply_handler()`, in between words we use spaces.
|
| [5517]
|
netweb
|
In bbPress 1.x converter add support for closed topics via improved method in r5425.
Props netweb. Fixes #2125.
|
| [5516]
|
netweb
|
Include 'default' forum status and forum type meta keys in importers for databases that do not support these values.
* Forum status: `_bbp_status` = `open` meta
* Forum type: `_bbp_forum_type` = `forum`
Props netweb. See #2647
|
| [5515]
|
netweb
|
PHPDdoc corrections for topic and reply pending status approve and unapprove functions. See #2645
|
| [5514]
|
netweb
|
So `.gitignore` is whitespace sensitive. If you include trailing whitespace, git won't recognize your files.
|
| [5484]
|
netweb
|
Update Travis CI `.travis.yml`:
* Include WordPress .4.0 in test matrix
* Now that PHP 5.6 has been released move tests from "allowed to fail" to required
* Exclude PHP 5.6 and WordPress 3.7 from tests (Ignore the deprecated mysql_connect() warnings
|
| [5483]
|
netweb
|
Improved inline docs readability for Grunt task `jshint`.
|
| [5482]
|
netweb
|
Improved topic merge verbiage in form-topic-merge.php template.
Props johnjamesjacoby. Fixes #2539
|
| [5481]
|
netweb
|
Remove @ToDo 'Implement Feeds' PHPDoc reference in `bbp_register_view()`, feeds were added for views in r3171 and r3172. Fixes #2631
|
| [5480]
|
netweb
|
Updated `_admin.scss` via WP:changeset:29447, WP:changeset:29542, WP:changeset:29697. See #2583
|
| [5479]
|
netweb
|
Updated `_mixins.scss` via WP:changeset:29616, WP:changeset:29648. See #2583
|
| [5464]
|
netweb
|
Use `Topic Tag` term for singular topic tag context in 'at a glance' dashboard metabox. Fixes #2544
|
| [5463]
|
netweb
|
Bump NPM package versions in `package.json`
* "grunt-sass": "~0.14.0 -> "~0.14.1"
* "grunt-wp-i18n": "~0.4.7 -> "~0.4.8"
* Requires `npm install` to update packages and dependencies
|
| [5461]
|
netweb
|
Bump tested-up-to version to 4.0. (2.5 branch)
|