Skip to content

Releases: EV-soft/folder-explorer

2.4.2 – closed cards one height, full-width cards with page zoom, menus and manual

Choose a tag to compare

@EV-soft EV-soft released this 25 Oct 17:12
  • Closed cards all have the same height (38 px) - also Folder content in Analyse mode (Gallery and Duplicates only as icons while it is closed).
  • The cards fill the page also with a page zoom below 100 % (90 % left 10 % unused at the sides) - and a centred card
    (Transfer, Folder tree) can be dragged to the full width: its size grip now follows the mouse (php2html 1.9.3 bundled).
  • The hint of the size grip of Folder content is no longer hidden behind the locked file features.
  • UPLOAD is in its own field (From your PC:) - on one line with the other buttons of the Transfer card.
  • The menus are told: a line below the table says where the right-click menus are - and the README has a Menus table.
  • Manual: users (make, change, delete), share links, edit, duplicates, search - and limits, your account, keys.

Updating from 2.4.1: replace folder-explorer.php, php2html.lib.php and _trans.sys.json.

Install: download folder-explorer-boot.zip (or folder-explorer-2.4.2-boot.zip), unpack it on the server and open folder-explorer-install.php.

Demo: https://ev-soft.dk/foldexpl/folder-explorer.php

2.4.1 – files without a type as text, five fixes, download link

Choose a tag to compare

@EV-soft EV-soft released this 25 Oct 14:08

Download and install: the boot file

folder-explorer-2.4.1-boot.zip (1.1 MB) - the same file is also here as folder-explorer-boot.zip, so this link always gives the newest version. It holds one file, folder-explorer-install.php: unpack it on your web server and open it in the browser - it checks PHP, asks for a folder name and your administrator, and installs Minimal (7 files), Standard (10 files, with the translations - recommended) or Maximal (182 files, with local libraries). Then it deletes itself.

What is new

  • Files without a known type (error_log, access_log.1, LICENSE ...): the content decides - text is previewed, searched and edited as text, with the text icon; binary files stay hex.
  • Share links of a deleted account are deleted with it - a new account of the same name got them back.
  • The cached ZIP of a shared folder no longer has the link token in its name (the temp folder may be shared on a web hotel).
  • Editor: one old version per file per 15 minutes goes into the trash (many saves pushed deleted files out of the trash) - and the line ends most lines have are kept (one CRLF made all lines CRLF; CR-only files got LF).
  • Gallery: one thumbnail is made at a time (many big photos at once could use a lot of memory on the server).
  • README: a download link to the newest boot file at the top.

Updating from 2.4.0: replace folder-explorer.php and _trans.sys.json.

Demo: https://ev-soft.dk/foldexpl/folder-explorer.php

2.4.0 – share links, edit (also TinyMCE), search in subfolders, gallery, duplicates

Choose a tag to compare

@EV-soft EV-soft released this 25 Oct 13:29

Download and install: the boot file

folder-explorer-2.4.0-boot.zip (1.1 MB) holds one file, folder-explorer-install.php. Unpack it on your web server and open it in the browser: it checks PHP, asks for a folder name and your administrator, and installs Minimal (7 files, English only), Standard (10 files, with the translations - recommended) or Maximal (182 files, with local libraries - no internet access needed). Then it deletes itself.

What is new

  • Share link (file and folder menu): a link for people without an account - it works for 1, 7, 30 or 90 days (administrators: also without an end) and may have a password. A folder is fetched as one ZIP file. The link works only while its maker may still download the file. Program menu Shared links: copy, see the downloads, delete. The page of the link speaks the language of the browser.
  • Edit (file menu): text files up to 2 MB in a folder you may write in - Ctrl+S saves, the old version goes to the trash, line ends and byte order mark are kept. If someone else changed the file meanwhile, you are asked.
  • Edit with TinyMCE (file menu of an HTML file): a word-processor view - only the body is edited (the head is kept), <script>, <style> and PHP tags are kept as they are. TinyMCE is fetched the first time it is used, not on every page.
  • Search in all subfolders - also in Quick mode: by name (* and ? for the whole name) and if you like in the text of text files you may download.
  • Gallery: the files as tiles, images as small pictures - a tile opens the file menu, a double-click views it, the check box selects it.
  • Duplicates (Analyse mode): files with the same content in this folder and below it, the most space to save first - move the copies to the trash.
  • The download icon before the file name is gone - Download is in the file menu.
  • Layout: the file features are locked to the bottom of the scrolling file window, the status of the checked rows below the select buttons, a higher file window, the line below all card headings, the % text on the bar of Used space (Danish: Pladsforbrug).
  • Fixed: ?dl[]=x (and fsz, pv, fdl) gave a PHP warning.

New settings: $fe_share_days (90, 0 = no share links), $fe_shares_file, $fe_tinymce_url, $fe_tinymce_lang - see the README.

Updating from 2.3.x: replace folder-explorer.php, fe-preview.js and _trans.sys.json. The program makes fe-shares.php (the share links) itself.

