1
0
Commit Graph

2778 Commits

Author SHA1 Message Date
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
Ian
57f5e8d48b fixUrl fix 2012-12-10 10:12:53 +01:00
Ian
ae8230ebda fixUrl fix 2012-12-10 10:07:20 +01:00
Ian
78dd515f7d fixed comment entrylink url 2012-12-09 15:59:33 +01:00
Ian
c90142080f outsourced comments scripting to serendipity_editor.js 2012-12-09 14:58:59 +01:00
Matthias Mees
baa7d04860 Added fix for full/summary display as suggested by @ophian in 1618471d. 2012-12-09 13:49:11 +01:00
Ian
dd4a1d97ba fixed note typo and shorten param 2012-12-08 14:23:54 +01:00
Ian
546e7c9ee6 minor - fix note typo and shorten param 2012-12-08 14:19:23 +01:00
Ian
a66aa90424 tab2space cleanup 2012-12-08 14:12:12 +01:00
Ian
4028ac265b backport 9aebc99 - fixed doubled slashes without breaking URI
also fixing some tabs to spaces
2012-12-08 14:08:04 +01:00
Ian
2ea415976e Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2012-12-08 13:54:47 +01:00
Ian
9aebc99eac fixed doubled slashes without breaking URI 2012-12-08 13:54:17 +01:00
Matthias Mees
8784c81abe Minor layout improvements for category overview. 2012-12-08 13:41:37 +01:00
Matthias Mees
1618471dad Improved markup and basic styling for comments page. 2012-12-08 13:24:35 +01:00
Ian
efd4d723fc better double slash fix,
as the first try did catch http prefixes too
2012-12-08 12:10:42 +01:00
Ian
af2c7efa21 better empty message, based to constant NONE 2012-12-08 10:03:53 +01:00
Ian
5d5faddaa2 removed non js todo note (please read comment) 2012-12-07 19:44:44 +01:00
Ian
3a0c0ec158 temporary sequence dragpoint fixed in single plugins with sequencing 2012-12-07 19:24:36 +01:00
Ian
449367c7aa js ending delimiter S3 auto literal behaviour is quite bulletproof
tests have proofed " } ;" and " };" and even "};" are interpreted correct!
2012-12-07 18:00:52 +01:00
Ian
7544348e08 tabs to spaces 2012-12-07 17:13:14 +01:00
Ian
5193d4a785 one more auto literal whitespace added 2012-12-07 17:12:41 +01:00
Ian
253b871aec more on Smarty 3 auto literal recommended use 2012-12-07 16:48:00 +01:00
Ian
d14085f3c7 recommended use Smarty3 auto literal }; whitespace}whitespace; 2012-12-07 16:36:09 +01:00
Ian
3b90cddfff some whitespace cleanup to e03e95b 2012-12-07 15:56:39 +01:00
Ian
e03e95b33a fixed delimiters, tabs to whitespaces and fixed doubled & 2012-12-07 15:44:47 +01:00
Ian
7214c413c8 arranged GET order to follow "codex" 2012-12-07 15:43:25 +01:00
Garvin Hicking
ebd361c201 Insert/transfer variable from smarty to JS 2012-12-07 15:02:12 +01:00
Ian
6368a992f9 unstringify str_repeat math 2012-12-07 10:55:37 +01:00
Ian
69e0cbe1b9 arranged get-order in entry delete link 2012-12-06 12:56:52 +01:00
Ian
8731a1965c changed icon_link trash GET order to "codex" 2012-12-06 11:41:41 +01:00
Matthias Mees
c132415bc1 Small layout fix for category info. 2012-12-05 14:53:01 +01:00