Marc Laporte | 1 Feb 2012 03:50
Gravatar

Re: [Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[39206] trunk

Hi chealer!

Here is a reported issue in trunk, which seems related to below
http://dev.tiki.org/item4145

Thanks!

On Thu, Dec 15, 2011 at 10:00 PM,  <chealer@...> wrote:
> Revision: 39206
>          http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=39206&view=rev
> Author:   chealer
> Date:     2011-12-16 03:00:47 +0000 (Fri, 16 Dec 2011)
> Log Message:
> -----------
> [FIX] Wiki: Page content stored HTML-encoded in the database. Fixes HTML special characters showing as
modified (and double-encoded in the original version) in differences.
> References: r1324, http://article.gmane.org/gmane.comp.cms.tiki.devel/24450
>
> Revision Links:
> --------------
>    http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=1324&view=rev
>
> Modified Paths:
> --------------
>    trunk/templates/tiki-pagehistory.tpl
>    trunk/tiki-editpage.php
>    trunk/tiki-pagehistory.php
>
> Added Paths:
> -----------
(Continue reading)

sampaioprimo | 1 Feb 2012 18:30
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[39714] trunk/lib/test

Revision: 39714
          http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=39714&view=rev
Author:   sampaioprimo
Date:     2012-02-01 17:30:23 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
typo

Added Paths:
-----------
    trunk/lib/test/reportslib/
    trunk/lib/test/reportslib/ReportsLibTest.php

Removed Paths:
-------------
    trunk/lib/test/reporstlib/ReportsLibTest.php

Deleted: trunk/lib/test/reporstlib/ReportsLibTest.php
===================================================================
--- trunk/lib/test/reporstlib/ReportsLibTest.php	2012-01-31 22:29:43 UTC (rev 39713)
+++ trunk/lib/test/reporstlib/ReportsLibTest.php	2012-02-01 17:30:23 UTC (rev 39714)
 <at>  <at>  -1,83 +0,0  <at>  <at> 
-<?php
-// (c) Copyright 2002-2012 by authors of the Tiki Wiki CMS Groupware Project
-// 
-// All Rights Reserved. See copyright.txt for details and a complete list of authors.
-// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
-// $Id$
-
-require_once 'lib/reportslib.php';
(Continue reading)

sampaioprimo | 1 Feb 2012 18:30
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[39715] trunk/lib/test/TikiDatabaseTestCase.php

Revision: 39715
          http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=39715&view=rev
Author:   sampaioprimo
Date:     2012-02-01 17:30:37 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
base class for tests that use the database

Added Paths:
-----------
    trunk/lib/test/TikiDatabaseTestCase.php

Added: trunk/lib/test/TikiDatabaseTestCase.php
===================================================================
--- trunk/lib/test/TikiDatabaseTestCase.php	                        (rev 0)
+++ trunk/lib/test/TikiDatabaseTestCase.php	2012-02-01 17:30:37 UTC (rev 39715)
 <at>  <at>  -0,0 +1,33  <at>  <at> 
+<?php
+// (c) Copyright 2002-2012 by authors of the Tiki Wiki CMS Groupware Project
+// 
+// All Rights Reserved. See copyright.txt for details and a complete list of authors.
+// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
+// $Id$
+
+/*
+ * Parent class of all test cases that use the database.
+ */
+ 
+require_once (version_compare(PHPUnit_Runner_Version::id(), '3.5.0', '>=')) ?
'PHPUnit/Autoload.php' : 'PHPUnit/Framework.php';
(Continue reading)

sampaioprimo | 1 Feb 2012 18:30
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[39716] trunk/lib/test/wiki-plugins/CodeTest.php

Revision: 39716
          http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=39716&view=rev
Author:   sampaioprimo
Date:     2012-02-01 17:30:52 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
update test to reflect change in code behavior done in r39586

Revision Links:
--------------
    http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=39586&view=rev

Modified Paths:
--------------
    trunk/lib/test/wiki-plugins/CodeTest.php

Modified: trunk/lib/test/wiki-plugins/CodeTest.php
===================================================================
--- trunk/lib/test/wiki-plugins/CodeTest.php	2012-02-01 17:30:37 UTC (rev 39715)
+++ trunk/lib/test/wiki-plugins/CodeTest.php	2012-02-01 17:30:52 UTC (rev 39716)
 <at>  <at>  -20,8 +20,8  <at>  <at> 
 	public function provider()
 	{
 		return array(
-			array('', '<pre class="codelisting"  data-wrap="y"  dir="ltr"  id="codebox1" >~np~~/np~</pre>'),
-			array('<script>alert(document.cookie);</script>', '<pre class="codelisting"  data-wrap="y" 
dir="ltr"  id="codebox2" >~np~&lt;script>alert(document.cookie);&lt;/script>~/np~</pre>',
array('ishtml' => 1)),
+			array('', '<pre class="codelisting"  data-wrap="1"  dir="ltr"  style="white-space:pre-wrap;
white-space:-moz-pre-wrap !important; white-space:-pre-wrap; white-space:-o-pre-wrap;
(Continue reading)

sampaioprimo | 1 Feb 2012 18:31
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[39717] trunk

Revision: 39717
          http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=39717&view=rev
Author:   sampaioprimo
Date:     2012-02-01 17:31:40 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
refactor of daily reports code

Modified Paths:
--------------
    trunk/lib/reportslib.php
    trunk/lib/setup/events.php
    trunk/tiki-user_reports.php
    trunk/tiki-user_reports_send.php
    trunk/tiki-user_watches.php

Added Paths:
-----------
    trunk/lib/core/Reports/
    trunk/lib/core/Reports/Cache.php
    trunk/lib/core/Reports/Factory.php
    trunk/lib/core/Reports/Send.php
    trunk/lib/core/Reports/Users.php
    trunk/lib/test/core/Reports/
    trunk/lib/test/core/Reports/CacheTest.php
    trunk/lib/test/core/Reports/SendTest.php
    trunk/lib/test/core/Reports/UsersTest.php
    trunk/lib/test/core/Reports/fixtures/
    trunk/lib/test/core/Reports/fixtures/reports_cache_dataset.xml
    trunk/lib/test/core/Reports/fixtures/reports_cache_dataset_delete.xml
(Continue reading)

sampaioprimo | 1 Feb 2012 18:32
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[39718] trunk

Revision: 39718
          http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=39718&view=rev
Author:   sampaioprimo
Date:     2012-02-01 17:32:04 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
remove unused column from tiki_user_reports

Modified Paths:
--------------
    trunk/db/tiki.sql

Added Paths:
-----------
    trunk/installer/schema/20120123_remove_column_from_tiki_user_reports_tiki.sql

Modified: trunk/db/tiki.sql
===================================================================
--- trunk/db/tiki.sql	2012-02-01 17:31:40 UTC (rev 39717)
+++ trunk/db/tiki.sql	2012-02-01 17:32:04 UTC (rev 39718)
 <at>  <at>  -3190,7 +3190,6  <at>  <at> 
   `interval` varchar(20) NOT NULL,
   `view` varchar(8) NOT NULL,
   `type` varchar(5) NOT NULL,
-  `time_to_send` datetime NULL default 0,
   `always_email` tinyint(1) NOT NULL,
   `last_report` datetime NOT NULL,
   PRIMARY KEY (`id`)

Added: trunk/installer/schema/20120123_remove_column_from_tiki_user_reports_tiki.sql
(Continue reading)

sampaioprimo | 1 Feb 2012 18:32
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[39719] trunk/installer/installlib.php

Revision: 39719
          http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=39719&view=rev
Author:   sampaioprimo
Date:     2012-02-01 17:32:16 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
use php5 constructor

Modified Paths:
--------------
    trunk/installer/installlib.php

Modified: trunk/installer/installlib.php
===================================================================
--- trunk/installer/installlib.php	2012-02-01 17:32:04 UTC (rev 39718)
+++ trunk/installer/installlib.php	2012-02-01 17:32:16 UTC (rev 39719)
 <at>  <at>  -28,7 +28,7  <at>  <at> 
 	
 	var $useInnoDB = false;

-	function Installer() // {{{
+	function __construct() // {{{
 	{
 		$this->buildPatchList();
 		$this->buildScriptList();

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

------------------------------------------------------------------------------
(Continue reading)

sampaioprimo | 1 Feb 2012 18:32
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[39720] trunk/installer/installlib.php

Revision: 39720
          http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=39720&view=rev
Author:   sampaioprimo
Date:     2012-02-01 17:32:28 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
check if tiki_schema exist to avoid warning message when using the script to install a new tiki database

Modified Paths:
--------------
    trunk/installer/installlib.php

Modified: trunk/installer/installlib.php
===================================================================
--- trunk/installer/installlib.php	2012-02-01 17:32:16 UTC (rev 39719)
+++ trunk/installer/installlib.php	2012-02-01 17:32:28 UTC (rev 39720)
 <at>  <at>  -214,7 +214,14  <at>  <at> 
 		}

 		$installed = array();
-		$results = $this->query("SELECT patch_name FROM tiki_schema");
+		$results = false;
+		
+		$tableExist = $this->fetchAll("SHOW TABLES LIKE 'tiki_schema'");
+		
+		if (!empty($tableExist)) {
+			$results = $this->query("SELECT patch_name FROM tiki_schema");
+		}
+		
 		if ( $results ) {
(Continue reading)

sampaioprimo | 1 Feb 2012 18:32
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[39721] trunk/lang/pt-br/language.php

Revision: 39721
          http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=39721&view=rev
Author:   sampaioprimo
Date:     2012-02-01 17:32:41 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
fix pt-br translation

Modified Paths:
--------------
    trunk/lang/pt-br/language.php

Modified: trunk/lang/pt-br/language.php
===================================================================
--- trunk/lang/pt-br/language.php	2012-02-01 17:32:28 UTC (rev 39720)
+++ trunk/lang/pt-br/language.php	2012-02-01 17:32:41 UTC (rev 39721)
 <at>  <at>  -11385,7 +11385,7  <at>  <at> 
 "Go directly to the <strong>Install/Upgrade</strong> step" => "Vá diretamente para <strong>Instalar/Atualizar</strong>",
 "Install/Upgrade" => "Instalar/Atualizar",
 "Restart the installer" => "Reiniciar o instalador",
-"Database Connection" => "conexão com a base de dados",
+"Database Connection" => "Conexão com a base de dados",
 "Reset the Database Connection" => "Reiniciar a conexão com o bando de dados",
 "Configure the General Settings" => "Configurações gerais",
 // "Tiki Icon" => "Tiki Icon",

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

------------------------------------------------------------------------------
(Continue reading)

sampaioprimo | 1 Feb 2012 18:33
Picon

[Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[39722] trunk

Revision: 39722
          http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=39722&view=rev
Author:   sampaioprimo
Date:     2012-02-01 17:33:40 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
move method ReportsLib::makeReportCache() to the new code for periodic reports

Modified Paths:
--------------
    trunk/lib/articles/artlib.php
    trunk/lib/blogs/bloglib.php
    trunk/lib/calendar/calendarlib.php
    trunk/lib/core/Reports/Cache.php
    trunk/lib/core/Reports/Factory.php
    trunk/lib/core/Reports/Send.php
    trunk/lib/core/Reports/Users.php
    trunk/lib/imagegals/imagegallib.php
    trunk/lib/notifications/notificationemaillib.php
    trunk/lib/reportslib.php
    trunk/lib/test/core/Reports/CacheTest.php
    trunk/lib/test/core/Reports/UsersTest.php
    trunk/lib/tikilib.php
    trunk/lib/trackers/trackerlib.php
    trunk/tiki-user_reports.php
    trunk/tiki-user_watches.php

Added Paths:
-----------
    trunk/lib/core/Reports/Manager.php
(Continue reading)


Gmane