1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-09-15 01:22:22 +02:00

7 Commits
2.1.1 ... 2.1.3

Author SHA1 Message Date
oupala
f71e39d3b1 chore: bump version from 2.1.3-dev to 2.1.3 2019-07-18 22:46:51 +02:00
oupala
afa2e51970 fix: remove useless js
Remove some old js code which now seems useless. It aimed to fix links when not adding a / at the end of the URI.

fix #132
2019-07-18 19:03:30 +02:00
oupala
16618c9f11 chore: bump version from 2.1.2 to 2.1.3-dev 2019-07-18 16:59:20 +02:00
oupala
ea8a72d375 chore: bump version from 2.1.2-dev to 2.1.2 2019-06-04 13:15:36 +02:00
oupala
ded1ffc983 refactor: log formatting
Refactor log formatting for a better readability.
2019-06-04 13:13:41 +02:00
oupala
5668b927f6 fix: add gif extension to image gallery viewer 2019-06-04 13:13:27 +02:00
oupala
b12c040727 chore: bump version from 2.1.1 to 2.1.2-dev 2019-06-04 13:12:59 +02:00
5 changed files with 30 additions and 22 deletions

View File

@@ -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)

View File

@@ -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}"

View File

@@ -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'), {

View File

@@ -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) {

View File

@@ -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": {