Brion Vibber
34e9549756
execution guard fixes in Facebook plugin files
2010-10-08 11:26:57 -07:00
Siebrand Mazeland
74785c64f8
* L10n i18n update
...
* add translator hints
* update whitespace
* added a bunch of @todos.
2010-09-19 16:32:19 +02:00
Zach Copley
3e9b356777
Remove settting/getting a 'verb' for Facebook stream entries / status
...
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-26 20:44:57 +00:00
Brion Vibber
3d4ce6f10b
Revert "Backing out locale switch change to see if this affects our mystery memory leak."
...
This reverts commit f98609204f
.
2010-05-25 12:31:16 -07:00
Brion Vibber
f98609204f
Backing out locale switch change to see if this affects our mystery memory leak.
...
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 74a89b1fc3
.
2010-05-25 11:36:42 -07:00
Zach Copley
09dab2ce5a
Dequeue notice when we hit any Facebook error.
2010-05-25 15:40:38 +00:00
Zach Copley
9cde924bb3
Accidentally used the wrong log level (LOG ERROR instead of LOG_ERR)
2010-05-24 23:27:53 +00:00
Zach Copley
1f3a16bbfb
Clear up warnings I introduced by refactoring Facebook posting
2010-05-24 22:41:34 +00:00
Zach Copley
777ca74500
Upgrade Facebook posting:
...
- 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-24 21:54:10 +00:00
Brion Vibber
dc22ed8480
Hotpatch for Facebook mirror problems: drop messages when hitting rate limit (err 341) instead of retrying forever. On unknown errors, now throwing an exception so it'll hit the message retry limits.
2010-05-22 17:43:56 -07:00
Zach Copley
8dd2924674
Hotpatch to add additional debug statements to FacebookPlugin's
...
facebook posting code.
2010-05-19 21:02:18 +00:00
Brion Vibber
74a89b1fc3
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.
...
Should help with problems where xmppdaemon would get stuck in wrong locale.
2010-05-19 10:10:55 -07:00
Zach Copley
962eed904c
- Use a stripped down new notice form for FB app because FB canvas apps
...
can't support image upload via multipart/form-data (and location sharing
is iffy).
- Deal with new error code 100 from Facebook, which seem to be for
inactive accounts.
2009-12-31 22:39:01 +00:00
Brion Vibber
4b5e977a7b
New _m() gettext wrapper with smart detection of plugin domains. Plugin base class registers your gettext files if present at initialization.
...
update_pot.sh replaced with update_po_templates.php which can do core, plugins, or all (default).
Top-level Makefile added to build .mo files for plugins as well as core.
As described on list:
http://lists.status.net/pipermail/statusnet-dev/2009-December/002869.html
2009-12-08 12:17:11 -08:00
Craig Andrews
51f0dd5e37
Add configuration option to toggle the indenting of the output HTML. Defaults to indent enabled.
2009-12-05 01:03:04 -05:00
Zach Copley
6d6de3c1c7
Move Twitter and Facebook-specific mail notifications to their respective plugins
2009-10-23 23:38:45 +00:00
Zach Copley
3e5c8f28c3
Fix references
2009-10-21 17:29:54 +00:00
Zach Copley
78e5a5980a
Extract out Facebook app stuff into a plugin
2009-10-20 16:32:30 -07:00