60 Commits

Author SHA1 Message Date
4785f07f12
Always assume UTF-8. 2022-02-20 17:14:54 +01:00
f4bd9bc07a
Always use native mb_* functions. 2022-02-20 01:56:52 +01:00
onli
ef79ef260b PHP 8 compat fixes for the core when trackack plugin is installed 2021-06-06 18:53:48 +02:00
onli
8b8d8bf2c5 PHP8 compat fix for sending trackbacks (when target has no params) 2021-05-28 17:59:44 +02:00
onli
bd6c9e79c9 more php 8 compat fixes for receiving trackacks
Also includes a code-cleanup by introducing log_trackback, a less code heavy way to log the trackback flow
2021-05-26 00:08:32 +02:00
onli
730f4c080a php 8 compat fixes for receiving trackbacks 2021-05-25 23:13:51 +02:00
onli
e2044472c2 php 8 compat fix for sending trackbacks 2021-05-18 19:42:16 +02:00
onli
25cfb97ece php8 compat fixes to save entries again 2021-05-09 17:17:54 +02:00
onli
5d67e35f24 Give plugins a way to skip the stored trackback detection (#440) 2020-05-28 16:17:16 +02:00
onli
cb5e99013e Allow https as trackback url origin 2020-05-28 14:33:47 +02:00
onli
18f6429f32 Add rel=trackback header and discovery (#438) 2017-04-15 02:19:45 +02:00
klemens
5a95db314a spelling fixes 2017-04-06 22:26:07 +02:00
onli
d973e99933 Workaround PHP < 5.6 bug, not verifying certs, stopping Request2
See http://board.s9y.org/viewtopic.php?f=10&t=20773 and #399
2016-06-22 19:42:07 +02:00
onli
fd90812453 Use Http/Request2 for functions_trackback (#399) 2016-05-10 02:34:28 +00:00
Ian
ee50524242 cleanup 2015-01-17 17:53:15 +01:00
Garvin Hicking
1b9e5de787 * Prevent entryproperties from saving/displaying a browser-side
stored password that was actually not set.
[THIS BUGGED ME FOR A SOOOOO LONG TIME!]

    * Stronger check for existing logger interface to prevent errors
      when it is not actively used.
2015-01-15 15:39:00 +01:00
Garvin Hicking
0cce75c47c more debugging for @yellowled 2015-01-12 13:43:57 +01:00
Ian
aca77bd482 cleanup cosmetics 2014-12-10 14:34:54 +01:00
Ian
8da4c647a8 cleanup tabs and whites 2014-11-24 14:17:38 +01:00
onli
92afc37753 Introduce serendipity_specialchars-wrapper for encoding bug (#236)
PHP 5.4 sets UTF-8 as the default for htmlspecialchars, htmlentities and html_entity_decode. The first two will echo an empty string when given a string with umlauts. This commits introduces serendipity_specialchar-wrapper that are meant to be a temporary solution for the s9y-core until PHP 5.6 fixed the bug, so the native charset option of s9y continues to work.
2014-11-23 23:41:08 +01:00
Garvin Hicking
eb07593088 Change logger to only be instantiated when explicitly enabled to not cause unneccessary debugging
especially in dev-installations
References #131
2014-05-19 11:12:47 +02:00
onli
09400814d2 Include klogger, enable for trackbacks and index 2014-05-12 20:03:34 +02:00
Garvin Hicking
526e1d2869 upport 2013-08-16 14:58:51 +02:00
Garvin Hicking
17aae92f7f upport 2013-08-15 15:30:56 +02:00
Matthias Mees
7288ffdef8 Fixed most of the redundant br elements in the core. 2012-12-03 13:35:59 +01:00
Garvin Hicking
d7ef7a7a04 port everything so that 2.0 and 1.7 have the same features 2012-06-12 19:39:11 +02:00
Garvin Hicking
7b552d2df9 * Fix SQL injection for comment.php used in read-context.
(Thanks to High-Tech Bridge SA Security Release Lab, Advisory HTB23092)
2012-05-16 11:59:02 +02:00
Grischa Brockhaus
92c4b0b4f6 Prevent adding trackbacks we already have, coming from the same URL and
pointing to the same article.
2012-01-25 13:39:27 +01:00
Grischa Brockhaus
f2c6b669ad Deny duplicate pingbacks and send message about new pingbacks found in
blog.
2012-01-17 12:55:09 +01:00
Garvin Hicking
58afae0cb0 fix xml newline 2010-10-07 08:43:53 +00:00
Garvin Hicking
677df54625 PHP 5.3 compatibility, upgrade Smarty to 2.6.26 2009-07-14 11:40:16 +00:00
Garvin Hicking
c28452ef4a * Change syndication plugin to also support new feeds2.feedburner.com
style URLs (garvinhicking)
2009-01-30 14:03:31 +00:00
Garvin Hicking
e317fd54ee Fix spelling :) 2008-01-20 14:16:06 +00:00
Grischa Brockhaus
c71439041f trackback/pingback: Fixed legth configuration name, deleted Charset configuration, because it is not needed. 2008-01-13 11:30:22 +00:00
Grischa Brockhaus
81506febd0 Enhanced pingback/trackback receiving 2008-01-12 13:06:37 +00:00
Grischa Brockhaus
bfb29a697b pingback fetchData: Retreive content from first <p> tag, if found in order to have the article content instead of menu structure as content. If no <p> tag is found, the <body> tag is the starting point to fetch content. 2007-08-22 17:57:57 +00:00
Grischa Brockhaus
6189defb6f Made pingback fetchData switched on by $serendipity['pingbackFetchPage'] set in serendipity_config_local i.e. 2007-08-22 17:46:32 +00:00
Grischa Brockhaus
2d03d5a0dc Made pingback receiving better working with WordPress Pingbacks 2007-08-20 20:56:06 +00:00
Garvin Hicking
300525e7b5 Temporarily suspended pingback fetching until it's implemented with a config option to prevent abuse 2007-08-17 12:28:21 +00:00
Grischa Brockhaus
3bdd7a796c Try to autodetect articles id if no entry id was giving reveiving a pingback 2007-08-14 18:03:35 +00:00
Grischa Brockhaus
71ba81dc43 Pingback receiving is working now with internal functionality in comment.php 2007-08-14 17:38:50 +00:00
Grischa Brockhaus
96f537447e At last: Trackbacks/pingbacks for URLs will only be sent once, no matter what link name they have or how often the URL is referenced in the article. (Phew!) ;-) 2007-07-12 15:52:58 +00:00
Grischa Brockhaus
3d61e9815a Garvins Änderung auch für (z.B.) Images funktionierend gemacht 2007-07-12 14:35:37 +00:00
Garvin Hicking
6c207fe028 Grischa and Garvin proudly present: The REAL(tm) solution. :) 2007-07-12 13:55:23 +00:00
Garvin Hicking
9f7db8d121 Revert, for the time being 2007-07-12 13:02:46 +00:00
Grischa Brockhaus
4d4e8f2699 Made trackback/pingback functionality independend from link text.
Only the link url is relevant now. Now dupe links in entries are
not trackbacked/pingbacked twice and images w/o ALT attribute or
links with changed text won't be trackbacked again after resaving
the article.
2007-07-09 18:00:46 +00:00
Garvin Hicking
8be9f5438d Correct patch from brockhaus, thanks a lot 2007-07-08 18:10:33 +00:00
Garvin Hicking
c341f85b09 Full pingback support, fallback trackback method for WordPress
blogs. Thanks to brockha.us!
2007-07-06 10:17:47 +00:00
Garvin Hicking
967da1ca15 Fix pingback XML, thanks to Slim 2007-07-03 08:19:07 +00:00
Garvin Hicking
acf269611c Also allow tu submit dupliate URLs AND duplicate linktexts. Thanks to Evil Azreal. 2007-06-20 11:51:15 +00:00