summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-12-03Code style cleanup: dropped some unnecessary =& reference assignments where ↵Brion Vibber
they're used only out of habit for PHP 4-style object semantics
2009-12-02Delete design when user chooses to restore default design, insteadZach Copley
of saving a design with site defaults.
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-30Include group memberships count & user groups management page link in ↵Brion Vibber
profile sidebar to match subscribers & subscribees lists. This is the only obvious way to reach the user group membership details page if there are fewer group subs than the max number of icons to show.
2009-11-30Merge branch 'master' into 0.9.xZach Copley
* master: (67 commits) Ticket 2038: fix bad bug tracker link Fix regression in group posting: bug introduced in commit 1319002e1519fafb0e82fbfd2d2723abdb3112e7. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D Log database errors when saving notice_inbox entries Drop the username from the log id for now; seems to trigger an error loop in some circumstances request id on logs... pid + random id per web request + username + method + url Add OpenID ini info back into statusnet.ini as a stopgap until we can Some changes to the OpenID DataObjects to make them emit the exact same OpenID plugin should set 'user_openid.display' as unique key Remove relationship: user_openid.user_id -> user.id. I don't think this Have OpenID plugin DataObjects emit their own .ini info Revert "Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them" Catch and report exceptions from notice_to_omb_notice() instead of letting the OMB queue handler die. Fix regression in remote subscription; added hasRole() shadow method on Remote_profile. Fix fatal error on OMB subscription for first-timers Remove annoying log msg Drop error message on setlocale() failure; this is harmless, since we actually have a working locale set up. Catch uncaught exception Fixed bug where reply-sync bit wasn't getting saved Forgot to render the nav menu when on FB Connect login tab Facebook plugin no longer takes over Login and Connect settings nav menus ... Conflicts: db/08to09_pg.sql db/statusnet_pg.sql locale/pt_BR/LC_MESSAGES/statusnet.mo plugins/Mapstraction/MapstractionPlugin.php
2009-11-28Add new user language hsb / Upper SorbianSiebrand Mazeland
2009-11-27Drop the username from the log id for now; seems to trigger an error loop in ↵Brion Vibber
some circumstances
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-27request id on logs... pid + random id per web request + username + method + urlBrion Vibber
2009-11-26* Mb -> MB (for megabyte)Siebrand Mazeland
* i18n for MB and kB
2009-11-26Init UI to show/hide a group of moderation actions.Sarven Capadisli
2009-11-26and a typo in column name fixedBrenda Wallace
2009-11-26added missing space after new group by fieldsBrenda Wallace
2009-11-26added more fields to the group by.Brenda Wallace
2009-11-26check there is an array of notices to display, before doing a foreach()Brenda Wallace
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-25Merge branch 'fix-openid' into 0.9.xZach Copley
2009-11-25Catch and report exceptions from notice_to_omb_notice() instead of letting ↵Brion Vibber
the OMB queue handler die.
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-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-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-25Drop error message on setlocale() failure; this is harmless, since we ↵Brion Vibber
actually have a working locale set up.
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 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-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-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-23Ticket 2007: make search tabs grammar forms consistent (People, Notices, Groups)Brion Vibber
2009-11-21Use sprintf and gettext to output the DMS version of the location. More ↵Craig Andrews
translator-friendly.
2009-11-21i18n for "Search" button textSiebrand Mazeland
2009-11-21i18n for "Keyword(s)"Siebrand Mazeland
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-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-20Display lat/lon in DMS formatCraig Andrews
2009-11-20Change the format of the lat/lon output on a notice in HTMLCraig Andrews
2009-11-20Revert "Use the geo microformat as documented at ↵Craig Andrews
http://microformats.org/wiki/geo" This reverts commit 67add6429136dd6c2f5a924fb6bfef3ae099b495.
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-19Use the geo microformat as documented at http://microformats.org/wiki/geoCraig Andrews
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