summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-12-01Ticket 2048: make OMB posting HTTP timeout configurable as ↵Brion Vibber
$config['omb']['timeout']; defaults to 5 seconds instead of 20-second default in Yadis library
2009-12-01Add missing rule for /api/users/show.:formatZach Copley
2009-12-01Revert "Fix problem where screen_name and user_id parameters are being"Zach Copley
The problem this was trying to fix is actually caused by a missing routing rule. Silly me. This reverts commit 2451192415ae93a329b412761cfbb26df8185474.
2009-11-30Fix problem where screen_name and user_id parameters are beingZach Copley
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-27Drop the username from the log id for now; seems to trigger an error loop in ↵Brion Vibber
some circumstances
2009-11-27request id on logs... pid + random id per web request + username + method + urlBrion Vibber
2009-11-25Revert "Allow plugin DB_DataObject classes to not have to use the .ini file ↵Zach Copley
by overriding keys(), table(), and sequenceKey() for them" This reverts commit a373d07ae00b878f47970f2e4a7d86c6ec3a65cf. Conflicts: classes/statusnet.ini lib/schema.php plugins/Authentication/AuthenticationPlugin.php plugins/OpenID/OpenIDPlugin.php plugins/UserFlag/UserFlagPlugin.php
2009-11-25Catch and report exceptions from notice_to_omb_notice() instead of letting ↵Brion Vibber
the OMB queue handler die.
2009-11-25Fix regression in remote subscription; added hasRole() shadow method on ↵Brion Vibber
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-25Drop error message on setlocale() failure; this is harmless, since we ↵Brion Vibber
actually have a working locale set up.
2009-11-24Fix regression in OMB sending with queues enabled -- items never got ↵Brion Vibber
dequeued, leading to ever-growing queue and big delays. Success return code from omb_broadcast_message was dropped in commit ec88d2650ea4371cf53229171851747b31587e4b (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-24Fix SSL options for Twitter bridge HTTP requestsZach Copley
2009-11-24Break TableDef, ColumnDef classes to separate files so autoloader can find them.Brion Vibber
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-20Disable XHTML Content-Type negotiation... You've foiled our plans for the ↵Brion Vibber
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-20Revert "Added 'login' command that gives you a link that can be used to ↵Evan Prodromou
login to the website" This reverts commit b9d40f723bce8e01ddcbbb989bd7035b92cd9af8. Conflicts: actions/login.php classes/statusnet.ini db/08to09.sql db/08to09_pg.sql db/statusnet_pg.sql lib/command.php lib/commandinterpreter.php
2009-11-20revert adding avatar IMG to jabber output; shows entire URL in some Jabber ↵Evan Prodromou
clients
2009-11-20Updated version info0.9.0rc1Zach Copley
2009-11-19Added validation to fields in user admin panelZach Copley
2009-11-19Added a user admin panelZach Copley
2009-11-19Add geometa library, and include it.Craig Andrews
Geometa provides a fallback for W3C geolocation so that Google Gears or Google's Client Location service can also be used
2009-11-19Add location form elements to the noticeform, and save their values on ↵Craig Andrews
submission
2009-11-19Revert "Re added NICKNAME_FMT constant to router.php."Eric Helgeson
This reverts commit 9f15febf88769493aa834cab5b916cb46298842a. Issues with remote OMB. Will revisit and fix correctly
2009-11-19Moved most path and server settings to a new paths admin panelZach Copley
2009-11-19tobyink's RDF compatibility patchCraig Andrews
2009-11-19tobyink's location RDF patchCraig Andrews
2009-11-19Added lat and lon coordinates to notice locationSarven Capadisli
2009-11-19Added @class 'location', 'at' text reference for name, and @class 'geo'Sarven Capadisli
2009-11-19Changed notice source and location orderSarven Capadisli
2009-11-18Merge branch 'admin-sections/2' into 0.9.xZach Copley
* admin-sections/2: Design admin panel mostly done.
2009-11-18Design admin panel mostly done.Zach Copley
2009-11-18Added support for pgettext() and npgettext() to separate contexts for ↵Brion Vibber
translatable messages that are going to be ambiguous in English original.
2009-11-18Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xCraig Andrews
2009-11-18Terminology consistency fix: 'Unlock' -> 'Unblock' in unblock form description.Brion Vibber
2009-11-18Added Authorization pluginCraig Andrews
Added LDAPAuthorization plugin
2009-11-18First draft of the admin panel for site designZach Copley
2009-11-17Declare global usage in common.php so setup works right when called from ↵Brion Vibber
phpunit tests We end up running the tests through a function in PHPUnit, so we don't have automatic global scope at the top level of files all the time...
2009-11-17Merge branch '0.9.x' into adminpanelEvan Prodromou
Conflicts: classes/User.php
2009-11-17Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
Conflicts: classes/statusnet.ini
2009-11-16Cleanup for bug 1813: workaround sometimes-missing dl() in PHP 5.3 by ↵Brion Vibber
defining our own bogus function rather than attempting to patch upstream libs. This keeps our fix across upstream versions (or when loading upstream library from outside extlib) Note that fixes to OpenID libraries in commit fe9473ac7810d317e001a0fec19cbacaafc0c909 were lost in just such an update.
2009-11-16Do proper translations for pluralsCraig Andrews
2009-11-16Allow plugin DB_DataObject classes to not have to use the .ini file by ↵Craig Andrews
overriding keys(), table(), and sequenceKey() for them
2009-11-16disallow email on faves from sandboxed usersEvan Prodromou
2009-11-16prevent email notification on replies by sandboxed usersEvan Prodromou
2009-11-16block subscribes by silenced usersEvan Prodromou
2009-11-16silently skip email for subs from sandboxed userEvan Prodromou
2009-11-16more rights denied to silenced and sandboxedEvan Prodromou
2009-11-16don't allow sandboxed users to post public noticesEvan Prodromou
2009-11-16Move rights check to profile and add right for new noticesEvan Prodromou
Added a right for new notices, realized that the hasRight() method should be on the profile, and moved it. Makes this a less atomic commit but that's the way it goes sometimes.
2009-11-16use return-to method for UserProfile widgetEvan Prodromou
2009-11-16getting arguments for return-to processingEvan Prodromou