marclaporte | 22 May 2013 19:31
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[46025] branches/11.x/templates/admin/include_module. tpl

Revision: 46025
          http://sourceforge.net/p/tikiwiki/code/46025
Author:   marclaporte
Date:     2013-05-22 17:31:52 +0000 (Wed, 22 May 2013)
Log Message:
-----------
Adding recent module prefs to the admin module panel (it was already in look & feel)

Modified Paths:
--------------
    branches/11.x/templates/admin/include_module.tpl

Modified: branches/11.x/templates/admin/include_module.tpl
===================================================================
--- branches/11.x/templates/admin/include_module.tpl	2013-05-22 08:50:23 UTC (rev 46024)
+++ branches/11.x/templates/admin/include_module.tpl	2013-05-22 17:31:52 UTC (rev 46025)
 <at>  <at>  -30,6 +30,10  <at>  <at> 
 				{preference name=module_zones_bottom}			
 			</fieldset>
 		</div>
+		
+		{preference name=module_file}
+		{preference name=module_zone_available_extra}		
+		
 		{remarksbox type="tip" title="{tr}Hint{/tr}"}
 			{tr}If you lose your login module, use tiki-login_scr.php to be able to login!{/tr}
 		{/remarksbox}

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.
(Continue reading)

xavidp | 22 May 2013 10:50
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[46024] branches/9.x/tiki-auto_save.php

Revision: 46024
          http://sourceforge.net/p/tikiwiki/code/46024
Author:   xavidp
Date:     2013-05-22 08:50:23 +0000 (Wed, 22 May 2013)
Log Message:
-----------
[bp/r46017][FIX]auto_save: Check the user doing the save or preview has permission and is the one
currently editing the page. Thanks Marcela B?\195?\169n?\195?\169trix Also modernise library use and
fix some missing and/or unset vars. Thanks jonnyb

Revision Links:
--------------
    http://sourceforge.net/p/tikiwiki/code/46017

Modified Paths:
--------------
    branches/9.x/tiki-auto_save.php

