- 06 Dec, 2010 1 commit
-
-
Brion Vibber authored
Added User::singleUserNickname() as (temporary?) fallback for single-user lookup as a workaround for site setup of 1user sites. We found that an external tool attempting to spin up StatusNet and then register the user would fail because StatusNet's router setup dies on being unable to find its single-user account, since the nickname is needed in setting up routing entries. This tweak will let it survive, using the configured setting as a fallback if it can't actually find the user account.
-
- 30 Nov, 2010 6 commits
-
-
Brion Vibber authored
Flush router cache when saving Twitter admin settings: adding/removing keys can enable/disable some actions. This avoids having users' Twitter settings unreachable after adding your keys to an installation with TwitterBridge on but not pre-configured.
-
Brion Vibber authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
-
Evan Prodromou authored
commit 39fdd181d95d2c39a3ea1ca330b10a99a92b961f Author: Evan Prodromou <evan@status.net> Date: Mon Nov 29 10:37:49 2010 -0500 use cache key prefix for router cache key commit 4cb9e56941922489b83d6425c059cf770991e68f Author: Evan Prodromou <evan@status.net> Date: Mon Nov 29 10:31:21 2010 -0500 use a unique hashkey based on the software version and loaded plugins commit 44458b48aef719543e11f83b41fded65cbcb8be9 Author: Evan Prodromou <evan@status.net> Date: Sat Nov 27 17:04:15 2010 -0500 cache the NUM object commit 809c188307a9b4ada15f3d7fa573a6034341efef Author: Evan Prodromou <evan@status.net> Date: Sat Nov 27 15:44:12 2010 -0500 accelerate routing by pivoting paths on actions
-
- 26 Nov, 2010 1 commit
-
-
Evan Prodromou authored
Revert "Ticket #2796: don't allow arbitrary overriding of the 'action' class and other parameters pulled from the URL mapper." This reverts commit 4193a826.
-
- 22 Nov, 2010 4 commits
-
-
Brion Vibber authored
-
Brion Vibber authored
-
-
Brion Vibber authored
* add some sanity checking: abort on failures instead of plodding through * add some progress / error output * fetch the target database server name from the status_network entry and use that to target the DROP DATABASE Note that database names and other overrides in status_network entry may still not be seen.
-
- 20 Nov, 2010 2 commits
-
-
Jeroen De Dauw authored
-
Brion Vibber authored
Fix ticket #2700: some numeric IDs were misinterpreted as hex numbers instead of strings when '0x123' passed in. Switched from is_numeric() to a custom self::is_decimal() which is more strict. This makes our behavior match Twitter's API a bit better, so eg this: http://identi.ca/api/statuses/home_timeline/0x6d686b.xml should now be equivalent to: http://identi.ca/api/statuses/home_timeline.xml?screen_name=0x6d686b instead of: http://identi.ca/api/statuses/home_timeline.xml?user_id=7170155
-
- 19 Nov, 2010 5 commits
-
-
Brion Vibber authored
Ticket #2724: gracefully handle attempts to delete or fave/unfave a remote Twitter notice if a failure occurs. Most annoying error case being where the notice was already faved or deleted on Twitter! :) Such errors will now just fail out and log a note to the syslog -- the rest of what we were doing will continue on unhindered, so you can still delete, favorite, etc and it just won't sync the info over in that case.
-
Brion Vibber authored
Ticket #2796: don't allow arbitrary overriding of the 'action' class and other parameters pulled from the URL mapper. This protects against oddities such as manual invocation of the ClientError action, which can spoof error messages.
-
Brion Vibber authored
max_id is not yet implemented, as it'll need support added to the search backends. (since_id we get 'for free' by just cropping off the list, it'll do for now)
-
Brion Vibber authored
Code was doing a batch call to $avatar->delete() which fails to properly engage the file deletion code. Calling the existing profile->delete_avatars() function deletes them individually, which makes it all work nice again.
-
Brion Vibber authored
- "To" drop-down list now defaults to showing "Select recipient:" instead of the first person on your list, reducing liklihood of accidentally sending a message to the wrong person. - When there are no mutual subscribers to send to, instead of an empty list the list now shows 'No mutual subscribers.' In both cases, attempting to send when the default is selected displays an error message. I'm not disabling form elements in part because our themes right now don't show disabled button state correctly; we might want to tighten that up a bit more once fixed.
-
- 18 Nov, 2010 2 commits
-
-
Brion Vibber authored
scripts/deletegroup.php -- basic CLI script to delete a group by id or local nickname. Like deleteuser.php, this can be used in batch runs by providing the -y override.
-
Brion Vibber authored
Fix regression in PopularNoticeSection: tag parameter was broken, causing sidebar on tag pages to show untagged favorites.
-
- 16 Nov, 2010 6 commits
-
-
Brion Vibber authored
-
Brion Vibber authored
Prep for ticket #2895: consolidate common code from PopularNoticeList and FavoritedAction for fetching popular notice lists
-
Brion Vibber authored
-
Brion Vibber authored
-
Brion Vibber authored
-
Brion Vibber authored
- meta robots to prevent spidering - a little notice if silenced
-
- 15 Nov, 2010 7 commits
-
-
Brion Vibber authored
-
Brion Vibber authored
-
Brion Vibber authored
Workaround for display of Twitter remote users in remoteprofile (ModPlus plugin): use 73px avatar if no 96px present
-
Brion Vibber authored
Stub RemoteprofileAction to show the standard profile header stuff for offsite users -- provides a way to get at the mod & block controls for remote users.
-
Brion Vibber authored
some User -> Profile cleanup to help in adapting the profile page action to show stuff for remote users. Subscriptions, groups, roles, etc are all on profiles now so go ahead and use em.
-
Brion Vibber authored
-
Brion Vibber authored
-
- 12 Nov, 2010 4 commits
-
-
Brion Vibber authored
-
Brion Vibber authored
This reverts commit 3afb031d.
-
Brion Vibber authored
When the retweet failed with a 403 error (say due to it being a private tweet, which can't be retweeted) we would end up mishandling the return value from our internal error handling. Instead of correctly discarding the message and closing out the queue item, we ended up trying to save a bogus twitter<->local ID mapping, which threw another exception and lead the queue system to re-run it. - Fixed the logic check and return values for the retweet case in broadcast_twitter(). - Added doc comments explaining the return values on some functions in twitter.php - Added check on Notice_to_status::saveNew() for empty input -- throw an exception before we try to actually insert into db. :)
-
Evan Prodromou authored
-
- 11 Nov, 2010 1 commit
-
-
Zach Copley authored
-
- 10 Nov, 2010 1 commit
-
-
Brion Vibber authored
-