[5383]
|
netweb
|
Fix .editorconfig file, file should be a file not a diff.
Props thebrandonallen. Fixes #2612
|
[5362]
|
netweb
|
Add .editorconfig file, see http://editorconfig.org/.
"EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs."
Props netweb. Fixes #2598
|
[5354]
|
netweb
|
Improved topic merge verbiage in `form-topic-merge.php` template.
Props gautamgupta. Fixes #2539
|
[5353]
|
netweb
|
Fix @since PHPDoc for `toggle_forum` and `toggle_forum_notice` in /includes/admin/forums.php
|
[5352]
|
netweb
|
Introduce e107 v1.x importer
Props netweb. Fixes #2421
|
[5350]
|
netweb
|
Add support to vBulletin importer for 'YouTube Share' BBCode
Props netweb. Fixes #2601
|
[5349]
|
netweb
|
Replies now use the reply ID for the the post name/slug via r5117.
bbPress' importers should also reflect that change with the removal of 'Reply Title' (post_title), 'Reply Slug' (post_name) and `callback_reply_title` from all importers. Props netweb. Fixes #2585
|
[5348]
|
netweb
|
Update `grunt-wp-i18n` to `0.4.4`
Changelog via https://github.com/blazersix/grunt-wp-i18n/blob/develop/README.md
* Added the potComments option to change the copyright message.
* bbPress: Not implementing this at this stage as the current copyright header text is sufficient
* Added the updateTimestamp option to prevent the POT-Creation-Header from being updated if there aren't any other changes in the POT file.
* bbPress: Not implementing this at this stage as the default is `true` and that is fine
* Requires `npm install` to update packages and dependencies
* Props netweb. See #2542
|
[5347]
|
netweb
|
Update `grunt` to `0.4.5` now that depreciated Grunt.util.* API is addressed via 2576
* Upstream changelog https://github.com/gruntjs/grunt/blob/v0.4.5/CHANGELOG
* Requires `npm install` to update packages and dependencies
* Props netweb. See #2542
|
[5346]
|
netweb
|
Grunt is deprecating the Grunt.Util.* api, adding `grunt-legacy-util` will allow us to continue using `grunt.util.spawn` to spawn the multiple `phpunit` Grunt tasks.
* Adds `grunt-legacy-util` to `package.json`
* Requires fresh `npm install` to update dependencies
* Props netweb. Fixes #2576
|
[5344]
|
netweb
|
More Grunt updates
* Adds `uglify:dynamic` to `grunt uglify` so that `grunt watch` -> `watch:js` tasks can dynamicly minify Javascript files with the `grunt watch` task.
* Improved inline documentation for grunt jshint task.
* Props netweb. See #2542
|
[5343]
|
netweb
|
Updated base admin styles SCSS
* Color scheme support for widget choosers via WP:changeset:28122
* 'About Page' updated styles via WP:changeset:28127
Fixes #2583
|
[5342]
|
netweb
|
Use correct PHPUnit configuration file `phpunit.xml.dist` for Grunt task `grunt phpunit`
* Props netweb. See #2542
|
[5339]
|
netweb
|
Bump NPM package versions in `package.json`
"grunt-contrib-jshint": "~0.9.2 -> "~0.10.0" http://npmjs.org/package/grunt-contrib-jshint
"grunt-sass": "~0.12.0" -> "~0.12.1" http://npmjs.org/package/grunt-sass
* Requires `npm install` to update packages and dependencies
* Props netweb. See #2542
|
[5336]
|
netweb
|
In `.jshintrc` ignore undefined variables so `grunt jshint` task completes without error.
(reference variables created by WordPress dependencies or API's)
* Props netweb. Fixes #2578
|
[5333]
|
netweb
|
More grunt updates:
* Include bbPress version via `package.json` in the 'banner' of minified CSS & JS files
* Include current date and time (UTC) in the 'banner' of minified CSS & JS files
* Props netweb. See #2542
|
[5332]
|
netweb
|
SMF Importer BBCode regex expressions
* Fix copy pasta `<br>`/`<tt>` regex
* Add non-break space ` ` to space ` ` rexex
Props mspecht. Fixes @2558
|
[5328]
|
netweb
|
Bump NPM package versions in `package.json`
"grunt-contrib-cssmin": "~0.7.0" -> "~0.9.0" http://npmjs.org/package/grunt-contrib-cssmin
"grunt-contrib-uglify": "~0.3.0" -> "~0.4.0" http://npmjs.org/package/grunt-contrib-uglify
"grunt-contrib-watch": "~0.5.3" -> "~0.6.1" http://npmjs.org/package/grunt-contrib-watch
"grunt-contrib-jshint": "~0.8.0" -> "~0.9.2" http://npmjs.org/package/grunt-contrib-jshint
"grunt-sass": "~0.10.0" -> "~0.12.0" http://npmjs.org/package/grunt-sass
* Requires `npm install` to update packages and dependencies
* Props netweb. See #2542
|
[5327]
|
netweb
|
Bump NPM package versions in `package.json`
* `grunt-wp-i18n` to v0.4.3 https://www.npmjs.org/package/grunt-wp-i18n
* Fixes numerous PHP error notices
* Add's support for custom headers in bbpress.pot
* ['report-msgid-bugs-to'] = 'https://bbpress.trac.wordpress.org';;
* ['last-translator'] = 'JOHN JAMES JACOBY <jjj@bbpress.org>';
* ['language-team'] = 'ENGLISH <jjj@bbpress.org>';
* Requires `npm install` to update packages and dependencies
* Props netweb. See #2542
|
[5326]
|
netweb
|
More grunt updates:
* Add `grunt-patch-wordpress` to `package.json`
* Adds grunt task `grunt patch` to `grunt build` and `grunt build-release`
* Requires fresh `npm install` to update dependencies
* Full instructions https://github.com/aaronjorbin/grunt-patch-wordpress#patching-from-the-command-line
* Props jorbin. See #2542
|
[5323]
|
netweb
|
Rename PHPUnit config file from phpunit.xml to phpunit.xml.dist
* PHPUnit supports config files with both these names, but will use phpunit.xml over the .dist version.
* Renaming our file lets users add/edit their own phpunit.xml without editing a bbPress core file.
* Hattip djpaul via [BuddyPress:r8098]
* Props netweb. See #2542
|
[5319]
|
netweb
|
Fix duplicate action name in form-forum.php. Props netweb. Fixes #2560
|
[5306]
|
netweb
|
Use `height: auto;` alongside `max-width: 100%;` in `bbpress.css` to maintain image aspect ratio. Props robin-w. Fixes #2553
|
[5296]
|
netweb
|
Bump NPM package versions in `package.json`
* `grunt-contrib-cssmin` to v0.8.0 https://www.npmjs.org/package/grunt-contrib-cssmin
* `grunt-sass` to v~0.11.0 https://www.npmjs.org/package/grunt-sass
* `grunt-phpunit` to v0.3.3 https://www.npmjs.org/package/grunt-phpunit
* `grunt-exec` to v0.4.5 https://www.npmjs.org/package/grunt-exec
* Requires `npm install` to update packages and dependencies
* Props netweb. See #2542
|
[5295]
|
netweb
|
More Grunt: Switch from `grunt-pot` to `grunt-wp-i18n`
* Remove `grunt-pot` from `package.json`
* Add `grunt-wp-i18n` to `package.json`
* Adds grunt task `grunt makebot` to `grunt build` and `grunt build-release`
* Creates `bbpress.pot` in `/build`
* Requires fresh `npm install` to update dependencies
* Props netweb. See #2542
|
[5294]
|
netweb
|
More Grunt updates, fixes `grunt watch` task not RTL'ing or minifying CSS files.
* Use explicit CSS file names, avoids ambiguous LTR CSS (avoids LTR = `*.css` including `bbpress-rtl.css`)
* Remove `cssmin:colors` and include Mint and Evergreen CSS minification in `cssmin:core`
* Remove `cssjanus:colors` and include Mint and Evergreen RTL CSS in `cssjanus:core`
* Use `BUILD_DIR` (not `SOURCE_DIR`) to compile RTL CSS `cssjanus`
* Use `BUILD_DIR` (not `SOURCE_DIR`) to compile and LTR & RTL minified CSS with `cssmin`
* Add Grunt tasks `cssjanus:core`, `cssmin:ltr` and `cssmin:rtl` to `grunt watch` -> `watch:colors` task
* Add Grunt tasks `cssmin:ltr` and `cssmin:rtl` to `grunt watch` -> `watch:rtl` task
* Reorders `grunt build` and `grunt build-release` tasks to firstly copy `bbpress.css`, and `admin.css`, then create Mint and Evergreen CSS using `colors` , then RTL all the CSS with `cssjanus:core`, then minify all the CSS with `cssmin:ltr` and `cssmin:rtl`
* Props netweb. See #2542
|
[5291]
|
netweb
|
Fix incorrect `bbbpress` text domain used `bbp_get_topic_pagination_count`. Props netweb. Fixes #2549.
|
[5284]
|
netweb
|
Remove `tests/phpunit/data/.trac-ticket-cache*` from .gitignore (only required in WP develop repo). See #2542
|
[5278]
|
netweb
|
Include .gitignore file for Git based repo. See #2542
|
[5277]
|
netweb
|
Remove existing minified CSS, Grunt build process now takes care of this. See #2542.
|
[5265]
|
netweb
|
Remove deprecated screen_icon() calls. Props netweb. Fixes #2538
|
[5257]
|
netweb
|
Remove `pre_get_posts` action `bbp_pre_get_posts_normalize_forum_visibility` from forum visibility repair tool to prevent hidden and private post status injected into WP_Query. Props thebrandonallen. Fixes #2512
|
[5254]
|
netweb
|
Include backend admin open and close forum row actions. Props netweb. Fixes #2491.
|
[5253]
|
netweb
|
Remove hard coded post type references in repair tools. Props thebrandonallen. Fixes #2510
|
[5241]
|
netweb
|
Relocate `login_form` action hook outside `bbp-submit-wrapper` form submit wrapper in `form-user-login.php` and `form-user-lost-pass.php` templates. Props icu0755. Fixes #2500 (trunk)
|
[5240]
|
netweb
|
Relocate `login_form` action hook outside `bbp-submit-wrapper` form submit wrapper in `form-user-login.php` and `form-user-lost-pass.php` templates. Props icu0755. Fixes #2500 (2.5 branch)
|
[5230]
|
netweb
|
Include `bbp_is_replies_created` in bbPress CSS body classes and include `bbp_is_replies_created` in `is_bbpress()` function. Props netweb. Fixes #2489
|
[5229]
|
netweb
|
Bump readme.txt Tested version. Fixes #2490 (2.5 branch)
|
[5228]
|
netweb
|
Bump readme.txt Tested version. Fixes #2490
|
[5193]
|
netweb
|
Updated What's New
|
[5191]
|
netweb
|
Introduce SMF v2.x bbPress importer. Props netweb. Fixes #2380
|
[5180]
|
netweb
|
Protect topic and reply author link calls from non-existant users. Props jondavidjohn. Fixes #2381
|
[5176]
|
netweb
|
Include support for custom topic tag slugs and descriptions during import. Props netweb. Fixes #2399
* Support included for bbPress v1.x , Drupal, Example, PHPFox, vBulletin v3.x & v4.x
|
[5170]
|
netweb
|
Include 'sticky' and 'super sticky' import capabilities for the following forum importers:
* AEF, Drupal7, Example, FluxBB, Invision, Mingle, MyBB, phpBB, PHPFox, PunBB, SimplePress, vBulletin v4.x, vBulletin v3.x, Xenforo and XMB forum importers
|
[5160]
|
netweb
|
Improved SQL join expression for topics 'post_content' in Mingle.php importer. Props netweb. Fixes #2472
|
[5159]
|
netweb
|
Fix copy pasta in user profile subscriptions template. See #2299
|
[5154]
|
netweb
|
Introduce PunBB v1.4.x bbPress importer. Props netweb. Fixes #2379
|
[5153]
|
netweb
|
vBulletin v4.x Importer Improvements. Props netweb. Fixes #2469
* Added Forum total topic count
* Added Forum total reply count
* Added Forum/Category type field mapping & callback
* Added Topic total reply count
* Added Topic author ip
* Added Store old user salt in usermeta
* Added Reply slug
* Improved inline docs
|
[5152]
|
netweb
|
Introduce vBulletin v3.x bbPress importer. Props netweb. Fixes #2147
|
[5151]
|
netweb
|
SimplePress Importer Improvements. Props netweb. Fixes #2194
* Add reply slug field mapping
* Add custom regex for non-break spaces in HTML
|
[5150]
|
netweb
|
phpBB Importer Improvements. Props netweb. Fixes #2467
* Added forum type callback for if forum is a Forum or Category
* Added reply title callback for clean reply titles
* Improved inline docs
|
[5149]
|
netweb
|
Vanilla importer improvements. Props netweb. Fixes #2466
* Add Topic total reply count
* Add Reply slug
|
[5148]
|
netweb
|
Invision bbPress importer improvements. Props netweb. Fixes #2465
* Full compatibility with Invision Power Board v3.1x, v3.2x, v3.3x & v3.4x versions
* Removed conflicting extra user profile fields
* Added forum type if forum is a Forum or Category
* Fixed Forum slug field mapping
* Improved inline docs
|
[5147]
|
netweb
|
Introduce PHPFox bbPress importer. Props netweb. Fixes #2415
|
[5146]
|
netweb
|
Introduce XenForo bbPress importer. Props netweb. Fixes #2403
|
[5145]
|
netweb
|
Introduce Kunena Forums for Joomla bbPress importers. Props netweb. Fixes #2402
* Kunena1.php for Kunena v1.x Forums
* Kunena2.php for Kunena v2.x Forums
* Kunena3.php for Kunena v3.x Forums
|
[5144]
|
netweb
|
Introduce XMB bbPress importer. Props netweb. Fixes #2404
|
[5143]
|
netweb
|
Introduce PHPWind bbPress importer. Props netweb. Fixes #2395
|
[5142]
|
netweb
|
Introduce Phorum bbPress importer. Props netweb. Fixes #2382
|
[5141]
|
netweb
|
Introduce MyBB bbPress importer. Props netweb. Fixes #2378
|
[5140]
|
netweb
|
Introduce Advanced Electron Forum v1.x bbPress importer. Props netweb. Fixes #2384
|
[5139]
|
netweb
|
Introduce FluxBB bbPress importer. Props netweb. Fixes #2383
|
[5138]
|
netweb
|
Introduce Drupal v7.x bbPress importer. Props netweb. Fixes #2375
|
[5137]
|
netweb
|
Adds a link to bbPress about page to the admin bar. Props MZAWeb. Fixes #2035
|
[5136]
|
netweb
|
bbPress1.php converter improvements. Props netweb. Fixes #2460
* Add forum category conversion support
* Add _bbp_total_reply_count
* Fix Topic slug field mapping
* Add Reply slug field mapping
* Improved inline docs
|
[5615]
|
nacin
|
bbPress 1.x: Use the same user cache group names as WordPress.
See also https://backpress.trac.wordpress.org/changeset/360.
|
[5598]
|
nacin
|
Fix notice in bozo plugin.
|
[5597]
|
nacin
|
Avoid notices in bbPress Akismet plugin-like hack thing.
|
[5595]
|
nacin
|
bbPress 1.x: Call bb_get_user() from bb_get_user_by_nicename().
This ensures that this gem runs from bb_get_user() on profile pages: "Re calculate the user's meta in case we're pulling from a value cached on another site". So far, we know this has manifested itself as causing incorrect pagination for activity on profile pages, based on which site did the initial caching.
In an ideal world, these "short" keys would use a magic getter on BP_User, but user objects in bbPress 1.x are mostly stdClass objects in practice. Fun times.
|
[5552]
|
nacin
|
bbPress 1.x: Clear user activation keys after password changes.
The code previously cleared activation keys after they were used to reset a password, but not if a user logs in to change the password on their own (say, if they remember it). Also, actually remove the DB row, rather than emptying it.
|
[5305]
|
nacin
|
bbPress 1.x: Allow log-in attempt even if we think the user is already logged in.
If your session cookie's internal expiration time has passed, we give you a grace period of one hour for POST and XHR requests. If within that hour you're trying to log in again, the grace period goes into effect for the POST. Then bb-login.php kicks you out because it thinks you're already logged in, instead of setting a new cookie for you.
So long, heisenbug.
|
[5231]
|
nacin
|
Ancient bbPress: Adjust error reporting to cope with PHP 5.4.
|
[4895]
|
nacin
|
When preparing a search term for bb_get_title(), strip slashes, as our data comes directly from the slashed superglobals.
fixes https://core.trac.wordpress.org/ticket/17304.
|
[3895]
|
nacin
|
Issue a Last-Modified header in rss.php in the proper HTTP-date format per RFC 1123.
The parameter documentation of bb_send_304() requires an HTTP-date, so only fixing the caller.
Incorrect: 2012-05-10 00:49:56
Correct: Tue, 15 Nov 1994 08:12:31 GMT
|
[3854]
|
nacin
|
In bb_create_tag(), avoid calling list() on the insert_term() method of the taxonomy object, as this method may return WP_Error.
Calling list() on a WP_Error object would result in a fatal error. Instead, check for WP_Error before breaking up the return value.
props otto42. for bbPress 1.1.
|
[3853]
|
nacin
|
In bb_create_tag(), avoid calling list() on the insert_term() method of the taxonomy object, as this method may return WP_Error.
Calling list() on a WP_Error object would result in a fatal error. Instead, check for WP_Error before breaking up the return value.
props otto42. for bbPress standalone trunk.
|
[3847]
|
nacin
|
Port [3794], [3795] from trunk to branches/1.1.
|
[3846]
|
nacin
|
bbPress 1.1 branch: Fix issue with author of post_id 1 appearing as topic last poster when first post is created by a bozo'ed user. props johnjamesjacoby.
Backports [3796] to the 1.1 branch.
|
[2855]
|
mdawaffe
|
Revert a piece of [2800]. bbPress (unlike WordPress), uses term taxonomy IDs as tag IDs instead of term IDs.
I cannot reproduce the reported destroy tag bug, but I would not be surprised if there are still some bugs around this term taxonomy ID v. term ID mess.
See #1353
|
[2726]
|
mdawaffe
|
get_forum() is deprecated. use bb_get_forum()
|
[2725]
|
mdawaffe
|
_bb_get_cached_data() was using the wrong callback
|
[2719]
|
mdawaffe
|
get_recent_user_replies() was returning the first post in each topic, not the last.
I'm not sure how this ever worked: http://dev.mysql.com/doc/refman/5.0/en/example-maximum-column-group-row.html
Switch to MAX( post_id ) and ignore post_time for now.
|
[2718]
|
mdawaffe
|
recalculate a user's meta in case we're pulling from a value cache on another site
|
[2717]
|
mdawaffe
|
make sure we're always reading from the correct user meta key
|
[2710]
|
mdawaffe
|
the bb_forum_slug cache group should store forum IDs not forum objects
|
[2580]
|
mdawaffe
|
[2502] breaks post ordering for non-trivial ORDER BY statements.
Fix by reordering according to the returned value from the query or cache.
Fixes #1301.
|
[2539]
|
mdawaffe
|
Do not localize times in feeds: restore [2132]. Fixes #1092. See #1280.
|
[2537]
|
mdawaffe
|
To prevent meta duplication from race conditions, replication lag, etc.,
support sites that that choose to add a UNIQUE key to their meta table.
We still need to support sites with the default keys, so
don't get rid of the current if ( get ) { update } else { insert }
just replace it with if ( get ) { update } else { insert on duplicate key update }
|
[2530]
|
mdawaffe
|
fix _bb_make_tag_compat() to work on array input. Make sure tt_id is always an (int). WS.
|
[2529]
|
mdawaffe
|
bp_bbpress_cron_check get's loaded all the time anyway, so just load it up front
|
[2528]
|
mdawaffe
|
Relearn the ropes: bump version
|
[2527]
|
mdawaffe
|
bring back ghetto $tagged_topic_count used by tag_pages()
|
[2526]
|
mdawaffe
|
remove debug code that slipped into [2525]
|
[2525]
|
mdawaffe
|
finally fix 3 year old note: use join instead of IN(...) for tagged topics/posts in BB_Query
|
[2501]
|
mdawaffe
|
bbPress uses term_taxonomy_id as the tag's ID. BackPress uses term_id as the tag's ID.
When removing a tag, the two ids were getting confused resulting in set_object_terms() being called with the incorrect IDs.
That incorrect call to set_object_terms() resulted in 'random' tags being applied to a topic after deleting a tag.
|
[7291]
|
johnjamesjacoby
|
Tag 2.6.12.
|
[7290]
|
johnjamesjacoby
|
Bump 2.6 branch to 2.6.12.
|
[7289]
|
johnjamesjacoby
|
Users: bail early out of profile-update if also during user sign-up.
This change ensures that the `bbp_profile_update_role()` function does not unintentionally run during user registration.
Props mungah, h1-2999394.
In trunk, for 2.7.
|
[7288]
|
johnjamesjacoby
|
Users: bail early out of profile-update if also during user sign-up.
This change ensures that the `bbp_profile_update_role()` function does not unintentionally run during user registration.
Props mungah, h1-2999394.
In branches/2.6, for 2.6.12.
|
[7283]
|
johnjamesjacoby
|
Tools: update npm packages for Grunt tasks.
This change:
* swaps in `terser` & `@wordpress/stylelint-config`
* updates stylelint to 15.11.0 (with `scss` support)
* adds separate stylelint config files for both CSS and SCSS (and deletes the original auto-loaded `.stylelintrc` file)
This is just enough to get Grunt unclogged and working again without complaining too much.
----
To make this work:
* Recommend to install NVM to make using npm 18 easier
* `nvm use 18`
* `npm install --legacy-peer-deps --save-dev`
Once complete, the various `grunt` CLI commands should work again without any problems (for now!)
|