=== Rundiz Downloads ===
Contributors: okvee
Tags: downloads, download, download manager, file hosting, GitHub
Tested up to: 7.0
Stable tag: 1.0.17
License: MIT
License URI: https://opensource.org/licenses/MIT
Requires at least: 4.7.0
Requires PHP: 5.5

Download manager for WordPress that support GitHub auto update.

== Description ==
Rundiz Downloads is a files, documents management that support GitHub auto update. Provide the download link, track download files.

The GitHub auto update means the URL and file size will be update automatically on GitHub commit or new tag/release.
You can change your setting to accept how often of auto update. Every releases and commits, every releases, or none.

= Features =

 * Manage files locally or hosted on GitHub or any remote files.
 * Use GitHub OAuth to manage webhooks (webhook is for auto update). It will be super easy if you have many users or repositories.
 * Auto update download URL and version once GitHub repository was updated.
 * Setting GitHub auto update to none, every releases, every releases and commits.
 * Manual update multiple remote file data such as file size that was changed.
 * Use version range to compare tags before update.
 * Insert download button on classic editor or TinyMCE.
 * Download logs/statistic.
 * Admin dashboard statistic widget.
 * Block bots from downloading by captcha, user agent.
 * Captcha with the audio.
 * Redirect to file or force download. (The force download will be working with local file only.)
 * Support shortcode.
 * Customisable download element for shortcode.
 * Automatically delete logs older than specific number of days.
 * Localisation support

Tested up to PHP 8.5.

== Installation ==
1. Upload "rd-downloads" folder to the "/wp-content/plugins/" directory.
2. Activate the plugin through the "Plugins" menu in WordPress.
3. Access plugin setup page.
4. Follow setup instruction on screen.

== Frequently Asked Questions ==
= Does it support multisite? =
Yes, it is. However the network activation for multisite will not working, you can only activate the plugin per site that have to use it.

= Will the uploaded files be deleted on uninstall? =
Yes, the uploaded files and folders in WordPress upload folder will be deleted on plugin uninstall.

= Will the plugin's tables be dropped on uninstall? =
Yes, the plugin's tables will be dropped on uninstall.

== Screenshots ==
1. Front-end download button and description example.
2. Manage downloads page.
3. Add or edit download page.
4. Download logs page.
5. GitHub OAuth page.
6. Plugin settings tab 1 (General).
7. Plugin settings tab 2 (Anti robots settings).
8. Plugin settings tab 3 (GitHub settings).
9. Plugin settings tab 4 (Statistic/Logs).
10. Plugin settings tab 5 (Design). This will be convert from shortcode into the element you design.
11. Add a download button for TinyMCE (classic editor).
12. Add a download dialog after clicked on the button in classic editor.

== Changelog ==
= 1.0.17 =
2025-12-21

* Update loader class to load controllers implemented interface only.

= 1.0.16 =
2025-12-18

* Improve security for default or starter template.
* Add display none CSS for hide honeypot field.
* Add HTTP referrer (referer) field to log table.

= 1.0.15 =
2025-10-14

* Fix unable to redirect to download file.

= 1.0.14 =
2025-10-13

* Update proper way to enqueue scripts/styles.
* Update management JS, remove usage of jQuery.
* Update download logs JS, remove usage of jQuery.
* Update settings JS to remove usage of jQuery.
* Update GitHubOAuth JS to remove usage of jQuery.
* Update translation.
* Update Ace editor usage to not depend on jQuery.
* Remove unused Ace JS files.

= 1.0.13 =
2025-03-18

* Update load text domain to be inside `init` hook.

= 1.0.12 =
2024-12-12

* Fix `unserialize()` error since PHP 8.3.
* Fix pass `null` to string argument error since PHP 8.1.

= 1.0.11 =
2022-12-20

* Fix "PHP Deprecated: Creation of dynamic property" on PHP 8.2.

Previous version updates:  
Please read on changelog.md