Commit graph

1299 commits

Author SHA1 Message Date
Ian c3a2344506 contactform - reset encoded quotes for text and subject 2015-12-01 17:45:18 +01:00
Ian ed11b82f48 Fixed POST properties 'disable_markups'
PLEASE NOTE: Since having to deal with a Fatal error Exception thrown:
    Uncaught exception 'ErrorException' with message 'Warning: Illegal string offset 'properties'' in /plugins/serendipity_event_nl2br/serendipity_event_nl2br.php:212
    Stack trace:
    #0 plugins/serendipity_event_nl2br/serendipity_event_nl2br.php(212): errorToExceptionHandler(2, 'Illegal string ...', '/var/www/...', 212, Array)
    #1 include/plugin_api.inc.php(1141): serendipity_event_nl2br->event_hook('frontend_displa...', Object(serendipity_property_bag), Array, NULL)
    #2 plugins/serendipity_event_guestbook/serendipity_plugin_guestbook.php(196): serendipity_plugin_api::hook_event('frontend_displa...', Array)
    #3 include/plugin_api.inc.php(934): serendipity_plugin_guestbook->generate_content('G/xC3/xA4stebuch-Seit...')

    changing previous set
        !in_array($this->instance, $serendipity['POST']['properties']['disable_markups']) &&
    to
        !@in_array($this->instance, $serendipity['POST']['properties']['disable_markups']) &&
    would give us a wrong result check, since the function !@ is returning false, if 2cd param is not an array, not its value!

    See: !@in_array() == FALSE and (isset($serendipity['POST']['properties']['disable_markups']) && !in_array($this->instance, $serendipity['POST']['properties']['disable_markups'])) = TRUE

    $serendipity['POST']['properties']['disable_markups'] = array(false); is the only workable solution for (sidebar?) plugins (see sidebar plugins: guestbook, multilingual), to explicitly allow to apply nl2br to markup (if we want to)
2015-12-01 11:25:58 +01:00
Ian 63d1f279a7 guestbook 3.58: & 1.25 2015-12-01 11:21:45 +01:00
Garvin Hicking 678e80d45c Automagic XML sync 2015-12-01 02:22:09 +01:00
Ian dedec1f411 remove some debug 2015-11-30 18:39:54 +01:00
Ian cb0cc49868 Merge branch 'master' of github.com:s9y/additional_plugins 2015-11-30 18:15:34 +01:00
Ian 5c2865539a event_cal plugin v. 1.70 2015-11-30 18:07:03 +01:00
Garvin Hicking 12f61b3c4f Automagic XML sync 2015-11-29 01:55:19 +01:00
Garvin Hicking efe40388ce Merge pull request #42 from sqall01/patch-1
Update serendipity_event_recaptcha.php
2015-11-28 10:14:52 +01:00
Andre Pawlowski 88316697e2 Update serendipity_event_recaptcha.php
Try to auto-detect if site is served via HTTPS or HTTP. The original version requests the captcha via HTTP. So if the site is served via HTTPS, the browser will block this attempt and no captcha will be shown on the site.

