Skip to content

Releases: ReadieFur/WebFileManager

Bug fixes

21 Jan 19:12
Compare
Choose a tag to compare

This minor update fixes some bugs that were present on the view file page.
Please check the previous release (1.1.0) if you haven't as there are important update notes.

Normally I would leave minor bugs out till the next proper release but this set of bugs could've caused some inconveniences around viewing and downloading files.

Full Changelog: 1.1.0...1.1.1

Implemented Google auth API

21 Jan 17:02
Compare
Choose a tag to compare

Summary

With this release you are now able to share files and folders to individual users via their Google email address.

Using this feature

If you would like to use this feature then you must obtain a Google OAuth 2.0 Client ID. You can read on how to do that here.
When creating your Google OAuth 2.0 Client ID set the Authorized JavaScript origins to your fully qualified domain name and set the Authorized redirect URI to your FQDN/<path_to_site>.
Once you have obtained these details update your configuration with your client ID, you can do this by running the update script described below, or you can set it manually in the configuration file under _assets/configuration/config.json -> gapi.client_id = <your_client_id>.

Updating

To update the program, download the latest release from this repository and place the archived folder named dist.zip in the root of the directory where your current install is located.
Then run the following command to update the program:

unzip -o dist.zip
cp -r dist/* ./
rm -rf dist

If any configuration or database changes are required there will be a script located in _updates that you will need to run named <old_version>_to_<new_version>.php.
This can be done as seen in the following example:

php _updates/1.0.0_to_1.1.0.php

You may be prompted to enter some values when running these scripts.
If the installation fails then you may need to manually install the updates.
Currently there is no easy way to manually update the program as it will require you to read the source code and manually update the files. However in the future I may, if possible, comment the manual steps needed if the script fails.
Note: It is important that the update scripts are run in the correct order. For example if you are on version 1.0.0 and you want to update to version 2.0.0 and there are update scrips for 1.1.0 and so on then you should run those scripts first. If your old version is newer than the oldest version named on an update script then run the latest update script, for example if your previous version was 1.0.5, your new version is 2.0.0 and the latest update script you have is 1.0.1_to_2.0.0.php then you should run this script.
Note: It is also important that the update scripts are not run more than once as it may cause unexpected behaviour and break the program.

Full Changelog: 1.0.1...1.1.0

First release

28 Dec 18:25
Compare
Choose a tag to compare

First release

README.md

I had made a release prior to this but it had some rather major bugs in it so I had retracted it, I did not notice these bugs untill I had tested it on a live server. They should all be fixed now though thankfully.
Note: A bug that still exists that I need to work on is when you update the password for the account you are currently logged in as. You do not get logged out and so you will see a bunch of errors even if the password updated successfully. To get around this, for now you just have to log out and log back in with your new password.