- General Data Protection Regulation (GDPR):
--- Added checkbox onto registration page to confirm acceptance of terms.
--- Added privacy policy and linked it into the site footer.
--- Added optional cookie notice to front-end pages. Enabled by default, control via the admin area, site settings.
--- Added checkbox on account edit page to unsubscribe from site mailing list.
--- Set all users to be unsubscribed by default, as per GDPR requirements. Users must opt in to subscribe.

Release Notes: There are database changes within this release. See /install/resources/upgrade_sql_statements/v4.5 - v4.5.1.sql. To patch only changed files, see \install\resources\upgrade_file_diffs\V4-5_to_V4-5-1_DIFF.txt.

Release Notes: There are database changes within this release. See /install/resources/upgrade_sql_statements/v4.4 - v4.4.1.sql. For code difference with v4.4 see \install\resources\upgrade_file_diffs\V4-4_to_V4-4-1_DIFF.txt.

Release Notes: There are database changes within this release. See /install/resources/upgrade_sql_statements/v4.3 - v4.4.sql. To enable the API you will need to apply the new rewrite rules to Nginx or .htaccess, if you're using Apache. This script now requires minimum PHP v5.5.

- PHP7 support.
- Automatic language translations via Google Translate API. Translate the entire site content to another language by clicking a button. Note: Requires a Google API key. Menually edited translations can be marked as 'locked' so they're not overwritten.
- Improved folder sharing. Optionally share a private folder with someone by generating a unique hashed access url.
- Adblocker detection to limit access to the site when adblocker is installed. Optionally block users from the whole site or just downloading. Only enabled if the user account type is set to see advertising.
- Added support for username and password protected http & ftp urls. In the format ftp://user:[email protected]/filename.txt.
- Improved session handling and how regularly the sessions are cleared from the database.
- Reduced the amount of data stored in each session from (up to) 65k to just over 1k.
- Updated IP to Country data and added admin script to update the data as needed. (see the top of /core/includes/ip2Country.class.php)
- Flow Theme:
--- Duplicate/copy files function.
--- Enabled use of browser 'back' and 'forward' history buttons when browsing files & folders.
--- Improved file manager default styles.
--- Integrated file stats into it's own popup within the file manager, rather than redirecting to the front-end stats page.
--- Right-click menu on main folder icons.
--- Icons added to file manager menu options.
--- Removed treeview folder listing from mobile view as it's no longer needed.
--- Improved remove file function on file uploader.
--- Added link to admin area within the file manager, if admin user and viewing on mobile.
--- Within the file manager folder names are shown in the browser title view navigating folders.
--- When adding a folder, the new folder is loaded for easier uploading.
--- Lefthand treeview folders expand as the main folders are clicked on.
--- Increased animation speed and removed slide-ins on front-end pages to make the site more snappy.
--- Changed the download button on image thumbnails to prompt the right-click menu.
--- File details popup active tab remembered between browsing, including using the left/right arrow keys. Improves navigation of file previews.
--- Added optional download page so file details can be shown during the download process.
--- Blocked autocomplete input on uploader 'additional options'. i.e. email and password input.
--- Persistent toolbar in users file manager. The toolbar with 'upload', 'filter', 'per page' etc will always show onscreen when the user scrolls.
--- Improved the copy to clipboard functionality and reduced reliance on Flash.
--- Reply email address on contact form & abuse report now set to the customers rather than site 'from' address. (if using smtp sending)
--- Added close button on file upload popup for mobile & desktop views.
- Admin Area:
--- Admin area settings for 'Flow' theme. These changes are now kept between releases. Easily set:
----- Site logo.
----- Homepage background video/image.
----- Site skin.
----- Additional CSS code.
--- Added option in admin to block the same file from being re-uploaded. Optional on file remove and automatic after removal on abuse reports.
--- Added admin "impersonate user" option, so admin users can login as any other user account.
--- Added new admin page for backing up the database and codebase. Functionality also built in preparation for automatic upgrades at a later date.
--- Added email notification to original reporter after removing a file via admin, abuse reports.
--- Admin option to set blocked keywords within the filename on file uploads.
--- Added option to temporarily disable file uploads globally via the admin area, site settings. Uploads will still function for admin accounts.
--- Added option to temporarily disable file downloads globally via the admin area, site settings. Downloads will still function for admin accounts.
--- Faster loading of the admin dashboard. Charts are loaded via ajax now to improve access speeds to admin.
--- Added plugin version number within the admin, manage plugins, in preparation for auto-updating.
--- Allowed for read only file servers in the 'move files' functionality, so files can be moved away from a read only server.
- Fixed issue with multiple urls when using background remote url uploads.
- Fixed issue with file move between external file servers.
- Fixed issue with expiry date not updating after upgrade on account_edit page.

