summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
2010-11-07Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-11-07Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-11-06Fix typo. Spotted by EugeneZelenko.Siebrand Mazeland
2010-11-05Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-11-03UserFlagPlugin fix for ticket #2118 and ticket #2847: flagged state wasn't ↵Brion Vibber
reflected in profile lists such as group members page and profile search . Pulled common code for the profile page and profile list cases to give them the same logic on checking. Also fixes the problem that you'd get a flag button for yourself in profile lists, while we explicitly exclude that from the profile page -- it's now skipped in both places.
2010-11-03Migrate some more code from manually constructing "fullname (nickname)" to ↵Brion Vibber
using Profile->getFancyName(). Encapsulates common logic and allows for localization of the parens.
2010-11-03General cleanup & part of ticket #2864: use User_group->getFancyName() ↵Brion Vibber
instead of replicating the logic in various places. Encapsulates and allows for localization of parens.
2010-11-03Fix for ticket #2168: if we've already flagged a profile from another ↵Brion Vibber
window, let the 'Flag' form submission gracefully show the updated state instead of throwing an error (error message isn't even exposed properly in AJAX submissions)
2010-11-03UserFlag fixes to prevent PHP notices breaking AJAX submissions when ↵Brion Vibber
display_errors is on. Key & seq defs weren't quite right, which caused accesses to unset array indices in DB_DataObject.
2010-11-02Merge branch 'twitstream' into 0.9.xBrion Vibber
2010-11-02Pull out the 'tweetctl' queue for now; these should go over control signals, ↵Brion Vibber
and actual handling isn't implemented yet anyway.
2010-11-02fakestream.php can now take --all option to pull the latest messages from ↵Brion Vibber
multiple locally-authed accounts when generating simulated sitestreams info
2010-11-02fakestream.php: script to build an emulated Twitter Site Stream from live ↵Brion Vibber
Twitter data, for testing.
2010-11-02Allow custom apiroot for site streams testing on streamtestBrion Vibber
2010-11-03Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-11-02i18n/L10n fixes and translator documentation addded/updated.Siebrand Mazeland
2010-11-02Merge branch '0.9.x' into twitstreamBrion Vibber
2010-11-02Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-11-02Use SN.msg() and onEndScriptMessages() to export localized UI messages from ↵Brion Vibber
Realtime plugin and its descendents.
2010-11-02Tossing in a basic i18n message export to script code. Plugins can hook ↵Brion Vibber
StartScriptMessage/EndScriptMessage, or directly add needed mappings in Action::getScriptMessages(). Exported entries are accessible as SN.msg(key) at runtime. StatusNet core code now sets the tooltip text on .attachment.more links when they receive their attachment-expansion magic; this will override the hardcoded tooltip text saved from OStatus plugin when displaying timelines in the web UI.
2010-11-02* add POT fileSiebrand Mazeland
* remove superfluous whitespace * break lines at 80 or before in README
2010-11-02Starting on making Realtime plugin's UI messages localizable: pause/play, ↵Brion Vibber
popup button text and tooltip text are now loaded from PHP code where we can get at gettext.
2010-11-02Merge branch '0.9.x' into twitstreamBrion Vibber
2010-10-31Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-29Work in progress on twitter import daemonBrion Vibber
2010-10-29Fixups for twitter streaming daemonBrion Vibber
2010-10-29Work in progress on site streams-aware TwitterDaemonBrion Vibber
2010-10-29TweetInQueueHandler: run incoming tweets through the queues to keep the ↵Brion Vibber
Twitter streaming daemon clear.
2010-10-29Fix a couple 'continue's from old looping code in Twitter importer (-> ↵Brion Vibber
return null)
2010-10-28Work in progress: starting on new TwitterDaemon using the Site Streams API ↵Brion Vibber
-- code is incomplete, pulling bits from streamtest.php pending a chance to test the actual site-streams mode
2010-10-28Merge branch '0.9.x' into twitstreamBrion Vibber
2010-10-29Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-10-28Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-10-28Tweak for OAuth headers not seen in $_SERVERBrion Vibber
2010-10-28Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.xSiebrand Mazeland
2010-10-28Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-27Merge branch 'instrument' into 0.9.xBrion Vibber
2010-10-27ApiLogger plugin: dumps some information about API hits to aid in ↵Brion Vibber
researching future HTTP-level cachability improvements. Data are sent to the 'info' level of logging, like so: [lazarus.local:4812.86b23603 GET /mublog/api/statuses/friends_timeline.atom?since_id=1353] STATLOG action:apitimelinefriends method:GET ssl:no query:since_id cookie:no auth:yes ifmatch:no ifmod:no agent:Appcelerator Titanium/1.4.1 (iPhone/4.1; iPhone OS; en_US;) Fields: * action: case-normalized name of the action class we're acting on * method: GET, POST, HEAD, etc * ssl: Are we on HTTPS? 'yes' or 'no' * query: Were we sent a query string? 'yes', 'no', or 'since_id' if the only parameter is a since_id * cookie: Were we sent any cookies? 'yes' or 'no' * auth: Were we sent an HTTP Authorization header? 'yes' or 'no' * ifmatch: Were we sent an HTTP If-Match header for an ETag? 'yes' or 'no' * ifmod: Were we sent an HTTP If-Modified-Since header? 'yes' or 'no' * agent: User-agent string, to aid in figuring out what these things are The most shared-cache-friendly requests will be non-SSL GET requests with no or very predictable query parameters, no cookies, and no authorization headers. Private caching (eg within a supporting user-agent) could still be friendly to SSL and auth'd GET requests. We kind of expect that the most frequent hits from clients will be GETs for a few common timelines, with auth headers, a since_id-only query, and no cookies. These should at least be amenable to returning 304 matches for etags or last-modified headers with private caching, but it's very possible that most clients won't actually think to save and send them. That would leave us expecting to handle a lot of timeline since_id hits that return a valid API response with no notices. At this point we don't expect to actually see if-match or if-modified-since a lot since most of our API responses are marked as uncacheable; so even if we output them they're not getting sent back to us. Random subsampling can be enabled by setting the 'frequency' parameter smaller than 1.0: addPlugin('ApiLogger', array( 'frequency' => 0.5 // Record 50% of API hits ));
2010-10-28i18n/L10n updates and superfluous whitespace removed.Siebrand Mazeland
2010-10-28* Superfluous whitespace removed.Siebrand Mazeland
* i18n review (no changes needed).
2010-10-26Merge branch '0.9.x' into twitstreamBrion Vibber
2010-10-26UI on profile settings page to opt out of following everyoneEvan Prodromou
2010-10-26flag to let users opt out of following everyoneEvan Prodromou
2010-10-26Plugin to follow all new users by defaultEvan Prodromou
2010-10-26can't subscribe to blacklisted domains/usersEvan Prodromou
2010-10-26Blacklist plugin checks PuSH and Salmon noticesEvan Prodromou
2010-10-23Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-23* onPluginVersion added.Siebrand Mazeland
* i18n fix: use _m() in plugins, don't use _() * some translator documentation added. * superfluous whitespace removed.
2010-10-22Fix for 140-char replies being unexpectedly cropped when bridged to Twitter.Brion Vibber
This drops the '@' -> ' @' hack for CURL meta-chars in outgoing Twitter bridge, added in commit 04b95c25 back in the day. The Twitter bridge has since been switched from using direct CURL calls to using HTTPClient, which even with the CURL backend enabled doesn't trigger this issue, as POST parameters are formatted directly. Prepending the space before we did the message cropping was leading to 140-char messages getting cropped unnecessarily, which was confusing: Examples of broken messages: http://identi.ca/notice/57172587 vs http://twitter.com/marjoleink/status/28398050691 http://identi.ca/notice/57172878 vs http://twitter.com/marjoleink/status/28398492563
2010-10-22RegisterThrottlePlugin tweak for silencing checks: make sure we don't crash ↵Brion Vibber
during registration if another profile registered from this address has been since deleted. Followup to commit 1caa08429f591b170da210d72f3501843f2bc657