From: <var...@us...> - 2011-05-20 14:29:48
|
Revision: 8087 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8087&view=rev Author: vargenau Date: 2011-05-20 14:29:42 +0000 (Fri, 20 May 2011) Log Message: ----------- noindex,nofollow by default Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2011-05-20 12:58:49 UTC (rev 8086) +++ trunk/g 2011-05-20 14:29:42 UTC (rev 8087) @@ -57,6 +57,10 @@ exit_disabled('home'); } else { + global $robots; + + $robots = "noindex,nofollow"; + $group_name = $project->getUnixName(); $group_public_name = $project->getPublicName(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2011-09-26 14:10:23
|
Revision: 8124 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8124&view=rev Author: vargenau Date: 2011-09-26 14:10:17 +0000 (Mon, 26 Sep 2011) Log Message: ----------- Use FormNavigate Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2011-09-26 13:56:22 UTC (rev 8123) +++ trunk/g 2011-09-26 14:10:17 UTC (rev 8124) @@ -51,6 +51,11 @@ require_once $gfcommon.'include/pre.php'; require_once $gfplugins.'wiki/common/wikiconfig.class.php'; +html_use_jquery(); +if (forge_get_config('use_jquery_form_navigate')) { + use_javascript('/scripts/jquery-formnavigate/jquery.FormNavigate-min.js'); +} + if (!$group_id || !$project) { exit_no_group(); } else if (!($project->usesPlugin("wiki"))) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-04-13 16:17:45
|
Revision: 8267 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8267&view=rev Author: vargenau Date: 2012-04-13 16:17:36 +0000 (Fri, 13 Apr 2012) Log Message: ----------- Increase memory limit (page with huge history) Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2012-04-13 16:15:30 UTC (rev 8266) +++ trunk/g 2012-04-13 16:17:36 UTC (rev 8267) @@ -42,7 +42,7 @@ * ALONE BASIS." */ -ini_set("memory_limit", "64M"); +ini_set("memory_limit", "256M"); // Disable compression, seems needed to get all the messages. $no_gz_buffer=true; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-05-31 08:31:56
|
Revision: 8269 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8269&view=rev Author: vargenau Date: 2012-05-31 08:31:46 +0000 (Thu, 31 May 2012) Log Message: ----------- Use forge_get_config Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2012-04-14 16:59:41 UTC (rev 8268) +++ trunk/g 2012-05-31 08:31:46 UTC (rev 8269) @@ -47,7 +47,7 @@ // Disable compression, seems needed to get all the messages. $no_gz_buffer=true; -require_once('../../env.inc.php'); +require_once('../../../common/include/env.inc.php'); require_once $gfcommon.'include/pre.php'; require_once $gfplugins.'wiki/common/wikiconfig.class.php'; @@ -122,7 +122,7 @@ // Disable access log (already in Apache & FusionForge). define('ACCESS_LOG_SQL', 0); - define('DEBUG', ($sys_install_type != 'production')); + define('DEBUG', (forge_get_config('installation_environment') != 'production')); // Postgresql define('DATABASE_TYPE', 'SQL'); @@ -244,8 +244,8 @@ // Override the default configuration for VARIABLES after index.php: // E.g. Use another DB: $DBParams['dbtype'] = 'SQL'; - $DBParams['dsn'] = 'ffpgsql://' . $sys_dbuser . ':' . - $sys_dbpasswd . '@' . $sys_dbhost .'/' . $sys_dbname; + $DBParams['dsn'] = 'ffpgsql://' . forge_get_config('database_user') . ':' . + forge_get_config('database_password') . '@' . forge_get_config('database_host') .'/' . forge_get_config('database_name'); $DBParams['prefix'] = "plugin_wiki_"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-08-31 11:21:11
|
Revision: 8274 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8274&view=rev Author: vargenau Date: 2012-08-31 11:21:00 +0000 (Fri, 31 Aug 2012) Log Message: ----------- Use isset Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2012-06-11 09:37:49 UTC (rev 8273) +++ trunk/g 2012-08-31 11:21:00 UTC (rev 8274) @@ -56,7 +56,15 @@ use_javascript('/scripts/jquery-formnavigate/jquery.FormNavigate-min.js'); } -if (!$group_id || !$project) { +if (isset($group_id) && $group_id) { + if (! isset($project) || ! $project) { + $project = group_get_object($group_id); + } +} elseif(isset($project) && is_object($project)) { + $group_id = $project->getID(); +} + +if (! isset($group_id) || ! isset($project)) { exit_no_group(); } else if (!($project->usesPlugin("wiki"))) { exit_disabled('home'); @@ -230,7 +238,6 @@ $user_name = $user->getRealName(); $_SESSION['user_id'] = $user_name; $_SERVER['PHP_AUTH_USER'] = $user_name; - $HTTP_SERVER_VARS['PHP_AUTH_USER'] = $user_name; } } else { // clear out the globals, just in case... This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-09-28 09:48:03
|
Revision: 8284 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8284&view=rev Author: vargenau Date: 2012-09-28 09:47:57 +0000 (Fri, 28 Sep 2012) Log Message: ----------- exit_disabled --> exit_project_disabled Modified Paths: -------------- trunk/g Property Changed: ---------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2012-09-28 09:08:08 UTC (rev 8283) +++ trunk/g 2012-09-28 09:47:57 UTC (rev 8284) @@ -1,7 +1,6 @@ -<?php // -*-php-*- $Id$ - +<?php /* - * Copyright (C) 2008-2010 Alcatel-Lucent + * Copyright (C) 2008-2012 Alcatel-Lucent * * This file is part of PhpWiki. * @@ -18,7 +17,7 @@ * You should have received a copy of the GNU General Public License along * with PhpWiki; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + */ /* * Standard Alcatel-Lucent disclaimer for contributing to open source @@ -67,7 +66,7 @@ if (! isset($group_id) || ! isset($project)) { exit_no_group(); } else if (!($project->usesPlugin("wiki"))) { - exit_disabled('home'); + exit_project_disabled('home'); } else { global $robots; Property changes on: trunk/g ___________________________________________________________________ Deleted: svn:keywords - Id This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-10-10 10:14:08
|
Revision: 8403 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8403&view=rev Author: vargenau Date: 2012-10-10 10:13:58 +0000 (Wed, 10 Oct 2012) Log Message: ----------- Add comment: We should test whether the wiki plugin is disabled globally in the Forge or by the current project. Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2012-10-09 15:40:38 UTC (rev 8402) +++ trunk/g 2012-10-10 10:13:58 UTC (rev 8403) @@ -66,6 +66,9 @@ if (! isset($group_id) || ! isset($project)) { exit_no_group(); } else if (!($project->usesPlugin("wiki"))) { + // We should test whether the wiki plugin is disabled globally + // in the Forge or by the current project. + // exit_disabled('home'); exit_project_disabled('home'); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-11-17 19:03:14
|
Revision: 8483 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8483&view=rev Author: vargenau Date: 2012-11-17 19:03:07 +0000 (Sat, 17 Nov 2012) Log Message: ----------- PSR-2: Code MUST use 4 spaces for indenting, not tabs Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2012-11-16 18:08:14 UTC (rev 8482) +++ trunk/g 2012-11-17 19:03:07 UTC (rev 8483) @@ -52,15 +52,15 @@ html_use_jquery(); if (forge_get_config('use_jquery_form_navigate')) { - use_javascript('/scripts/jquery-formnavigate/jquery.FormNavigate-min.js'); + use_javascript('/scripts/jquery-formnavigate/jquery.FormNavigate-min.js'); } if (isset($group_id) && $group_id) { - if (! isset($project) || ! $project) { - $project = group_get_object($group_id); - } + if (! isset($project) || ! $project) { + $project = group_get_object($group_id); + } } elseif(isset($project) && is_object($project)) { - $group_id = $project->getID(); + $group_id = $project->getID(); } if (! isset($group_id) || ! isset($project)) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-11-26 13:43:27
|
Revision: 8536 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8536&view=rev Author: vargenau Date: 2012-11-26 13:43:20 +0000 (Mon, 26 Nov 2012) Log Message: ----------- "help" project name taken from forge_get_config Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2012-11-25 11:13:41 UTC (rev 8535) +++ trunk/g 2012-11-26 13:43:20 UTC (rev 8536) @@ -92,8 +92,8 @@ define('THEME', 'fusionforge'); // For FusionForge, we create some specific pages, located in the theme - // except for project "help" - if ($group_name == "help") { + // except for given project + if ($group_name == forge_get_config('wiki_help_project', 'wiki')) { define('WIKI_PGSRC', 'pgsrc'); } else { define('WIKI_PGSRC', 'themes/fusionforge/pgsrc'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-12-03 12:40:45
|
Revision: 8587 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8587&view=rev Author: vargenau Date: 2012-12-03 12:40:36 +0000 (Mon, 03 Dec 2012) Log Message: ----------- ini_set('pcre.backtrack_limit', 100000000); Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2012-12-03 12:36:57 UTC (rev 8586) +++ trunk/g 2012-12-03 12:40:36 UTC (rev 8587) @@ -42,6 +42,7 @@ */ ini_set("memory_limit", "256M"); +ini_set('pcre.backtrack_limit', 100000000); // Disable compression, seems needed to get all the messages. $no_gz_buffer=true; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2013-04-10 08:22:34
|
Revision: 8747 http://sourceforge.net/p/phpwiki/code/8747 Author: vargenau Date: 2013-04-10 08:22:28 +0000 (Wed, 10 Apr 2013) Log Message: ----------- Disable Toolbar for tests Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2013-04-10 07:39:34 UTC (rev 8746) +++ trunk/g 2013-04-10 08:22:28 UTC (rev 8747) @@ -54,6 +54,10 @@ html_use_jquery(); if (forge_get_config('use_jquery_form_navigate')) { use_javascript('/scripts/jquery-formnavigate/jquery.FormNavigate-min.js'); + define('ENABLE_EDIT_TOOLBAR', true); +} else { + // Disable Toolbar for tests + define('ENABLE_EDIT_TOOLBAR', false); } if (isset($group_id) && $group_id) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-05-06 13:39:31
|
Revision: 8853 http://sourceforge.net/p/phpwiki/code/8853 Author: vargenau Date: 2014-05-06 13:39:28 +0000 (Tue, 06 May 2014) Log Message: ----------- Add ALLOWED_PROTOCOLS Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2014-05-06 13:38:26 UTC (rev 8852) +++ trunk/g 2014-05-06 13:39:28 UTC (rev 8853) @@ -111,6 +111,8 @@ define('WIKI_NAME', $group_name); + define('ALLOWED_PROTOCOLS', "http|https|mailto|ftp|ftps|news|nntp|ssh|gopher"); + define('DISABLE_MARKUP_WIKIWORD', $wc->getWikiConfig('DISABLE_MARKUP_WIKIWORD')); define('NUM_SPAM_LINKS', 20 * ($wc->getWikiConfig('NUM_SPAM_LINKS'))); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-03-31 13:37:51
|
Revision: 9633 http://sourceforge.net/p/phpwiki/code/9633 Author: vargenau Date: 2015-03-31 13:37:40 +0000 (Tue, 31 Mar 2015) Log Message: ----------- Use unlimited memory for SOAP (Fusionforge) Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2015-03-30 10:43:29 UTC (rev 9632) +++ trunk/g 2015-03-31 13:37:40 UTC (rev 9633) @@ -41,7 +41,11 @@ * ALONE BASIS." */ -ini_set("memory_limit", "256M"); +if (defined('WIKI_SOAP')) { + ini_set('memory_limit', -1); +} else { + ini_set('memory_limit', "256M"); +} ini_set('pcre.backtrack_limit', 100000000); // Disable compression, seems needed to get all the messages. @@ -65,7 +69,13 @@ } if (defined('WIKI_SOAP')) { - $group_id = 6; + $help = group_get_object_by_name('help'); + if ($help) { + $group_id = $help->getID(); + } else { + // Test system don't have help project, use projecta instead. + $group_id = 6; + } } if (isset($group_id) && $group_id) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-09 09:16:33
|
Revision: 9647 http://sourceforge.net/p/phpwiki/code/9647 Author: vargenau Date: 2015-04-09 09:16:25 +0000 (Thu, 09 Apr 2015) Log Message: ----------- JS_SEARCHREPLACE is false for Fusionforge Modified Paths: -------------- trunk/g Modified: trunk/g =================================================================== --- trunk/g 2015-04-09 08:15:42 UTC (rev 9646) +++ trunk/g 2015-04-09 09:16:25 UTC (rev 9647) @@ -67,6 +67,7 @@ // Disable Toolbar for tests define('ENABLE_EDIT_TOOLBAR', false); } +define('JS_SEARCHREPLACE', false); if (defined('WIKI_SOAP')) { $help = group_get_object_by_name('help'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |