mirror of
https://github.com/oupala/apaxy.git
synced 2025-09-15 01:22:22 +02:00
Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f71e39d3b1 | ||
|
afa2e51970 | ||
|
16618c9f11 | ||
|
ea8a72d375 | ||
|
ded1ffc983 | ||
|
5668b927f6 | ||
|
b12c040727 |
18
CHANGELOG.md
18
CHANGELOG.md
@@ -1,3 +1,21 @@
|
||||
## [2.1.3](https://github.com/oupala/apaxy/compare/2.1.2...2.1.3) (2019-07-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove useless js ([afa2e51](https://github.com/oupala/apaxy/commit/afa2e51)), closes [#132](https://github.com/oupala/apaxy/issues/132)
|
||||
|
||||
|
||||
|
||||
## [2.1.2](https://github.com/oupala/apaxy/compare/2.1.1...2.1.2) (2019-06-04)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* add gif extension to image gallery viewer ([5668b92](https://github.com/oupala/apaxy/commit/5668b92))
|
||||
|
||||
|
||||
|
||||
## [2.1.1](https://github.com/oupala/apaxy/compare/2.1.0...2.1.1) (2019-06-03)
|
||||
|
||||
|
||||
|
@@ -252,16 +252,16 @@ fi
|
||||
# script
|
||||
|
||||
# output current config
|
||||
log 3 "current config"
|
||||
log 3 " configFile: ${configFile}"
|
||||
log 3 " apacheWebRootPath: ${apacheWebRootPath}"
|
||||
log 3 " installWebPath: ${installWebPath}"
|
||||
log 3 " installDir: ${installDir}"
|
||||
log 3 " enableGallery: ${enableGallery}"
|
||||
log 3 " headerMessage: ${headerMessage}"
|
||||
log 3 " footerMessage: ${footerMessage}"
|
||||
log 3 " logLevel: ${logLevel}"
|
||||
log 3 " logFile: ${logFile}"
|
||||
log 3 "- current config"
|
||||
log 3 " configFile: ${configFile}"
|
||||
log 3 " apacheWebRootPath: ${apacheWebRootPath}"
|
||||
log 3 " installWebPath: ${installWebPath}"
|
||||
log 3 " installDir: ${installDir}"
|
||||
log 3 " enableGallery: ${enableGallery}"
|
||||
log 3 " headerMessage: ${headerMessage}"
|
||||
log 3 " footerMessage: ${footerMessage}"
|
||||
log 3 " logLevel: ${logLevel}"
|
||||
log 3 " logFile: ${logFile}"
|
||||
|
||||
log 1 "- creating install directory ${installDir}"
|
||||
mkdir -p "${installDir}"
|
||||
|
@@ -1,7 +1,7 @@
|
||||
var imageSelector = [
|
||||
'tr:not(.parent) td.indexcolname a[href$=".png"]',
|
||||
'tr:not(.parent) td.indexcolname a[href$=".jpg"]',
|
||||
'tr:not(.parent) td.indexcolname a[href$=".jpeg"]',
|
||||
'tr:not(.parent) td.indexcolname a[href$=".gif"]',
|
||||
].join(', ');
|
||||
|
||||
lightGallery(document.getElementById('indexlist'), {
|
||||
|
@@ -1,13 +1,3 @@
|
||||
// fix links when not adding a / at the end of the URI
|
||||
var uri = window.location.pathname.substr(1);
|
||||
if (uri.substring(uri.length - 1) !== '/') {
|
||||
var indexes = document.getElementsByClassName('indexcolname');
|
||||
for (let i of indexes) {
|
||||
var a = i.getElementsByTagName('a')[0];
|
||||
a.href = '/' + a.getAttribute('href', 2);
|
||||
}
|
||||
}
|
||||
|
||||
// content filtering, based on "light javascript table filter" by Chris Coyier
|
||||
// https://codepen.io/chriscoyier/pen/tIuBL - MIT License
|
||||
(function(document) {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "apaxy",
|
||||
"version": "2.1.1",
|
||||
"version": "2.1.3",
|
||||
"description": "A simple, customisable theme for your Apache directory listing.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Reference in New Issue
Block a user