Plugin Changes:
- Newsletter:
--- Fix to show any newly added user packages as groups when creating a newsletter.
- Stripe Payment Gateway:
--- Added auto filling of email address to checkout process.
--- Supplied email on payment charge to Stripe so the user receives a payment receipt.
- PayPal:
--- Added sandbox option aswell as details of the callback url.
- CoinPayments:
--- Allowed for merchant ids and api keys with uppercase characters.
- Media Player:
--- Added video.js as a media player option. Updates player on public video page, file details popup and video embed iframe.
--- Optional basic VAST support using video.js. Pre-roll videos only for now, although more support to be added later.
--- Added embed video code to the file details popup in the members area, if enabled by admin.
- Media Converter:
--- New option within the plugin settings to capture only video screenshots.
--- Added option to manually schedule 1 or more videos to be converted. New form on the bottom of the queue listing page. Optionally choose to capture only the screenshot or convert the video.
--- Updated convert.php to use the core SSH server settings (new option in edit file server) rather than having to rely on setting them in the code.
--- Removed the SSH form on the admin, site settings page for screenshots. Now uses the SSH server details stored against the file server.
- FTP Upload:
--- Added close button to clear popup dialog after FTP import.
- File Leech:
--- Plowdown path moved from the top of "_append_url_upload_handler.php" into the plugin settings, to make upgrading the plugin easier.
--- Updated the Plowshare install guidance on the plugin settings page.
- Social Login:
--- Updated to the latest copy of HybridAuth.
--- Added block of any social accounts which we can't get the email address.
--- Account avatar is re-cached on login to allow for profile image updates.
- Image Viewer:
--- Added embed image, direct link & forum code to the file details popup in the members area, if enabled by admin.
- Document Viewer:
--- Added embed document code to the file details popup in the members area, if enabled by admin.
- Archive Manager:
--- Updated process_archive_queue.cron.php to use the core SSH server settings (new option in edit file server) rather than having to rely on setting them in the code.
- Torrent Download:
--- Only update the status of any pending torrents when the upload popup is shown. Limits unnecessary ajax requests when browsing the file manager.

Release Notes: There are database changes within this release. See /install_yetishare/resources/upgrade_sql_statements/v4.2 - v4.3.sql. Users of the media player will need to migrate their server SSH into the new area with the admin, file servers section. You no longer need to set these within convert.php.

- Added file privacy options at various levels. Site wide, account level, folders (inc sub-folders) & on specific files. Private settings inherit down onto all folders/files if set by site/account.
- Added the option to allow users to choose their own password when registering an account.
- Added Account locking feature which, when enabled, locks the account details from being changed, users will not be able to edit, move or delete files whilst the account lock is enabled.
- Updated reCaptcha to the newer reCaptcha2.
- Added sub-folders to the main file manager window rather than just showing the files.
- Added ability to block file types from being uploaded.
- Payment complete page, after payment, user session is reloaded to reflect the upgrade.
- Added ability to ban files by extension (.exe;.jpg;.docx;.etc) and file md5 hash/filesize.
- Added a delete button / option for themes & plugins.
- Added a comprehensive admin support page which will help with support requests.
- Added a function to detect 32bit or 64bit operating system.
- Added account expiry details to account edit page.
- Replaced user drop-downs in the admin area with text entry/auto suggest for better scalability.
- Moved xAccelRedirect & xSendFile options into the file server configuration & removed from the old global settings from the site_config table.
- Allowed the remote downloader to follow 301 redirects, limited to 5 redirects.
- Admins can set files to be restored from the pending deletion queue on the next task run (process_file_queue.cron.php).
- Admins can now limit the hourly amount of emails sent by the 'send via email' form by user.
- Fix to file removal on FTP/S3.
- Added support for theme settings and admin navigation items via theme config.
- Support for file keywords.
- Fixed issue with possible site url injection into the translations.
- Various other minor fixes.

