Re: [Tikiwiki-cvs/svn] SF.net SVN: tikiwiki: [13657] trunk/lib/setup/prefs.php

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [Tikiwiki-cvs/svn] SF.net SVN: tikiwiki: [13657] trunk/lib/setup/prefs.php

by Sylvie Greverend-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nyloth,
Turning the smarty_security on by default will break forever pretty
tracker
templates/tracker_item_field_value.tpl
and css menu
templates/tiki-user_cssmenu.tpl

So .. until these features are implement differently - and I have no
idea at least for pretty tracker - I think is it better to turn it off
sylvie


On Mon, 2008-07-14 at 05:01 -0700, nyloth@... wrote:

> Revision: 13657
>           http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=13657&view=rev
> Author:   nyloth
> Date:     2008-07-14 05:01:27 -0700 (Mon, 14 Jul 2008)
>
> Log Message:
> -----------
> [MOD] preferences: change some default values:
> * enable 'smarty_security' to have a better security by default,
> * enable 'feature_shadowbox' to have a nicer UI,
> * disable 'wiki_list_backlinks', 'wiki_list_links', 'blog_list_activity', and 'change_theme' to have a niver UI,
> * disable 'feature_actionlog_bytes' for performance reasons,
> * remove 'feature_lightbox' and 'wiki-edit_section' that are not used anymore
>
> Modified Paths:
> --------------
>     trunk/lib/setup/prefs.php
>
> Modified: trunk/lib/setup/prefs.php
> ===================================================================
> --- trunk/lib/setup/prefs.php 2008-07-14 11:47:53 UTC (rev 13656)
> +++ trunk/lib/setup/prefs.php 2008-07-14 12:01:27 UTC (rev 13657)
> @@ -116,7 +116,7 @@
>   $prefs['wiki_feature_copyrights'] = 'n';
>   $prefs['wiki_forum_id'] = '';
>   $prefs['wiki_left_column'] = 'y';
> - $prefs['wiki_list_backlinks'] = 'y';
> + $prefs['wiki_list_backlinks'] = 'n';
>   $prefs['wiki_list_comment'] = 'y';
>   $prefs['wiki_list_comment_len'] = '200';
>   $prefs['wiki_list_description'] = 'y';
> @@ -125,7 +125,7 @@
>   $prefs['wiki_list_hits'] = 'y';
>   $prefs['wiki_list_lastmodif'] = 'y';
>   $prefs['wiki_list_lastver'] = 'n';
> - $prefs['wiki_list_links'] = 'y';
> + $prefs['wiki_list_links'] = 'n';
>   $prefs['wiki_list_name'] = 'y';
>   $prefs['wiki_list_name_len'] = '40';
>   $prefs['wiki_list_size'] = 'n';
> @@ -157,7 +157,6 @@
>   $prefs['wikiapproval_prefix'] = '*';
>   $prefs['wikiapproval_delete_staging'] = 'n';
>   $prefs['wikiapproval_master_group'] = '';
> - $prefs['wiki-edit_section'] = 'n';
>   $prefs['wiki_edit_section'] = 'n';
>  
>   # wysiwyg
> @@ -202,7 +201,7 @@
>   $prefs['blog_list_lastmodif'] = 'y';
>   $prefs['blog_list_posts'] = 'y';
>   $prefs['blog_list_visits'] = 'y';
> - $prefs['blog_list_activity'] = 'y';
> + $prefs['blog_list_activity'] = 'n';
>   $prefs['feature_blog_mandatory_category'] = '-1';
>   $prefs['feature_blog_heading'] = 'y';
>  
> @@ -420,7 +419,7 @@
>   $prefs['feature_community_friends_permission'] = 'n';
>   $prefs['feature_community_friends_permission_dep'] = '2';
>   $prefs['change_language'] = 'y';
> - $prefs['change_theme'] = 'y';
> + $prefs['change_theme'] = 'n';
>   $prefs['login_is_email'] = 'n';
>   $prefs['validateUsers'] = 'n';
>   $prefs['validateEmail'] = 'n';
> @@ -823,9 +822,9 @@
>   # dev
>   $prefs['feature_experimental'] = 'n';
>  
> -  # Action logs
> + # Action logs
>   $prefs['feature_actionlog'] = 'n';
> - $prefs['feature_actionlog_bytes'] = 'y';
> + $prefs['feature_actionlog_bytes'] = 'n';
>    
>   # admin
>   $prefs['siteTitle'] = '';
> @@ -835,8 +834,8 @@
>   $prefs['feature_tell_a_friend'] = 'n';
>  
>   # copyright
> - $prefs['feature_copyright']='n';
> - $prefs['feature_multimedia']='n';
> + $prefs['feature_copyright'] = 'n';
> + $prefs['feature_multimedia'] = 'n';
>  
>   # swffix
>   $prefs['feature_swffix'] = 'n';
> @@ -869,7 +868,7 @@
>   $prefs['error_reporting_adminonly'] = 'y';
>   $prefs['error_reporting_level'] = 0;
>   $prefs['smarty_notice_reporting'] = 'n';
> - $prefs['smarty_security'] = 'n';
> + $prefs['smarty_security'] = 'y';
>   $prefs['feature_ajax'] = 'n';
>   $prefs['feature_antibot'] = 'n';
>   $prefs['feature_banners'] = 'n';
> @@ -952,8 +951,7 @@
>   $prefs['user_list_order'] = 'score_desc';
>   $prefs['webserverauth'] = 'n';
>   $prefs['feature_purifier'] = 'n';
> - $prefs['feature_lightbox'] = 'n';
> - $prefs['feature_shadowbox'] = 'n';
> + $prefs['feature_shadowbox'] = 'y';
>   $prefs['log_sql'] = 'n';
>   $prefs['log_mail'] = 'n';
>  
>
>
> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Tikiwiki-cvs mailing list
> Tikiwiki-cvs@...
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Re: [Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[13657] trunk/lib/setup/prefs.php

by WEBER Patrice :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Sylvie (and others),

You're right, thanx, I just fixed them. It should be ok.
( This is exactly why smarty_security has only been activated on trunk
:) )

