Skip to content

Commit 71486f2

Browse files
committed
Version 2.0-beta.9
1 parent b51731d commit 71486f2

22 files changed

+243
-41
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
2.0-beta.9 - 16 Dec 2013
2+
========================
3+
4+
New YouTube plugin:
5+
-------------------
6+
7+
Connect your YouTube account to ThinkUp to get insights on your activity, including:
8+
9+
* Videos with the most likes and views
10+
* How many minutes users watched your videos
11+
* The videos viewers watched longer on average
12+
* Changes to your channel subscriber count
13+
* Video likes versus dislikes
14+
15+
16+
New insights:
17+
-------------
18+
* New verified followers: Find out when a verified user follows you.
19+
* Fave/like/+1 spikes and highs: See when a post gets an unusually high number of likes.
20+
* Metweets: Keep track of how often you talk about yourself.
21+
* Interaction Graph: See who you talked to the most each week.
22+
* Weekly Bests: See your best posts of the week.
23+
* Reply Spike: See posts that received an usually high number of comments or replies.
24+
* Response Time: Know how fast your posts get replies or likes.
25+
* Favorited Links: See what posts you've liked which contained links.
26+
* Long-lost Contacts: Keep track of the contact you haven't talked to in over a year.
27+
* Link Prompt: Don't forget to post interesting links.
28+
* Local Followers: See when new followers are located where you are.
29+
* Outreach Punchcard: See what times of day your posts get responses.
30+
31+
New features:
32+
-------------
33+
* Opt into daily and/or weekly insight email notifications. In Settings -> Account, choose Daily, Weekly, or No Email
34+
under Notification Frequency.
35+
* If your server cannot send email, ThinkUp can now send email via Mandrill.
36+
(https://www.thinkup.com/docs/install/advancedconfig.html)
37+
* Format your insight email notifications with a custom HTML Mandrill template.
38+
(https://www.thinkup.com/docs/userguide/settings/plugins/insightsgenerator.html)
39+
* Retrieve saved search posts via ThinkUp's API. (https://www.thinkup.com/docs/userguide/api/posts/keyword_posts.html)
40+
41+
Enhancements:
42+
-------------
43+
* See what days which insights appear in Settings > Plugins > Insights Generator.
44+
(http://blog.thinkup.com/post/57456822638/what-kind-of-insights-will-thinkup-give-you-when)
45+
* Get improved insight copy with localized terms by service (i.e., status update vs tweet versus post).
46+
* Expand URLs plugin: Get the title and description of each link on expansion.
47+
48+
Bugfixes:
49+
---------
50+
* Correctly capture tweets and mentions by since_id versus page.
51+
* Correctly capture Facebook comments using updated API pagination.
52+
* Correctly capture Facebook post likes using Oct 2013 updated API.
53+
* Correctly display Foursquare checkin photos.
54+
* Gracefully handle capturing Twitter followers who are 403 "not found" (i.e., deactivated/suspended).
55+
* Avoid "Data too long for column" error while expanding links.
56+
* Update Foursquare and Facebook connection instructions.
57+
* Fix broken saved search links in Twitter configuration.
58+
* Resolved several PHP warnings and notices.
59+
* Fixed typos and grammatical errors in insights and documentation.

docs/source/changelog/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Check out what's new, fixed, and updated in each version release of ThinkUp.
66
.. toctree::
77
:maxdepth: 1
88

9+
2.0-beta.9
910
2.0-beta.8
1011
2.0-beta.7
1112
2.0-beta.6

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
# built documents.
4949
#
5050
# The short X.Y version.
51-
version = '2.0-beta.8'
51+
version = '2.0-beta.9'
5252
# The full version, including alpha/beta/rc tags.
53-
release = '2.0-beta.8'
53+
release = '2.0-beta.9'
5454

5555
# The language for content autogenerated by Sphinx. Refer to documentation
5656
# for a list of supported languages.

docs/source/userguide/accounts/serviceusers.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ See the links below for further instructions on how to add new service users for
2121
* :doc:`Facebook</userguide/settings/plugins/facebook>`
2222
* :doc:`Google+</userguide/settings/plugins/googleplus>`
2323
* :doc:`Twitter</userguide/settings/plugins/twitter>`
24+
* :doc:`Foursquare</userguide/settings/plugins/foursquare>`
25+
* :doc:`YouTube</userguide/settings/plugins/youtube>`
2426

2527
Switch Service User
2628
-------------------

tests/classes/class.ThinkUpUnitTestCase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public function setUp() {
7272
*/
7373
public function tearDown() {
7474
if (isset(ThinkUpTestDatabaseHelper::$PDO)) {
75+
ThinkUpTestDatabaseHelper::$PDO->exec('SET SESSION sql_mode = "";');
7576
$this->testdb_helper->drop($this->test_database_name);
7677
}
7778
parent::tearDown();

tests/migration-assertions.php

Lines changed: 112 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
*
3030
* Database migration assertions to test during WebTestOfUpgradeDatabase
3131
*/
32-
$LATEST_VERSION = '2.0-beta.8';
33-
$TOTAL_MIGRATION_COUNT = 252;
32+
$LATEST_VERSION = '2.0-beta.9';
33+
$TOTAL_MIGRATION_COUNT = 293;
3434

3535
$MIGRATIONS = array(
3636
/* beta 0.1 */
@@ -268,8 +268,8 @@
268268
'0.9' => array(
269269
'zip_url' => 'https://thinkup.com/downloads/thinkup-0.9.zip',
270270
'migrations' => 1,
271-
'setup_sql' => array(
272-
"INSERT INTO tu_plugins (name, folder_name) VALUES ('Flickr Thumbnails', 'flickthumbnails');"),
271+
'setup_sql' => array("INSERT INTO tu_plugins (name, folder_name, is_active) VALUES ('Flickr Thumbnails', ".
272+
" 'flickthumbnails', 1);"),
273273
'migration_assertions' => array(
274274
'sql' => array(
275275
array(
@@ -366,7 +366,8 @@
366366
'0.12' => array(
367367
'zip_url' => 'https://thinkup.com/downloads/thinkup-0.12.1.zip',
368368
'migrations' => 1,
369-
'setup_sql' => array("INSERT INTO tu_plugins (name, folder_name) VALUES ('Embed Thread', 'embedthread');"),
369+
'setup_sql' => array("INSERT INTO tu_plugins (name, folder_name, is_active) VALUES ('Embed Thread', ".
370+
"'embedthread', 1);"),
370371
'migration_assertions' => array(
371372
'sql' => array(
372373
array(
@@ -1046,8 +1047,112 @@
10461047

10471048
/* 2.0-beta.8 */
10481049
'2.0-beta.8' => array(
1049-
'zip_url' => 'file://./build/thinkup.zip',
1050+
'zip_url' => 'https://thinkup.com/downloads/beta/thinkup-2.0-beta.8.zip',
10501051
'migrations' => 0,
1051-
)
1052+
),
10521053

1054+
/* 2.0-beta.9 */
1055+
'2.0-beta.9' => array(
1056+
'zip_url' => 'file://./build/thinkup.zip',
1057+
'migrations' => 0,
1058+
'migration_assertions' => array(
1059+
'sql' => array(
1060+
array(
1061+
// Add tu_users.is_verified field
1062+
'query' => 'DESCRIBE tu_users is_verified;',
1063+
'match' => "/tinyint\(1\)/",
1064+
'column' => 'Type',
1065+
),
1066+
array(
1067+
// Create tu_count_history table
1068+
'query' => 'DESCRIBE tu_count_history count;',
1069+
'match' => "/int\(11\)/",
1070+
'column' => 'Type',
1071+
),
1072+
array(
1073+
// Drop tu_follower_count table
1074+
'query' => "SHOW TABLES LIKE 'tu_follower_count'", // table is dropped;',
1075+
'no_match' => true
1076+
),
1077+
array(
1078+
// Add tu_count_history index network_user_id
1079+
'query' => "SHOW INDEX FROM tu_count_history WHERE Key_name = 'network_user_id' and Column_name = ".
1080+
"'network_user_id' and Non_unique = 1;",
1081+
'match' => "/network_user_id/",
1082+
'column' => 'Key_name',
1083+
),
1084+
array(
1085+
// Add tu_count_history index on post_id
1086+
'query' => "SHOW INDEX FROM tu_count_history WHERE Key_name = 'post_id' and Column_name = ".
1087+
"'post_id' and Non_unique = 1;",
1088+
'match' => "/post_id/",
1089+
'column' => 'Key_name',
1090+
),
1091+
array(
1092+
// Add tu_count_history index on date
1093+
'query' => "SHOW INDEX FROM tu_count_history WHERE Key_name = 'date' and Column_name = ".
1094+
"'date' and Non_unique = 1;",
1095+
'match' => "/date/",
1096+
'column' => 'Key_name',
1097+
),
1098+
array(
1099+
// Add tu_instances_twitter.last_reply_id
1100+
'query' => "DESCRIBE tu_instances_twitter last_reply_id;",
1101+
'match' => "/varchar\(80\)/",
1102+
'column' => 'Type',
1103+
),
1104+
array(
1105+
// Drop tu_instances_twitter.last_page_fetched_tweets
1106+
'query' => "DESCRIBE tu_instances_twitter last_page_fetched_tweets;",
1107+
'no_match' => true
1108+
),
1109+
array(
1110+
// Drop tu_instances_twitter.last_page_fetched_replies
1111+
'query' => "DESCRIBE tu_instances_twitter last_page_fetched_replies;",
1112+
'no_match' => true
1113+
),
1114+
array(
1115+
// Add tu_owners.api_key_private
1116+
'query' => "DESCRIBE tu_owners api_key_private;",
1117+
'match' => "/varchar\(32\)/",
1118+
'column' => 'Type',
1119+
),
1120+
array(
1121+
// Add tu_owners.email_notification_frequency
1122+
'query' => "DESCRIBE tu_owners email_notification_frequency;",
1123+
'match' => "/varchar\(10\)/",
1124+
'column' => 'Type',
1125+
),
1126+
array(
1127+
// Create tu_photos table
1128+
'query' => 'DESCRIBE tu_photos id;',
1129+
'match' => "/int\(11\)/",
1130+
'column' => 'Type',
1131+
),
1132+
array(
1133+
// Add tu_posts.permalink field
1134+
'query' => "DESCRIBE tu_posts permalink;",
1135+
'match' => "/text/",
1136+
'column' => 'Type',
1137+
),
1138+
array(
1139+
// Rename insights.prefix to headline field
1140+
'query' => "DESCRIBE tu_insights headline;",
1141+
'match' => "/varchar\(255\)/",
1142+
'column' => 'Type',
1143+
),
1144+
array(
1145+
// Rename insights.prefix to headline field
1146+
'query' => "DESCRIBE tu_insights prefix;",
1147+
'no_match' => true,
1148+
),
1149+
array(
1150+
// Add insights.header_image
1151+
'query' => "DESCRIBE tu_insights header_image;",
1152+
'match' => "/varchar\(255\)/",
1153+
'column' => 'Type',
1154+
),
1155+
)
1156+
)
1157+
)
10531158
);

webapp/install/sql/build-db_mysql-upcoming-release.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--
22
-- ThinkUp Database Creation Script
3-
-- Auto-generated by thinkup/extras/scripts/migratedb script on 2013-12-20
3+
-- Auto-generated by thinkup/extras/scripts/migratedb script on 2013-12-23
44
--
55

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

569569

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

572572
--
573573
-- Insert DB Version
574574
--
575575
INSERT INTO tu_options (namespace, option_name, option_value, last_updated, created)
576-
VALUES ('application_options', 'database_version', '2.0-beta.8', NOW(), NOW());
576+
VALUES ('application_options', 'database_version', '2.0-beta.9', NOW(), NOW());
577577

578578
--
579579
-- Insert default plugin(s)

0 commit comments

Comments
 (0)