New Plugins:
- WebDav plugin

Plugin Changes:
- Rewards:
--- New overview page showing total earnings by user and overall system stats.
--- Option to limit PPD access by account type (free or paid accounts).
--- Fix to capture PPD data only when PPD is enabled in plugin settings.
--- Log PPD after x percentage on watching videos/audio.
--- Updated code to process the new individual X-Accel-Redirect & XSendFile configurations in the individual server configs.
- Torrent Download Plugin (v3):
--- Use Transmission instead of uTorrent as the torrent engine.
--- Link for user to cancel downloading torrent.
--- Link for user to clear completed torrent.
--- Limitations of account max storage and max upload size now apply to torrents.
--- Added peer information to users torrent download page.
--- Cron script changed to command line rather than wget to improve performance.
--- Fix to allow for users downloading the same torrent at the same time.
- Document Viewer Plugin (v5):
--- Support added for thumbnail previews of PDF files. (requires imagick within PHP)
- Image Viewer Plugin:
--- Better handling of image thumbnails. Links directly to cached version and only routes via PHP on first server cache request.
--- Option to set preview image quality.
--- Option to automatically rotate images on upload, based on EXIF data.
- Media Converter (v8):
--- Added option to keep the originally uploaded file. Converted file will be stored as a new file and linked to the original.
- Media Player (v9):
--- If using the media converter to keep the original file, the converted copy will play directly in the browser whereas the download link will provide the original.
- Social Login Plugin (v2):
--- Integration of social network profile picture to Flow theme.
--- Update to fix Foursquare login process.
--- Updated Facebook login to use new Facebook API permission set.
--- Added social login to site registration page.
- CoinPayments Plugin
--- Added IPN URL to the plugin settings page.

Version Notes: Major release with a lot of changes to the core code. For upgrades, upload the /install/ folder and see the 'Upgrade from v3.x to v4.0' option. For new installs upload the same folder and use the installer process.