Modified: branches/9.x/tiki-auto_save.php
===================================================================
--- branches/9.x/tiki-auto_save.php	2013-05-22 08:49:52 UTC (rev 46023)
+++ branches/9.x/tiki-auto_save.php	2013-05-22 08:50:23 UTC (rev 46024)
 <at>  <at>  -37,19 +37,29  <at>  <at> 
 }

 if (isset($_REQUEST['editor_id'])) {
+	global $user;
+	$tikilib = TikiLib::lib('tiki');
+	$editlib = TikiLib::lib('edit');
+	$smarty = TikiLib::lib('smarty');
(Continue reading)

xavidp | 22 May 2013 10:49
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[46023] branches/10.x/tiki-auto_save.php

Revision: 46023
          http://sourceforge.net/p/tikiwiki/code/46023
Author:   xavidp
Date:     2013-05-22 08:49:52 +0000 (Wed, 22 May 2013)
Log Message:
-----------
[bp/r46017][FIX]auto_save: Check the user doing the save or preview has permission and is the one
currently editing the page. Thanks Marcela B?\195?\169n?\195?\169trix Also modernise library use and
fix some missing and/or unset vars. Thanks jonnyb

Revision Links:
--------------
    http://sourceforge.net/p/tikiwiki/code/46017

Modified Paths:
--------------
    branches/10.x/tiki-auto_save.php

Modified: branches/10.x/tiki-auto_save.php
===================================================================
--- branches/10.x/tiki-auto_save.php	2013-05-21 18:55:08 UTC (rev 46022)
+++ branches/10.x/tiki-auto_save.php	2013-05-22 08:49:52 UTC (rev 46023)
 <at>  <at>  -37,19 +37,29  <at>  <at> 
 }

 if (isset($_REQUEST['editor_id'])) {
+	global $user;
+	$tikilib = TikiLib::lib('tiki');
+	$editlib = TikiLib::lib('edit');
+	$smarty = TikiLib::lib('smarty');
(Continue reading)

jyhem | 21 May 2013 20:55
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[46022] branches/10.x/templates/tiki-view_articles.tpl

Revision: 46022
          http://sourceforge.net/p/tikiwiki/code/46022
Author:   jyhem
Date:     2013-05-21 18:55:08 +0000 (Tue, 21 May 2013)
Log Message:
-----------
[FIX][bp/r46019] Restore pagination (thanks Torsten)

Revision Links:
--------------
    http://sourceforge.net/p/tikiwiki/code/46019

Modified Paths:
--------------
    branches/10.x/templates/tiki-view_articles.tpl

Modified: branches/10.x/templates/tiki-view_articles.tpl
===================================================================
--- branches/10.x/templates/tiki-view_articles.tpl	2013-05-21 18:54:29 UTC (rev 46021)
+++ branches/10.x/templates/tiki-view_articles.tpl	2013-05-21 18:55:08 UTC (rev 46022)
 <at>  <at>  -180,7 +180,7  <at>  <at> 
 		{if $tiki_p_edit_article eq 'y'}<a href="tiki-edit_article.php">{tr}Add an article{/tr}</a>{/if}
 	{/if}
 {/section}
-{if !empty($listpages) && (isset($usePagination) and $usePagination ne 'n')}
+{if !empty($listpages) && (!isset($usePagination) or $usePagination ne 'n')}
 	{pagination_links cant=$cant step=$maxArticles offset=$offset}{if isset($urlnext)}{$urlnext}{/if}{/pagination_links}
 {/if}

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
(Continue reading)

jyhem | 21 May 2013 20:54
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[46021] branches/11.x/templates/tiki-view_articles.tpl

Revision: 46021
          http://sourceforge.net/p/tikiwiki/code/46021
Author:   jyhem
Date:     2013-05-21 18:54:29 +0000 (Tue, 21 May 2013)
Log Message:
-----------
[FIX][bp/r46019] Restore pagination (thanks Torsten)

Revision Links:
--------------
    http://sourceforge.net/p/tikiwiki/code/46019

Modified Paths:
--------------
    branches/11.x/templates/tiki-view_articles.tpl

Modified: branches/11.x/templates/tiki-view_articles.tpl
===================================================================
--- branches/11.x/templates/tiki-view_articles.tpl	2013-05-21 18:53:24 UTC (rev 46020)
+++ branches/11.x/templates/tiki-view_articles.tpl	2013-05-21 18:54:29 UTC (rev 46021)
 <at>  <at>  -182,7 +182,7  <at>  <at> 
 		{if $tiki_p_edit_article eq 'y'}<a href="tiki-edit_article.php">{tr}Add an article{/tr}</a>{/if}
 	{/if}
 {/section}
-{if !empty($listpages) && (isset($usePagination) and $usePagination ne 'n')}
+{if !empty($listpages) && (!isset($usePagination) or $usePagination ne 'n')}
 	{pagination_links cant=$cant step=$maxArticles offset=$offset}{if isset($urlnext)}{$urlnext}{/if}{/pagination_links}
 {/if}

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
(Continue reading)

jyhem | 21 May 2013 20:53
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[46020] branches/9.x/templates/tiki-view_articles.tpl

Revision: 46020
          http://sourceforge.net/p/tikiwiki/code/46020
Author:   jyhem
Date:     2013-05-21 18:53:24 +0000 (Tue, 21 May 2013)
Log Message:
-----------
[FIX][bp/r46019] Restore pagination (thanks Torsten)

Revision Links:
--------------
    http://sourceforge.net/p/tikiwiki/code/46019

Modified Paths:
--------------
    branches/9.x/templates/tiki-view_articles.tpl

Modified: branches/9.x/templates/tiki-view_articles.tpl
===================================================================
--- branches/9.x/templates/tiki-view_articles.tpl	2013-05-21 18:52:08 UTC (rev 46019)
+++ branches/9.x/templates/tiki-view_articles.tpl	2013-05-21 18:53:24 UTC (rev 46020)
 <at>  <at>  -180,7 +180,7  <at>  <at> 
 		{if $tiki_p_edit_article eq 'y'}<a href="tiki-edit_article.php">{tr}Add an article{/tr}</a>{/if}
 	{/if}
 {/section}
-{if !empty($listpages) && (isset($usePagination) and $usePagination ne 'n')}
+{if !empty($listpages) && (!isset($usePagination) or $usePagination ne 'n')}
 	{pagination_links cant=$cant step=$maxArticles offset=$offset}{if isset($urlnext)}{$urlnext}{/if}{/pagination_links}
 {/if}

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
(Continue reading)

jyhem | 21 May 2013 20:52
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[46019] trunk/templates/tiki-view_articles.tpl

Revision: 46019
          http://sourceforge.net/p/tikiwiki/code/46019
Author:   jyhem
Date:     2013-05-21 18:52:08 +0000 (Tue, 21 May 2013)
Log Message:
-----------
[FIX] Restore pagination (thanks Torsten)

Modified Paths:
--------------
    trunk/templates/tiki-view_articles.tpl

Modified: trunk/templates/tiki-view_articles.tpl
===================================================================
--- trunk/templates/tiki-view_articles.tpl	2013-05-21 18:44:33 UTC (rev 46018)
+++ trunk/templates/tiki-view_articles.tpl	2013-05-21 18:52:08 UTC (rev 46019)
 <at>  <at>  -182,7 +182,7  <at>  <at> 
 		{if $tiki_p_edit_article eq 'y'}<a href="tiki-edit_article.php">{tr}Add an article{/tr}</a>{/if}
 	{/if}
 {/section}
-{if !empty($listpages) && (isset($usePagination) and $usePagination ne 'n')}
+{if !empty($listpages) && (!isset($usePagination) or $usePagination ne 'n')}
 	{pagination_links cant=$cant step=$maxArticles offset=$offset}{if isset($urlnext)}{$urlnext}{/if}{/pagination_links}
 {/if}

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
(Continue reading)

jonnybradley | 21 May 2013 20:44
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[46018] branches/11.x

Revision: 46018
          http://sourceforge.net/p/tikiwiki/code/46018
Author:   jonnybradley
Date:     2013-05-21 18:44:33 +0000 (Tue, 21 May 2013)
Log Message:
-----------
[ENH] trackers: Make it possible to not have tracker labels (& image filenames etc) showing in RSS feeds

Modified Paths:
--------------
    branches/11.x/lib/prefs/feed.php
    branches/11.x/templates/admin/include_rss.tpl
    branches/11.x/tiki-tracker_rss.php

Modified: branches/11.x/lib/prefs/feed.php
===================================================================
--- branches/11.x/lib/prefs/feed.php	2013-05-21 17:51:59 UTC (rev 46017)
+++ branches/11.x/lib/prefs/feed.php	2013-05-21 18:44:33 UTC (rev 46018)
 <at>  <at>  -708,6 +708,15  <at>  <at> 
 			'size' => 2,
 			'default' => tra('Last shoutbox messages.'),
 		),
