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
ba387e0c47
if rss script is in read-only directory, skip file generation and diff calculations.
2014-11-26 22:46:56 +01:00
Tom.C.
78122f16b6
Merge pull request #79 from bifek/rssfixxml
...
rewrite xml generation
2014-11-26 22:41:38 +01:00
Tom.C.
ab376c1641
Merge pull request #78 from bifek/rssfix
...
improve self-url discovery
2014-11-26 22:40:42 +01:00
Piotr KUCHARSKI
50f5bf7deb
improve rss self-url discovery:
...
use ports if not standard, use other vars for scheme, remove extra '/'.
2014-11-26 22:34:00 +01:00
Piotr KUCHARSKI
5b92a64179
rewrite xml generation
2014-11-26 21:47:38 +01:00
Tom.C.
4a36279803
Merge pull request #77 from bifek/rssclean
...
clean up spacing and braces according to PSR-2 rules
2014-11-26 19:51:38 +01:00
Piotr KUCHARSKI
814cc39fbe
clean up spacing and braces according to PSR-2 rules
2014-11-26 19:47:05 +01:00
Tom.C.
bed64ca78a
Merge pull request #76 from bifek/tinyfixes
...
use built-in is_readable()
2014-11-26 18:49:47 +01:00
Piotr KUCHARSKI
437422ac9d
use built-in is_readable()
2014-11-26 18:43:29 +01:00
Tom.C.
a57b081377
Merge pull request #75 from bifek/sanitize
...
simplify sanitize() function
2014-11-26 18:24:27 +01:00
Tom.C.
2687cff8a8
Merge pull request #74 from bifek/cleanup
...
clean up spacing and bracing according to PSR-2
2014-11-26 18:24:11 +01:00
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