=== Activity Log For MainWP ===
Contributors: WPWhiteSecurity, robert681
Plugin URI: https://wpactivitylog.com/extensions/mainwp-activity-log/
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl.html
Tags: activity log for mainwp, mainwp extension, mainwp user tracking, mainwp admin, mainwp dashboard log
Requires at least: 5.0
Tested up to: 6.1.1
Stable tag: 2.1.0
Requires PHP: 7.2

See the activity logs of all child sites & MainWP in one central location - the MainWP dashboard.

== Description ==

<strong>THE ACTIVITY LOG PLUGIN FOR MAINWP & CHILD SITES</strong><br />

MainWP is an invaluable tool for those who manage the technical aspect of multiple WordPress websites. 

Add the [Activity Logs for MainWP extension](https://wpactivitylog.com/extensions/mainwp-activity-log/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=AL4MWP&utm_content=plugin+repos+description) to also keep a log of all the user activity and other changes that happen both on the MainWP dashboard and the child sites and:

* gain a detailed overview of what is happening on the MainWP network & childsites
* know exactly what customers are doing on the child sites
* [configure the child sites' activity log plugin settings](https://wpactivitylog.com/support/kb/configure-child-sites-activity-log-settings-mainwp/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=all+plugins&utm_content=plugin+repos+description) from the MainWP dashboard

#### Maintained & Supported by WP White Security

WP White Security builds high-quality niche WordPress security & admin plugins like [WP Activity Log](https://wpactivitylog.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description), the #1 WordPress activity log plugin. Browse our list of [WordPress plugins](https://www.wpwhitesecurity.com/wordpress-plugins/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=all+plugins&utm_content=plugin+repos+description) that help you better manage and improve the security of your WordPress website.

###Keep a comprehensive log of what happens on your MainWP network & child sites

Your back is covered with the Activity Log for MainWP extension!

* keep a log of all child site changes done via the MainWP dashboard
* keep a log of changes in the MainWP dashboard and extensions
* see all activity logs from one central location, the MainWP dashboard
* know what your clients change on their business site without logging in
* Add search and filters to the activity log*
* Search in the child sites’ activity log from the MainWP dashboard* 
* Generate any type of user, site and MainWP activity report
* Generate any type of report from the child sites’ activity log*
* Configure daily, weekly, monthly and quarterly reports that are sent automatically to you via email

Note: * this feature requires [WP Activity Log](https://wpactivitylog.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description) Premium on the child site.

####No more customer blame games & guesswork!

By keeping an activity log of everything that happens on your clients’ sites and the MainWP dashboard you:

* ease troubleshooting – no more guesswork
* better manage, secure & monitor your client sites
* identify suspicious behaviour before it becomes a security issue
* stop all the customer blame games & have proof of what happened
* keep a record of all your work to justify your fees

Learn about all the [benefits of having WordPress activity logs](https://www.wpactivitylog.com/benefits-wordpress-activity-log/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description).


###Free Support

Support for this MainWP extension plugin is available via the WordPress forums and also via email for free.

###The Activity Log for MainWP Can Keep a Log Of:

####Activity Logs on Child Sites

The extension uses WP Activity Log to keep a log of changes on child sites. Refer to the [list of WordPress activity log events IDs](https://wpactivitylog.com/support/kb/what-are-activity-log-events-ids/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description) for a complete list.

####Activity Logs on MainWP Dashboard

The extension also keeps a log of changes users do on the MainWP dashboard, such as:

* adding, editing or removing child sites
* logging in or out of the MainWP dashboard
* installing, activating, deactivating, uninstalling extensions
* adding or removing extensions to the MainWP menu
* changes in the MainWP extension Advanced Uptime Monitor.

Refer to the [list of MainWP extension event log events](https://wpactivitylog.com/support/kb/what-are-activity-log-events-ids/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=AL4MWP&utm_content=plugin+repos+description#mainwp) for a complete list of changes it can keep a log of.

###Get Started Within Minutes!

Follow the [Activity Logs for MainWP getting started guide](https://www.wpactivitylog.com/support/kb/gettting-started-activity-log-mainwp-extension/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=AL4MWP&utm_content=plugin+repos+description) for an easy to follow step by step procedure of how you can start keeping an activity log of all child site changes and view them from the MainWP dashboard.

#### Related Links and Documentation

* [What is a WordPress Activity Log?](https://wpactivitylog.com/wordpress-activity-log/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description)
* [List of WordPress Activity Log events](https://wpactivitylog.com/support/kb/what-are-activity-log-events-ids/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description)
* [Activity Log for MainWP Extension Page](https://wpactivitylog.com/extensions/mainwp-activity-log/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=AL4MWP&utm_content=plugin+repos+description)
* [WP Activity Log plugin website](https://wpactivitylog.com/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description)

== Installation ==

=== Install the Activity Log for MainWP extension from within the MainWP dashboard ===

1. Login to your MainWP dashboard
1. Navigate to WP > Plugins
1. Search for 'Activity Log for MainWP'
1. Install and activate the plugin
1. Follow the wizard to add the activity logs of the child sites

=== Install the Activity Log for MainWP extension manually ===

1. Download the plugin
1. Login to your MainWP dashboard
1. Navigate to WP > Plugins
1. Click Add New and then Upload Plugin
1. Browse to the file, select it and click Install Now
1. Click Activate Plugin once prompted.
1. Follow the wizard to add the activity logs of the child sites

== Frequently Asked Questions ==

= Support and Documentation =
Please refer to our [Support & Documentation pages](https://wpactivitylog.com/support/kb/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=WSAL&utm_content=plugin+repos+description) for all the technical information and support documentation on the Activity Log for MainWP extension and the WP Activity Log plugin.

== Screenshots ==

1. The activity log viewer in the MainWP dashboard from where you can see the activity log of the MainWP network and also of all the child sites you are managing.
2. You can filter the activity log by child site or the MainWP dashboard by using the site selector drop down menu.
3. The alert inspector showing additional details about the activity log entry inlcuing the UserAgent.
4. Once you install the plugin you are greeted with a one-time setup wizard.
5. You can use the wizard to select which child sites you'd like to add to the activity log.
6. You can add more child sites or remove any from the central activity log in the MainWP dashboard at any time from the extension's settings.
7. You can also configure what information and how it is displayed in the MainWP audit log from the extension's settings.
8. By default the extension retrieves the child sites' logs every three hours, though you can configure this schedule from the extension settings.

== Changelog ==

= 2.1.0 (2022-12-1) =

* **Improvements & changes**
	* Added CSS to support MainWP's 'Dark mode' UI.
	* Improved compatability with PHP 8.0 - now this extension can run on environments where PHP 8 is used.
	* Updated the method used to sync event IDs metadata from WP Activity Log to this extension.
	* Compatability improvements for [WP Activity Log](https://wpactivitylog.com/) 4.4.3.

* **Bug fixes**
	* Fixed: HTML tags showing in the message of event ID 7715 and 7716.
	* Fixed: Error reported when logging in to the MainWP dashboard using a "Temporary Login" plugin link.
	* Fixed: login page activity log notification not showing in certain environments.

= 2.0.0 (2022-03-24) =

Release Notes: [Out now: Activity Log for MainWP & WP Activity Log 4.4.1](https://wpactivitylog.com/activity-log-mainwp-2-0/)

* **New features**
	* Plugin now automatically retrieves list of event IDs from the WP Activity Log plugin installed on child sites. Therefore when there are new event IDs there is no need to release an update.

* **Improvements & changes**
	* From this version onward there will only be the free edition of Activity Log for MainWP. To enable premium features on child sites, for example searching in the child sites' activity log you need WP Activity Log Premium installed on the child site.
	* Removed the Freemius SDK from the plugin - no longer needed because now there is only the free edition.
	* Added compatibility for standard severity codes used in WP Activity Log.
	* Improved the process and functiona that is used to add the activity log of new child sites to the central MainWP activity log.
	* Events severity is now stored on the MainWP database, allowing users to filter events by severity level.
	* Removed the statistics report from this plugin - we will include an improved reporting engine in future updates.
	* Event ID description shown upon hovering over an event ID in the activity log viewer.

= 1.7.0 (2021-03-17) =

Release Notes: [More activity log settings can be centrally manged from the MainWP dashboard](https://wpactivitylog.com/mainwp-log-extension-1-7-0/)

* **New Feature**
	* Support for any date and time format WordPress support.
	* "Hide plugin in plugins page" child site setting can now be centrally.
	* "Login page notification" can now be centrally configured on all child sites.

* **Improvement**
	* Updated Freemius SDK to the latest version - 2.4.2.
	* Updated third party libraries used in the plugin.
	* Improved CSS of the extension's settings page.
	* Centrally managed activity log settings for child sites moved in plugin menu.
	* Improved the text & metadata of some of the activity log events.
	
* **Bug fixes**
	* Child site selection drop down menu disappears when running a search.
	* Event ID 1000 was reported whenever a change was pushed from MainWP to child sites.

= 1.6.1 (2020-11-24) =

* **Improvements**
	* Updated the Freemius SDK to the latest version.

= 1.6 (2020-11-02) =

Release Notes: [Centrally configure activity log settings in MainWP network](https://www.wpsecurityauditlog.com/activity-log-mainwp-1-6/)

* **New Feature**
	* [Configure the settings of the WP Activity Log plugin installed on the child sites from the MainWP dashboard](https://wpactivitylog.com/support/kb/configure-child-sites-activity-log-settings-mainwp/).
	
* **New event IDs*
	* 7713: Changed the enforcement configuration of the child sites activity log settings.
	* 7714: Added or removed a child site from the enforced child sites activity log settings.
	* 7715: Modified the child sites activity log settings.
	* 7716: Started or finished propagating the child sites activity log settings.
	* 7717: Failed to propagate the child sites activity log settings to a child site.

* **Improvement**
	* Changed the old logo with a new and more modern one.
	
* **Bug fixes**
	* In some edge cases, the username was being shown in the activity log instead of the configured display name.
	* Addressed a number of HTML code issues in the activity log viewer (reported in the developer tools console).

= 1.5.2 (2020-09-21) =

* **Improvement**
	* Renamed all filters / hooks. Now using the new naming convention used in MainWP 4.1.
	
= 1.5.1 (2020-05-20) =

* **Improvement**
	* Updating links to reflect name change.

* **Bug fix**
	* Ensure extension title is only shown in the extensions pages.

= 1.5.0 (2020-02-19) =

Release Notes: [MainWP extension: new search & filters module & improved UX](https://www.wpactivitylog.com/al4mwp-1-5/)

* **New Features**
	* New activity log search & filters module with much better UX.

* **Improvement**
	* Reports module now supports the latest data format changes used in MainWP.
	* Plugin is now fully translatable.
	* Added the new [activity log objects](https://www.wpactivitylog.com/support/kb/objects-event-types-wordpress-activity-log/) which are used by the main plugin.
	* Improved the responsiveness and UI of the activity log viewer.
	* Added a confirmation for when the activity log is purged from the MainWP database.

* **Bug fixes**
	* Consolidated the Text Domain throughout the plugin.
	* List of child sites in plugin settings incorrectly displaying sites on some setups.
	* Correct plugin name is now displayed in the extention page.
	* Rewritten some of the settings page text.
	* After activating the plugin user is redirected to the wrong page.
	* Fixed some rendering issues in the plugin's pages.

= 1.4.2 (2020-02-21) =

* **Improvement**
	* Improved the add/remove child sites function to handle the new data types.

* **Bug fix**
	* Plugin not processing properly the retrieved list of child sites.

= 1.4.1 (2020-01-21) =

 * **Improvement**
	* Updated the plugin to support the latest version of MainWP updates.

= 1.4 (2020-01-14) =

* **New functionality**
	* Support for [activity logs of WP Activity Log version 4](https://www.wpactivitylog.com/update-4/).

= 1.3 (2019-12-11) =

Release Notes: [New MainWP activity logs retention settings & other updates](https://www.wpactivitylog.com/activity-log-mainwp-1-3/)

* **New Features**
	* New activity logs retention setting for MainWP dashboard logs.
	* Plugin now automatically fetches logs from child sites upon install (optional).

* **Improvement**
	* Added new compatibility check & notification for WP Activity Log v4 (new activity log).

* **Bug fixes**
	* Plugin tries to retrieve logs from removed child sites.
	* First install wizard not firing in some edge cases.
	* Premium promo banner showing in premium edition.
	* Close link on premium promo banner was not working in some cases.
	* Addressed a compatibility error with PHP 7.4.
	* Removed the Upgrade to Premium button in the extensions page when using premium edition.


= 1.2 (2019-10-29) =

* **Improvement**
	* Plugin retrieves list of child sites in batches to better handle large number of sites on bigger networks.

* **Bug fixes**
	* Child site not removed from activity log database even after being removed by user.
	* Removed unnecessary code for navtabs which was causing a console error.

= 1.1 (2019-09-18) =

Release Notes: [Announcing Activity Log for MainWP Premium](https://www.wpactivitylog.com/activity-log-mainwp-premium-release/)

* **New Feature**
	* Added activity log tab in individual site child overview dashboard.
	* Added support for [Activity Log for MainWP Premium](https://wpactivitylog.com/extensions/mainwp-activity-log/premium-benefits/).

* **Improvement**
	* Improved support for MainWP4.

= 1.0.5 (2019-07-03) =

* **Improvement**
	* Updated the Freemius SDK

* **Bug fix**
	* Plugin no longer crashes website when MainWP is deactivated.

= 1.0.4 (2019-06-11) =

* **New Feature**
	* New pruning setting for [MainWP dashboard & network activity log events](https://www.wpactivitylog.com/support/kb/list-wordpress-audit-trail-alerts/#mainwp).
	* Settings to disable / enable specific MainWP dashboard & network event IDs.

* **Improvement**
	* Fixed UI issues to support MainWP 4.

= 1.0.3 (2019-03-19) =

* **New Feature**
	* Infinite Scroll in the activity log viewer (switch between pagination and infinite scroll in the extension settings).
	* Integrated Freemius SDK (preparation for the premium features).

* **Performance Update**
	* Improved several queries and improved activity log viewer performance.

* **Improvement**
	* New setting to retrieve activity logs when MainWP syncs website data (default: Off).

= 1.0.2 (2019-02-08) =

* **Security Fix**
	* Updated npm dev-dependency because used version had a low severity issue ([CVE-2018-16491](https://nvd.nist.gov/vuln/detail/CVE-2018-16491))

= 1.0.1 (2019-01-07) =

* **Improvements**
	* Improved wizard for when WP Activity Log is not installed on any child sites.
	* Improved the retrieving events process for when child sites have no activity log events.
	* Updated the help text in the extension settings.

* **Bug Fixes**
	* Handling an error for when Activity Log for MainWP is installed on a WordPress site without MainWP.

= 1.0 (2018-11-15) =

	* First release - everything is new!
