diff --git a/configuration/auth.html b/configuration/auth.html index 0e25884..6d47cc2 100644 --- a/configuration/auth.html +++ b/configuration/auth.html @@ -102,8 +102,8 @@

Default Auth service

-

By default, users are stored in json file. For some use-cases, this is more than enough. It also makes this app lightweight since no database is required.

-

Default handler accepts only file name parameter. This file should be writable by the server.

+

By default, users are stored in json file. For some use-cases, this is enough. It also makes this app lightweight since no database is required.

+

Default handler accepts only file name parameter. This file should be writable by the web server.

        'Filegator\Services\Auth\AuthInterface' => [
             'handler' => '\Filegator\Services\Auth\Adapters\JsonFile',
             'config' => [
@@ -112,7 +112,7 @@
         ],
 

Configuring Auth service to use database

-

You can use mysql database to store your users.

+

You can also mysql database to store your users.

First, create a table users with this sql:

CREATE TABLE `users` (
     `id` int(10) NOT NULL AUTO_INCREMENT,
@@ -130,7 +130,7 @@
 VALUES
 ('guest', 'Guest', 'guest', '', '/', ''),
 ('admin', 'Admin', 'admin', 'read|write|upload|download|batchdownload|zip', '/', '$2y$10$Nu35w4pteLfc7BDCIkDPkecjw8wsH8Y2GMfIewUbXLT7zzW6WOxwq');
-

At the end, open configuration.php and update Auth handler under section services to something like this:

+

At the end, open configuration.php and update AuthInterface handler to:

        'Filegator\Services\Auth\AuthInterface' => [
             'handler' => '\Filegator\Services\Auth\Adapters\Database',
             'config' => [
@@ -141,7 +141,7 @@ VALUES
                 'database' => 'filegator',
             ],
         ],
-

Don't forget to enter correct mysql username, password, and database.

+

Don't forget to enter correct database details.

diff --git a/configuration/basic.html b/configuration/basic.html index fda200f..b7c3a8a 100644 --- a/configuration/basic.html +++ b/configuration/basic.html @@ -102,7 +102,7 @@

Basic

-

Edit configuration.php file to change basic things like logo, title, language and upload restrictions.

+

You can edit configuration.php to change the basic things like logo image, title, language and upload restrictions.

NOTE: if you've made a mistake in configuration file, forgot to close a quote, the script will throw an error. Please use provided default configuration_sample.php to verify this.

Additional HTML

You can add additional html to the head and body like this:

diff --git a/configuration/session.html b/configuration/session.html index 1fbe1b2..fbfe4cf 100644 --- a/configuration/session.html +++ b/configuration/session.html @@ -110,7 +110,7 @@ `sess_time` int(10) unsigned NOT NULL, PRIMARY KEY (`sess_id`) ) CHARSET=utf8 COLLATE=utf8_bin; -

Then, open configuration.php and update Auth handler under section services to something like this:

+

Then, open configuration.php and update Session handler to:

        'Filegator\Services\Session\SessionStorageInterface' => [
             'handler' => '\Filegator\Services\Session\Adapters\SessionStorage',
             'config' => [
@@ -127,9 +127,9 @@
             ],
         ],
 
-

Don't forget to enter correct mysql username, password, and database.

+

Don't forget to enter correct database details.

Tweaking session options

-

The underying Symfony's session component accepts array of options. +

The underying session component accepts array of options. For example you can pass cookie_lifetime parameter to extend default session lifetime:

        'Filegator\Services\Session\SessionStorageInterface' => [
             'handler' => '\Filegator\Services\Session\Adapters\SessionStorage',
diff --git a/configuration/storage.html b/configuration/storage.html
index c883307..858943b 100644
--- a/configuration/storage.html
+++ b/configuration/storage.html
@@ -103,9 +103,10 @@
                 

Adapters

Different storage adapters are provided through the awesome Flysystem library.

-

You can use local filesystem (default), FTP, S3, Dropbox and many others. Please check Flysystem docs for the exact setup required for each adapter.

+

You can use local filesystem (default), FTP, S3, Dropbox and many others.

+

Please check the Flysystem docs for the exact setup required for each adapter.

Default Local Disk Adapter

-

With default adapter you just need to configure where your repository folder is. This folder will serve as root for everything else.

+

With default adapter you just need to configure where your repository folder is. This folder will serve as a root for everything else.

        'Filegator\Services\Storage\Filesystem' => [
             'handler' => '\Filegator\Services\Storage\Filesystem',
             'config' => [
diff --git a/demo.html b/demo.html
index 865eb99..f8b077c 100644
--- a/demo.html
+++ b/demo.html
@@ -103,8 +103,8 @@
                 

Demo

https://demo.filegator.io

-

This is read-only demo with guest account enabled. -You can also log in with john/john to see John's private files.

+

This is read-only demo with guest account enabled.

+

You can also log in with john/john to see John's private files.

diff --git a/index.html b/index.html index e380d5f..90e93b6 100644 --- a/index.html +++ b/index.html @@ -104,10 +104,10 @@

FileGator

FileGator is a free, open-source PHP script for managing files and folders.

You can manage files inside your local repository folder (on your server's hard drive) or connect to other storage adaptes (see below).

-

FileGator has multi-user support so you can have admins and other users managing files with different access permissions, roles and home folders.

+

FileGator has multi-user support so you can have admins and other users managing the files with different access permissions, roles and home folders.

All basic file operations are supported: copy, move, rename, create, delete, zip, unzip, download, upload.

If allowed, users can download multiple files or folders at once.

-

File upload supports drag&drop, progress bar, pause and resume. Upload is chunked so you should be able to upload large files regardless of your server configuration.

+

File upload supports drag&drop, progress bar, pause and resume. Upload is chunked so you should be able to upload large files regardless of your server's configuration.

Features & Goals

  • Multiple storage adapters (Local, FTP, S3, Dropbox and many others via Flysystem)