In the past, Facebook allowed business owners to sign up for an account with no wall, profile, etc, that was just for managing pages and ads. They no longer do so. The /me api for these accounts does not return a name field, which is sad, because we use that as the key in the instances table. For reference, I found these stack overflow on this topic and the suggestions all come down to "check for a name field": http://stackoverflow.com/questions/14719211/how-can-i-know-if-a-facebook-account-is-personal-account-or-a-company-type-accou http://stackoverflow.com/questions/10857138/how-to-obtain-username-name-for-a-company-facebook-account This simply checks for a name parameter and then shows the user an error.
…avis Move travis before_script to a script in extras. Add apache and mysql confs to extras. Modify test harnesses to be travis aware. (Make sure and send some output, sleep occasionally) Switch migration urls to non-redirecting www. Occasionally output while in Travis mode to prevent travis stopping. Added a mode to just test install to allow the build matrix to only test the install in one build, not all. Closes #1328, closes #1824
Creates SessionDAO Interface and MySQL implementation Creates sessions table Adds SessionCache::init() to start sessions and set handlers Modifies controllers to make use of this Moved date_default_timezone_set($config->getValue('timezone')); before SessionCache::init call. The DateTime construct error was happening because in ThinkUpController, SessionCache::init was being called in ``__construct``, before ``initializeApp``` is called in ``go``. The default timezone is set in ``initializeApp``. Fixes for failing tests from Session Changes Handle new tables in installer test Fix wrong table count in mysql install dao test. Adds new config value use_db_sessions which defaults to true Add new documentation Closes #1818, closes #962
Call control instead of go Indicate session has started when a controller instantiates another controller
…SQL text field length