Demo: https://ev-soft.dk/foldexpl/folder-explorer.php

2.3.3 – the size of the checked rows, minimal installation

Choose a tag to compare

@EV-soft EV-soft released this 25 Oct 09:58

Download and install: the boot file

folder-explorer-2.3.3-boot.zip (1.1 MB) holds one file, folder-explorer-install.php. Unpack it on your web server and open it in the browser: it checks PHP, asks for a folder name and your administrator, and installs Minimal (7 files, English only), Standard (10 files, with the translations - recommended) or Maximal (182 files, with local libraries - no internet access needed). Then it deletes itself.

What is new

  • The checked rows below the table: how many, and the total size of the checked files - beside All / None / Inverse, updated on every check box (folders are counted in Analyse mode).
  • README - minimal installation: the 7 required files (about 0.9 MB), the optional ones, what the program makes itself, the PHP extensions (mbstring required), nginx, local libraries without internet access - and how to make the first administrator. See Minimal installation.

Updating from 2.3.x: replace folder-explorer.php and _trans.sys.json.

Demo: https://ev-soft.dk/foldexpl/folder-explorer.php

2.3.2 – security fix, Transfer and Manual cards

Choose a tag to compare

@EV-soft EV-soft released this 25 Oct 09:17

Security - please update

A request with csvFile=<name> made the table write a file of that name in the program folder: any logged-in account - also a read only demo account - could overwrite folder-explorer.php or fe-users.php. The export is never taken from the request now (no button used it).

Fixes

  • Deleting one file with the trash switched off could remove a file of the program - refused now.
  • A ZIP made of a folder x.php was called x.php.zip - a name upload and rename refuse (Apache may run it as PHP). Now x_php.zip.
  • ?show[]=x gave a fatal error (also before the log-in).
  • File names with invalid UTF-8 (old Latin-1 names on Linux) were shown empty and their menu did not work.

Layout

The Transfer card is below the folder content, and the manual is a card of its own at the bottom of the page.

Updating from 2.3.x: replace folder-explorer.php and _trans.sys.json.

Demo: https://ev-soft.dk/foldexpl/folder-explorer.php

2.3.1 – php2html 1.9.2

Choose a tag to compare

@EV-soft EV-soft released this 25 Oct 08:52

Built with php2html 1.9.2 - ten fixes in the library, among them:

  • My notes are kept per program folder - other programs on the same domain (and other users of the browser) saw them.
  • Number fields accept units longer than 4 characters (before, the browser refused to send the form).
  • Choices with & or ' (radio buttons, check boxes) are marked again, and "1" no longer also selects "01".
  • The log-in always waits after wrong passwords.

Updating from 2.3.0: replace php2html.lib.php and _trans.sys.json.

Demo: https://ev-soft.dk/foldexpl/folder-explorer.php

2.3.0 – a taken name: Stop and ask, New name, Overwrite or Skip

Choose a tag to compare

@EV-soft EV-soft released this 25 Oct 08:09

A taken name - you choose

The new field A taken name on the Transfer card decides what copy, move, unpack and upload do when the name is there already (remembered in your browser):

  • Stop and ask (the default) - nothing is done before you answer. A dialog shows each taken name with the size and date of the new one and of the one there (the newer date in bold): choose for each, or one choice for All. Cancel does nothing. Upload asks before the files are sent.
  • New name - name (2), as before.
  • Overwrite - the old file goes to the trash (it can be restored there).
  • Skip - the one there is kept.

Two folders of the same name are merged: the files inside follow the choice. A file against a folder of the same name only gets a new name; a protected file is never replaced; the same name twice in one transfer never replaces the first. The message lists what was renamed, overwritten and skipped. Without JavaScript nothing is overwritten.

Safer

  • The files of the program (its PHP files, fe-*.js, _trans*.json, the accounts, _assets) are never overwritten, deleted, renamed / moved or synchronized over - also with the restrictions removed. Before, a write account with the program folder as a write folder could replace a script of the program.
  • The quota of the shared folder counts only the difference when a file is overwritten.

Built with php2html 1.9.1 (bundled).

Updating from 2.2.x: replace folder-explorer.php, fe-upload.js and _trans.sys.json (copy your settings at the top of folder-explorer.php over; the accounts in fe-users.php stay).

Demo: https://ev-soft.dk/foldexpl/folder-explorer.php

2.2.1 – taken names told, php2html 1.9.1

Choose a tag to compare

@EV-soft EV-soft released this 25 Oct 07:20
  • A taken name is told: when a copy, move or unpack had to save a file as name (2), the message lists it (report.pdf → report (2).pdf). Also in the manual.
  • Faster pages: php2html loads only the libraries a page uses - the login page loads no jQuery and no Tablesorter.
  • Caps Lock warning at the password field of the login - shown only while Caps Lock is on.
  • Built with php2html 1.9.1 (bundled, with p2h_audit.inc.php and p2h_trans.inc.php).

