]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
replaced all references to trac.elgg.org to the correct GitHub issues
authorJerome Bakker <jeabakker@coldtrick.com>
Wed, 23 Oct 2013 13:35:05 +0000 (15:35 +0200)
committerJerome Bakker <jeabakker@coldtrick.com>
Wed, 23 Oct 2013 13:35:05 +0000 (15:35 +0200)
19 files changed:
documentation/info/manifest.xml
engine/classes/ElggAttributeLoader.php
engine/classes/ElggEntity.php
engine/lib/database.php
engine/lib/entities.php
engine/lib/upgrade.php
engine/lib/upgrades/2010033101.php
engine/lib/upgrades/2012041801-1.8.3-multiple_user_tokens-852225f7fd89f6c5.php
engine/lib/views.php
engine/tests/api/helpers.php
engine/tests/api/metadata.php
engine/tests/api/plugins.php
engine/tests/objects/entities.php
engine/tests/objects/objects.php
engine/tests/regression/trac_bugs.php
engine/tests/test_files/plugin_18/manifest.xml
mod/search/README.txt
upgrade.php
views/default/js/elgg.php

index 49415848117cd79e5c332fe79fd07b96735f1982..4fd4be8ce7d3943d942f29adfa11c60e29c2a01c 100644 (file)
@@ -7,7 +7,7 @@
        <description>This is a longer, more interesting description of my plugin, its features, and other important information.</description>
        <website>http://www.elgg.org/</website>
        <repository>https://github.com/Elgg/Elgg</repository>
-       <bugtracker>http://trac.elgg.org</bugtracker>
+       <bugtracker>https://github.com/Elgg/Elgg/issues</bugtracker>
        <donations>http://elgg.org/supporter.php</donations>
        <copyright>(C) Elgg 2011</copyright>
        <license>GNU General Public License version 2</license>
index 0b770da757a2d5efdc295acce230c7b92ecd2737..ffc80b02d006a340cb6178b8b39086e1f9f02474 100644 (file)
@@ -4,7 +4,7 @@
  * Loads ElggEntity attributes from DB or validates those passed in via constructor
  *
  * @access private
- * 
+ *
  * @package    Elgg.Core
  * @subpackage DataModel
  */
