Skip to content

Commit

Permalink
Version 2.0-beta.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ginatrapani committed Dec 26, 2013
1 parent b51731d commit 71486f2
Show file tree
Hide file tree
Showing 22 changed files with 243 additions and 41 deletions.
59 changes: 59 additions & 0 deletions docs/source/changelog/2.0-beta.9.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
2.0-beta.9 - 16 Dec 2013
========================

New YouTube plugin:
-------------------

Connect your YouTube account to ThinkUp to get insights on your activity, including:

* Videos with the most likes and views
* How many minutes users watched your videos
* The videos viewers watched longer on average
* Changes to your channel subscriber count
* Video likes versus dislikes


New insights:
-------------
* New verified followers: Find out when a verified user follows you.
* Fave/like/+1 spikes and highs: See when a post gets an unusually high number of likes.
* Metweets: Keep track of how often you talk about yourself.
* Interaction Graph: See who you talked to the most each week.
* Weekly Bests: See your best posts of the week.
* Reply Spike: See posts that received an usually high number of comments or replies.
* Response Time: Know how fast your posts get replies or likes.
* Favorited Links: See what posts you've liked which contained links.
* Long-lost Contacts: Keep track of the contact you haven't talked to in over a year.
* Link Prompt: Don't forget to post interesting links.
* Local Followers: See when new followers are located where you are.
* Outreach Punchcard: See what times of day your posts get responses.