- New 'Flow' Theme:
--- Responsive - Mobile, tablet and desktop versions included.
--- Built in uploader instead of going to the homepage to upload.
--- Minimise uploader popup during upload. Continue to use your account, browse & download files etc, while uploads are being processed in the background.
--- Written with Bootstrap v3.
--- Full support for RTL languages.
--- List view column headers with total downloads shown.
--- Add/edit file in ajax popup.
--- Add/edit folder in ajax popup.
--- Send file via email tab on file info popup.
--- User can upload an avatar.
--- Account settings page with overall stats shown. Available storage, used storage, active files and total downloads.
--- Account notification widget for alerts on to users. i.e. premium expiry, offers etc.
--- Single click on download links to highlight and copy.
--- Filter by uploaded date range option.
--- Filter in current folder or all folders option.
--- File manager, added direct link to download file. Avoids the preview page if using media player, image and document viewer plugins.
--- Option to download all files in a folder within the file manager as a zip archive.
--- Delete keyboard key shortcut added to file manager, delete files.
- Blue V2 Theme:
--- Responsive - Mobile, tablet and desktop versions added.
--- File manager, added direct link to download file. Avoids the preview page if using media player, image and document viewer plugins.
--- Option to download all files in a folder within the file manager as a zip archive.
- Admin Area:
--- Responsive - Mobile, tablet and desktop versions added.
--- Add links to plugin settings in admin, site settings.
--- Admin configuration option to adjust the time to keep files in /files/_deleted/. Set to 24 hours by default.
--- Set file as premium only via the admin area. Also restrict by other account levels, i.e. only registered users, moderator or admin users.
--- Added option to set upload server for a specific user in admin, edit user. Useful for testing new file servers without disrupting other users.
--- Disabled mod security in admin area if available. Solves some issues with updating site settings or setting advert code.
--- Admin area edit file popup. Edit filename, owner, short url, access password, mime type and admin file notes.
--- Admin add/edit user. Set default paid expiry date to 1 year when creating a paid user. Avoids issues with automatic account downgrades if no date set.
--- Set HTML header and footer on emails. Enabled by default.
--- Admin option to set text direction when adding a new language for template (RTL or LTR).
--- Admin CLI script to sanity check file storage on main server and external file servers. Checks stored files exist as active entries in the database and removes files which shouldn't be there. Script located in /admin/_test_scripts/
--- Admin area manage file action queue. View raw file deletes and moves. Cancel actions and trigger the cron script to process pending actions.
--- Admin area updated to use new cross server session management.
--- Fixed admin option to scan for new text translations.
- Core Code:
--- Better management of templates within the codebase. Template html files now moved into /themes/ along with the css, js etc.
--- New template management pages in the admin area. Upload template zip package, view template details, preview, activate etc.
--- On upload, if file already exists in folder, rename to (2), (3) etc. Blocked renaming of files with the same name within the same folder.
--- File action queue for managing deletes, moves etc.
--- Huge improvement on cross server session management. User session transfered to external file servers as needed, per server, rather than via the homepage for all servers. Performance increase as a result.
--- Added support for X-SendFile to improve performance on downloading with Apache. Option to enable in admin area.
--- Added support for X-Accel-Redirect to improve performance on downloading with Nginx. Option to enable in admin area.
--- Cloudflare support for increased site performance and load times.
--- Increased upload chunk size from 5MB to 100MB to improve upload speed.
--- Change to file delete process on local or direct file storage. Files are now moved into /files/_deleted/ for 24 hours, then removed automatically. Allows for recovery time if needed.
--- Full support for IPv6.
--- Fix to send utf-8 encoded email when using PHP mail() sending method.
--- Fix to clearing of cross site session transfer tokens.
--- Fixed intermittent block size issue when using mcrypt on the download pages.
--- Fixed bug with deleteRedundantFiles() not working as expected on direct file servers.
--- Decoded filenames when using remote file download.
- Security:
--- Huge improvement on storage method for passwords. Now using SHA256 with key stretching via PBKDF2. Existing passwords converted on login.
--- Option to block IP address for 24 hours after x failed logins. (default 5 attempts)
--- Option to send email notification to user when their account email address or password is changed.
--- Account login IP and country history logged for the last month. Viewable via manage users in the admin area.
--- Total login stats within last month, including from different IPs and countries shown by user. Helps reduce account sharing.
--- Ability to set list of email domains to block from registration.
--- Set banned ip expiry date to ban for limited time.
--- Option to ban ip address from logging in.
--- Fixed issues with blocking account sharing. Users will be logged out of their account if another person logs into it. Option in admin area.
--- Minor bug fixes and general performance improvements.
- Cron Tasks: (new in v4.0)
--- Auto prune cron task to clear old database data for better performance.
--- Moved previous executeBatchTasks() on the index page into cron task (delete redundant files and downgrade accounts).
--- Generate internal notifications cron when account due to expire.

Version Notes: Please see /offline/upgrade_file_diffs/ for the full list of changed files. This release is a minor release
fixing a number of issues in the previous v3.5.1 release. Ensure you apply the database changes from /offline/upgrade_sql_statements/ when upgrading.

Version Notes: Please see /offline/upgrade_file_diffs/ for the full list of changed files. This release is a minor release
fixing a number of issues in the previous v3.5 release. Ensure you apply the database changes from /offline/upgrade_sql_statements/ when upgrading. There's limited impact on templates this release, most is core code changes. For custom download pages, note additional text in admin area, download pages section for creating 'next' page links.

