Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[5.1.1] - 2022-07-28

Fixed

  • Elementor button widgets have no default styles.
  • Username disappeared from the error messages.

[5.1.0] - 2022-05-10

Added

  • Shortcode to output connected Discord profile id.
  • Shortcode to output connected Discord profile username.

Fixed

  • .git directory removed from the archive.
  • Curls no longer verify the authenticity of the peer's certificate.

[5.0.4] - 2022-04-28

Fixed

  • Users with special characters in the name were not able to register.

[5.0.3] - 2022-04-04

Fixed

  • WP 5.9 welcome banner appears on authorization help note.
  • Double announcements on post update.

[5.0.2] - 2022-02-10

Fixed

  • Cashing of buttons redirects.

[5.0.1] - 2022-02-02

Fixed

  • Bug with constant Woocommerce orders announcements.

[5.0.0] - 2022-01-10

Added

  • Icon for sharing Gutenberg block and Elementor widget.

Fixed

  • Bug with icons in WP 4.9.

[5.0.0-beta.11]

Added

  • Other plugins notifications now hidden on settings page.

Fixed

  • Comments button now appears and disappears properly if the user logged in or not.

[5.0.0-beta.10]

Added

  • You can now put an authorization button on comment forms for all CPT.
  • [Customer Request] Blocks and shortcode to share an article to the selected guild.
  • [Customer Request] BuddyPress integration.
  • [Customer Request] Option to add Login with Discord button to default WP login form.
  • Option to add MemberPress account page to use it for Discord components.
  • Buttons now have been named by type in CSS classes.

[5.0.0-beta.9]

Added

  • Support for Ultimate Member account icons.

Changed

  • Account pages now output Gutenberg blocks and Elementor widgets.

[5.0.0-beta.8]

Added

  • [Customer Request] Option to add Ultimate Member account page to use it for Discord components.
  • [Customer Request] Option to add Woocommerce account page to use it for Discord components.

Changed

  • Now plugin does not create invites for all channels in advance.
  • Connected profiles search in admin panel now shows only closest 50 results.

[5.0.0-beta.7]

Added

  • Elementor widget for chat.
  • [Customer Request] Option to redirect users to specific URL after Discord connection.

[5.0.0-beta.6]

Added

  • [Customer Request] Option to apply new user redirect only for users that are not from the guild.
  • [Customer Request] Option to apply authorization filters when connecting Discord profile to existing WP profile.

[5.0.0-beta.5]

Added

  • [Customer Request] Option to open new user redirect in new tab.

Fixed

  • Fixed redirect for new users.

[5.0.0-beta.4]

Added

  • [Customer Request] Option to redirect new users registered with Discord to specific URL.

[5.0.0-beta.3]

Added

  • [Customer Request] Now available to send announcements about any post type registered in the system.
  • [Customer Request] Woocommerce order announcements.
  • Option to add mention @everyone when sending the announcement to Discord.
  • Option to enable/disable excerpt and event date.
  • [Customer Request] Option to send announcements on CPT updates.

[5.0.0-beta.2]

Added

  • Option to redirect to previous page after authorization added to shortcode and Elementor widget.

[5.0.0-beta.1]

Added

  • Elementor widget for default Discord widget.
  • Elementor widget for the invite banner.
  • Elementor widget for pinned messages.
  • Elementor widget for authorization button.
  • Elementor widget for 'connect profile' button.
  • Elementor widget for sync profile button.
  • Elementor widget for members counter.
  • [Customer Request] Option to redirect to the previous page after authorization available only in Gutenberg widget.

Changed

  • Admin panel settings page now has tabs.
  • All data synchronization option in settings no longer sync user roles.
  • Buttons style is now assigned separately in each shortcode and Gutenberg block.
  • Chat widget and Gutenberg block now can output only pinned messages.
  • Invite banner widget and Gutenberg block now can output members count.

Fixed

  • Logo on the banner widget no longer shrinks with a big title.

Removed

  • Admin panel color scheme removed.
  • Removed pinned messages widget and Gutenberg block. Chat widget and Gutenberg block now can output only pinned messages.
  • Removed members banner widget and Gutenberg block. Invite banner widget and Gutenberg block now can output members count.

[4.1.2] - 2021-11-21

Fixed

  • Messages now going in the right direction.

[4.1.1] - 2021-11-19

Changed

  • Gutenberg blocks now have individual icons.

[4.1.0] - 2021-11-16

Added

  • [Customer Request] Synchronization status dashboard widget.

[4.1.0-beta.1]

Added

  • [Customer Request] MemberPress plugin integration.

Changed

  • Optimized front-end styles.

[4.0.0] - 2021-11-12