New features:
-------------
* Opt into daily and/or weekly insight email notifications. In Settings -> Account, choose Daily, Weekly, or No Email
under Notification Frequency.
* If your server cannot send email, ThinkUp can now send email via Mandrill.
(https://www.thinkup.com/docs/install/advancedconfig.html)
* Format your insight email notifications with a custom HTML Mandrill template.
(https://www.thinkup.com/docs/userguide/settings/plugins/insightsgenerator.html)
* Retrieve saved search posts via ThinkUp's API. (https://www.thinkup.com/docs/userguide/api/posts/keyword_posts.html)

Enhancements:
-------------
* See what days which insights appear in Settings > Plugins > Insights Generator.
(http://blog.thinkup.com/post/57456822638/what-kind-of-insights-will-thinkup-give-you-when)
* Get improved insight copy with localized terms by service (i.e., status update vs tweet versus post).
* Expand URLs plugin: Get the title and description of each link on expansion.

Bugfixes:
---------
* Correctly capture tweets and mentions by since_id versus page.
* Correctly capture Facebook comments using updated API pagination.
* Correctly capture Facebook post likes using Oct 2013 updated API.
* Correctly display Foursquare checkin photos.
* Gracefully handle capturing Twitter followers who are 403 "not found" (i.e., deactivated/suspended).
* Avoid "Data too long for column" error while expanding links.
* Update Foursquare and Facebook connection instructions.
* Fix broken saved search links in Twitter configuration.
* Resolved several PHP warnings and notices.
* Fixed typos and grammatical errors in insights and documentation.
1 change: 1 addition & 0 deletions docs/source/changelog/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Check out what's new, fixed, and updated in each version release of ThinkUp.
.. toctree::
:maxdepth: 1

2.0-beta.9
2.0-beta.8
2.0-beta.7
2.0-beta.6
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
# built documents.
#
# The short X.Y version.
version = '2.0-beta.8'
version = '2.0-beta.9'
# The full version, including alpha/beta/rc tags.
release = '2.0-beta.8'
release = '2.0-beta.9'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 2 additions & 0 deletions docs/source/userguide/accounts/serviceusers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ See the links below for further instructions on how to add new service users for
* :doc:`Facebook</userguide/settings/plugins/facebook>`
* :doc:`Google+</userguide/settings/plugins/googleplus>`
* :doc:`Twitter</userguide/settings/plugins/twitter>`
* :doc:`Foursquare</userguide/settings/plugins/foursquare>`
* :doc:`YouTube</userguide/settings/plugins/youtube>`

Switch Service User
-------------------
Expand Down
1 change: 1 addition & 0 deletions tests/classes/class.ThinkUpUnitTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public function setUp() {
*/
public function tearDown() {
if (isset(ThinkUpTestDatabaseHelper::$PDO)) {
ThinkUpTestDatabaseHelper::$PDO->exec('SET SESSION sql_mode = "";');
$this->testdb_helper->drop($this->test_database_name);
}
parent::tearDown();
Expand Down
119 changes: 112 additions & 7 deletions tests/migration-assertions.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
*
* Database migration assertions to test during WebTestOfUpgradeDatabase
*/
$LATEST_VERSION = '2.0-beta.8';
$TOTAL_MIGRATION_COUNT = 252;
$LATEST_VERSION = '2.0-beta.9';
$TOTAL_MIGRATION_COUNT = 293;

$MIGRATIONS = array(
/* beta 0.1 */
Expand Down Expand Up @@ -268,8 +268,8 @@
'0.9' => array(
'zip_url' => 'https://thinkup.com/downloads/thinkup-0.9.zip',
'migrations' => 1,
'setup_sql' => array(
"INSERT INTO tu_plugins (name, folder_name) VALUES ('Flickr Thumbnails', 'flickthumbnails');"),
'setup_sql' => array("INSERT INTO tu_plugins (name, folder_name, is_active) VALUES ('Flickr Thumbnails', ".
" 'flickthumbnails', 1);"),
'migration_assertions' => array(
'sql' => array(
array(
Expand Down Expand Up @@ -366,7 +366,8 @@
'0.12' => array(
'zip_url' => 'https://thinkup.com/downloads/thinkup-0.12.1.zip',
'migrations' => 1,
'setup_sql' => array("INSERT INTO tu_plugins (name, folder_name) VALUES ('Embed Thread', 'embedthread');"),
'setup_sql' => array("INSERT INTO tu_plugins (name, folder_name, is_active) VALUES ('Embed Thread', ".
"'embedthread', 1);"),
'migration_assertions' => array(
'sql' => array(
array(
Expand Down Expand Up @@ -1046,8 +1047,112 @@

/* 2.0-beta.8 */
'2.0-beta.8' => array(
'zip_url' => 'file://./build/thinkup.zip',
'zip_url' => 'https://thinkup.com/downloads/beta/thinkup-2.0-beta.8.zip',
'migrations' => 0,
)
),

/* 2.0-beta.9 */
'2.0-beta.9' => array(
'zip_url' => 'file://./build/thinkup.zip',
'migrations' => 0,
'migration_assertions' => array(
'sql' => array(
array(
// Add tu_users.is_verified field
'query' => 'DESCRIBE tu_users is_verified;',
'match' => "/tinyint\(1\)/",
'column' => 'Type',
),
array(
// Create tu_count_history table
'query' => 'DESCRIBE tu_count_history count;',
'match' => "/int\(11\)/",
'column' => 'Type',
),
array(
// Drop tu_follower_count table
'query' => "SHOW TABLES LIKE 'tu_follower_count'", // table is dropped;',
'no_match' => true
),
array(
// Add tu_count_history index network_user_id
'query' => "SHOW INDEX FROM tu_count_history WHERE Key_name = 'network_user_id' and Column_name = ".
"'network_user_id' and Non_unique = 1;",
'match' => "/network_user_id/",
'column' => 'Key_name',
),
array(
// Add tu_count_history index on post_id
'query' => "SHOW INDEX FROM tu_count_history WHERE Key_name = 'post_id' and Column_name = ".
"'post_id' and Non_unique = 1;",
'match' => "/post_id/",
'column' => 'Key_name',
),
array(
// Add tu_count_history index on date
'query' => "SHOW INDEX FROM tu_count_history WHERE Key_name = 'date' and Column_name = ".
"'date' and Non_unique = 1;",
'match' => "/date/",
'column' => 'Key_name',
),
array(
// Add tu_instances_twitter.last_reply_id
'query' => "DESCRIBE tu_instances_twitter last_reply_id;",
'match' => "/varchar\(80\)/",
'column' => 'Type',
),
array(
// Drop tu_instances_twitter.last_page_fetched_tweets
'query' => "DESCRIBE tu_instances_twitter last_page_fetched_tweets;",
'no_match' => true
),
array(
// Drop tu_instances_twitter.last_page_fetched_replies
'query' => "DESCRIBE tu_instances_twitter last_page_fetched_replies;",
'no_match' => true
),
array(
// Add tu_owners.api_key_private
'query' => "DESCRIBE tu_owners api_key_private;",
'match' => "/varchar\(32\)/",
'column' => 'Type',
),
array(
// Add tu_owners.email_notification_frequency
'query' => "DESCRIBE tu_owners email_notification_frequency;",
'match' => "/varchar\(10\)/",
'column' => 'Type',
),
array(
// Create tu_photos table
'query' => 'DESCRIBE tu_photos id;',
'match' => "/int\(11\)/",
'column' => 'Type',
),
array(
// Add tu_posts.permalink field
'query' => "DESCRIBE tu_posts permalink;",
'match' => "/text/",
'column' => 'Type',
),
array(
// Rename insights.prefix to headline field
'query' => "DESCRIBE tu_insights headline;",
'match' => "/varchar\(255\)/",
'column' => 'Type',
),
array(
// Rename insights.prefix to headline field
'query' => "DESCRIBE tu_insights prefix;",
'no_match' => true,
),
array(
// Add insights.header_image
'query' => "DESCRIBE tu_insights header_image;",
'match' => "/varchar\(255\)/",
'column' => 'Type',
),
)
)
)
);
6 changes: 3 additions & 3 deletions webapp/install/sql/build-db_mysql-upcoming-release.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--
-- ThinkUp Database Creation Script
-- Auto-generated by thinkup/extras/scripts/migratedb script on 2013-12-20
-- Auto-generated by thinkup/extras/scripts/migratedb script on 2013-12-23
--

ALTER DATABASE DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
Expand Down Expand Up @@ -567,13 +567,13 @@ CREATE TABLE tu_videos (
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Videos which appear in posts.';


-- Dump completed on 2013-12-20 19:21:10
-- Dump completed on 2013-12-23 12:35:41

--
-- Insert DB Version
--
INSERT INTO tu_options (namespace, option_name, option_value, last_updated, created)
VALUES ('application_options', 'database_version', '2.0-beta.8', NOW(), NOW());
VALUES ('application_options', 'database_version', '2.0-beta.9', NOW(), NOW());

--
-- Insert default plugin(s)
Expand Down
Loading

0 comments on commit 71486f2

Please sign in to comment.