- Added new button to file manager to bulk delete files.
- Drag to select multiple files in front-end file manager. (or use ctrl click)
- In file manager, added option to change selected file popup by using the right & left cursor keys.
- Support for download managers for non/free users, including resume support.
- Option to set 'direct' file servers to produce download urls using the main site url. Final download is processed with file server.
- Members area option to keep all file statistics private. Statistics urls will not work unless they're logged into their account.
- New admin area section to set mutiple download pages based on user type. Users can be shown any amount of intermediate pages before being provided the download. Easily add custom download pages.
- Admin area added option to remove multiple files at once.
- Admin area option to delete user account and associated files.
- Admin area option to delete file/stats database records.
- Admin area split option to toggle adverts by non, free and paid users.
- Admin area option to disable uploading by non, free and paid users.
- Contact form added to front-end. Includes optional captcha.
- Sharing folders publicly will also now list sub-folders. Sub-folders need to be set as publicly accessible via the file manager.
- Added additional mimetypes for remote downloads.
- Added option in admin area to set the default view of the file manager to icon or list.
- In admin area file manager, added link in own column to quickly filter files by IP or account.
- Prefilling of abuse report file urls if linked from file download page.
- File stats no longer require Flash, pure html5 implementation. Viewable across all devices now.
- Added more system logging to aid debugging.
- Import and export CSV option within admin area manage translations.
- Admin option to scan codebase for missing translations to ensure translations data is up to date.
- jQuery updated to jquery-1.11.0.min.js.
- Minor bug fix for file manager when moving files into sub-folders. Root folder no longer shows all files.
- Overall reduction on memory usage by 25%.
- Overall reduction in the amount of queries run on each page load.
- Performance improvement when loading translations.
- Performance improvement with file statistics.
- Added automatic JavaScript merging and minifying. Reduction in overall page size and total requests on page.
- Removal of old YUI javascript library, yui_combo.js.
- Fix to max concurrent file uploads setting for non/free users.
- Other minor bug fixes.

- Support for direct uploads and downloads to external file servers using the file uploader.
- Support for url uploads direct to external file servers.
- Migrated from old mysql_query functions to PDO in database layer.
- Moved to database based sessions to allow for cross server session support.
- Cross site user login sessions. Run the script across domains, sharing the database, distributing the load & storage.
- Added ability to disable default local file storage via admin area.
- Added PayPal callback in PayPal payment gateway plugin to validate IPN call.
- Added installer script.
- Improvements to remote upload functionality and error handling.
- Internal rework on uploader code to move the result drop-down from JS into the uploader class in PHP. Content can also be overwritten via plugins.
- Support for upload progress in IE added with general IE improvements.
- Added ability to send download links via email on upload. (see new 'options' link)
- Added ability to set password for files on upload. (see new 'options' link)
- Support for currencies with comma in amount.
- Limit on length of filename displayed within the file details page to fix formatting issue.
- Added logged in username to current download list in admin area.
- Added option in admin area to limit maximum files that can be uploaded at the same time. Default is set to 50. Split by free/paid users.
- Added auto redirect to www/non-www version of the site depending on the _config.inc.php setting. Resolves some ajax issues.
- Added optional captcha for account registration page.
- Added option to enable or disable logging of current downloads in the admin area.
- Added option in admin area to limit total concurrent connections for paid users. Also limits connections using download managers.
- Removal of reliance on hard-coded admin folder path in plugins. Now relies on path set in includes/master.inc.php.
- Added option in admin area to set a waiting time between downloads for free users.
- Fix for banned ip checking on upload.
- Fix for max files a users IP can upload per day.
- Change to plugin code to allow for parameters to be passed.
- Delete links amended across the site & admin area to allow for direct file server deletes.
- Moved datatable labels on account_home to translations.
- Fix for possible XSS issue on file details page.
- Fix to wrap filename on download delay page.
- Fixed file type icons not showing if file extension in uppercase.
- Fix for PHP Notice on line 1234 in includes/functions.inc.php
- Improvements to allow for double request for download when using Android. Fixes download for free users on Android.

