Skip to:
Content

bbPress.org

{33} Commit Messages, Current Release (4835 matches)

Report designed to help manage the list of contributors.

Note: If you'd like a RSS feed of the changesets a they happen, Please use the timeline rss feed instead.

Results (3601 - 3700 of 4835)

Changeset Author Message
[5189] johnjamesjacoby Check the `$author_id` before passing it into `bbp_is_user_keymaster()` in blacklist and moderation functions. Prevents accidental role escalation if `$author_id` is empty. See #2393.
[5596] johnjamesjacoby Check that `user_url` exists before attempting to allow it in max-links.
[5077] johnjamesjacoby Check that 'bbp_topic_status' is set before comparing to available topic statuses. Also, use bbp_get_topic_statuses() instead of hardcoded array.
[3045] johnjamesjacoby Check that $post global exists to prevent errors and debug notices on genuine 404 pages.
[3569] johnjamesjacoby Check query name in bbp_is_single_view(). See #1651, r3541. (2.1)
[3541] johnjamesjacoby Check query name in bbp_is_single_view(). Fixes #1651. Props !GautamGupta for original patch.
[2765] johnjamesjacoby Check proper 'moderate' cap on topic/reply admin actions. Fixes #1432.
[2853] johnjamesjacoby Check for valid topic and reply ID's on topic_author functions.
[3199] johnjamesjacoby Check for subforum count in bbp_list_forums() before running expensive IN queries on each forum.
[3148] johnjamesjacoby Check for different _get_meta_sql function names (since we are using it prematurely in WP 3.1)
[4940] johnjamesjacoby Check for both forum/topic archives when setting 'bbp_show_topics_on_root' query arg. Fixes paged 404's in configurations where a !WordPress page is used in place of the normal Forum archive. See #1500.
[2969] johnjamesjacoby Check for bbp_show_lead_topic() and adjust verbiage from "Replies" to "Posts" and show favorites/subscription links if set to false
[3562] johnjamesjacoby Check for active BuddyPress Group component before registering Forum extension.
[5611] johnjamesjacoby Check for `IXR_Value` class before including BackPress's version. Avoids collisions when deeply integrated with WordPress. For 1.1 & 1.2 branches.
[3827] johnjamesjacoby Check for BBPRESS_LATE_LOAD constant to enable bbPress to be loaded on plugins_loaded action instead of inline.
[2622] johnjamesjacoby Check caps on new topic and new reply forms
[3326] johnjamesjacoby Check appropriate cap in bbp_get_forum_topics_link(). See r3325.
[3839] johnjamesjacoby Check $anonymous_data variable before assuming array index exists in bbp_check_for_duplicate()
[4737] johnjamesjacoby Change topic and reply content filter order to move 'bbp_mention_filter' just behind 'make_clickable' since mentions are an extention of it. See #2185.
[3155] johnjamesjacoby Change the filter used on _bbp_root_slug from sanitize_title to esc_url_raw, to allow for a page path with slashes.
[3650] johnjamesjacoby Change the default class in bbp_list_forums() so it does not conflict with non-list forums.
[2911] johnjamesjacoby Change subscription checkbox text if the post is the current users or someone else's. Fixes #1462.
[3360] johnjamesjacoby Change size of metabox input boxes from 38 to 25, to prevent them from being wider than the parent element.
[2645] johnjamesjacoby Change phpDoc and rearrange functions in the order they are called
[3432] johnjamesjacoby Change hidden post status from protected to private, as we are now handling forum privacy scope manually. Fixes #1576.
[3458] johnjamesjacoby Change dashboard metabox header descriptions. Fixes #1599.
[3462] johnjamesjacoby Change behavior of bbp_is_topic_tag() to not include when editing a tag. Improvements to topic tag edit logic, and display Edit link in breadcrumb.
[5488] johnjamesjacoby Change behavior of `bbp_check_for_moderation()` so empty `moderation_keys` no longer skips `max_links` check. Props netweb. See #2546.
[2723] johnjamesjacoby Change bbp_convert_date description
[3383] johnjamesjacoby Change bbp-forum-info class to bbp-forum-content in same places. Fixes #1590. Props sorich87.
[2894] johnjamesjacoby Change @sinces on bbp_author_link functions, and include additional code to support getting the author link and avatar when the post_type is unknown.
[2943] johnjamesjacoby Change 'bbp-twentyten' theme from child to parent and include all of the standard twentyten theme files. Also wrap function_exists() checks around all functions in bbp-twentyten to allow them to be overloaded. Remove the 'bbp_' prefix form/topic/reply post types and include a routine in the database updater to handle this. The new post_type's are 'forum', 'topic', and 'reply' respectively. Rename 'bbp_topic_tag' taxonomy ID to 'topic-tag' and include a routine in the database updater to handle this. Change underscores in theme files to hyphens and remove 'bbp' prefix where applicable to comply with WordPress file standards. Update possible template file location options in bbp-general-functions.php for all standard template files. Include option for 'bbpress' or 'forums' subfolders inside the theme directory. This takes advantage of a known anomaly in the get_template_part() function that allows a subfolder to be passed.
[2925] johnjamesjacoby Change 'Forums' to 'Forum' in forums loop template file.
[2986] johnjamesjacoby Center vertical alignment of revision logs in topics and replies.
[5593] johnjamesjacoby Cast value as `(int)` in `bbp_get_form_forum_parent()`, ensuring it is numerical for the remaining call stack. See #2742.
[3133] johnjamesjacoby Cast return values of bbp_get_hidden_form_ids() and bbp_get_private_forum_ids() to prevent debug notices when both of these values exist but are single values or empty strings.
[2851] johnjamesjacoby Cast return values as (int) where appropriate. Adjust _last_ functions to be more friendly with anonymous user data. Test some logic with _last_ forum/topic/reply where if reply_id does not exist, fall back to topic_id. Remove various strict empty string checks as they should no longer be needed.
[2957] johnjamesjacoby Carry over the view=all query arguments into other appropriate forum/topic/reply links on the forum pages. This eliminates the inconsistent user experience of asking to view trashed/spammed topics or replies, and being taken to pages where you cannot see those topics/replies.
[6783] johnjamesjacoby Caps: Check for `$args[0]` and bail if empty. This change avoids debug notices when single forum/topic/reply capability checks are done without having passed in a post ID. Props espellcaste, chriscct7. Fixes #3190.
[4219] johnjamesjacoby Caps: * Prevent users from seeing their own caps if allowed in wp-admin.
[5215] johnjamesjacoby Capitalize `bbpress::instance();` to `bbPress::instance()` to avoid class/function confusion.
[2866] johnjamesjacoby Capital P... Dangit! Props westi.
[6713] johnjamesjacoby Capabilities: prevent edits when past the edit-lock time. This change increases the priority of the `moderator` check, so that moderators are not subjected to edit-lock restrictions, and maps to `do_not_allow` for topic/reply authors who normally can edit but are now beyond the allotted time period. Fixes #3164. Props SergeyBiryukov.
[6714] johnjamesjacoby Capabilities: first pass at single topic-tag cap mappings. This change adds IDs where appropriate, and introduces single term cap checks with intelligent comparisons that match the approach used by forums, topics, and replies. * Inactive users cannot assign, manage, edit, or delete * Moderators can assign, manage, edit, and delete * Participants can assign * Spectators & Blocked users still cannot manipulate topic tags in any way This prepares bbPress for third-party plugins to leverage topic-tags in ways it otherwise wasn't prepared to do. See #3167.
[6972] johnjamesjacoby Capabilities: break instead of return; This commit ensures that the relative `_meta_caps` filters continue to be executed within their expected contexts. Previous to this change, certain mapped capability checks would bail out early and return `$caps` without the ability to filter the results. With this change, mapped capabilities can now be filtered more logically and inline with the rest of the surrounding logic. For 2.6.2.
[6975] johnjamesjacoby Capabilities: break instead of return. This commit ensures that the relative _meta_caps filters continue to be executed within their expected contexts. Previous to this change, certain mapped capability checks would bail out early and return $caps without the ability to filter the results. With this change, mapped capabilities can now be filtered more logically and inline with the rest of the surrounding logic. For 2.7, trunk.
[5852] johnjamesjacoby Capabilities: add `delete_posts` mappings to `delete` topic & reply checks. This changeset ensures that capable users can delete their own topics & replies, when these capabilities are explicitly allowed already. Props netweb, gusrb84. Fixes #2685.
[6561] johnjamesjacoby Capabilities: Skip double checks in `bbp_is_user_inactive()`, and use `bbp_get_user_id()` in `bbp_is_user_keymaster()`. This change cleans up a few user capability functions, to use internal handlers and allow filters (like `bbp_get_user_id`) to be applied as expected in the given context.
[6571] johnjamesjacoby Capabilities: Logic improvements to help with per-forum moderation. * Introduce `moderate_forum` capability check, used to check if a user has the ability to moderate a specific forum * Limit number of direct `keep_gate` checks, and use `bbp_is_user_keymaster()` where possible * Make `bbp_is_user_forum_moderator()` check the new `moderate_forum` mapped capability * Have the `moderate` mapped capability check `moderate_forum` if the `$args[0]` can be bubbled up to being a forum ID * Map admin post-type areas to their appropriate `edit_` capabilities – they are now properly handled via other mapped conditions This change (along with r6567 & r6569) allows private & hidden forums to appear in forums queries for users who can moderate them.
[6265] netweb Capabilities: Fix inline docs copy pasta introduced in [5852] See #2685
[4355] johnjamesjacoby Capabilities: * When transitioning a user role, avoid giving them the visitor role unless explicitly intended. * See #1939.
[4542] johnjamesjacoby Capabilities: * Verbiage change for forums role selector. * Fixes #2079 (trunk)
[4541] johnjamesjacoby Capabilities: * Verbiage change for forums role selector. * Fixes #2079 (2.2 branch)
[4206] johnjamesjacoby Capabilities: * Use current_user_can( 'read' ) instead of is_user_member_of_blog() in bbp_set_current_user_default_role(). * Fixes issue where auto-role would not apply on single site, or multisite if user had orphaned caps.
[4317] johnjamesjacoby Capabilities: * Use correct 'bbp_set_user_role' filter name. * Reset user caps when setting auto-role. * See #1939.
[4298] johnjamesjacoby Capabilities: * Use correct $roles variable in bbp_get_user_role(). * See #1939.
[4340] johnjamesjacoby Capabilities: * Use bbp_get_user_role() to get the user's forums role. * Update bbp_set_user_role() to return false if trying to set a role the user already has. * Remove foreach loop to remove existing roles, since there's no way to naturally have more than one. * See #1939.
[4337] johnjamesjacoby Capabilities: * Use bbp_get_default_role() in bbp_get_user_role_map(). * See #1939.
[4312] johnjamesjacoby Capabilities: * Use bbp_get_current_user_id() in bbp_set_current_user_default_role(). * See #1939.
[4186] johnjamesjacoby Capabilities: * Update phpdoc for bbp_set_current_user_default_role(). * See #1942.
[4366] johnjamesjacoby Capabilities: * Update notices in deprecated add/remove roles functions. * See #1939.
[4282] johnjamesjacoby Capabilities: * Update mapped caps in map_settings_meta_caps(). * Fixes missing !BuddyPress and Akismet settings on single-site installations. * Fixes #2000.
[4353] johnjamesjacoby Capabilities: * Update inline doc for 'spectate' VS 'participate'. * See #1939.
[4297] johnjamesjacoby Capabilities: * Update bbp_set_user_role() and bbp_get_user_role() to only work with bbPress forums roles. * See #1939.
[4308] johnjamesjacoby Capabilities: * Update bbp_profile_update_capabilities() to include saving forums roles. * When saving a role, remove any individual forums capabilities that were set. * Add some legacy caps to primary group, so they are correctly removed. * See #1939.
[4311] johnjamesjacoby Capabilities: * Update bbp_map_primary_meta_caps() to block for inactive users, and check cap for active users. * See #1939.
[4207] johnjamesjacoby Capabilities: * Update bbp_get_user_display_role() to use special capabilities.
[4302] johnjamesjacoby Capabilities: * Update bbp_edit_user_blog_role() and bbp_edit_user_forums_role() to use appropriate functions to get role arrays. * See #1939.
[4306] johnjamesjacoby Capabilities: * Update bbp-default templates to support new roles UI. * See #1939.
[4301] johnjamesjacoby Capabilities: * Update BBP_User_Admin to use roles UI instead of capabilities. * Leave capabilities in for now, but hidden behind a switch function. * See #1939.
[4291] johnjamesjacoby Capabilities: * Tweak phpdoc and cast type on return of bbp_use_advanced_capability_editor(). * See #1939.
[4172] johnjamesjacoby Capabilities: * Tweak CSS for capability UI to fix layout issues with varying height divs.
[4336] johnjamesjacoby Capabilities: * Switch default value of global access to 1. * Fixes confusion about why users are not automatically added to forums. * See #1939.
[4374] johnjamesjacoby Capabilities: * Since bbp_set_current_user_default_role() is directly hooked to switch_blog, add deactivation check to prevent php warnings. * See #1939.
[4433] johnjamesjacoby Capabilities: * Set default param values in all map_meta_cap filters, incase none are passed or type cast correctly.
[4244] johnjamesjacoby Capabilities: * Separate capabilities into files for their respective components. * Add minimum capability to topic views. (Assume no cap is public.) * Make bbp_map_meta_caps a subaction, and move it to bbp-core-dependency.php. * Introduce component meta map functions in each -caps.php file. * Update bbp_current_user_can_see() to use capabilities instead of being a boolean switch. * Working towards removing the need to add/remove caps to existing roles, allowing them to be strictly per user as needed.
[4314] johnjamesjacoby Capabilities: * Revert r4313. * Remove negative 'blocked' capability; use not 'spectate' instead. * See #1939.
[4066] johnjamesjacoby Capabilities: * Revert r4064, as the 'read' capability is used to check for participant role mask. * See #1887.
[4367] johnjamesjacoby Capabilities: * Reverse logic in bbp_user_has_profile(). * Assume all users have profiles, and they must be explicitly disabled. * This is a more natural default behavior, as rarely will a site need to restrict a user's profile to a specific central site. * See #1939.
[4185] johnjamesjacoby Capabilities: * Rename global role masking to bbp_set_current_user_default_role(). * Update phpdoc and action usages. * See #1942.
[4352] johnjamesjacoby Capabilities: * Rename bbp_get_editable_roles() to bbp_get_dynamic_roles(). * This new function name better represents bbPress's approach to secondary user roles, in that these roles are no longer intentionally saved to the database. * See #1939.
[4354] johnjamesjacoby Capabilities: * Rename 'anonymous' role to 'visitor' to avoid confusion with logged-out anonymity. * Renames functions, keys, filters, et all. * See #1939.
[4292] johnjamesjacoby Capabilities: * Remove trailing whitespace in core/capabilities.php. * See #1939.
[4164] johnjamesjacoby Capabilities: * Remove roles and move everything to mapped capabilities. * First pass at admin-side forum capability manager. * Deprecate moderator, anonymous, and participant roles and associated functions. * Deprecate add/remove role/cap functions. * More cap mapping needed for users that are not explicitly blocked. * Adds cap check to forms for topic-tag adding/editing. * See #1939
[4168] johnjamesjacoby Capabilities: * Remove negative 'blocked' cap and use positive 'participate' cap instead. * Replaces old 'bbp_participant' role nicely.
[4349] johnjamesjacoby Capabilities: * Remove most capability mappings to 'participate' cap. * Update bbp_set_current_user_default_role() to dynamically map a logged in user if global access is turned off. * Provides alternative to users being granted a database role without taking any action. * This makes bbPress work similarly to comments, though a decision needs to be made regarding profile pages for these "anonymous" users.
[4080] johnjamesjacoby Capabilities: * Remove is_multisite() checks from role masking, to allow single-site installs with shared user tables to still mask roles. * See #1894.
[4083] johnjamesjacoby Capabilities: * Remove is_multisite() checks from role masking, to allow single-site installs with shared user tables to still mask roles. * See #1894 (2.2 branch)
[4222] johnjamesjacoby Capabilities: * Remove experimental Bozo functionality. We can use the 'participate' to prevent forum participation without creating topics or replies. * Introduce functions to reset, save, and remove user capabilities. * Use these functions in both theme-side and admin-side profiles. * Add capabilities to bbp-twentyten theme. This will be moved into the stand-alone bbp-twentyten theme soon'ish.
[4319] johnjamesjacoby Capabilities: * Remove caps before setting new role in bbp_profile_update_capabilities(). * See #1939.
[4412] johnjamesjacoby Capabilities: * Remove call to array_diff_assoc() in bbp_filter_blog_editable_roles(). * Use two foreach() loops instead. * Randomly stopped working; no time before 2.2 to investigate.
[4180] johnjamesjacoby Capabilities: * Remove bbp_masked capability when setting the user role. * Do not set a fake role in bbp_global_access_role_mask(). * Rename variable in bbp_global_access_role_mask() to be more literal. * Add note to phpdoc of bbp_global_access_role_mask().
[4320] johnjamesjacoby Capabilities: * Remove all previous forums roles in bbp_set_user_role(). * Use direct array intersection instead of bbp_get_user_role(). * Fixes issue where users can have more than 1 forum role. * See #1939.
[4330] johnjamesjacoby Capabilities: * Remove advanced capabilities code, template part, and UI helpers. * This has been replaced by the forums roles selection. * See #1939.
[4064] johnjamesjacoby Capabilities: * Remap 'read' capability to moderator and lesser roles, since it will be needed by bbPress to read most things. * Fixes #1887.
[4375] johnjamesjacoby Capabilities: * Rehook bbp_set_current_user_default_role() back to 'bbp_setup_current_user'. * Now that deactivation check has moved, it's safe to hook this directly again. * Remove from bbPress::setup_current_user(). * See #1939.
[4165] johnjamesjacoby Capabilities: * Reference correct function in bbp_add_caps() * See #1939
[4339] johnjamesjacoby Capabilities: * PHP5'ize list table BBP_Users_Admin methods. * See #2012.
[4431] johnjamesjacoby Capabilities: * Only try to add the new role if there's a new role to add.
[4360] johnjamesjacoby Capabilities: * Only setup the default current user role when the current user has been byref copied into bbPress's instance. * Fixes issue where some core actions are suppressed during the deactivation process, causing an action order conflict with current_user. * Fixes #1939.
Note: See TracReports for help on using and creating reports.