Commit graph

223 commits

Author SHA1 Message Date
Piotr KUCHARSKI
5e57817eb5 clean up spacing 2014-11-26 17:33:04 +01:00
Piotr KUCHARSKI
f79debe096 simplify sanitize() function 2014-11-26 16:47:13 +01:00
Tom.C.
14cdaf7dd1 Merge pull request #70 from bifek/cleangetvars
simplify $_GET usage (move to beginning for easy escape if need be).
2014-11-26 14:52:00 +01:00
Tom.C.
2eed3aec3f Merge pull request #72 from bifek/functions
use built-in is_dir() function
2014-11-25 18:30:29 +01:00
Piotr KUCHARSKI
1989ea5ce3 use built-in is_dir() function 2014-11-25 12:32:23 +01:00
Tom.C.
f5ede76883 Merge pull request #69 from bifek/configdefault
rename config.php to config-default.php
2014-11-25 07:20:28 +01:00
Piotr KUCHARSKI
8ab86967f7 simplify $_GET usage (move to beginning for easy escape if need be).
simplify orientation reading from big case to two small arrays.
2014-11-25 03:16: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
Tom.C.
92f0e5bba0 Merge pull request #63 from bifek/thumbwarnings
quiesce warnings
2014-11-24 22:35:03 +01:00
Tom.C.
a555cdf925 Merge pull request #65 from Aldarone/simple-unescaped-slashes
Slashes unescaping seemed overcomplicated.
2014-11-24 21:05:00 +01:00
Alda Marteau-Hardi
6099e982ab Slashes unescaping seemed overcomplicated. 2014-11-24 20:43:39 +01:00
Piotr KUCHARSKI
4da4ee96d0 rewrite code to not have warnings about not defined indexes, variables,
or not being able to write files
2014-11-24 18:44:40 +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
Tom.C.
2f0c23019a Merge pull request #62 from bifek/fixsorting
use SORT_ASC/DESC directly in config. simplifies array_multisort.
2014-11-24 17:36:55 +01:00
Piotr KUCHARSKI
dc109fda31 use SORT_ASC/DESC directly in config. simplifies array_multisort. 2014-11-24 17:01:54 +01:00
Tom.C.
51bb66b4c9 Merge pull request #60 from bifek/fix10
make breadcrumb separator easily configurable
2014-11-23 12:27:11 +01:00
Piotr KUCHARSKI
bc38cfd279 make breadcrumb separator easily configurable 2014-11-23 11:58:01 +01:00
Tom.C.
b25e162597 Merge pull request #59 from bifek/fix10
"/" in the uri must never be urlencoded
2014-11-23 10:00:44 +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
9d70a14d07 fix example filename 2014-11-11 10:52:38 +01:00
Tom Canac
6e5c86ae1d improve project descriptions 2014-11-11 10:50:23 +01:00
Tom Canac
17322c981c fix #53 2014-11-11 10:43:18 +01:00
Tom.C.
9d31ffd7c8 Merge pull request #56 from Aldarone/fix10
Fix #10 : Proper escaping for files and folder name
2014-11-11 09:36:16 +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.
699cdc8e4b Merge pull request #55 from Aldarone/fix40
Fix #40 : Added missing GIFs for MediaBox
2014-11-08 20:18:13 +01:00
Alda Marteau-Hardi
ac30603bf5 Fix #40 : Added missing GIFs for MediaBox 2014-11-08 20:01:14 +01:00
Tom.C.
a6d127a8c7 Merge pull request #54 from nodiscc/update-readme
update README and humans.txt
2014-10-27 18:36:53 +01:00
nodiscc
038e1971fc update README and humans.txt
* Change back to original project name (MinigalNano)
 * Add data from http://sebsauvage.net/wiki/doku.php?id=minigal_nano
 * Simplify, reorder, cleanup
 * update list of contributors
2014-10-27 16:05:48 +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
Tom.C.
42ab84fe52 Merge pull request #51 from cyberic99/display_filename
add $display_filename option to show the filename under the picture
2014-09-14 12:01:02 +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
Tom.C.
adbb6add7d Merge pull request #45 from Lucas-C/master
index.php caption fixes
2014-07-16 10:53:05 +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.C.
8a8a46edef Update README.md
bug fixed
2014-06-26 15:25:52 +02:00
Tom Canac
beafe40baf Merge branch 'master' of github.com:sebsauvage/MinigalNano 2014-06-22 23:17:02 +02:00
Tom Canac
071c9dddd2 fix #35 2014-06-22 22:13:12 +02:00
Tom.C.
01335d1630 Merge pull request #43 from nodiscc/patch-1
Add warning about directory traversal
2014-06-22 15:14:03 +02:00
nodiscc
b20eefed14 Add warning about directory traversal
Better safe than sorry
2014-06-18 14:26:59 +02:00
Tom.C.
6f6b9e1ca0 Merge pull request #42 from jniggemann/master
Fixes #41, #2
2014-06-05 07:51:34 +02:00
Jan
d6595f487c Fixes #41, #2
Closes #2, thumbnails now rotate properly
closes #41, adds more exif orientations
2014-06-04 16:41:21 +02:00
Tom.C.
1756aa1404 Merge pull request #37 from iGormilhit/master
Correction couleur liens
2014-06-02 21:08:48 +02:00
iGormilhit
e5291688c3 Correction couleur liens 2014-06-02 16:45:24 +02:00
Tom.C.
70fe4b9d9b Merge pull request #34 from nodiscc/master
HTTPS support for RSS feed URL generation + move $gallery_link generation into rss.php
2014-05-22 07:45:43 +02:00
nodiscc
9b839b2a4f HTTPS support for RSS feed URL generation, fixes https://github.com/sebsauvage/MinigalNano/issues/33
Move $gallery_link definition from config.php to rss.php (prevents non-editable content in config.php
2014-05-22 06:14:38 +02:00