Release Notes:
- The core database layer has moved from using the old mysql_query functions to PDO. You will need to ensure you have the MySQL PDO module enabled before upgrading.
- Many plugins, including the FTP plugin, have been updated for this release so they work with the new uploader code. If you use them, ensure you've updated your code to the latest version. You can do this by downloading the zip from our site and uploading the files to your plugin folder via FTP.

- Remote url upload functionality added to home page. Supports http, https and ftp urls.
- Minor change to not count admin area file downloads in stats.
- Allowed 'delayed redirect seconds' to be zero so free users can be configured for direct downloads.
- Option in admin area to require users to register before uploading.
- Option in admin area to require users to register before downloading.
- Option in admin area to set the type of file url to create on upload. Shortest or long random hash.
- Option in admin area to set maximum file download size for free/non users.
- Option in admin area to set maximum concurrent downloads for free/non users.
- Admin area option to delete a file server and all associated files.
- Display 404 page instead of redirecting to index page when a file url is invalid.
- Minor improvement on live download tracking under heavy traffic loads. No longer keeps database connections open during downloads.
- Minor bug fix on current downloads page in admin area.
- Added IP address of uploader to admin file manage screen for non-logged in users.
- Minor fix in admin area to correctly display TB sizes on file server manager.
- Minor change to public folder listing. If owner of folder is logged in, the password prompt is not displayed.
- Added better support for plugin zip extract via admin area using pclzip. Resolves occasional 500 error.
- Better formatting in Chrome for dialog popups in the admin area.

- Admin area redesign.
- Plugin architecture added to the admin area and core codebase.
- In the admin area, it now displays which user uploaded the file.
- Better flow from file countdown, to register, payment & upgrade.
- Added HTTP auth support for download managers.
- Better support for resuming downloads using both local and ftp storage.
- Support for chunking in download managers.
- New admin area page to view currently active downloads.
- Site language chooser. Option in admin 'site settings' to show or hide.
- Improved admin functions to manage translations.
- Site email content moved into translations. i.e. registration, forgot password & report file notifications.
- Database indexes set to improve performance with larger datasets.
- Database logging of which files result in paid upgrades. Available within the 'premium_order' table.
- Logging into a premium account when on the file countdown page redirects back to the file page. Results in immediate download for premium accounts or upgrade for other.
- Better error reporting on multi uploader.
- Admin area check & notification for tmp folder size.
- Admin area option to set reason for file removal and logging of original DMCA removal request text.
- Minor bug fix with payment process to PayPal when using other currencies.
- Converted members area file listing to ajax for better performance.
- Additional filters added to members area file listing (folder & status). Default file listing status is now 'active'.
- The right-hand 'your files' widget now only displays non-account files by the same IP if the user isn't logged in.
- Bug fix which permitted usernames with spaces.
- Sanity checked and added a number of missing text translations.

- View/amend account paid expiry date within admin area.
- Added filesize when browsing files admin area.
- Added filesize in user file manager.
- More detail on file uploader. Percentage progress, filesize progress, upload speed and time remaining. (Chrome & Firefox only)
- Option in admin area to show original filename on end of file url.
- Option to set different download site address to main site. Set downloads from a different domain.
- Support for https.
- Improved countdown timer page. More information about the benefits of registering for a paid account inc estimated download time.
- Support for multiple file servers via FTP.
- New admin page to configure file servers.
- Test file server page.
- Admin area option to use a specific file server or automatically select the one with least space used.
- Added 'filter by server' option on 'manage files' in admin area.
- Added 'filter by user' option on 'manage files' in admin area.
- Added link to 'manage users' to view user uploaded files.
- Added total space used and total active files to 'manage users' in admin area.
- Added link to admin area on main site if logged in as admin user.

- Fixed issue which could mean paid users see the countdown timer when downloading a file.
- Fixed issue which meant the countdown wasn't displayed for free users when clicking on links in the 'your files' section.

- Added the ability to specify smtp settings for sending site emails.
- Fixed filesize bug using IE to upload.
- Fixed issue where entries are sometimes created in the database on upload failure.
- Better compatibility with Safari browser.