From geeklog-cvs at lists.geeklog.net Mon Dec 1 14:27:28 2008 From: geeklog-cvs at lists.geeklog.net (geeklog-cvs at lists.geeklog.net) Date: Mon, 01 Dec 2008 14:27:28 -0500 Subject: [geeklog-cvs] geeklog: No need to index the "reply to this" links - added a re... Message-ID: details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/86ce6afc56ba changeset: 6489:86ce6afc56ba user: Dirk Haun date: Mon Dec 01 11:20:01 2008 +0100 description: No need to index the "reply to this" links - added a rel="nofollow" diffstat: 1 file changed, 7 insertions(+), 6 deletions(-) system/lib-comment.php | 13 +++++++------ diffs (27 lines): diff -r 8dfc96e19331 -r 86ce6afc56ba system/lib-comment.php --- a/system/lib-comment.php Sun Nov 30 13:04:17 2008 +0100 +++ b/system/lib-comment.php Mon Dec 01 11:20:01 2008 +0100 @@ -427,16 +427,17 @@ // create a reply to link $reply_link = ''; - if( $ccode == 0 ) { + if ($ccode == 0) { $reply_link = $_CONF['site_url'] . '/comment.php?sid=' . $A['sid'] . '&pid=' . $A['cid'] . '&title=' - . urlencode( $A['title'] ) . '&type=' . $A['type']; - $reply_option = COM_createLink($LANG01[43], $reply_link ) . ' | '; - $template->set_var( 'reply_option', $reply_option ); + . urlencode($A['title']) . '&type=' . $A['type']; + $reply_option = COM_createLink($LANG01[43], $reply_link, + array('rel' => 'nofollow')) . ' | '; + $template->set_var('reply_option', $reply_option); } else { - $template->set_var( 'reply_option', '' ); + $template->set_var('reply_option', ''); } - $template->set_var( 'reply_link', $reply_link ); + $template->set_var('reply_link', $reply_link); // format title for display, must happen after reply_link is created $A['title'] = htmlspecialchars( $A['title'] ); From geeklog-cvs at lists.geeklog.net Tue Dec 2 14:10:40 2008 From: geeklog-cvs at lists.geeklog.net (geeklog-cvs at lists.geeklog.net) Date: Tue, 02 Dec 2008 14:10:40 -0500 Subject: [geeklog-cvs] geeklog: The security token was missing from the trackback edito... Message-ID: details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/99b7c9b19065 changeset: 6490:99b7c9b19065 user: Dirk Haun date: Tue Dec 02 20:01:27 2008 +0100 description: The security token was missing from the trackback editor template file (reported and patch provided by hiroron, bug #0000778) diffstat: 3 files changed, 5 insertions(+) public_html/docs/history | 2 ++ public_html/docs/theme.html | 2 ++ public_html/layout/professional/admin/trackback/trackbackeditor.thtml | 1 + diffs (35 lines): diff -r 86ce6afc56ba -r 99b7c9b19065 public_html/docs/history --- a/public_html/docs/history Mon Dec 01 11:20:01 2008 +0100 +++ b/public_html/docs/history Tue Dec 02 20:01:27 2008 +0100 @@ -3,6 +3,8 @@ ??? ??, 2008 (1.5.2) ------------ +- The security token was missing from the trackback editor template file + (reported and patch provided by hiroron, bug #0000778) - Removed rel="tag" from topic links in lib-story.php as that would indicate a Microformat with a slightly different meaning [Dirk] - Fixed inconsistencies and various small mistakes when displaying "Access diff -r 86ce6afc56ba -r 99b7c9b19065 public_html/docs/theme.html --- a/public_html/docs/theme.html Mon Dec 01 11:20:01 2008 +0100 +++ b/public_html/docs/theme.html Tue Dec 02 20:01:27 2008 +0100 @@ -203,6 +203,8 @@
  • Added a print.css stylesheet to be used by the printable.thtml template files for articles and the static pages plugin.
  • +
  • The security token was missing from the trackback editor form, + admin/trackback/trackbackeditor.thtml
  • Plugins

    diff -r 86ce6afc56ba -r 99b7c9b19065 public_html/layout/professional/admin/trackback/trackbackeditor.thtml --- a/public_html/layout/professional/admin/trackback/trackbackeditor.thtml Mon Dec 01 11:20:01 2008 +0100 +++ b/public_html/layout/professional/admin/trackback/trackbackeditor.thtml Tue Dec 02 20:01:27 2008 +0100 @@ -36,6 +36,7 @@ + From geeklog-cvs at lists.geeklog.net Tue Dec 2 14:10:40 2008 From: geeklog-cvs at lists.geeklog.net (geeklog-cvs at lists.geeklog.net) Date: Tue, 02 Dec 2008 14:10:40 -0500 Subject: [geeklog-cvs] geeklog: The owner of a static page changed to the user who last... Message-ID: details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/6a6f1eceb787 changeset: 6491:6a6f1eceb787 user: Dirk Haun date: Tue Dec 02 20:10:27 2008 +0100 description: The owner of a static page changed to the user who last edited it (bug #0000777) diffstat: 1 file changed, 2 insertions(+) public_html/docs/history | 2 ++ diffs (12 lines): diff -r 99b7c9b19065 -r 6a6f1eceb787 public_html/docs/history --- a/public_html/docs/history Tue Dec 02 20:01:27 2008 +0100 +++ b/public_html/docs/history Tue Dec 02 20:10:27 2008 +0100 @@ -87,6 +87,8 @@ Static Pages plugin ------------------- +- The owner of a static page changed to the user who last edited it + (bug #0000777) [Dirk] - The printable.thtml template file uses the HTML Strict doctype and print.css now [Dirk] - Fixed call to WS_makeId when sp_id was longer than STATICPAGE_MAX_ID_LENGTH From geeklog-cvs at lists.geeklog.net Sat Dec 6 16:48:45 2008 From: geeklog-cvs at lists.geeklog.net (geeklog-cvs at lists.geeklog.net) Date: Sat, 06 Dec 2008 16:48:45 -0500 Subject: [geeklog-cvs] geeklog: Updated Hebrew language file for the install script, pr... Message-ID: details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/c6164068baad changeset: 6492:c6164068baad user: Dirk Haun date: Sat Dec 06 21:31:14 2008 +0100 description: Updated Hebrew language file for the install script, provided by LWC diffstat: 2 files changed, 12 insertions(+), 11 deletions(-) public_html/admin/install/language/hebrew_utf-8.php | 22 +++++++++---------- public_html/docs/history | 1 diffs (51 lines): diff -r 6a6f1eceb787 -r c6164068baad public_html/admin/install/language/hebrew_utf-8.php --- a/public_html/admin/install/language/hebrew_utf-8.php Tue Dec 02 20:10:27 2008 +0100 +++ b/public_html/admin/install/language/hebrew_utf-8.php Sat Dec 06 21:31:14 2008 +0100 @@ -148,25 +148,25 @@ 0 => '???????????? ????????????', 1 => '???????????? ???? Geeklog ', 2 => ' ????????????!', - 3 => '???? ??????????, ???????????? ???????????? ???? ', - 4 => ' Geeklog. ?????? ?????? ?????? ?????????? ???? ?????????? ???????????? ????????.', + 3 => '???? ??????????, ???????????? ', + 4 => ' Geeklog. ?????? ?????? ?????? ?????? ?????????? ???? ?????????? ???????????? ????????.', 5 => '?????? ?????????????? ???????? ??-Geeklog ???????? ????????, ?????? ???????????? ???????????? ????:', 6 => '???? ??????????:', 7 => 'Admin', 8 => '??????????:', 9 => 'password', 10 => '?????????? ??????????', - 11 => '???? ??????????', + 11 => '???? ?????????? ????????', 12 => '??????????', - 13 => '???????? ???? ?????????? ???? ???????????? ??????????,', - 14 => '?????????? ????', - 15 => '?????????? ????????????.', - 16 => '?????????? ???????????? ????', - 17 => '??????', - 18 => '?????????? ????', + 13 => '?????????? ???? ?????????? ???? ???? ???????????? ????????????,', + 14 => '?????????? ??-', + 15 => '???? ?????????? ????????????.', + 16 => '?????????? ???? ?????????????? ????', + 17 => '?????? ????', + 18 => '?????????? ??:', 19 => '???????? ????: ?????? ???? ?????????? ???????? ????????????, ?????????? ?????????? ?????? ???? ?????????????? ?????????? ???????????? ?????? ?????? ???????? ???? ?????????? ????????. ???? ???????????? ???? ?????????? ?????? ???? ?????? NewAdmin ?????????????? ?????? password', - 20 => '??????????', - 21 => '????????????' + 20 => '???????????? ????', + 21 => '?????????? ????' ); // +---------------------------------------------------------------------------+ diff -r 6a6f1eceb787 -r c6164068baad public_html/docs/history --- a/public_html/docs/history Tue Dec 02 20:10:27 2008 +0100 +++ b/public_html/docs/history Sat Dec 06 21:31:14 2008 +0100 @@ -62,6 +62,7 @@ - Fixed an issue with story expiry dates on PHP 4/Windows (reported by zeb) [Mike] +- Updated Hebrew language file for the install script, provided by LWC - Updated Japanese language files, provided by the Geeklog.jp group - Updated Polish language files, provided by Robert Stadnik - Updated Slovenian language file for the Links plugin, provided by gape From geeklog-cvs at lists.geeklog.net Sun Dec 7 11:50:36 2008 From: geeklog-cvs at lists.geeklog.net (geeklog-cvs at lists.geeklog.net) Date: Sun, 07 Dec 2008 11:50:36 -0500 Subject: [geeklog-cvs] geeklog: Fixed updating feeds after changing topic permissions (... Message-ID: details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/0ff7507bb972 changeset: 6493:0ff7507bb972 user: Dirk Haun date: Sun Dec 07 17:01:00 2008 +0100 description: Fixed updating feeds after changing topic permissions (bug #0000779) diffstat: 2 files changed, 3 insertions(+), 2 deletions(-) public_html/admin/topic.php | 4 ++-- public_html/docs/history | 1 + diffs (25 lines): diff -r c6164068baad -r 0ff7507bb972 public_html/admin/topic.php --- a/public_html/admin/topic.php Sat Dec 06 21:31:14 2008 +0100 +++ b/public_html/admin/topic.php Sun Dec 07 17:01:00 2008 +0100 @@ -282,8 +282,8 @@ DB_save($_TABLES['topics'],'tid, topic, imageurl, sortnum, limitnews, is_default, archive_flag, owner_id, group_id, perm_owner, perm_group, perm_members, perm_anon',"'$tid', '$topic', '$imageurl','$sortnum','$limitnews',$is_default,'$is_archive',$owner_id,$group_id,$perm_owner,$perm_group,$perm_members,$perm_anon"); // update feed(s) and Older Stories block - COM_rdfUpToDateCheck ('geeklog', $tid); - COM_olderStuff (); + COM_rdfUpToDateCheck('article', $tid); + COM_olderStuff(); $retval = COM_refresh ($_CONF['site_admin_url'] . '/topic.php?msg=13'); } else { diff -r c6164068baad -r 0ff7507bb972 public_html/docs/history --- a/public_html/docs/history Sat Dec 06 21:31:14 2008 +0100 +++ b/public_html/docs/history Sun Dec 07 17:01:00 2008 +0100 @@ -3,6 +3,7 @@ ??? ??, 2008 (1.5.2) ------------ +- Fixed updating feeds after changing topic permissions (bug #0000779) [Dirk] - The security token was missing from the trackback editor template file (reported and patch provided by hiroron, bug #0000778) - Removed rel="tag" from topic links in lib-story.php as that would indicate a From geeklog-cvs at lists.geeklog.net Sun Dec 7 11:50:37 2008 From: geeklog-cvs at lists.geeklog.net (geeklog-cvs at lists.geeklog.net) Date: Sun, 07 Dec 2008 11:50:37 -0500 Subject: [geeklog-cvs] geeklog: Fixed updating feeds when a topic is deleted Message-ID: details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/aa674828dc38 changeset: 6494:aa674828dc38 user: Dirk Haun date: Sun Dec 07 17:04:33 2008 +0100 description: Fixed updating feeds when a topic is deleted diffstat: 1 file changed, 2 insertions(+), 2 deletions(-) public_html/admin/topic.php | 4 ++-- diffs (14 lines): diff -r 0ff7507bb972 -r aa674828dc38 public_html/admin/topic.php --- a/public_html/admin/topic.php Sun Dec 07 17:01:00 2008 +0100 +++ b/public_html/admin/topic.php Sun Dec 07 17:04:33 2008 +0100 @@ -435,8 +435,8 @@ DB_delete ($_TABLES['topics'], 'tid', $tid); // update feed(s) and Older Stories block - COM_rdfUpToDateCheck ('geeklog'); - COM_olderStuff (); + COM_rdfUpToDateCheck('article'); + COM_olderStuff(); return COM_refresh ($_CONF['site_admin_url'] . '/topic.php?msg=14'); } From geeklog-cvs at lists.geeklog.net Sun Dec 7 11:50:38 2008 From: geeklog-cvs at lists.geeklog.net (geeklog-cvs at lists.geeklog.net) Date: Sun, 07 Dec 2008 11:50:38 -0500 Subject: [geeklog-cvs] geeklog: Fixed call to update event feeds when an event is deleted Message-ID: details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/e43f92739fbb changeset: 6495:e43f92739fbb user: Dirk Haun date: Sun Dec 07 17:14:42 2008 +0100 description: Fixed call to update event feeds when an event is deleted diffstat: 1 file changed, 1 insertion(+), 1 deletion(-) plugins/calendar/functions.inc | 2 +- diffs (12 lines): diff -r aa674828dc38 -r e43f92739fbb plugins/calendar/functions.inc --- a/plugins/calendar/functions.inc Sun Dec 07 17:04:33 2008 +0100 +++ b/plugins/calendar/functions.inc Sun Dec 07 17:14:42 2008 +0100 @@ -830,7 +830,7 @@ DB_delete($_TABLES['events'], 'eid', $eid); DB_delete($_TABLES['personal_events'], 'eid', $eid); - COM_rdfUpToDateCheck('geeklog', 'calendar', $eid); + COM_rdfUpToDateCheck('calendar'); return COM_refresh($_CONF['site_admin_url'] . '/plugins/calendar/index.php?msg=18'); } elseif ($type == 'submission') { From geeklog-cvs at lists.geeklog.net Sun Dec 7 11:50:38 2008 From: geeklog-cvs at lists.geeklog.net (geeklog-cvs at lists.geeklog.net) Date: Sun, 07 Dec 2008 11:50:38 -0500 Subject: [geeklog-cvs] geeklog: Cosmetics: Missing linefeed after element Message-ID: details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/ad7471d342ae changeset: 6496:ad7471d342ae user: Dirk Haun date: Sun Dec 07 17:38:30 2008 +0100 description: Cosmetics: Missing linefeed after element diffstat: 1 file changed, 3 insertions(+), 3 deletions(-) system/classes/syndication/feedparserbase.class.php | 6 +++--- diffs (18 lines): diff -r e43f92739fbb -r ad7471d342ae system/classes/syndication/feedparserbase.class.php --- a/system/classes/syndication/feedparserbase.class.php Sun Dec 07 17:14:42 2008 +0100 +++ b/system/classes/syndication/feedparserbase.class.php Sun Dec 07 17:38:30 2008 +0100 @@ -246,11 +246,11 @@ */ function _injectExtendingTags() { - $xml = ''; - if( is_array( $this->extensions ) ) + $xml = ''; + if( is_array( $this->extensions ) ) { $this->extensions = array_unique($this->extensions); - $xml .= implode("\n", $this->extensions); + $xml .= implode("\n", $this->extensions) . "\n"; } return $xml; } From geeklog-cvs at lists.geeklog.net Mon Dec 8 06:04:39 2008 From: geeklog-cvs at lists.geeklog.net (geeklog-cvs at lists.geeklog.net) Date: Mon, 08 Dec 2008 06:04:39 -0500 Subject: [geeklog-cvs] geeklog: Forgot to check in the actual fix for bug #0000777 (see... Message-ID: details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/3a5ce8b95415 changeset: 6497:3a5ce8b95415 user: Dirk Haun date: Mon Dec 08 12:04:27 2008 +0100 description: Forgot to check in the actual fix for bug #0000777 (see changeset 6491) diffstat: 1 file changed, 6 insertions(+), 2 deletions(-) plugins/staticpages/services.inc.php | 8 ++++++-- diffs (25 lines): diff -r ad7471d342ae -r 3a5ce8b95415 plugins/staticpages/services.inc.php --- a/plugins/staticpages/services.inc.php Sun Dec 07 17:38:30 2008 +0100 +++ b/plugins/staticpages/services.inc.php Mon Dec 08 12:04:27 2008 +0100 @@ -103,7 +103,9 @@ } } - $args['sp_uid'] = $_USER['uid']; + if (!isset($args['sp_uid'])) { + $args['sp_uid'] = $_USER['uid']; + } if (empty($args['sp_title']) && !empty($args['title'])) { $args['sp_title'] = $args['title']; @@ -118,7 +120,9 @@ $args['sp_tid'] = $args['category'][0]; } - $args['owner_id'] = $_USER['uid']; + if (!isset($args['owner_id'])) { + $args['owner_id'] = $_USER['uid']; + } if (empty($args['group_id'])) { $args['group_id'] = SEC_getFeatureGroup('staticpages.edit', $_USER['uid']); From geeklog-cvs at lists.geeklog.net Sun Dec 14 07:34:08 2008 From: geeklog-cvs at lists.geeklog.net (geeklog-cvs at lists.geeklog.net) Date: Sun, 14 Dec 2008 07:34:08 -0500 Subject: [geeklog-cvs] geeklog: When calling COM_getYearFormOptions with a $startoffset... Message-ID: details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/453d8ee3823d changeset: 6564:453d8ee3823d user: Dirk Haun date: Sun Dec 14 13:31:34 2008 +0100 description: When calling COM_getYearFormOptions with a $startoffset parameter, the list of years was off by one (bug #0000783) diffstat: 2 files changed, 9 insertions(+), 18 deletions(-) public_html/docs/history | 2 ++ public_html/lib-common.php | 25 +++++++------------------ diffs (57 lines): diff -r aada550ce91e -r 453d8ee3823d public_html/docs/history --- a/public_html/docs/history Tue Dec 09 11:51:29 2008 +0100 +++ b/public_html/docs/history Sun Dec 14 13:31:34 2008 +0100 @@ -3,6 +3,8 @@ ??? ??, 2008 (1.5.2) ------------ +- When calling COM_getYearFormOptions with a $startoffset parameter, the list + of years was off by one (bug #0000783; patch provided by hiroron) - Fixed updating feeds after changing topic permissions (bug #0000779) [Dirk] - The security token was missing from the trackback editor template file (reported and patch provided by hiroron, bug #0000778) diff -r aada550ce91e -r 453d8ee3823d public_html/lib-common.php --- a/public_html/lib-common.php Tue Dec 09 11:51:29 2008 +0100 +++ b/public_html/lib-common.php Sun Dec 14 13:31:34 2008 +0100 @@ -4895,34 +4895,23 @@ * @return string HTML years as option values */ -function COM_getYearFormOptions( $selected = '', $startoffset=0, $endoffset=5 ) +function COM_getYearFormOptions($selected = '', $startoffset = -1, $endoffset = 5) { $year_options = ''; - if ($startoffset != 0) - { - $start_year = date ( 'Y' ) + $startoffset; - } - else - { - $start_year = date( 'Y', time() ); - } - $cur_year = date( 'Y', time() ); + $start_year = date('Y') + $startoffset; + $cur_year = date('Y', time()); $finish_year = $cur_year + $endoffset; - if( !empty( $selected )) - { - if( $selected < $cur_year ) - { + if (!empty($selected)) { + if ($selected < $cur_year) { $start_year = $selected; } } - for( $i = $start_year - 1; $i <= $finish_year; $i++ ) - { + for ($i = $start_year; $i <= $finish_year; $i++) { $year_options .= '