summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)Author
2009-12-08reorder notices when not using memcachedEvan Prodromou
2009-12-08make sure not to forward blocked usersEvan Prodromou
2009-12-08method to check if a profile has forwarded a noticeEvan Prodromou
2009-12-08pkeyGet() method for Forward and return value from saveNew()Evan Prodromou
2009-12-08Basic function to store forwards and redistributeEvan Prodromou
2009-12-08fix exe flagEvan Prodromou
2009-12-08add DB_DataObject for forward tableEvan Prodromou
2009-12-05Added 'login' command that gives you a link that can be used to login to the ↵Craig Andrews
website
2009-12-04use the new htmloutputter->style() functionCraig Andrews
2009-12-03Was deleting wrong subscription during block. Now deletes the blockee's sub ↵Zach Copley
if it exists.
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-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-27Fix regression in group posting: bug introduced in commit ↵Brion Vibber
1319002e1519fafb0e82fbfd2d2723abdb3112e7. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D
2009-11-27Fix regression in group posting: bug introduced in commit ↵Brion Vibber
1319002e1519fafb0e82fbfd2d2723abdb3112e7. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D
2009-11-27Log database errors when saving notice_inbox entriesBrion Vibber
2009-11-27Log database errors when saving notice_inbox entriesBrion Vibber
2009-11-26Add OpenID ini info back into statusnet.ini as a stopgap until we canZach Copley
get plugins to load ini info properly on status.net
2009-11-25Remove relationship: user_openid.user_id -> user.id. I don't think thisZach Copley
is used. And if we need it, the OpenID plugin should do it.
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-25Remove relationship: user_openid.user_id -> user.id. I don't think thisZach Copley
is used. And if we need it, the OpenID plugin should do it.
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-25Remove annoying log msgZach Copley
2009-11-25Remove annoying log msgZach Copley
2009-11-20correct the primary key for login_tokenCraig Andrews
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-18Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xCraig Andrews
2009-11-18Consolidate group creation into static function in User_groupEric Helgeson
2009-11-18Added Authorization pluginCraig Andrews
Added LDAPAuthorization plugin
2009-11-17Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2009-11-17Need to check the Profile rather than the User.Zach Copley
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-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-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-16getGroups was not handling the case where limit=null correctlyCraig Andrews
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-16getSubscribers and getSubscriptions were not handling the case where ↵Craig Andrews
limit=null correctly
2009-11-15define rights around how to silence, sandbox, and delete a userEvan Prodromou
2009-11-12Added a User_username table that links the external username with a ↵Craig Andrews
StatusNet user_id Added EmailAuthenticationPlugin Added ReverseUsernameAuthenticationPlugin Changed the StartChangePassword and EndChangePassword events to take a user, instead of a nickname User::allowed_nickname was declared non-static, but used as if it was static, so I made the declaration static