Skip to content

Commit

Permalink
Version 1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ginatrapani committed Jul 6, 2012
1 parent 4685605 commit 5d4b2cd
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 9 deletions.
20 changes: 20 additions & 0 deletions docs/source/changelog/1.0.8.rst
@@ -0,0 +1,20 @@
1.0.8 - 5 Jul 2012
==================

Changelog:


* Optimization: Speed up dashboard rendering by caching results of chart queries in database during data capture
* Expand URLs plugin: Prevent endless 302 redirect loops (which causes "Error starting crawler; another crawl
is already in progress" message)
* Expand URLs plugin: Don't require both Flickr and Bitly API keys to save settings
* Facebook Plugin: Alert user when Facebook's tokens have expired via email and on the dashboard
* Facebook Plugin: Update application setup instructions to match Facebook's UI changes
* Twitter plugin: Accomodate localhost installations in Twitter's OAuth callback URL
* Optimize images using pullcrusher

.. Note:: This release started storing the data displayed in dashboard charts like Response Rates, Clickthrough Rates,
Followers by Day and Followers by Week, etc, during data capture. Therefore, when you first upgrade ThinkUp,
these charts may appear blank. In order to restore them, run a data capture.


1 change: 1 addition & 0 deletions docs/source/changelog/index.rst
Expand Up @@ -6,6 +6,7 @@ Check out what's new, fixed, and updated in each version release of ThinkUp.
.. toctree::
:maxdepth: 1

1.0.8
1.0.7
1.0.6
1.0.5
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Expand Up @@ -48,9 +48,9 @@
# built documents.
#
# The short X.Y version.
version = '1.0.7'
version = '1.0.8'
# The full version, including alpha/beta/rc tags.
release = '1.0.7'
release = '1.0.8'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion tests/WebTestOfUpgradeDatabase.php
Expand Up @@ -145,7 +145,7 @@ public function testFailAndRerunMigration() {

$stmt = $this->pdo->query("select * from " . $this->table_prefix . "completed_migrations");
$data = $stmt->fetchAll();
$this->assertEqual(count($data), 203);
$this->assertEqual(count($data), 215);
}

/**
Expand Down
31 changes: 29 additions & 2 deletions tests/migration-assertions.php
Expand Up @@ -29,7 +29,7 @@
*
* Database migration assertions to test during WebTestOfUpgradeDatabase
*/
$LATEST_VERSION = '1.0.7';
$LATEST_VERSION = '1.0.8';
$TOTAL_MIGRATION_COUNT = 218;

$MIGRATIONS = array(
Expand Down Expand Up @@ -822,8 +822,35 @@

/* 1.0.7 */
'1.0.7' => array(
'zip_url' => 'file://./build/thinkup.zip',
'zip_url' => 'https://github.com/downloads/ginatrapani/ThinkUp/thinkup_1.0.7.zip',
'migrations' => 0,
),

/* 1.0.8 */
'1.0.8' => array(
'zip_url' => 'file://./build/thinkup.zip',
'migrations' => 1,
'migration_assertions' => array(
'sql' => array(
array(
// Created tu_links table
'query' => 'DESCRIBE tu_insights id;',
'match' => "/int\(11\)/",
'column' => 'Type',
),
// Added network_follower_user index to tu_follows
array(
'query' => 'SHOW INDEX FROM tu_follows WHERE Key_name = \'network_follower_user\';',
'match' => "/network_follower_user/",
'column' => 'Key_name',
),
// Added auth_error field to tu_owner_instances
array(
'query' => 'DESCRIBE tu_owner_instances auth_error;',
'match' => "/varchar\(255\)/",
'column' => 'Type',
),
)
)
),
);
6 changes: 3 additions & 3 deletions webapp/install/sql/build-db_mysql.sql
@@ -1,6 +1,6 @@
--
-- ThinkUp Database Creation Script
-- Auto-generated by thinkup/extras/scripts/migratedb script on 2012-07-04
-- Auto-generated by thinkup/extras/scripts/migratedb script on 2012-07-05
--

ALTER DATABASE DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
Expand Down Expand Up @@ -500,13 +500,13 @@ CREATE TABLE tu_users (
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Service user details.';


-- Dump completed on 2012-07-04 18:23:56
-- Dump completed on 2012-07-05 13:48:48

--
-- Insert DB Version
--
INSERT INTO tu_options (namespace, option_name, option_value, last_updated, created)
VALUES ('application_options', 'database_version', '1.0.7', NOW(), NOW());
VALUES ('application_options', 'database_version', '1.0.8', NOW(), NOW());

--
-- Insert default plugin(s)
Expand Down
2 changes: 1 addition & 1 deletion webapp/install/version.php
Expand Up @@ -26,6 +26,6 @@
* @license http://www.gnu.org/licenses/gpl.html
* @copyright 2009-2012 Dwi Widiastuti, Gina Trapani, Guillaume Boudreau
*/
$THINKUP_VERSION = '1.0.7';
$THINKUP_VERSION = '1.0.8';
$THINKUP_VERSION_REQUIRED['php'] = '5.2';
$THINKUP_VERSION_REQUIRED['mysql'] = '5';

0 comments on commit 5d4b2cd

Please sign in to comment.