+		'feed_tracker_labels' => array(
+			'name' => tra('Tracker labels'),
+			'description' => tra('Include tracker field labels in the RSS output'),
+			'type' => 'flag',
+			'dependencies' => array(
+				'feature_trackers',
+			),
+			'default' => 'y',
(Continue reading)

Marc Laporte | 21 May 2013 20:03

Re: [Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[46016] branches/11.x/templates/tiki-show_help.tpl

ah, thank you!  That was a little strange because sometimes, there were two help icons on the same page.

On May 21, 2013 1:48 PM, <jonnybradley-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> wrote:
Revision: 46016
          http://sourceforge.net/p/tikiwiki/code/46016
Author:   jonnybradley
Date:     2013-05-21 17:47:52 +0000 (Tue, 21 May 2013)
Log Message:
-----------
[FIX] help: Remove randomly placed "Show Help" link (often found underneath the edit area, but sometimes in previews etc) and simplify jquery

Modified Paths:
--------------
    branches/11.x/templates/tiki-show_help.tpl

Modified: branches/11.x/templates/tiki-show_help.tpl
===================================================================
--- branches/11.x/templates/tiki-show_help.tpl  2013-05-21 17:43:59 UTC (rev 46015)
+++ branches/11.x/templates/tiki-show_help.tpl  2013-05-21 17:47:52 UTC (rev 46016)
<at> <at> -18,10 +18,8 <at> <at>
        </div>
        {if $prefs.feature_jquery_ui eq "y"}
                {jq}
-                       $(function() {$("#help_sections").tabs({});});
-
+                       $("#help_sections").tabs();
                {/jq}
        {/if}
-       {self_link _onclick='$.openEditHelp(0);return false'}{tr}Show Help{/tr}{icon _id='help'}{/self_link}
 </div>
 <br>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Tikiwiki-cvs mailing list
Tikiwiki-cvs-5NWGOfrQmnc@public.gmane.orgurceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Tikiwiki-cvs mailing list
Tikiwiki-cvs@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
jonnybradley | 21 May 2013 19:52
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[46017] branches/11.x/tiki-auto_save.php

Revision: 46017
          http://sourceforge.net/p/tikiwiki/code/46017
Author:   jonnybradley
Date:     2013-05-21 17:51:59 +0000 (Tue, 21 May 2013)
Log Message:
-----------
[FIX] auto_save: Check the user doing the save or preview has permission and is the one currently editing
the page. Thanks Marcela B?\195?\169n?\195?\169trix
Also modernise library use and fix some missing and/or unset vars

Modified Paths:
--------------
    branches/11.x/tiki-auto_save.php

Modified: branches/11.x/tiki-auto_save.php
===================================================================
--- branches/11.x/tiki-auto_save.php	2013-05-21 17:47:52 UTC (rev 46016)
+++ branches/11.x/tiki-auto_save.php	2013-05-21 17:51:59 UTC (rev 46017)
 <at>  <at>  -44,19 +44,29  <at>  <at> 
 }

 if (isset($_REQUEST['editor_id'])) {
+	global $user;
+	$tikilib = TikiLib::lib('tiki');
+	$editlib = TikiLib::lib('edit');
+	$smarty = TikiLib::lib('smarty');
+
+
 	if (isset($_REQUEST['command']) && isset($_REQUEST['data']) && $_REQUEST['data'] != 'ajax error') {
-		if (!isset($_REQUEST['referer']))
+		if (!isset($_REQUEST['referer'])) {
 			$_REQUEST['referer'] =  '';
+		}
 		$referer = explode(':', $_REQUEST['referer']);	// user, section, object id
 		if ($referer && count($referer) === 3 && $referer[1] === 'wiki_page') {
 			$page = rawurldecode($referer[2]);	// plugins use global $page for approval
+
+			if (!Perms::get('wiki page', $page)->edit || $user != $tikilib->get_semaphore_user($page)) {
+				send_ajax_response($_REQUEST['command'], '');
+			}
 		}
+		$res = '';

 		if ($_REQUEST['command'] == 'toWikiFormat') {
-			global $editlib; include_once 'lib/wiki/editlib.php';
 			$res = $editlib->parseToWiki(urldecode($_REQUEST['data']));
 		} else if ($_REQUEST['command'] == 'toHtmlFormat') {
-			global $editlib; include_once 'lib/wiki/editlib.php';
 			$res = $editlib->parseToWysiwyg(urldecode($_REQUEST['data']), false,
!empty($_REQUEST['allowhtml']) ? $_REQUEST['allowhtml'] : false);
 		} else if ($_REQUEST['command'] == 'auto_save') {
 			include_once 'lib/ajax/autosave.php';
 <at>  <at>  -78,6 +88,11  <at>  <at> 
 		}

 		$page = $autoSaveIdParts[2];	// plugins use global $page for approval
+
+		if (!Perms::get('wiki page', $page)->edit || $user != $tikilib->get_semaphore_user($page)) {
+			send_ajax_response($_REQUEST['command'], '');
+		}
+
 		$info = $tikilib->get_page_info($page, false);
 		if (isset($_REQUEST['allowHtml']) || empty($info)) {
 			$info['is_html'] = !empty($_REQUEST['allowHtml'])? 1 : 0;
 <at>  <at>  -89,14 +104,12  <at>  <at> 

 		if (count($autoSaveIdParts) === 3 && !empty($user) && $user === $autoSaveIdParts[0] &&
$autoSaveIdParts[1] === 'wiki_page') {

-			$editlib; include_once 'lib/wiki/editlib.php';
 			if (isset($_REQUEST['inPage'])) {
 				if (!isset($_REQUEST['diff_style'])) {	// use previously set diff_style
 					$_REQUEST['diff_style'] = isset($_COOKIE['preview_diff_style']) ?
$_COOKIE['preview_diff_style'] : '';
 				}
 				$data = $editlib->partialParseWysiwygToWiki(get_autosave($_REQUEST['editor_id'], $_REQUEST['autoSaveId']));
 				$smarty->assign('diff_style', $_REQUEST['diff_style']);
-				global $tikilib;
 				if (!empty($_REQUEST['diff_style'])) {
 					$info = $tikilib->get_page_info($autoSaveIdParts[2]);
 					if (!empty($info)) {
 <at>  <at>  -134,7 +147,7  <at>  <at> 
 				echo $data;

 			} else {					// popup window
-				$headerlib->add_js(
+				TikiLib::lib('header')->add_js(
 					'function get_new_preview() {
 		$("body").css("opacity", 0.6);
 		location.replace("' . $tikiroot . 'tiki-auto_save.php?editor_id=' . $_REQUEST['editor_id'] .
'&autoSaveId=' . $_REQUEST['autoSaveId'] . '");

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
jonnybradley | 21 May 2013 19:47
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[46016] branches/11.x/templates/tiki-show_help.tpl

Revision: 46016
          http://sourceforge.net/p/tikiwiki/code/46016
Author:   jonnybradley
Date:     2013-05-21 17:47:52 +0000 (Tue, 21 May 2013)
Log Message:
-----------
[FIX] help: Remove randomly placed "Show Help" link (often found underneath the edit area, but sometimes
in previews etc) and simplify jquery

Modified Paths:
--------------
    branches/11.x/templates/tiki-show_help.tpl

Modified: branches/11.x/templates/tiki-show_help.tpl
===================================================================
--- branches/11.x/templates/tiki-show_help.tpl	2013-05-21 17:43:59 UTC (rev 46015)
+++ branches/11.x/templates/tiki-show_help.tpl	2013-05-21 17:47:52 UTC (rev 46016)
 <at>  <at>  -18,10 +18,8  <at>  <at> 
 	</div>
 	{if $prefs.feature_jquery_ui eq "y"}
 		{jq}
-			$(function() {$("#help_sections").tabs({});});
-
+			$("#help_sections").tabs();
 		{/jq}
 	{/if}
-	{self_link _onclick='$.openEditHelp(0);return false'}{tr}Show Help{/tr}{icon _id='help'}{/self_link}
 </div>
 <br>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may

Gmane