Cheers,
Nyloth.

-----Original Message-----
From: tikiwiki-devel-bounces@...
[mailto:tikiwiki-devel-bounces@...] On Behalf Of
Sylvie Greverend
Sent: Monday 14 July 2008 14:12
To: Devel
Subject: Re: [Tikiwiki-devel] [Tikiwiki-cvs/svn] SF.net SVN:
tikiwiki:[13657] trunk/lib/setup/prefs.php

Nyloth,
Turning the smarty_security on by default will break forever pretty
tracker
templates/tracker_item_field_value.tpl
and css menu
templates/tiki-user_cssmenu.tpl

So .. until these features are implement differently - and I have no
idea at least for pretty tracker - I think is it better to turn it off
sylvie


On Mon, 2008-07-14 at 05:01 -0700, nyloth@... wrote:
> Revision: 13657
>
http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=13657&view=rev
> Author:   nyloth
> Date:     2008-07-14 05:01:27 -0700 (Mon, 14 Jul 2008)
>
> Log Message:
> -----------
> [MOD] preferences: change some default values:
> * enable 'smarty_security' to have a better security by default,
> * enable 'feature_shadowbox' to have a nicer UI,
> * disable 'wiki_list_backlinks', 'wiki_list_links',
'blog_list_activity', and 'change_theme' to have a niver UI,
> * disable 'feature_actionlog_bytes' for performance reasons,
> * remove 'feature_lightbox' and 'wiki-edit_section' that are not
used anymore

