Nicolas DIDIER
950a741cbd
Allow to use « .. » in directory name.
...
Some people names their directories like this :
(2014-09-01..08)+Super+Party which is a perfectly valid directory name.
But the directory traversal protection was a bit protective and
prevented this.
Now it checks if the requested directory is in the gallery directory by
comparing their real path.
Fixes sebsauvage/MinigalNano/#89
2015-07-24 13:56:54 +02:00
Tom Canac
6a670e1465
version 4 for the tag
2015-07-07 14:03:36 +02:00
Tom Canac
c8a0ee1b32
fix #101
2015-07-07 14:01:47 +02:00
Tom Canac
08cbcbdc5f
PSR2 php style
2015-07-02 00:08:46 +02:00
Tom Canac
f2bbd37ec2
fix #102 ?
2015-06-30 00:51:35 +02:00
Tom Canac
e11af5e59c
visual fixes theme
2015-06-30 00:20:05 +02:00
Tom Canac
53f495c370
better intallation message
2015-06-29 23:48:14 +02:00
Tom Canac
b78f284545
improve the empty screen design
2015-06-29 23:40:58 +02:00
Tom Canac
a73f87e787
improve message display
2015-06-29 23:33:33 +02:00
Lucas Cimon
60cc244595
Fixing unescaped . in the file extension detection regex
2014-12-30 16:05:25 +01:00
Tom.C.
c5a239a332
Merge pull request #84 from bifek/fixcaptions
...
parse captions.txt only once per dir, not once per file per dir
2014-12-03 17:34:17 +01:00
Piotr KUCHARSKI
f7c8a3bbdb
parse captions.txt only once per dir, not once per file per dir
2014-12-01 18:26:04 +01:00
Piotr KUCHARSKI
8e676da3ff
missing entries in exif data are expected, no need to emit warning for them.
2014-12-01 16:50:03 +01:00
Piotr KUCHARSKI
f890b15bcc
cleanup readEXIF
2014-11-27 16:51:58 +01:00
Piotr KUCHARSKI
83064dce70
fix a tiny bug where imageName would've been assigned to the last file in dir even if it was not on the extension list.
...
also rewrite a bit (and fix braces)
2014-11-26 22:50:56 +01:00
Piotr KUCHARSKI
437422ac9d
use built-in is_readable()
2014-11-26 18:43:29 +01:00
Piotr KUCHARSKI
5e57817eb5
clean up spacing
2014-11-26 17:33:04 +01:00
Piotr KUCHARSKI
1989ea5ce3
use built-in is_dir() function
2014-11-25 12:32:23 +01:00
Piotr KUCHARSKI
0d014c7f70
rename config.php to config-default.php and include (new) config.php
...
that contains only settings that are different than default ones.
also add config.php to gitignore.
all this will make it easier for users to sync with repo.
2014-11-25 02:11:37 +01:00
Alda Marteau-Hardi
6099e982ab
Slashes unescaping seemed overcomplicated.
2014-11-24 20:43:39 +01:00
Tom.C.
f72084ccff
Merge pull request #64 from Lucas-C/master
...
Do not escape slashes in images href URLs
2014-11-24 18:43:59 +01:00
Lucas Cimon
2f0905a304
Do not escape slashes in images href URLs
...
Fixes #57
2014-11-24 18:33:26 +01:00
Piotr KUCHARSKI
dc109fda31
use SORT_ASC/DESC directly in config. simplifies array_multisort.
2014-11-24 17:01:54 +01:00
Piotr KUCHARSKI
bc38cfd279
make breadcrumb separator easily configurable
2014-11-23 11:58:01 +01:00
Piotr KUCHARSKI
652eaac128
"/" in the uri must never be urlencoded, it breaks opening files completely.
...
also remove some code repetition.
2014-11-23 00:03:21 +01:00
Tom Canac
17322c981c
fix #53
2014-11-11 10:43:18 +01:00
Alda Marteau-Hardi
8afc37cb19
Fix #10 : Proper escaping for files and folder name
2014-11-08 21:12:59 +01:00
Tom.C.
e33846f671
Merge pull request #50 from nodiscc/multimedia-support
...
Add multimedia (audio/video) files support
2014-10-05 06:57:37 +02:00
cyberic99
c7a987d436
add $display_filename option to show the filename under the picture
2014-09-14 11:57:21 +02:00
nodiscc
54d6fc754f
add support for more audio/video formats/extensions:
...
* video: mp4, mpg, mpeg, mov, avi, wmv, flv, webm
* audio: .aiff, .aif, .wma, .aac, .flac, .mp3, .ogg, .m4a
* use Nitrux icons (http://deviantn7k1.deviantart.com/art/Nitrux-293634207 ) for audio and video icons
2014-09-11 19:42:41 +02:00
nodiscc
878a034094
index.php: remove trailing spaces
2014-09-11 15:13:35 +02:00
Tom.C.
dfadcf8a85
Merge pull request #49 from nodiscc/video-support
...
add basic OGV video support
2014-09-08 15:43:37 +02:00
nodiscc
cf1ba1bc9a
add basic OGV video support
...
* work on https://github.com/sebsauvage/MinigalNano/issues/46
* lightbox not supported yet, videos are just linked from the gallery page
2014-09-08 14:46:09 +02:00
Lucas Cimon
c38eb0e9c0
index.php caption fixes
...
-> ignoring empty lines in captions.txt that caused crashes
+ using captions.txt over EXIF and file name
2014-07-15 23:52:18 +02:00
Tom Canac
4bf3c2a22e
BOM fixed in index.php (thanks to ploc)
2014-07-07 14:03:20 +00:00
Tom Canac
071c9dddd2
fix #35
2014-06-22 22:13:12 +02:00
Orangina Rouge
9f3070b65a
[Display of folder] - patch of issue when nothing to display
...
Correction of the call of the function when no picture nor default image exist
2014-02-24 23:19:30 +01:00
Orangina Rouge
dab48007cf
[EXIF reading] - patch of problem for reading data
...
comment of lines which calculate the good focal length and the F-number to avoid division by zero
use of a elseif to take into account the EXIF readen in the caption of the image
rework of the syntax to pend exif info to caption
2014-02-24 23:12:36 +01:00
Tom Canac
7880ce7faa
lightbox restablished
2014-02-11 22:49:28 +01:00
Sylvhem
0b9cd898fe
Amélioration du code des thèmes
2014-02-09 16:43:32 +01:00
Tom.C.
98d96dabd3
Merge pull request #6 from bitbybit/patch-1
...
Warning: opendir(path/to/dir): failed to open dir: No such file or directory
2014-02-02 13:07:18 -08:00
Tom Canac
9340afd5d3
comment.php now handle special caracters. UTF8 fixed
2014-01-31 20:10:50 +01:00
Tom Canac
695de0a19c
permissions fixeds
2014-01-30 18:16:30 +01:00
Tom Canac
a508ee9079
lazy loading finished
2014-01-30 18:08:57 +01:00
Tom Canac
8b5713c059
lazy loading is okay :)
2014-01-30 12:29:34 +01:00
Tom Canac
2a069b7dc3
Option to display all pictures on one page added
2014-01-30 10:52:08 +01:00
bitbybit
014d9c0665
Warning: opendir(path/to/dir): failed to open dir: No such file or directory
...
Check if folder exists
2013-08-16 18:35:10 +04:00
Sébastien SAUVAGE
f9174bd807
Merge pull request #3 from Aldarone/master
...
Allow the use of the character ' in captions.
2013-08-12 14:02:12 -07:00
Sebastien SAUVAGE
0cb8716530
Removed warning
...
Removed warning when sorting a directory with both files and
subdirectories.
2013-07-27 23:50:06 +02:00
Alda Marteau-Hardi
65499b97b1
Allow the use of the character ' in captions.
2013-07-12 13:02:54 +02:00