summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-12-08add (ugly) form to forward noticesEvan Prodromou
2009-12-08action to forward a noticeEvan Prodromou
2009-12-08New _m() gettext wrapper with smart detection of plugin domains. Plugin base ↵Brion Vibber
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-08Make default & sample val for $config['queue']['queue_basename'] actually ↵Brion Vibber
work! Now matches the recommendation in README which is in fact correct. Must include the /queue/ prefix (unless somthing else actually makes sense)
2009-12-05Add a configuration option to disable the login command.Craig Andrews
$config['logincommand']['disabled'] = true; This commit should be reverted once the command has been sufficiently tested and trusted.
2009-12-05Added 'login' command that gives you a link that can be used to login to the ↵Craig Andrews
website
2009-12-05Add 2 new events to enable logger pluginization: StartLog and EndLogCraig Andrews
2009-12-05Add configuration option to toggle the indenting of the output HTML. ↵Craig Andrews
Defaults to indent enabled.
2009-12-04Append the StatusNet version to all local, static CSS referencesCraig Andrews
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.