Added

  • Gutenberg block for default Discord widget.
  • Gutenberg block for the invite banner.
  • Gutenberg block for the members banner.
  • Gutenberg block for the chat.
  • Gutenberg block for pinned messages.
  • Gutenberg block for authorization button.
  • Gutenberg block for 'connect profile' button.
  • Gutenberg block for sync profile button.
  • Gutenberg block for members counter.
  • [Customer Request] Added option to not invite people to the channel. If there are no invitation and no footer text then the footer will disappear.

Changed

  • Manual all data syncing now downloads each channel separately.
  • Page now scrolling to progress bar on changes.
  • Now during full roles sync user display name is outputted in the start and done messages.
  • Synchronise Discord profile shortcode now will output nothing if Discord is not connected to WP user.

Fixed

  • Default WP widgets now working properly in Elementor.
  • HTTP protocol errors are now displayed during updates.
  • Show tenor link option now working properly.
  • Invite button no longer shrinks when the footer has a lot of text.
  • Fixed redirect back to the website after authorization on the Discord server.
  • Default values of the settings are now set up correctly after the first installation.
  • Assigning roles from Discord user to WP user during syncing now working properly.

Removed

  • Roles list widget.
  • Channels list widget.
  • Members list widget.

[3.0.0] - 2021-10-11

Added

  • Added settings link to plugins management page.
  • Plugin now do not register new users if 'Anyone can register' option are disabled.

Changed

  • Automatic plugin logouts on access revocation completely removed, error shown instead.
  • WP 5.8.1 dashboard theme style update.

[3.0.0-beta.9]

Added

  • Now progress bar screen scrolling tasks list on a big amount of tasks.
  • Scrollbars in widgets are now styled.
  • Authorization error page now has Discord styles.
  • [Customer Request] You can now filter authorizing users by allowed guilds.
  • [Customer Request] You can now filter authorizing users by disallowed guilds.
  • You can now filter authorizing users by profile verification.
  • You can now filter authorizing users by membership screening.
  • [Customer Request] You can now filter authorizing users by allowed roles.
  • [Customer Request] You can now filter authorizing users by disallowed roles.
  • There are now additional tabs around the admin panel.

Changed

  • Now rate limits are tracked in 'all users' role syncing.
  • Error messages are more informative, now it outputs errors and recommendations from saving data to the database.
  • Now some settings have default setup on clean installation.
  • Connected users button moved to the roles section on the settings page.
  • [Customer Request] Sync front-end button shortcode now syncing member data as well. Shortcode key dwpp-sync-roles-button replaced with dwpp-sync-user-button.

Fixed

  • Broken role bindings after authorization to a different guild.
  • Plugin now cleans all WP options if was deleted.
  • Now if registering Discord member have the same login as someone of existing WP users, login will be formed with discriminator or timestamp.

[3.0.0-beta.8]

Added

  • Now roles sync at the moment when the user profile is saved.
  • Support for emojis in channel and role names.
  • Now plugin fetches data about a single guild member when a new user registered, is authorized, or attached a new profile.
  • [Customer Request] Button to manually call roles synchronization for currently authorized WP user.

[3.0.0-beta.7]

Added

  • Opportunity to disconnect Discord profile on admin panel profile page.
  • [Customer Request] Button to connect or disconnect Discord profile to currently authorized WP user.

Changed

  • Private channels access error no longer stops synchronization, now channels are skipped.
  • Now bot doubles permission request during authorization.
  • Now users can authorize with Discord profile if their WP email and Discord email are different, but Discord profile is connected.

Fixed

  • During members fetching plugin are now listening to Discord server limits and waits if download limit a reached.
  • Long URLs in the chat widget now break to multiple lines.
  • Members and invite banners now do not reload the page on click if no invite link was assigned.
  • Banner widgets no longer break links styles.

[3.0.0-beta.6]

Added

  • Added roles synchronization if WP user with connected Discord profile logged in with WP credentials.

Fixed

  • Invite link not found error after plugin deactivation without logout.

[3.0.0-beta.5]

Added

  • Added support for communities larger than 1000 members.

Changed

  • Error messages are now more informative, now it outputs Discord API responses with recommendations.

Fixed

  • Fixed translation strings for some error messages.
  • Fixed JavaScript error during default widget height change.
  • During invite links fetching plugin are now listening to Discord server limits and wait if the download limit a reached.

Removed

  • Options in settings no longer hide if the related plugin is not installed.

Security

  • Output in templates now escaped better.

[3.0.0-beta.4]

Fixed

  • Fixed members synchronization recursion.

[3.0.0-beta.3]

