Commit graph

197 commits

Author SHA1 Message Date
nodiscc
6f32ce1202 rss: add guid element for each item
Work on https://github.com/sebsauvage/MinigalNano/issues/48
2015-02-21 11:53:20 +01:00
nodiscc
65c0ce6233 rss: set content-type to xml
* Work on https://github.com/sebsauvage/MinigalNano/issues/48
2015-02-21 11:53:20 +01:00
nodiscc
a108d8da78 rss: declare UTF-8 charset 2015-02-21 11:53:19 +01: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
Tom.C.
8922b924ce Merge pull request #83 from bifek/moreexif
missing entries in exif data are expected, no need to emit warning for them
2014-12-01 18:56:01 +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
Tom.C.
2377300ee4 Merge pull request #82 from bifek/exif
cleanup readEXIF
2014-11-28 07:29:36 +01:00
Piotr KUCHARSKI
f890b15bcc cleanup readEXIF 2014-11-27 16:51:58 +01:00
Tom.C.
493eea95ab Merge pull request #81 from bifek/rss-rw
if rss script is in read-only directory, skip file generation
2014-11-27 07:37:31 +01:00
Tom.C.
a7719c012c Merge pull request #80 from bifek/fixrssfn
fix a tiny bug where imageName would've been assigned to the last file...
2014-11-27 07:35: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
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