summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-17Fix ticket 1816: Database errors recorded as "Array"Brion Vibber
PEAR error backtrace lines are now correctly formatted as strings in debug log, roughly as debug_print_backtrace() does (but with argument values swapped out for types to avoid being overly verbose). Todo: exceptions and PEAR error objects should log backtraces the same way; right now it doesn't look like exceptions get backtraces logged. Todo: At one line per line, it's potentially tough to figure out what backtrace goes with what event if traffic is heavy; even if not heavy it's awkward to jump back into a log file after grepping to find the backtrace. Consider using a random per-event ID which can go in the log output -- bonus points for exposing the error ID to users so ops can track down actual error details in logs from a user report.
2009-11-17Need to check the Profile rather than the User.Zach Copley
2009-11-17Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
Conflicts: classes/statusnet.ini
2009-11-16Bug 1655/bug 1905: fix for Internet Explorer receiving FOAF output when ↵Brion Vibber
clicking user links. User links using the ID number (such as created for @-replies) have been failing on Internet Explorer, since IE doesn't bother to actually say it supports text/html... We usually get something like this from IE, up through at least IE 8: Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */* The */* ended up matching application/rdf+xml instead of text/html, so only other browsers which are more explicit would actually get sent on to the user profile/notice stream; IE visitors were directed on to the FOAF download. :( Swapping the order of items in the server-side of the negotiation list fixes this; clients actually asking for FOAF at a higher priority than HTML will still get it, but the wildcard */* now matches text/html which is usually what we want. Content negotiation for the user links was added August 2008 in commit 48fcfb8b0daeb272cb9d116af617daf15930d909.
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-16Fix for PHP spewing notices from commit a373d07ae00b878f47970f2e4a7d86c6ec3a65cfBrion Vibber
Please test with error_reporting set to E_ALL! Classnames and function names aren't first-class objects in PHP and need to be referenced as strings here. :(
2009-11-16Do proper translations for pluralsCraig Andrews
2009-11-16Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xCraig 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-16Consistant error for groups that dont exist in APIEric Helgeson
2009-11-16+x deleteuser.phpEric Helgeson
2009-11-16Localisation updates from !translatewiki !StatusNetSiebrand Mazeland
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-16silenced users can't send direct messagesEvan 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-16try to return to the correct page from FlagProfileFormEvan Prodromou
2009-11-16make profile flag actions work like other profile actionsEvan Prodromou
2009-11-16use return-to method for adminprofileflagEvan Prodromou
2009-11-16use return-to method for UserProfile widgetEvan Prodromou
2009-11-16getting arguments for return-to processingEvan Prodromou
2009-11-16Refactored Recaptcha plugin to use addPlugin()Eric Helgeson
Also nicer log messages
2009-11-16start showing actions for flagged profilesEvan Prodromou
2009-11-16Added a "groups" commandCraig Andrews
2009-11-16getGroups was not handling the case where limit=null correctlyCraig Andrews
2009-11-16Changed to StatusNet consistent terminologyCraig Andrews
2009-11-16Bump to version 1.0.0Craig Andrews
2009-11-16add routes for silence, sandbox, delete userEvan Prodromou
2009-11-16correct constructor for DeleteUserFormEvan Prodromou
2009-11-16give UnsilenceForm correct superclassEvan Prodromou
2009-11-16give UnsandboxForm correct superclassEvan Prodromou
2009-11-16give SilenceForm proper superclassEvan Prodromou
2009-11-16DeleteUserActionEvan Prodromou
2009-11-16make block action use ProfileFormAction superclassEvan Prodromou
2009-11-16add sandbox and silence actionsEvan Prodromou
2009-11-16change uses of User_role to Profile_roleEvan Prodromou
2009-11-16fix exe flag after createTableEvan Prodromou
2009-11-16remove User_role classEvan Prodromou
2009-11-16Rename user_role to profile_roleEvan Prodromou
Renamed the user_role table to profile_role. Remote users can have a role on the site; that 'role' may be negative (silenced or sandboxed).
2009-11-16move role functions to Profile classEvan Prodromou
2009-11-16make block actions use profileformaction superclassEvan Prodromou
2009-11-16common superclass for actions that operate on a profile and returnEvan Prodromou
2009-11-16Add "followers" and "following" commandsCraig Andrews
2009-11-16getSubscribers and getSubscriptions were not handling the case where ↵Craig Andrews
limit=null correctly
2009-11-15Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xSarven Capadisli
2009-11-15add forms for silence, sandbox, delete userEvan Prodromou