Permalink
Commits on Jul 20, 2012
Commits on Jul 19, 2012
  1. Bugfix Take 2: Avoid PHP Strict Notice

    * Creating default object from empty value in /ThinkUp/webapp/plugins/facebook/model/class.FacebookCrawler.php on line 662
    ginatrapani committed Jul 19, 2012
Commits on Jul 18, 2012
  1. Bugfix: Avoid PHP Strict Notice

    * Creating default object from empty value in /ThinkUp/webapp/plugins/facebook/model/class.FacebookCrawler.php on line 662
    ginatrapani committed Jul 18, 2012
  2. Avoid PHP Notice Undefined variable

    * Remove unnecessary variable that is uninitialized anyway
    Closes #1355, closes #1356
    petdance committed with ginatrapani Jul 9, 2012
  3. Fix PDO-related errors on certain PHP versions

    * Remove literal question marks from query
    * Set attribute PDO::ATTR_EMULATE_PREPARES to fix General Error 2050
    
    This fixes two errors that occurred on my particular software stack, which includes PHP 5.2.6 and MySQL 5.0.67 running on Solaris 5.11:
    
    * `SQLSTATE[HY000]: General error: 2050` (this occurs on the Capture Data page); fixed by setting `PDO::ATTR_EMULATE_PREPARES`. See also [this discussion thread](https://groups.google.com/forum/#!topic/thinkupapp/RbkAOOQ1Yjg/discussion).
    * Failing query on the Tweets tab due to a PDO bug (maybe [this one](https://bugs.php.net/bug.php?id=44251)?) in which question marks occurring in string literals are misparsed as positional parameters; fixed by replacing the offending strings with named parameters.
    Closes #1357
    dwineman committed with ginatrapani Jun 27, 2012
Commits on Jul 8, 2012
Commits on Jul 6, 2012
  1. Move 1.0.8 changelog to .1

    ginatrapani committed Jul 6, 2012
  2. Version 1.0.8.1

    ginatrapani committed Jul 6, 2012
  3. Version 1.0.8

    ginatrapani committed Jul 5, 2012
Commits on Jul 5, 2012
  1. Minor fixes

    * Avoid array warning for dashboard clients usage
    * Make sure testGetActiveInstancesStalestFirstForOwnerByNetworkNoAuthError result ordering is consistent, using differing crawler_last_run timestamps
    ginatrapani committed Jul 5, 2012
  2. Merge pull request #1339 from CVi/master_dev

    Launchd cron config for Mac OS X
    ginatrapani committed Jul 5, 2012
  3. Twitter plugin: Make OAuth callback URL work on localhost

    * Explicitly specify OAuth callback URL when rendering Add Twitter User link
    * Automatically convert localhost to IP address
    Closes #1340
    CVi committed with ginatrapani May 19, 2012
  4. Merge pull request #1351 from mroth/pullcrushed

    Optimized image files via pullcrusher
    ginatrapani committed Jul 5, 2012
  5. Update footer Twitter link

    ginatrapani committed Jul 5, 2012
  6. [DB MIGRATION REQ'D] Alert user about expired Facebook tokens

    As of July 5th, 2012, Facebook removed the offline_access permission. Instead, it automatically expires OAuth tokens after 60 days (for server-side apps like ThinkUp) and requires users to re-authorize to extend the application's rights for another 60 days.
    More info:
    https://developers.facebook.com/roadmap/offline-access-removal/
    https://developers.facebook.com/docs/authentication/access-token-expiration/
    https://developers.facebook.com/blog/post/2011/05/13/how-to--handle-expired-access-tokens/
    
    As of this commit, ThinkUp now:
    * Tracks service authorization errors in the new tu_owner_instances.auth_error field
    * Throws APIOAuthException when Facebook token is not valid during data capture
    * Alerts user when Facebook OAuth tokens have expired via email and in an error message on the service user dashboard
    * Does not crawl Facebook instances which have expired tokens
    * Resumes data capture when user has re-authorized their account
    Closes #1349
    ginatrapani committed Jul 4, 2012
Commits on Jul 4, 2012
Commits on Jul 2, 2012
Commits on Jun 23, 2012
Commits on Jun 18, 2012
  1. [DB MIGRATION REQ'D] Speed up database interactions

    * Create insights table, model, and DAO for storing dashboard data modules
    * Pre-store results of the following in the insights table during crawl:
    ** FollowMySQLDAO::getLeastLikelyFollowersThisWeek
    ** PostMySQLDAO::getHotPosts
    ** ShortLinkMySQLDAO::getRecentClickStats
    ** PostMySQLDAO::getAllPostsByUsernameOrderedBy (most retweeted and most replied-to in last week)
    ** PostMySQLDAO::getClientsUsedByUserOnNetwork
    * During dashboard render, retrieve those modules' data from insights, which is a much faster query
    * Break out InstanceDAO::save subqueries into separate queries for easier MySQL EXPLAIN profiling
    * Add user_id index to follows table to speed up total follows query
    ginatrapani committed Jun 17, 2012
Commits on Jun 9, 2012
  1. Version 1.0.7

    ginatrapani committed Jun 9, 2012
Commits on Jun 7, 2012