It is not a perfect solution (a better one would be to let the user configure it), since it would not detect the correct value if the webserver is behind a proxy (the proxy serves the site via HTTPS and the webserver via HTTP to the proxy). But this solution will work in most of the cases until a serendipity developer can add an extra configuration option.
2015-11-27 23:25:37 +01:00
Garvin Hicking b297415308 Automagic XML sync 2015-10-20 20:02:41 +02:00
Ian f44309a765 try/catch Exception to not break the flow 2015-10-20 16:55:35 +02:00
Ian 157d0cbb68 Merge branch 'master' of github.com:s9y/additional_plugins 2015-10-20 09:28:15 +02:00
Ian 315d52c830 fix wrong version number 2015-10-20 09:27:42 +02:00
Garvin Hicking 44981c2c11 Automagic XML sync 2015-10-20 06:28:57 +02:00
Ian d110697e01 Upgrade to CKEDITOR 4.5. Series, update 4 2015-10-19 17:09:34 +02:00
Ian d3ea1e20f9 Try catch exception error to not break the flow 2015-10-19 14:09:53 +02:00
Garvin Hicking 75fd85125d Automagic XML sync 2015-09-15 06:39:07 +02:00
Ian 1d3b4bd2a1 Fix 'array sizes are inconsistent' error
with mediainsert tagged entries and array_multisort()
This may appear if you have objects and images on the same ML page pagination
2015-09-14 16:18:38 +02:00
Ian 04d4407a42 Merge branch 'master' of github.com:s9y/additional_plugins 2015-09-04 09:39:04 +02:00
Ian fb44f08a1d bee - lang de typos 2015-09-04 09:38:29 +02:00
Garvin Hicking a6a7e0d626 Automagic XML sync 2015-09-04 07:15:41 +02:00
Ian d6166ffaa7 add a linebreak and fix some whitespaces 2015-09-03 11:43:49 +02:00
Garvin Hicking bec25c8f5f Automagic XML sync 2015-09-01 06:14:34 +02:00
Ian 07a887bc71 Merge branch 'master' of github.com:s9y/additional_plugins 2015-08-31 17:50:13 +02:00
Ian c32e652f5f lighbox update 2015-08-31 17:49:37 +02:00
Garvin Hicking c4d77f61dd Automagic XML sync 2015-08-21 06:17:54 +02:00
Ian ec076359ea gb fix for missing var (minor) 2015-08-20 11:43:35 +02:00
Ian 5c546f0265 Fix an issue refering to Smarty2->Smarty3 API changes 2015-08-20 09:42:08 +02:00
Garvin Hicking 488631757e Automagic XML sync 2015-08-20 06:11:18 +02:00
Ian 2a812cedaf remove capable by version 2015-08-19 19:47:24 +02:00
Ian 0c6b0b4e2b better fix for the mktime error 2015-08-19 19:35:11 +02:00
Ian 7c9f815f50 more usergallery fixes 2015-08-19 14:55:45 +02:00
Ian 5c787f0b09 Merge branch 'master' of github.com:s9y/additional_plugins 2015-08-19 13:14:46 +02:00
Ian 45ac8f7dbd fix an undefined index 2015-08-19 12:56:20 +02:00
Ian 042f1a9b15 usergallery now uses API 2015-08-19 12:55:24 +02:00
Ian f5a2b4db18 fix a php dulicating method compat error 2015-08-19 12:51:07 +02:00
Ian 7e6c7fc052 imageselectorplus now uses API 2015-08-19 12:48:59 +02:00
Ian 7e7e4cc0c8 freetag now uses API 2015-08-19 12:40:43 +02:00
Ian 63332b6d66 contactform now uses API 2015-08-19 12:39:20 +02:00
Ian a93b103e32 amazonchooser now uses API only 2015-08-19 12:38:42 +02:00
Garvin Hicking db22529b6a Automagic XML sync 2015-08-15 06:28:44 +02:00
Ian 101515c102 add one more check for the future... 2015-08-14 19:39:25 +02:00
Ian 0e9d4ee621 CKE plugin 4.8.1 disable Smarty like protection 2015-08-14 18:34:35 +02:00
Ian 779ee5b93c smartymarkup fixes and some exclude checks before action 2015-08-14 17:43:51 +02:00
Ian e846a0f2c8 minor, stay consistent 2015-08-14 12:23:00 +02:00
Ian 0578f8da20 never init Smarty in genpage without re-adding $vars 2015-08-14 11:45:59 +02:00
Garvin Hicking 9a2b1ab0b3 Automagic XML sync 2015-08-10 08:44:26 +02:00
Ian 78cf2c1dc6 colour your life 2015-08-09 11:10:57 +02:00
Garvin Hicking 72f2ee1e2d Automagic XML sync 2015-08-09 07:48:18 +02:00