Commit Graph

6643 Commits

Author SHA1 Message Date
Brion Vibber
edb2578e93 Ticket 2048: make OMB posting HTTP timeout configurable as $config['omb']['timeout']; defaults to 5 seconds instead of 20-second default in Yadis library 2009-12-01 14:53:27 -08:00
Brion Vibber
de13c4838e Fix makefile wildcards for locale compilation (now works on Ubuntu 8.04) 2009-12-01 20:46:52 +00:00
Zach Copley
220510f372 Add missing rule for /api/users/show.:format 2009-12-01 12:42:51 -08:00
Zach Copley
4a4d8bd271 Revert "Fix problem where screen_name and user_id parameters are being"
The problem this was trying to fix is actually caused by a missing
routing rule.  Silly me.

This reverts commit 2451192415.
2009-12-01 12:42:39 -08:00
Zach Copley
bb5ef9a5db Fix bad function call 2009-12-01 12:42:27 -08:00
Zach Copley
9b1d62a9ec Only bind submit to the notice created by Realtime
Conflicts:

	plugins/Realtime/realtimeupdate.js
2009-12-01 12:37:27 -08:00
Zach Copley
bc841aabd7 SN.U.NoticeFavor should be SN.U.NoticeReply
Conflicts:

	plugins/Realtime/realtimeupdate.js
2009-12-01 12:33:46 -08:00
Sarven Capadisli
7164a53f85 Bind submit to a form by SN.U.FormXHR() only once. 2009-12-01 12:11:20 -05:00
Evan Prodromou
42da45d3bc Merge branch 'master' of git@gitorious.org:statusnet/mainline 2009-12-01 12:11:05 -05:00
Sarven Capadisli
11d9c1955c Refactored NoticeReply() so that a notice item can use NoticeReplyTo
instead of rebinding all of the notice replies again.
2009-12-01 12:10:54 -05:00
Sarven Capadisli
1ec0950006 Call FormXHR (single) instead of NoticeForm (all) 2009-12-01 12:10:39 -05:00
Zach Copley
234e6a10b1 Fix problem where screen_name and user_id parameters are being
ignored due to the router sending in '[a-zA-Z0-9]+' for the id
parameter when no id is specified as part of the URL.
2009-11-30 13:17:36 -08:00
Brion Vibber
792eb57c87 Ticket 1677: apply a couple more welcomebot fixes from TranslateWiki before the next full update 2009-11-30 12:36:24 -08:00
Brion Vibber
db7da1e78d Update localization files from 0.9.x branch 2009-11-30 12:33:54 -08:00
Brion Vibber
769b3a37dd Drop binary .mo localization files from git repo to aid in development.
Added a Makefile in locale subdirectory to rebuild them -- needs to be made part of deployment and packaging.
2009-11-30 12:25:49 -08:00
Brion Vibber
bb70f77a5c Ticket 2038: fix bad bug tracker link 2009-11-28 15:23:56 -08:00
Brion Vibber
4965476998 Fix regression in group posting: bug introduced in commit 1319002e15. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D 2009-11-27 14:54:55 -08:00
Brion Vibber
2ba67e9b62 Log database errors when saving notice_inbox entries 2009-11-27 14:21:23 -08:00
Brion Vibber
914242e224 Drop the username from the log id for now; seems to trigger an error loop in some circumstances 2009-11-27 13:30:21 -08:00
Brion Vibber
b933f5bb15 request id on logs... pid + random id per web request + username + method + url 2009-11-27 12:32:55 -08:00
Zach Copley
261ee0264a Add OpenID ini info back into statusnet.ini as a stopgap until we can
get plugins to load ini info properly on status.net
2009-11-26 18:49:18 +00:00
Zach Copley
e767436176 Some changes to the OpenID DataObjects to make them emit the exact same
.ini info as what used to be in statusnet.ini before OpenID was pulled
out into a plugin.
2009-11-26 02:22:53 +00:00
Zach Copley
58e1d9a68b OpenID plugin should set 'user_openid.display' as unique key 2009-11-26 01:27:39 +00:00
Zach Copley
54ad3b21d7 Remove relationship: user_openid.user_id -> user.id. I don't think this
is used. And if we need it, the OpenID plugin should do it.
2009-11-25 23:55:03 +00:00
Zach Copley
1b46d17f4e Have OpenID plugin DataObjects emit their own .ini info 2009-11-25 23:54:53 +00:00
Zach Copley
2b6cf0d8b6 Revert "Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them"
This reverts commit a373d07ae0.

Conflicts:

	classes/statusnet.ini
	lib/schema.php
	plugins/Authentication/AuthenticationPlugin.php
	plugins/OpenID/OpenIDPlugin.php
	plugins/UserFlag/UserFlagPlugin.php