Changed

  • Roles synchronization now described in more details in documentation.
  • Widget`s backgrounds are now in vector.

[3.0.0-beta.2]

Added

  • [Customer Request] Methods that makes direct API request to change roles of the guild member.

Fixed

  • Plugin now works with databases with disabled full-text indexes.

[3.0.0-beta.1]

Added

  • [Customer Request] Added model method that allows you to get Discord id from public name format like 'NPetrovich#9552'.

Changed

  • Now plugin uses login and discriminator combination to describe the user.
  • When connecting Discord profile by id, data search in user profile page now checks with fetched guild members data.

[2.1.0-beta.1]

Added

  • User roles now syncing on manual changes in the user profiles and changes from other plugins.

Changed

  • Now you can see the connection for the announcements channel in settings.
  • Roles synchronization is now described in more detail in the documentation.

Fixed

  • Users with manually disconnected Discord profiles no longer appear in scheduled roles syncing.
  • Users with no Discord roles no longer skip roles syncing.

[2.0.0] - 2021-07-26

Added

  • WordPress 5.8 support. Widgets are working, but it is not a native Gutenberg blocks.

Fixed

  • Profile and bot data are now updating properly.
  • Returned redirect after first installation update.
  • Fixed incorrect translation strings.
  • Fixed double redirect cookies in Chrome.
  • Fixed redirect to favicon image after authorization.
  • Fixed email collection loss in the case when a user had attached a Discord profile before plugin installation.

Security

  • Blocked direct access to PHP scripts.

[2.0.0-beta.2]

Added

  • Now all roles of the users sync automatically every 4 days. Also, the roles of a particular user synced when he logged in or registered with the Discord account.
  • [Customer Request] Integration with The Events Calendar plugin.
  • [Customer Request] Integration with Modern Events Calendar plugin.
  • [Customer Request] Now you can make setup roles synchronization from Discord roles to WordPress roles.

Changed

  • Further optimized messages fetching from Discord server.
  • Significantly decreased the possibility for Discord server to limit download rates.
  • Further improved error reporting. Now:
    • Long processes with the progress bar show errors and success messages on each item.
    • Single data item synchronizations now display error messages as well.

Fixed

  • Now if the website bot is not in the private channel you will see a message about it. This error no longer disconnects the plugin.

[2.0.0-beta.1]

Added

  • [Customer Request] You can now synchronize roles from WordPress users to Discord users.
  • [Customer Request] Plugin now saves Discord ID and Discord email if the user connected or logged in with a Discord profile. As the admin, you can manually reassign profiles. Already registered users can connect their Discord profile as well.
  • Updated design of admin panel UI. Improved admin panel pages adaptation on mobile devices.
  • [Customer Request] Now you can see a searchable list of all WordPress users with connected Discord profiles.
  • Now you can update each data type cache separately.

Changed

  • Completely rebuild database structure to increase synchronization speed and optimize performance with large-scale communities.
  • Review button now directs to the CodeCanyon downloads page.
  • Long tasks now execute with a progress bar and events log.
  • Settings from supported but not installed plugins are now hidden.
  • Improved errors reporting. Now plugin showing:
    • more precise moments during which parsing error was acquired;
    • displays response texts from Discord server if any was sent;
    • tries to predict mistakes during installation or server configuration;
    • suggests section in help tub if such available.

Fixed

  • Long names no longer break the front-end widgets template.
  • Now users, bots, and guilds without avatars will be displayed with a default thumbnail.
  • Fixed plugin logout after 4 days.
  • Invite links now updating in a single transaction and no longer will be removed if Discord server limited data rate.
  • If the connected guild has no channels, some widgets now will show notification errors others will have partially disabled functionality.
  • Invites data now updates with channels data, there are no longer unsynchronized time spans during background synchronization.
  • Fixed not found woocommerce.php file notice.
  • Plugin no longer logs out during not critical data update blocks from the Discord server.

Removed

  • Removed dwpp_widget_theme_selected and dwpp_widget_colors_selected classes from front-end template of the widgets.

Security

  • Unverified Discord profiles can no longer authorize or register on the website.

[1.0.3] - 2021-06-22

Changed

  • Images in chats that are smaller than chat width no longer stretched to full width.
  • Some images are now compressed better.
  • Installation guide images in the admin panel are no longer stretching so width.

Fixed

  • Fixed multiple coloring bugs in admin panel color schemes.
  • Widgets no longer display notifications about Elementor $_POST actions.
  • Fixed error about array_key_first function on PHP 5.6.
  • Fixed Quick Message widget in WordPress 4.9.
  • Fixed Update Now button in WordPress 4.9.
  • Fixed abstract static function notice.
  • Functionality on old unsupported Woocommerce versions are now automatically disabled.
  • Fixed bug that crashed widgets page in the admin panel if Discord profile is not connected.

[1.0.2] - 2021-05-24

Added

  • [Customer Request] You can now turn on styled button view for authentication and comments buttons.

[1.0.1] - 2021-05-17

Changed

  • Partially blocked incorrect WP widgets rendering in Elemntor editor.

Fixed

  • Fixed authentication logout after 7 days. To apply a fix before 7 days expire you need to reconnect the plugin.
  • Error from no parsed channels in channel list widget.

[1.0.0] - 2021-05-12 - Initial Release