@@ -69,7 +69,7 @@ class ElggAttributeLoader {
 
        /**
         * Constructor
-        * 
+        *
         * @param string $class             class of object being loaded
         * @param string $required_type     entity type this is being used to populate
         * @param array  $initialized_attrs attributes after initializeAttributes() has been run
@@ -94,7 +94,7 @@ class ElggAttributeLoader {
 
        /**
         * Get primary attributes missing that are missing
-        * 
+        *
         * @param stdClass $row Database row
         * @return array
         */
@@ -104,7 +104,7 @@ class ElggAttributeLoader {
 
        /**
         * Get secondary attributes that are missing
-        * 
+        *
         * @param stdClass $row Database row
         * @return array
         */
@@ -114,7 +114,7 @@ class ElggAttributeLoader {
 
        /**
         * Check that the type is correct
-        * 
+        *
         * @param stdClass $row Database row
         * @return void
         * @throws InvalidClassException
@@ -216,7 +216,7 @@ class ElggAttributeLoader {
                // Note: If there are still missing attributes, we're running on a 1.7 or earlier schema. We let
                // this pass so the upgrades can run.
 
-               // guid needs to be an int  http://trac.elgg.org/ticket/4111
+               // guid needs to be an int  https://github.com/elgg/elgg/issues/4111
                $row['guid'] = (int) $row['guid'];
 
                return $row;
index dd1c7c11430da5e8105d87d834ac9810dbc12266..a563f6fad036dc4c16d3111d4c409e974f5f9eb0 100644 (file)
@@ -24,7 +24,7 @@
  *
  * @package    Elgg.Core
  * @subpackage DataModel.Entities
- * 
+ *
  * @property string $type           object, user, group, or site (read-only after save)
  * @property string $subtype        Further clarifies the nature of the entity (read-only after save)
  * @property int    $guid           The unique identifier for this entity (read only)
@@ -352,8 +352,8 @@ abstract class ElggEntity extends ElggData implements
                                        'limit' => 0
                                );
                                // @todo in 1.9 make this return false if can't add metadata
-                               // http://trac.elgg.org/ticket/4520
-                               // 
+                               // https://github.com/elgg/elgg/issues/4520
+                               //
                                // need to remove access restrictions right now to delete
                                // because this is the expected behavior
                                $ia = elgg_set_ignore_access(true);
@@ -379,7 +379,7 @@ abstract class ElggEntity extends ElggData implements
                        // unsaved entity. store in temp array
                        // returning single entries instead of an array of 1 element is decided in
                        // getMetaData(), just like pulling from the db.
-                       // 
+                       //
                        // if overwrite, delete first
                        if (!$multiple || !isset($this->temp_metadata[$name])) {
                                $this->temp_metadata[$name] = array();
@@ -964,7 +964,7 @@ abstract class ElggEntity extends ElggData implements
         *
         * @tip Can be overridden by registering for the permissions_check:comment,
         * <entity type> plugin hook.
-        * 
+        *
         * @param int $user_guid User guid (default is logged in user)
         *
         * @return bool
@@ -1365,7 +1365,7 @@ abstract class ElggEntity extends ElggData implements
                                $this->attributes['tables_loaded']++;
                        }
 
-                       // guid needs to be an int  http://trac.elgg.org/ticket/4111
+                       // guid needs to be an int  https://github.com/elgg/elgg/issues/4111
                        $this->attributes['guid'] = (int)$this->attributes['guid'];
 
                        // Cache object handle
index 37dfb8f8d9aff6b2246c92d7784ec5bace527ed2..a7949788d649a564fa9084194310be9a66d027ed 100644 (file)
@@ -129,7 +129,7 @@ function establish_db_link($dblinkname = "readwrite") {
        // Set up cache if global not initialized and query cache not turned off
        if ((!$DB_QUERY_CACHE) && (!$db_cache_off)) {
                // @todo if we keep this cache in 1.9, expose the size as a config parameter
-               $DB_QUERY_CACHE = new ElggLRUCache(200);                
+               $DB_QUERY_CACHE = new ElggLRUCache(200);
        }
 }
 
@@ -399,14 +399,14 @@ function elgg_query_runner($query, $callback = null, $single = false) {
 
        // Since we want to cache results of running the callback, we need to
        // need to namespace the query with the callback and single result request.
-       // http://trac.elgg.org/ticket/4049
+       // https://github.com/elgg/elgg/issues/4049
        $hash = (string)$callback . (int)$single . $query;
 
        // Is cached?
        if ($DB_QUERY_CACHE) {
                if (isset($DB_QUERY_CACHE[$hash])) {
                        elgg_log("DB query $query results returned from cache (hash: $hash)", 'NOTICE');
-                       return $DB_QUERY_CACHE[$hash];                  
+                       return $DB_QUERY_CACHE[$hash];
                }
        }
 
@@ -524,7 +524,7 @@ function delete_data($query) {
 
 /**
  * Invalidate the query cache
- * 
+ *
  * @access private
  */
 function _elgg_invalidate_query_cache() {
@@ -533,7 +533,7 @@ function _elgg_invalidate_query_cache() {
                $DB_QUERY_CACHE->clear();
                elgg_log("Query cache invalidated", 'NOTICE');
        } elseif ($DB_QUERY_CACHE) {
-               // In case someone sets the cache to an array and primes it with data 
+               // In case someone sets the cache to an array and primes it with data
                $DB_QUERY_CACHE = array();
                elgg_log("Query cache invalidated", 'NOTICE');
        }
@@ -668,7 +668,7 @@ function run_sql_script($scriptlocation) {
 
 /**
  * Format a query string for logging
- * 
+ *
  * @param string $query Query string
  * @return string
  * @access private
index 997db79d26066508352eb017404a70c0030a87d2..4fcf1c657875d8a9026a45733183ffb84d112e5e 100644 (file)
@@ -791,7 +791,7 @@ function get_entity($guid) {
 
        if ($shared_cache) {
                $cached_entity = $shared_cache->load($guid);
-               // @todo store ACLs in memcache http://trac.elgg.org/ticket/3018#comment:3
+               // @todo store ACLs in memcache https://github.com/elgg/elgg/issues/3018#issuecomment-13662617
                if ($cached_entity) {
                        // @todo use ACL and cached entity access_id to determine if user can see it
                        return $cached_entity;
index 0cc1e64dc45cb290596d697479d15a3847973d12..158ec9ec1cc0b185947a60c709d2adf0373562c5 100644 (file)
@@ -245,7 +245,7 @@ function version_upgrade() {
 
        // No version number? Oh snap...this is an upgrade from a clean installation < 1.7.
        // Run all upgrades without error reporting and hope for the best.
-       // See http://trac.elgg.org/elgg/ticket/1432 for more.
+       // See https://github.com/elgg/elgg/issues/1432 for more.
        $quiet = !$dbversion;
 
        // Note: Database upgrades are deprecated as of 1.8.  Use code upgrades.  See #1433
index 0bffee0010ba1b8f3101f66603165a61f69ee5e3..4779295fd1484f9ecfd00a5dbbae3d30a79235c3 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /**
- * Conditional upgrade for UTF8 as described in http://trac.elgg.org/ticket/1928
+ * Conditional upgrade for UTF8 as described in https://github.com/elgg/elgg/issues/1928
  */
 
 // get_version() returns the code version.
index 07732f261ce150e6ad3839e1af5ff84a15d6b384..780038c32696e11968ba45b8f9da45257533775e 100644 (file)
@@ -3,7 +3,7 @@
  * Elgg 1.8.3 upgrade 2012041801
  * multiple_user_tokens
  *
- * Fixes http://trac.elgg.org/ticket/4291
+ * Fixes https://github.com/elgg/elgg/issues/4291
  * Removes the unique index on users_apisessions for user_guid and site_guid
  */
 
index 7f179f5725824380b6965ba61960299edd5c9f19..dc69395c62b2ab447bdfc76bed7322dd44278d49 100644 (file)
@@ -1249,7 +1249,7 @@ function elgg_view_river_item($item, array $vars = array()) {
 
        // @todo this needs to be cleaned up
        // Don't hide objects in closed groups that a user can see.
-       // see http://trac.elgg.org/ticket/4789
+       // see https://github.com/elgg/elgg/issues/4789
        //      else {
        //              // hide based on object's container
        //              $visibility = ElggGroupItemVisibility::factory($object->container_guid);
index 10216140fd1bbe73ea791e8f66a1e0559b149eaa..414fb4145e28f72f1dfed83620ace1ab395651d7 100644 (file)
@@ -519,7 +519,7 @@ class ElggCoreHelpersTest extends ElggCoreUnitTest {
                $this->assertIdentical($elements_sorted_string, $test_elements);
        }
 
-       // see http://trac.elgg.org/ticket/4288
+       // see https://github.com/elgg/elgg/issues/4288
        public function testElggBatchIncOffset() {
                // normal increment
                $options = array(
index 0862341c1b41bf98fedade334cf70cab78d6e033..d23510c6a90ffa1fda1ee7734006b9429b932e81 100644 (file)
@@ -139,7 +139,7 @@ class ElggCoreMetadataAPITest extends ElggCoreUnitTest {
 
        // Make sure metadata with multiple values is correctly deleted when re-written
        // by another user
-       // http://trac.elgg.org/ticket/2776
+       // https://github.com/elgg/elgg/issues/2776
        public function test_elgg_metadata_multiple_values() {
                $u1 = new ElggUser();
                $u1->username = rand();
index 114f3991b28cfb1f26118b9cafead37d3344d571..d0f111c48cdd3b87bf0ecab59808a523b295d4d9 100644 (file)
@@ -69,7 +69,7 @@ class ElggCorePluginsAPITest extends ElggCoreUnitTest {
                        'description' => 'A longer, more interesting description.',
                        'website' => 'http://www.elgg.org/',
                        'repository' => 'https://github.com/Elgg/Elgg',
-                       'bugtracker' => 'http://trac.elgg.org',
+                       'bugtracker' => 'https://github.com/elgg/elgg/issues',
                        'donations' => 'http://elgg.org/supporter.php',
                        'copyright' => '(C) Elgg Foundation 2011',
                        'license' => 'GNU General Public License version 2',
@@ -174,7 +174,7 @@ class ElggCorePluginsAPITest extends ElggCoreUnitTest {
        }
        
                public function testElggPluginManifestGetBugtracker() {
-               $this->assertEqual($this->manifest18->getBugTrackerURL(), 'http://trac.elgg.org');
+               $this->assertEqual($this->manifest18->getBugTrackerURL(), 'https://github.com/elgg/elgg/issues');
                $this->assertEqual($this->manifest17->getBugTrackerURL(), '');
        }
        
index 248b85c9e64ee81dca7a5cecd70c327a0a538efa..bac72079ee0501c0ae01a960c455a1c4399978e7 100644 (file)
@@ -271,7 +271,7 @@ class ElggCoreEntityTest extends ElggCoreUnitTest {
                $this->save_entity();
 
                // test deleting incorrectly
-               // @link http://trac.elgg.org/ticket/2273
+               // @link https://github.com/elgg/elgg/issues/2273
                $this->assertNull($this->entity->deleteMetadata('impotent'));
                $this->assertEqual($this->entity->important, 'indeed!');
 
index 915594e0a6e5e7cd1ad8111b16144b4e2ddfc2d9..263ab241419bfd5a00e7457bcca7ecaeaf4117ad 100644 (file)
@@ -194,7 +194,7 @@ class ElggCoreObjectTest extends ElggCoreUnitTest {
                $old = elgg_set_ignore_access(true);
        }
 
-       // see http://trac.elgg.org/ticket/1196
+       // see https://github.com/elgg/elgg/issues/1196
        public function testElggEntityRecursiveDisableWhenLoggedOut() {
                $e1 = new ElggObject();
                $e1->access_id = ACCESS_PUBLIC;
index f173b5b9fd3942de232659a0e4a28eac5a80b8b2..9372b08550c457a1a0a85008bfaf524cadda1b1f 100644 (file)
@@ -201,8 +201,8 @@ class ElggCoreRegressionBugsTest extends ElggCoreUnitTest {
        }
 
        /**
-        * http://trac.elgg.org/ticket/3210 - Don't remove -s in friendly titles
-        * http://trac.elgg.org/ticket/2276 - improve char encoding
+        * https://github.com/elgg/elgg/issues/3210 - Don't remove -s in friendly titles
+        * https://github.com/elgg/elgg/issues/2276 - improve char encoding
         */
        public function test_friendly_title() {
                $cases = array(
@@ -216,7 +216,7 @@ class ElggCoreRegressionBugsTest extends ElggCoreUnitTest {
                        => "a-a-a-a-a-a-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                        
                        // separators trimmed
-                       "-_ hello _-" 
+                       "-_ hello _-"
                        => "hello",
 
                        // accents removed, lower case, other multibyte chars are URL encoded
@@ -286,7 +286,7 @@ class ElggCoreRegressionBugsTest extends ElggCoreUnitTest {
                        'web archive anchor <a href="http://web.archive.org/web/20000229040250/http://www.google.com/">google</a>' =>
                                'web archive anchor <a href="http://web.archive.org/web/20000229040250/http://www.google.com/">google</a>',
 
-                       'single quotes already anchor <a href=\'http://www.yahoo.com\'>yahoo</a>' => 
+                       'single quotes already anchor <a href=\'http://www.yahoo.com\'>yahoo</a>' =>
                                'single quotes already anchor <a href=\'http://www.yahoo.com\'>yahoo</a>',
 
                        'unquoted already anchor <a href=http://www.yahoo.com>yahoo</a>' =>
@@ -302,7 +302,7 @@ class ElggCoreRegressionBugsTest extends ElggCoreUnitTest {
        
        /**
         * Ensure additional select columns do not end up in entity attributes.
-        * 
+        *
         * https://github.com/Elgg/Elgg/issues/5538
         */
        public function test_extra_columns_dont_appear_in_attributes() {
index 5d788616a3bc7aa465d9cac35b2b4960093440a8..c8b4075117d9ad6b64fa9e2614ec563759458aca 100644 (file)
@@ -7,7 +7,7 @@
        <description>A longer, more interesting description.</description>
        <website>http://www.elgg.org/</website>
        <repository>https://github.com/Elgg/Elgg</repository>
-       <bugtracker>http://trac.elgg.org</bugtracker>
+       <bugtracker>https://github.com/elgg/elgg/issues</bugtracker>
        <donations>http://elgg.org/supporter.php</donations>
        <copyright>(C) Elgg Foundation 2011</copyright>
        <license>GNU General Public License version 2</license>
index 98a002dd5fda4b89a7bb68d91f50ca56792d422e..ac5930e5fee24c0270dbb9804bff904b15d2cc8a 100644 (file)
@@ -273,4 +273,4 @@ MySQL's fulltext engine returns *ZERO* rows if more than 50% of
 the rows searched match.
 
 The default search hooks for users and groups ignore subtypes.
-See [trac ticket 1499](http://trac.elgg.org/elgg/ticket/1499)
+See [GitHub issue 1499](https://github.com/elgg/elgg/issues/1499)
index c5f158c614f033643c65513a6b7153af07cdefd5..d07b2a1da17dc2868da0a17f3243d523369e7bb6 100644 (file)
@@ -46,7 +46,7 @@ if (get_input('upgrade') == 'upgrade') {
        
 } else {
        // if upgrading from < 1.8.0, check for the core view 'welcome' and bail if it's found.
-       // see http://trac.elgg.org/ticket/3064
+       // see https://github.com/elgg/elgg/issues/3064
        // we're not checking the view itself because it's likely themes will override this view.
        // we're only concerned with core files.
        $welcome = dirname(__FILE__) . '/views/default/welcome.php';
index 6fe03484d41148b66bcba8aca577942944e9a20c..c3b56e398fde02b4ae3e317f336f697bfb76274b 100644 (file)
@@ -43,7 +43,7 @@ $libs = array(
 
 foreach ($libs as $file) {
        include("{$CONFIG->path}js/lib/$file.js");
-       // putting a new line between the files to address http://trac.elgg.org/ticket/3081
+       // putting a new line between the files to address https://github.com/elgg/elgg/issues/3081
        echo "\n";
 }