Updating from 2.2.0: replace the program files (folder-explorer.php, php2html.lib.php, p2h_audit.inc.php, p2h_trans.inc.php, fe-*.js, _trans.sys.json) - copy your settings at the top of folder-explorer.php over; the accounts in fe-users.php stay.

Demo: https://ev-soft.dk/foldexpl/folder-explorer.php (PHP 8.5; requires PHP 8.1 or newer)

2.2.0 – trash, activity log, translations in the program, manual

Choose a tag to compare

@EV-soft EV-soft released this 20 Oct 20:44
  • Trash: what is deleted goes to the trash (program menu - Trash, or the link in the message): restore it to its folder, delete it
    for good, or empty the trash. Everybody sees what was deleted in the folders they may write in, administrators all of it. Deleted for
    good after 30 days - and the oldest first above 500 MB ($fe_trash_days, $fe_trash_max). A hidden folder, never shown or browsed.
  • Activity log (administrators: program menu - Activity log): who did what, when and from where - logins (also failed and blocked),
    uploads, downloads, copy, move, ZIP, delete, trash, users, passwords, translations - with the result.
  • Translations in the program (administrators: program menu - Translations): choose a language (a list with flags), search, the
    missing texts first; Suggestions without a key (the translator of the browser, else MyMemory) or Copy for AI - the whole table
    for ChatGPT / Claude, and its answer pasted back. Only the changed texts are saved. A new language is in the language selector as soon
    as it has a translation; 51 languages have a flag (all of Europe), $gbl_Flags adds more.
  • Manual below the table - eight tabs: Nice to know, Step by step, Questions, Mouse and keys, Your account (your rights,
    here), Limits (the numbers of this installation), File viewers, About.
  • Keyboard in the table: Ctrl+A checks all rows, Ctrl+Shift+A none, Delete deletes (into the trash), F2 renames.
  • Analyse mode shows the used space of every folder in the tree - each folder counted once.
  • Danish everywhere: about 75 texts that were still English (the buttons below the table, messages, column headings).
  • Safer: the folder of the program (and the trash) is never deleted or moved - also with the restrictions removed; All / Inverse
    only check the rows the filter shows; the public developer tool translate.page.php is removed (with translate.inc.php and
    filedata.inc.php); hints stand at their own button; the buttons keep their colours in the dark and custom themes.
  • Fixes: trash names with : ? * were lost, synchronize found the destination as shown and counts the quota by what it copies,
    the max file size leaves room for the rest of the upload, the tree forgets old sizes after a change - and more (see the commits).
  • Built with php2html 1.8.0 (bundled, with p2h_audit.inc.php and p2h_trans.inc.php).

Updating from 2.1.0: replace the files (the settings in folder-explorer.php and the accounts in fe-users.php stay). Remove translate.page.php, translate.inc.php and filedata.inc.php from the server - they are no longer part of the program.

Demo: https://ev-soft.dk/foldexpl/folder-explorer.php

v2.1.0

Choose a tag to compare

@EV-soft EV-soft released this 19 Oct 19:00

Transfer, file menus, file preview and user management - plus many fixes in security and robustness.

Highlights

  • Transfer with a basket (source -> destination): collect files and folders from any folder, go to the destination and Copy here / Move here - or Download as ZIP. Replaces the Exchange area card.
  • File features below the table work: select all / none / inverse, basket, COPY / MOVE / ZIP to a destination, DELETE, Property, DOWNLOAD, UPLOAD.
  • File preview (mouse on a file icon): images, video, audio, fonts, code with syntax colours, PDF, Word / ODT / PowerPoint / RTF / epub text, CSV / Excel / Calc tables, ZIP and tar file lists, hex of other files.
  • File and folder menus (mouse on a name, right-click, keyboard or long press): view, download, properties, rename / move, copy, ZIP, unpack, synchronize, delete, new folder.
  • Program menu (right-click outside a row): Users, Change my password, Remove / restore restrictions, Help, About, Log out.
  • Users and write folders: administrators manage accounts in the program (saved in fe-users.php); each account has its own write folders.
  • Fast folder tree: sizes are counted afterwards in the browser and cached - only the current branch at once.
  • Long work is not stopped after 30 s (up to $fe_max_time, default 300 s).
  • No session timeout while a page is open ($gbl_SessionKeep).
  • Login safety: limit on failed logins, server-checked slider, password change logs out other sessions, logout with token.
  • Keyboard, touch and dark theme everywhere. Hex view and Develop cards removed.
  • Bundled php2html (Clever-Html-Engine) 1.7.5.

Updating from 2.0.0

  1. Copy all files over the old ones, also the new fe-preview.js, fe-tree.js and _trans.sys.json. Keep your settings in folder-explorer.php.
  2. $auth_users has a 4th field: the write folders of each account ([''] = everything, missing = the shared folder _exchange) - or create the accounts in the program (Users).
  3. The Exchange area card is now the Transfer card.

Requires PHP 8.1 or newer. See README.md for details.