2009-11-25 23:54:36 +00:00
Brion Vibber
11abd4bfb7 Catch and report exceptions from notice_to_omb_notice() instead of letting the OMB queue handler die. 2009-11-25 15:23:11 -08:00
Brion Vibber
b771a8bb21 Fix regression in remote subscription; added hasRole() shadow method on Remote_profile.
DB_DataObject hides errors by silently returning null for any non-existent method call, making it harder to tell what the heck's going on... the rights check for blocked remote users returned null for the check for subscribe rights, thus eval'ing to false. We now log a note in this circumstance, which would have cut about 3 hours off of the debug time.
2009-11-25 22:23:21 +00:00
Brion Vibber
f1b64c4db5 Fix fatal error on OMB subscription for first-timers 2009-11-25 12:11:41 -08:00
Zach Copley
71d5990ea3 Merge branch 'master' of git@gitorious.org:statusnet/mainline 2009-11-25 19:23:49 +00:00
Zach Copley
c0190af982 Remove annoying log msg 2009-11-25 19:23:33 +00:00
Brion Vibber
6d5d63636a Drop error message on setlocale() failure; this is harmless, since we actually have a working locale set up. 2009-11-25 11:23:11 -08:00
Zach Copley
3b2f39e1e1 Catch uncaught exception 2009-11-25 18:07:00 +00:00
Zach Copley
aeb933355d Fixed bug where reply-sync bit wasn't getting saved 2009-11-25 01:37:00 +00:00
Zach Copley
824e347e55 Forgot to render the nav menu when on FB Connect login tab 2009-11-25 01:13:21 +00:00
Zach Copley
ace4b7dc09 Facebook plugin no longer takes over Login and Connect settings nav menus 2009-11-25 00:46:34 +00:00
Brion Vibber
4b59cf0e3f Fix regression in OMB sending with queues enabled -- items never got dequeued, leading to ever-growing queue and big delays.
Success return code from omb_broadcast_message was dropped in commit ec88d2650e (Aug 10 2009) which switched us to libomb backend. With queues enabled, this would lead to the notice being readded to the outgoing OMB queue for redelivery as the queue system thought the send failed. The resends caused extra load and confusion for third-party sites, and more worryingly just plugged up our own queue so legit messages were badly delayed.

This commit should restore the previous state, where we fire-and-forget; that is, we're not actually checking to see if all remote subscribers received the message successfully and there will be no resends.
2009-11-24 15:33:26 -08:00
Zach Copley
3556861596 Fix SSL options for Twitter bridge HTTP requests 2009-11-24 19:12:57 +00:00
Sarven Capadisli
9694e3e4cf Use a min-width just in case. Fixes IE.
(cherry picked from commit cf2b4c033c)
2009-11-24 18:02:47 +00:00
Brion Vibber
2fabf586c7 Break TableDef, ColumnDef classes to separate files so autoloader can find them.
With $config['db']['schemacheck'] set to 'script' in live deployment, Schema class wasn't being preloaded for us; the uses of TableDef by plugins for DataObject configuration would then fail because the class wasn't loaded. Broken to separate files, the autoloader can find all classes in either case.

PHP Fatal error:  Class 'TableDef' not found in /var/www/statusnet/plugins/OpenID/User_openid.php on line 43, referer: http://identi.ca/brionv/all
2009-11-24 09:40:47 -08:00
Brion Vibber
979e0a14ae Disable XHTML Content-Type negotiation... You've foiled our plans for the last time!
XHTML mode breaks a lot of JS and has been causing trouble for Safari and Chrome, especially with the fancier new UI-side plugins like realtime and maps.
2009-11-20 16:35:16 -08:00
Brion Vibber
a7be30857a Fix bug 1997: notice search rss utter failure
Since commit c4072ef7c9 in March there's no longer an automatic run of $this->getNotices() from RssAction parent class; added to the subclass.

It might make sense to put it back in the parent class, but of course only if those dupe calls can be resolved.
2009-11-20 14:54:59 -08:00
Craig Andrews
3db551ed5a Undo part of c6e4feb815 so that blacklisted notices are not displayed in realtime 2009-11-20 13:58:13 -08:00
Brion Vibber
afe5e71c4e Quick fix for Safari XHTML error... the map doesn't currently work with Safari, but this gets the whole page parsing again! 2009-11-20 12:04:27 -08:00
Brion Vibber
92453936c2 start for pluginqueuehandler 2009-11-20 11:18:12 -08:00
Brion Vibber
1ca022464a Fix double-escaped HTML in mapstraction notice popups 2009-11-20 10:17:14 -08:00
Brion Vibber
46c5a52810 fix notice bug 2009-11-20 10:08:13 -08:00
Brion Vibber
b189c9500c Initial functional version of feed subscription plugin, currently supporting only PuSH-enabled feeds. 2009-11-20 09:42:19 -08:00
Evan Prodromou
d645db38ae Merge branch 'master' of git@gitorious.org:statusnet/mainline 2009-11-20 08:00:34 -08:00
Evan Prodromou
85ec057422 use caching in geonames plugin 2009-11-20 07:58:28 -08:00