summaryrefslogtreecommitdiff
path: root/plugins/Facebook
AgeCommit message (Collapse)Author
2010-12-02Fix for tickets #2917, #2262: user URL shortening options not being applied ↵Brion Vibber
in non-web channels common_shorten_links() can only access the web session's logged-in user, so never properly took user options into effect for posting via XMPP, API, mail, etc. Adds an optional $user parameter on common_shorten_links(), and a $user->shortenLinks() as a clearer interface for that. Tweaked some lower-level functions so $user gets passed down -- making the $notice_id param previously there for saving URLs at notice save time generalized a little. Note also ticket #2919: there's a lot of duplicate code calling the shortening, checking the length, and reporting near-identical error messages. These should be consolidated to aid in code and translation maintenance.
2010-11-30Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-11-30Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-11-29Merge branch 'namecase' into 0.9.xBrion Vibber
2010-11-29Work in progress on nickname validation changes. lib/nickname.php appears to ↵Brion Vibber
have been destroyed by NetBeans and will be rewritten shortly. Sigh.
2010-11-29Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-31Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-28Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-23Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-20Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-20Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-20Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-18Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-10-09Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-08Merge branch 'fatals' into 0.9.xBrion Vibber
2010-10-08execution guard fixes in Facebook plugin filesBrion Vibber
2010-10-08Fix fatal error in FacebookremoveAction if we end up getting called double ↵Brion Vibber
and the foreign_link entry has already been removed.
2010-10-05Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-10-04Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-10-04Fix unescaped dollar signs in double-quoted strings due to localization ↵Brion Vibber
updates (%1$s etc)
2010-10-03Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-10-01Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-09-28Localisation updates from http://translatewiki.netSiebrand Mazeland
* first export of L10n for languages other than English. Could use some testing/QA.
2010-09-23Update POT files for plugins.Siebrand Mazeland
2010-09-19Update pot files for plugins.Siebrand Mazeland
2010-09-19* L10n i18n updateSiebrand Mazeland
* add translator hints * update whitespace * added a bunch of @todos.
2010-09-19Remove superfluous whitespace.Siebrand Mazeland
2010-09-19Update pot files for plugins.Siebrand Mazeland
2010-09-19* i18n/L10n updates.Siebrand Mazeland
* add FIXMEs for bad i18n. * add translator hints.
2010-09-15Update/add pot files for plugins.Siebrand Mazeland
2010-06-03Skip enqueueing to outgoing bridges on incoming remote messages. Twitter, ↵Brion Vibber
Facebook, RSSCloud, and OStatus checks were enqueued on these when they'd never do anything but churn the queue servers. Notice::isLocal() can replace a number of manual checks for $notice->is_local being LOCAL_PUBLIC or LOCAL_NONPUBLIC.
2010-05-26Remove settting/getting a 'verb' for Facebook stream entries / statusZach Copley
updates. Facebook has disabled the ability to store user preferences via their old REST API, causing our application to break. Also, verbs in status updates seem to be deprecated, and stream posts don't seem to have a verb.
2010-05-25Small update to the README: Facebook has changed the name of one ofZach Copley
its application settings fields.
2010-05-25Revert "Backing out locale switch change to see if this affects our mystery ↵Brion Vibber
memory leak." This reverts commit f98609204fb9b5966b9e4c9e4bf8bf605656c31c.
2010-05-25Backing out locale switch change to see if this affects our mystery memory leak.Brion Vibber
Revert "Locale switch cleanup: use common_switch_locale() which is safer for updating gettext state. Also moved a few calls to reduce chance of hitting an exception before switching back." This reverts commit 74a89b1fc37067d91d31bd66922053361eb4e616.
2010-05-25Dequeue notice when we hit any Facebook error.Zach Copley
2010-05-24Accidentally used the wrong log level (LOG ERROR instead of LOG_ERR)Zach Copley
2010-05-24Clear up warnings I introduced by refactoring Facebook postingZach Copley
2010-05-24Upgrade Facebook posting:Zach Copley
- Use FQL to check for publish stream permission instead of old REST API - Better error handling, especially for error code 100 - More logging / better log messages
2010-05-24Upgrade to latest old REST API library (0.1.0)Zach Copley
2010-05-22Hotpatch for Facebook mirror problems: drop messages when hitting rate limit ↵Brion Vibber
(err 341) instead of retrying forever. On unknown errors, now throwing an exception so it'll hit the message retry limits.
2010-05-19Hotpatch to add additional debug statements to FacebookPlugin'sZach Copley
facebook posting code.
2010-05-19Locale switch cleanup: use common_switch_locale() which is safer for ↵Brion Vibber
updating gettext state. Also moved a few calls to reduce chance of hitting an exception before switching back. Should help with problems where xmppdaemon would get stuck in wrong locale.
2010-05-03Pull localization updates from 0.9.x branch0.9.2Brion Vibber
2010-04-09i18n cleanup: fix bad string breakdown in license agreement checkbox on ↵Brion Vibber
registration form. Note that much of that form is duplicated several times for Twitter, Facebook, and OpenID registrations -- these need to be refactored to avoid having multiple out-of-sync copies of code and messages.
2010-04-05Some localization cleanup and doc to aid in customization:Brion Vibber
* added locale/en/LC_MESSAGES/statusnet.po to make it easier to start customizing English texts * added notes to locale/README about customizing and how to disable languages you haven't customized * renamed PO templates from *.po to *.pot to match general conventions and reduce confusion for people trying to find which file they're supposed to edit
2010-03-04Merge commit 'origin/testing' into 0.9.xBrion Vibber
Conflicts: lib/action.php lib/adminpanelaction.php
2010-03-03Fix for disappearing 'connect' menu if xmpp and sms are disabled.Zach Copley
All 'connect' menu panels used to be optional, so Action tried to figure out what the first item on the 'connect' menu should be. This is no longer necessary because we have the non-optional OAuth client connections panel now, which is not optional and can't be turned off.
2010-03-02Make Facebook plugin look for API key and secret before doing anythingZach Copley
2010-03-02Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber