3008 Commits

Author SHA1 Message Date
Garvin Hicking
e846b0ea8c backport 2013-02-08 08:40:03 +01:00
Garvin Hicking
54e044ff09 escape hotlinked image 2013-02-08 08:28:22 +01:00
Matthias Mees
75ab019136 Escaping. Final version. Hopefully. 2013-02-07 23:46:12 +01:00
Matthias Mees
7d2febdb22 Escaping JS instead of HTML. 2013-02-07 19:35:27 +01:00
Matthias Mees
8966e1605d Escape emitted template option HTML. 2013-02-07 17:01:30 +01:00
Matthias Mees
ce09949de9 Escape emitted template option HTML. 2013-02-07 16:29:39 +01:00
Garvin Hicking
3a20602939 prep rc3 2013-02-07 13:26:23 +01:00
Garvin Hicking
da58de906e Merge branch 'master' of github.com:s9y/Serendipity
Conflicts:
	docs/NEWS
2013-02-07 12:42:28 +01:00
Garvin Hicking
e983c31ee4 Port missing from 2.0 2013-02-07 12:40:24 +01:00
Garvin Hicking
2962760352 better value escaping (please check) 2013-02-07 12:37:06 +01:00
Ian
8215d0dbcd typo 2013-02-07 12:07:33 +01:00
Ian
ff4d511a2f reset verbosity in testing environments back to original intention
and be more strict to $serendipity['production']
2013-02-07 12:01:37 +01:00
Ian
b72f6d98d9 fix double slash in target 2013-02-07 11:07:54 +01:00
Matthias Gutjahr
aadc851bf1 Fix for "Illegal string offset 'tag'" error 2013-02-06 11:42:20 +01:00
Ian
2554e3cc6e temporary workaround "Illegal string offset 'tag'" error
until better idea, as using isset() here, ends up with count($files)
DEBUG: ERROR: XML tree did not contain requested plugin: error.
2013-02-04 14:21:27 +01:00
Ian
b7e6952b36 added empty $template_config_groups var
for template changes, if previous template had these set
2013-02-03 11:20:28 +01:00
Ian
fa53301283 smarty bugfix
as might be related to the microformat error reason (~?)
2013-01-25 09:16:58 +01:00
Ian
8c9f8d2a66 fixed explode 2cd param to string 2013-01-24 17:57:14 +01:00
Ian
95a21fea7d added smarty BC function get_template_vars()
relies on some additional plugins like serendipity_event_autotitle.php, serendipity_event_multilingual, serendipity_event_sidebarhider, serendipity_event_downloadmanager, serendipity_event_microformats and possibly also more plugins by custom developers.
2013-01-24 15:40:22 +01:00
Ian
4174a8f7fc bump date in changed BP template 2013-01-23 12:22:00 +01:00
Ian
985d8d29ca reflect POST in BP template configs re-set situations 2013-01-23 11:08:33 +01:00
Ian
16cf06e60e Update include/serendipity_smarty_class.inc.php
re-add prev removed disabled config switch
2013-01-21 17:11:44 +01:00
Matthias Mees
568bba8ade Note changed to reflect safer version. 2013-01-21 16:54:46 +01:00
Matthias Mees
a55fd284c2 Safer version of Smarty3 compatibility. 2013-01-21 16:51:16 +01:00
Garvin Hicking
b608d63e35 Smarty3 compatibility to promote $entry to sub-templates 2013-01-21 10:06:44 +01:00
Garvin Hicking
fdeefd2cf7 Merge branch 'master' of https://github.com/s9y/Serendipity 2013-01-21 09:27:12 +01:00
Garvin Hicking
edc8c35be2 browsercompat note 2013-01-20 13:10:46 +01:00
Garvin Hicking
fef75b3f9f Merge branch 'master' of https://github.com/s9y/Serendipity 2013-01-20 13:09:08 +01:00
garvinhicking
10fddac2d8 add note about browsercompat 2013-01-20 13:07:39 +01:00
Garvin Hicking
f704375a2c I guess I will never understand bitmasks.
This now seems to work in both PHP 5.2 and PHP 5.4, and I might even udnerstand why ;)
2013-01-20 11:04:14 +01:00
Garvin Hicking
6f2858ad27 Fix the error_reporting somewhat; until now, prevent E_STRICT errors were not correctly surpressed, but
we need to do this, because otherwise older plugins will prevent Serendipity from loading.

I actually wanted to at least "break" stuff and report errors, when $serendipity['production'] is set to "debug".

However, this does NOT work for me (PHP 5.2); even when set to "debug", E_STRICT errors do not seem to show up.
I'm quite at a loss here, so anyone reading this, go ahead and inspect.

At least it makes this version work when "older" plugins exists. It would be great if the code could be made to show the debug errors in debug mode.

I shuffled around the error_reporting() position because when someone sets the variable in serendipity_config_local.inc.php it would be too early to affect code flow; now it should evaluate the variable properly.
2013-01-20 01:24:23 +01:00
Garvin Hicking
e952791bb1 Bump version, also add some upgrader notices for people to see 2013-01-19 15:52:41 +01:00
Garvin Hicking
de2188ed0b This at least fixes some issues in the frontend.
I get errors only in my PHP 5.2 installation, PHP 5.4 is different.
In my backend now I do get a STRICT STANDARDS error still, even if it should be muted.
I don't understand this, needs more thorough investigation.
2013-01-19 15:49:42 +01:00
Ian
7143f43cf0 fixed Illegal string offset 'tag' 2013-01-19 12:42:23 +01:00
Garvin Hicking
a4e14b62c2 Label as 1.7-rc1 2013-01-19 11:35:05 +01:00
Ian
ba993f66de fixed some old markup missing tags
fixed non ending div tag with uneven radio buttons
fixed non ending ol and tr in sequence

please double check!
2013-01-16 17:55:37 +01:00
Ian
9012161c8b Smarty 3.1.13 - see changelog 2013-01-16 17:39:51 +01:00
Matthias Mees
9674ffb106 Updated 2k11 to v1.2.5. 2013-01-13 21:21:17 +01:00
Ian
82e8a44cf0 entry form toolbar document.write replacement 2013-01-13 13:49:22 +01:00
Matthias Mees
6716590c91 Added .editorconfig to .gitignore. 2013-01-06 16:32:07 +01:00
Garvin Hicking
511004af24 typo fix by qbi 2013-01-01 21:20:29 +01:00
Ian
e2bec8a1d6 moved script part to head and some indent cleanup 2012-12-30 10:35:31 +01:00
Ian
6d8590c44b convert document.write and removed some wrong closing tags 2012-12-30 10:26:12 +01:00
Ian
326929d67d imageCrop now opens via window.open 2012-12-30 09:55:42 +01:00
Ian
a5064dba23 fixed old bug with non closings tags which modern browser didn't mind 2012-12-17 13:22:16 +01:00
Ian
a5d03bfb56 reverted last commit to only clear errored line 1512
"Only variables should be assigned by reference"
2012-12-13 15:10:44 +01:00
Ian
6a147be2cd Merge branch 'master' of github.com:s9y/Serendipity 2012-12-13 15:02:38 +01:00
Ian
6a796ebe93 Revert to 78cb307b73 2012-12-13 14:49:51 +01:00
Ian
6340e21614 upport: Only variables should be assigned by reference 2012-12-13 14:03:43 +01:00
Ian
78cb307b7e Only variables should be assigned by reference 2012-12-13 13:41:50 +01:00