h5ai/README.md

353 lines
11 KiB
Markdown
Raw Normal View History

2011-07-28 21:25:48 -04:00
# h5ai
2012-05-11 12:54:52 -04:00
Please don't use files from the `src` folder for installation.
They need to be preprocessed to work correctly. You'll find a preprocessed
package on the [project page](http://larsjung.de/h5ai).
2011-11-26 16:53:51 -03:00
2012-08-04 20:56:28 -04:00
* to report a bug or make a feature request please create [a new issue](http://github.com/lrsjng/h5ai/issues/new) on GitHub
* website with download, docs and demo: <http://larsjung.de/h5ai>
* sources: <http://github.com/lrsjng/h5ai>
2011-07-28 21:25:48 -04:00
2011-11-26 16:53:51 -03:00
h5ai is provided under the terms of the [MIT License](http://github.com/lrsjng/h5ai/blob/master/LICENSE.txt).
2012-07-14 10:49:02 -04:00
It profits from these great projects:
2012-07-14 10:47:35 -04:00
[AmplifyJS](http://amplifyjs.com) (MIT/GPL),
[Faenza icon set](http://tiheum.deviantart.com/art/Faenza-Icons-173323228) (GPL),
[HTML5 ★ Boilerplate](http://html5boilerplate.com),
[jQuery](http://jquery.com) (MIT/GPL),
[jQuery.fracs](http://larsjung.de/fracs/) (MIT),
[jQuery.mousewheel](http://github.com/brandonaaron/jquery-mousewheel) (MIT),
[jQuery.qrcode](http://larsjung.de/qrcode/) (MIT),
[jQuery.scrollpanel](http://larsjung.de/scrollpanel/) (MIT),
[Modernizr](http://www.modernizr.com) (MIT/BSD),
[modulejs](http://larsjung.de/modulejs/) (MIT),
[Moment.js](http://momentjs.com) (MIT),
[SyntaxHighlighter](http://alexgorbatchev.com/SyntaxHighlighter/) (MIT/GPL),
2012-07-14 10:47:35 -04:00
[Underscore.js](http://underscorejs.org) (MIT)
2011-06-15 19:24:49 -04:00
2011-11-01 18:33:00 -03:00
## Changelog
2012-02-11 22:40:14 -03:00
2012-08-02 18:49:28 -04:00
### v0.21 - *2012-08-??*
2012-05-11 13:09:01 -04:00
2012-07-15 19:12:06 -04:00
* fixes misaligned image previews
* adds no JavaScript fallback to PHP version
* fixes duplicate tree entries and empty main views
2012-08-02 17:14:45 -04:00
* adds Google Analytics support (async)
2012-08-02 18:06:43 -04:00
* improves filter (now ignorecase, now only checks if chars in right order)
2012-08-04 09:41:42 -04:00
* adds keyboard support to image preview (space, enter, backspace, left, right, up, down, f, esc)
* adds text file preview and highlighting with [SyntaxHighlighter](http://alexgorbatchev.com/SyntaxHighlighter/) (keys: left, right, esc)
2012-08-02 18:32:07 -04:00
* changes language code `gr` to `el`
* adds localization for filter placeholder
2012-05-28 09:06:07 -04:00
* adds `hu` translation by [Rodolffo](http://github.com/Rodolffo)
* updates to [jQuery.qrcode](http://larsjung.de/qrcode/) 0.2
* updates to [jQuery.scrollpanel](http://larsjung.de/scrollpanel/) 0.1
2012-07-14 10:42:07 -04:00
* updates to [modulejs](http://larsjung.de/modulejs/) 0.2
2012-08-02 18:49:28 -04:00
* updates to [Moment.js](http://momentjs.com) 1.7.0
* updates to [Underscore.js](http://underscorejs.org) 1.3.3
2012-05-11 13:09:01 -04:00
2012-05-11 12:54:52 -04:00
### v0.20 - *2012-05-11*
* adds image preview
* adds thumbnails for video and pdf
* adds support for lighttpd, nginx and cherokee and maybe other webservers with PHP
* adds folder size in PHP version via shell `du`
* fixes some localization problems
* updates info page at `/_h5ai/`
* switches to JSHint
### v0.19 - *2012-04-19*
2012-02-24 14:14:33 -03:00
* adds lots of config options
* changes in `config.js` and `h5ai.htaccess`
* fixes js problems in IE 7+8
* hides broken tree view in IE < 9, adds a message to the footer
* removes hash changes since they break logical browser history
* fixes thumbnail size for portrait images in icon view
2012-04-17 18:38:15 -03:00
* fixes problems with file type recognition
2012-05-11 12:54:52 -04:00
* adds an info page at `/_h5ai/`
* sort order is preserved while browsing
* removes PHP error messages on thumbnail generation
2012-04-18 19:57:43 -03:00
* fixes PHP some problems with packed download
2012-04-17 18:38:15 -03:00
* adds support for tarred downloads
2012-04-18 19:57:43 -03:00
* changes crumb image for folders with an index file
* adds `index.php` to use h5ai in non-Apache environments
* switches from [Datejs](http://www.datejs.com) to [Moment.js](http://momentjs.com)
* adds [underscore.js](http://underscorejs.org)
* fixes mousewheel problems, updates [jQuery.mousewheel](http://github.com/brandonaaron/jquery-mousewheel) to 3.0.6
2012-05-28 09:06:07 -04:00
* updates `lv` translation
* adds `ro` translation by [Jakob Cosoroabă](http://github.com/midday)
* adds `ja` translation by [metasta](http://github.com/metasta)
* adds `nb` translation by [Sindre Sorhus](http://github.com/sindresorhus)
* adds `sr` translation by [vBm](http://github.com/vBm)
* adds `gr` translation by [xhmikosr](http://github.com/xhmikosr)
2012-02-24 14:14:33 -03:00
2012-02-24 12:37:37 -03:00
### v0.18 - *2012-02-24*
2012-02-11 22:40:14 -03:00
* adds optional QRCode display
* adds optional filtering for displayed files and folders
* updates design
* improves zipped download
* adds support for zipped download of htaccess restricted files
2012-02-19 22:47:00 -03:00
* changes h5ai.htaccess
* custom headers/footers are now optional and disabled by default
* fixes problems with folder recognition in the JS version
2012-02-15 20:34:55 -03:00
* fixes include problems in PHP version
* fixes path problems on servers running on Windows in PHP version
2012-02-16 23:25:57 -03:00
* fixes broken links in custom headers/footers while zipped download enabled
* fixes problems with thumbnails for files with single or double quotes in filename
2012-02-23 18:41:17 -03:00
* improves url hashes
* updates year in `LICENSE.TXT`
* updates es translation
2012-05-28 09:06:07 -04:00
* adds `zh-tw` translation by [Yao Wei](http://github.com/medicalwei)
* updates `zh-cn` translation
2012-02-17 19:21:13 -03:00
2012-02-11 22:40:14 -03:00
### v0.17 - *2011-11-28*
2011-11-26 16:53:51 -03:00
* h5ai is now located in `_h5ai` to reduce collisions
* switches from HTML5 Boilerplate reset to normalization
* adds some style changes for small devices
* configuration (options, types, translations) now via `config.js`
* icons for JS version are now configured via `config.js`
* sort order configuration changed
* sorting is now done without page reload
* adds `customHeader` and `customFooter` to `config.js`
* supports restricted folders to some extent
* some style changes on tree and language menu
* fixes total file/folder count in status bar
* adds support for use with userdir (requires some manual changes)
2012-02-11 22:40:14 -03:00
### v0.16 - *2011-11-02*
2011-09-18 14:54:18 -03:00
2011-10-30 18:05:25 -03:00
* sorts translations in `options.js`
* improves HTML head sections
2011-11-01 18:33:00 -03:00
* refactors JavaScript and PHP a lot
2011-10-30 18:05:25 -03:00
* improves/fixes file selection for zipped download
2011-11-01 20:56:55 -03:00
* fixes scrollbar and header/footer link issues (didn't work when zipped download enabled)
2011-11-01 18:33:00 -03:00
* adds support for ctrl-select
* `dateFormat` in `options.js` changed, now affecting JS and PHP version
* `dateFormat` is localizable by adding it to a translation in `options.js`
* PHP version is now configurable via `php/config.php` (set custom doc root and other PHP related things)
2011-11-01 20:56:55 -03:00
* image thumbs and zipped download is disabled by default now, but works fine if PHP is configured
2011-09-18 14:54:18 -03:00
2012-02-11 22:40:14 -03:00
### v0.15.2 - *2011-09-18*
2012-05-28 09:06:07 -04:00
* adds `it` translation by [Salvo Gentile](http://github.com/SalvoGentile) and [Marco Patriarca](http://github.com/Fexys)
* switches build process from scripp to wepp
2012-02-11 22:40:14 -03:00
### v0.15.1 - *2011-09-06*
2011-09-06 15:57:49 -03:00
2012-05-28 09:06:07 -04:00
* fixes security issues with the zipped download feature
* makes zipped download optional (but enabled by default)
2011-09-06 15:57:49 -03:00
2012-02-11 22:40:14 -03:00
### v0.15 - *2011-09-04*
2011-09-04 16:18:19 -03:00
2012-05-28 09:06:07 -04:00
* adds zipped download for selected files
* cleans and refactores
2011-09-04 16:18:19 -03:00
2012-02-11 22:40:14 -03:00
### v0.14.1 - *2011-09-01*
2011-09-01 09:27:58 -03:00
* display meta information in bottom bar (icon view)
2012-05-28 09:06:07 -04:00
* adds `zh-cn` translation by [Dongsheng Cai](http://github.com/dongsheng)
* adds `pl` translation by Radosław Zając
* adds `ru` translation by Богдан Илюхин
2011-09-01 09:27:58 -03:00
2012-02-11 22:40:14 -03:00
### v0.14 - *2011-08-16*
2011-08-16 15:03:09 -04:00
2012-05-28 09:06:07 -04:00
* adds image thumbnails for PHP version
2011-08-16 15:03:09 -04:00
* new option `slideTree` to turn off auto slide in
2012-02-11 22:40:14 -03:00
### v0.13.2 - *2011-08-12*
2011-08-12 13:04:14 -04:00
* changes in `/h5ai/.htaccess` ... PHP configuration ...
2012-02-11 22:40:14 -03:00
### v0.13.1 - *2011-08-12*
2012-05-28 09:06:07 -04:00
* fixes initial tree display
* adds sort order option
* adds/fixes some translations
* adds `lv` translation by Sandis Veinbergs
2012-02-11 22:40:14 -03:00
### v0.13 - *2011-08-06*
2011-07-30 07:19:28 -04:00
2012-05-28 09:06:07 -04:00
* adds PHP implementation! (should work with PHP 5.2+)
* adds new options
* changes layout of the bottom bar to display status information
* adds language selector to the bottom bar
* quotes keys in `options.js` to make it valid json
* changes value of option `lang` from `undefined` to `null`
* adds some new keys to `h5aiLangs`
* adds browser caching rules for css and js
* adds `pt` translation by [Jonnathan](http://github.com/jonnsl)
* adds `bg` translation by George Andonov
2011-07-30 07:19:28 -04:00
2012-02-11 22:40:14 -03:00
### v0.12.3 - *2011-07-30*
2012-05-28 09:06:07 -04:00
* adds `tr` translation by [Batuhan Icoz](http://github.com/batuhanicoz)
2012-02-11 22:40:14 -03:00
### v0.12.2 - *2011-07-30*
2011-07-30 06:35:51 -04:00
2012-05-28 09:06:07 -04:00
* adds `es` translation by Jose David Calderon Serrano
2011-07-30 06:35:51 -04:00
2012-02-11 22:40:14 -03:00
### v0.12.1 - *2011-07-29*
2011-07-28 20:36:53 -04:00
2012-05-28 09:06:07 -04:00
* fixes unchecked use of console.log
2011-07-28 20:36:53 -04:00
2012-02-11 22:40:14 -03:00
### v0.12 - *2011-07-28*
2012-05-28 09:06:07 -04:00
* improves performance
2012-02-11 22:40:14 -03:00
### v0.11 - *2011-07-27*
2011-07-26 20:25:00 -04:00
2012-05-28 09:06:07 -04:00
* changes license to MIT license, see `LICENSE.txt`
2011-07-26 20:25:00 -04:00
2012-02-11 22:40:14 -03:00
### v0.10.2 - *2011-07-26*
2011-07-26 10:40:18 -04:00
2012-05-28 09:06:07 -04:00
* improves tree scrollbar
2011-07-26 10:40:18 -04:00
2012-02-11 22:40:14 -03:00
### v0.10.1 - *2011-07-24*
2011-07-24 12:05:44 -04:00
2012-05-28 09:06:07 -04:00
* fixes problems with ' in links
2011-07-24 12:05:44 -04:00
2012-02-11 22:40:14 -03:00
### v0.10 - *2011-07-24*
2012-05-28 09:06:07 -04:00
* fixes problems with XAMPP on Windows (see `dot.htaccess` comments for instructions)
* fixes tree fade-in-fade-out effect for small displays ([issue #6](http://github.com/lrsjng/h5ai/issues/6))
* adds custom scrollbar to tree ([issue #6](http://github.com/lrsjng/h5ai/issues/6))
* fixes broken links caused by URI encoding/decoding ([issue #9](http://github.com/lrsjng/h5ai/issues/9))
* adds "empty" to localization (hope Google Translate did a good job here)
2012-02-11 22:40:14 -03:00
### v0.9 - *2011-07-18*
2012-05-28 09:06:07 -04:00
* links hover states between crumb, extended view and tree
* fixes size of tree view (now there's a ugly scrollbar, hopefully will be fixed)
* refactores js to improve performance and cleaned code
* adds caching for folder status codes and content
* adds `fr` translation by [Nicolas](http://github.com/Nicosmos)
* adds `nl` translation by [Stefan de Konink](http://github.com/skinkie)
* adds `sv` translation by Oscar Carlsson
2012-02-11 22:40:14 -03:00
### v0.8 - *2011-07-08*
2012-05-28 09:06:07 -04:00
* removes slashes from folder labels
* optionally rename parent folder entries to real folder names, see `options.js`
2011-11-26 16:53:51 -03:00
* long breadcrumbs (multiple rows) no longer hide content
* error folder icons are opaque now
2012-05-28 09:06:07 -04:00
* refactores js a lot (again...)
2012-02-11 22:40:14 -03:00
### v0.7 - *2011-07-07*
2012-05-28 09:06:07 -04:00
* removes shadows
* smarter tree side bar
2012-02-11 22:40:14 -03:00
### v0.6 - *2011-07-05*
2011-07-04 19:39:45 -04:00
2012-05-28 09:06:07 -04:00
* refactores js
* adds localization, see `options.js`
2011-07-04 19:39:45 -04:00
2012-02-11 22:40:14 -03:00
### v0.5.3 - *2011-07-04*
2012-05-28 09:06:07 -04:00
* refactores js
* adds basic options support via `options.js`
* adds comments to `options.js`
* adds optional tree sidebar
2012-02-11 22:40:14 -03:00
### v0.5.2 - *2011-07-02*
2011-07-02 15:11:25 -04:00
* details view adjusts to window width
2012-05-28 09:06:07 -04:00
* links icon for *.gz and *.bz2
2011-07-02 15:11:25 -04:00
2012-02-11 22:40:14 -03:00
### v0.5.1 - *2011-07-01*
2011-07-01 09:32:22 -04:00
2012-05-28 09:06:07 -04:00
* disables tree sidebar for now, since it had unwanted side effects
2011-07-01 09:32:22 -04:00
2012-02-11 22:40:14 -03:00
### v0.5 - *2011-07-01*
2011-06-30 19:51:24 -04:00
2012-05-28 09:06:07 -04:00
* adds tree sidebar
2011-06-30 19:51:24 -04:00
* some refactorings
2012-02-11 22:40:14 -03:00
### v0.4 - *2011-06-27*
2012-05-28 09:06:07 -04:00
* adds better fallback, in case JavaScript is disabled
* rewrites js, fixed middle-button click etc. problems
* refactors css
* sorts, adds and moves icons and images
* updates dot.access
2012-02-11 22:40:14 -03:00
### v0.3.2 - *2011-06-24*
2011-06-24 16:18:44 -04:00
2012-05-28 09:06:07 -04:00
* removes lib versions from file names
* adds 'empty' indicator for icons view
2011-06-24 16:18:44 -04:00
2012-02-11 22:40:14 -03:00
### v0.3.1 - *2011-06-24*
2011-06-24 09:39:44 -04:00
2012-05-28 09:06:07 -04:00
* refactores js
* adds `folderClick` and `fileClick` callback hooks
* fixes .emtpy style
2011-06-24 09:39:44 -04:00
2012-02-11 22:40:14 -03:00
### v0.3 - *2011-06-23*
2011-06-23 14:35:28 -04:00
2012-05-28 09:06:07 -04:00
* includes build stuff, files previously found in the base directory are now located in folder `target`
2011-06-23 14:35:28 -04:00
* styles and scripts are now minified
2012-05-28 09:06:07 -04:00
* adds Modernizr 2.0.4 for future use
* updates jQuery to version 1.6.1
2011-06-23 14:35:28 -04:00
2011-06-16 15:20:18 -04:00
2012-02-11 22:40:14 -03:00
### v0.2.3 - *2011-06-17*
* more refactoring in main.js
2012-02-11 22:40:14 -03:00
### v0.2.2 - *2011-06-16*
2011-06-16 15:20:18 -04:00
2012-05-28 09:06:07 -04:00
* refactores a lot, adds some comments
* includes fixes from [NumEricR](http://github.com/NumEricR)
* adds top/bottom message support, only basicly styled
2011-06-16 15:20:18 -04:00
2012-02-11 22:40:14 -03:00
### v0.2.1 - *2011-06-16*
2011-06-15 19:24:49 -04:00
2012-05-28 09:06:07 -04:00
* fixes croped filenames
* fixes missing .png extension in header
* adds some color to the links
* adds changelog
2011-06-15 19:24:49 -04:00
2011-06-16 15:20:18 -04:00
2012-02-11 22:40:14 -03:00
### v0.2 - *2011-06-15*
2011-06-15 19:24:49 -04:00
2012-05-28 09:06:07 -04:00
* adds icon view
2011-06-15 19:24:49 -04:00