summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-12-04Use inlineScript() instead of element() to write inline javascriptCraig Andrews
2009-12-04Add style function to output style() tagsCraig Andrews
Add 2 new events: StartStyleElement and EndStyleElement
2009-12-04Add 2 new events: StartInlineScriptElement and EndInlineScriptElementCraig Andrews
2009-12-04only write the javascript CDATA blocks if the type is javascript (it's not ↵Craig Andrews
the correct syntax for other languages)
2009-12-04Use inlineScript() everywhere inline scripts are writtenCraig Andrews
2009-12-04Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xZach Copley
2009-12-04Don't depend on a User being available when looking up Design and timezoneZach Copley
for a profile (because some profiles are remote, etc.)
2009-12-04Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2009-12-04add logging utilities to Plugin classEvan Prodromou
2009-12-04Merge commit 'refs/merge-requests/108' of ↵Brion Vibber
git://gitorious.org/statusnet/mainline into 0.9.x
2009-12-04utility function to output inline JavaScriptEvan Prodromou
2009-12-04Add 4 new events: StartCssLinkElement, EndCssLinkElement, ↵Craig Andrews
StartScriptElement, EndScriptElement
2009-12-03Make it impossible to block (and thus unsubscribe from yourZach Copley
self-subscription) via the API. Additionally, make it impossible to block yourself or unsubscribe from yourself, period. I also made User use the subs.php helper function for unsubscribing during a block. Hopefully, these changes will get rid of the problem of people accidentally deleting their self-subscriptions once and for all (knock on wood).
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