>
> Modified Paths:
> --------------
>     trunk/lib/setup/prefs.php
>
> Modified: trunk/lib/setup/prefs.php
> ===================================================================
> --- trunk/lib/setup/prefs.php 2008-07-14 11:47:53 UTC (rev 13656)
> +++ trunk/lib/setup/prefs.php 2008-07-14 12:01:27 UTC (rev 13657)
> @@ -116,7 +116,7 @@
>   $prefs['wiki_feature_copyrights'] = 'n';
>   $prefs['wiki_forum_id'] = '';
>   $prefs['wiki_left_column'] = 'y';
> - $prefs['wiki_list_backlinks'] = 'y';
> + $prefs['wiki_list_backlinks'] = 'n';
>   $prefs['wiki_list_comment'] = 'y';
>   $prefs['wiki_list_comment_len'] = '200';
>   $prefs['wiki_list_description'] = 'y';
> @@ -125,7 +125,7 @@
>   $prefs['wiki_list_hits'] = 'y';
>   $prefs['wiki_list_lastmodif'] = 'y';
>   $prefs['wiki_list_lastver'] = 'n';
> - $prefs['wiki_list_links'] = 'y';
> + $prefs['wiki_list_links'] = 'n';
>   $prefs['wiki_list_name'] = 'y';
>   $prefs['wiki_list_name_len'] = '40';
>   $prefs['wiki_list_size'] = 'n';
> @@ -157,7 +157,6 @@
>   $prefs['wikiapproval_prefix'] = '*';
>   $prefs['wikiapproval_delete_staging'] = 'n';
>   $prefs['wikiapproval_master_group'] = '';
> - $prefs['wiki-edit_section'] = 'n';
>   $prefs['wiki_edit_section'] = 'n';
>  
>   # wysiwyg
> @@ -202,7 +201,7 @@
>   $prefs['blog_list_lastmodif'] = 'y';
>   $prefs['blog_list_posts'] = 'y';
>   $prefs['blog_list_visits'] = 'y';
> - $prefs['blog_list_activity'] = 'y';
> + $prefs['blog_list_activity'] = 'n';
>   $prefs['feature_blog_mandatory_category'] = '-1';
>   $prefs['feature_blog_heading'] = 'y';
>  
> @@ -420,7 +419,7 @@
>   $prefs['feature_community_friends_permission'] = 'n';
>   $prefs['feature_community_friends_permission_dep'] = '2';
>   $prefs['change_language'] = 'y';
> - $prefs['change_theme'] = 'y';
> + $prefs['change_theme'] = 'n';
>   $prefs['login_is_email'] = 'n';
>   $prefs['validateUsers'] = 'n';
>   $prefs['validateEmail'] = 'n';
> @@ -823,9 +822,9 @@
>   # dev
>   $prefs['feature_experimental'] = 'n';
>  
> -  # Action logs
> + # Action logs
>   $prefs['feature_actionlog'] = 'n';
> - $prefs['feature_actionlog_bytes'] = 'y';
> + $prefs['feature_actionlog_bytes'] = 'n';
>    
>   # admin
>   $prefs['siteTitle'] = '';
> @@ -835,8 +834,8 @@
>   $prefs['feature_tell_a_friend'] = 'n';
>  
>   # copyright
> - $prefs['feature_copyright']='n';
> - $prefs['feature_multimedia']='n';
> + $prefs['feature_copyright'] = 'n';
> + $prefs['feature_multimedia'] = 'n';
>  
>   # swffix
>   $prefs['feature_swffix'] = 'n';
> @@ -869,7 +868,7 @@
>   $prefs['error_reporting_adminonly'] = 'y';
>   $prefs['error_reporting_level'] = 0;
>   $prefs['smarty_notice_reporting'] = 'n';
> - $prefs['smarty_security'] = 'n';
> + $prefs['smarty_security'] = 'y';
>   $prefs['feature_ajax'] = 'n';
>   $prefs['feature_antibot'] = 'n';
>   $prefs['feature_banners'] = 'n';
> @@ -952,8 +951,7 @@
>   $prefs['user_list_order'] = 'score_desc';
>   $prefs['webserverauth'] = 'n';
>   $prefs['feature_purifier'] = 'n';
> - $prefs['feature_lightbox'] = 'n';
> - $prefs['feature_shadowbox'] = 'n';
> + $prefs['feature_shadowbox'] = 'y';
>   $prefs['log_sql'] = 'n';
>   $prefs['log_mail'] = 'n';
>  
>
>
> This was sent by the SourceForge.net collaborative development
platform, the world's largest Open Source development site.
>
>
------------------------------------------------------------------------
-
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Tikiwiki-cvs mailing list
> Tikiwiki-cvs@...
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs


------------------------------------------------------------------------
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
LightInTheBox - Buy quality products at wholesale price