]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
14 years agoadd title attribute on attachment list items
Brion Vibber [Wed, 10 Nov 2010 00:43:37 +0000 (16:43 -0800)]
add title attribute on attachment list items

14 years agoCleanup on the CSS for inline attachments; removed some unneeded changes since the...
Brion Vibber [Wed, 10 Nov 2010 00:28:33 +0000 (16:28 -0800)]
Cleanup on the CSS for inline attachments; removed some unneeded changes since the split of the inline and regular attachment lists. Removing commented-out code that seems to be for some old thumbnailing system where the thumbnails were hidden popups within the core text (wtf!)

14 years agoAllow YouTube-style media links to be counted as enclosures for purposes of listing...
Brion Vibber [Tue, 9 Nov 2010 20:04:07 +0000 (12:04 -0800)]
Allow YouTube-style media links to be counted as enclosures for purposes of listing attachments/thumbs

14 years agosplit out InlineAttachmentList from AttachmentList
Brion Vibber [Tue, 9 Nov 2010 18:45:19 +0000 (10:45 -0800)]
split out InlineAttachmentList from AttachmentList

14 years agoKeep aspect ratio when generating local thumbnails
Brion Vibber [Tue, 9 Nov 2010 01:51:53 +0000 (17:51 -0800)]
Keep aspect ratio when generating local thumbnails

14 years agoAdd attachments 'thumb_width' and 'thumb_height' settings for inline thumbs, defaulti...
Brion Vibber [Tue, 9 Nov 2010 01:36:02 +0000 (17:36 -0800)]
Add attachments 'thumb_width' and 'thumb_height' settings for inline thumbs, defaulting to 100x75.
This is used as the max thumb width/height for oEmbed requests (replacing the old default of 500x400 which was more suitable for the lightbox).

14 years agoPass file attachment thumbnails along with oEmbed data.
Brion Vibber [Tue, 9 Nov 2010 01:22:01 +0000 (17:22 -0800)]
Pass file attachment thumbnails along with oEmbed data.

14 years agoSave a thumbnail image when uploading an image file into the file attachments system...
Brion Vibber [Tue, 9 Nov 2010 01:20:04 +0000 (17:20 -0800)]
Save a thumbnail image when uploading an image file into the file attachments system. Currently hardcoded to 100x75, needs aspect-sensitivity etc.

14 years agoBreak out ImageFile->resizeTo() from ImageFile->resize(); allows resizing images...
Brion Vibber [Tue, 9 Nov 2010 00:51:31 +0000 (16:51 -0800)]
Break out ImageFile->resizeTo() from ImageFile->resize(); allows resizing images to non-square sizes and to arbitrary destinations. Will be used for creating thumbnails as well as the originala use of cropping/sizing avatars.

14 years agoTesting... using photo info for temp thumbnails
Brion Vibber [Mon, 8 Nov 2010 23:50:06 +0000 (15:50 -0800)]
Testing... using photo info for temp thumbnails

14 years agodoomy doom doom
Brion Vibber [Mon, 8 Nov 2010 23:32:41 +0000 (15:32 -0800)]
doomy doom doom

14 years agoSome initial testing w/ thumb gen
Brion Vibber [Mon, 8 Nov 2010 22:20:23 +0000 (14:20 -0800)]
Some initial testing w/ thumb gen

14 years agoAvoid marking files as attachments that are not locally uploaded, unless they're...
Brion Vibber [Mon, 8 Nov 2010 21:27:54 +0000 (13:27 -0800)]
Avoid marking files as attachments that are not locally uploaded, unless they're really oembedable. HTML-y things now excluded properly.

14 years agouse subclassing to change notice list output for single notice
Evan Prodromou [Mon, 8 Nov 2010 18:08:59 +0000 (13:08 -0500)]
use subclassing to change notice list output for single notice

14 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Mon, 8 Nov 2010 15:30:54 +0000 (10:30 -0500)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x

14 years agofix documentation for parameters to menu events
Evan Prodromou [Mon, 8 Nov 2010 15:26:33 +0000 (10:26 -0500)]
fix documentation for parameters to menu events

14 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sun, 7 Nov 2010 21:33:23 +0000 (22:33 +0100)]
Localisation updates from http://translatewiki.net.

14 years agoUpdate translator documentation.
Siebrand Mazeland [Sun, 7 Nov 2010 21:32:52 +0000 (22:32 +0100)]
Update translator documentation.

14 years agoscreen_name -> nick names. Spotted by The Evil IP address.
Siebrand Mazeland [Sun, 7 Nov 2010 21:31:02 +0000 (22:31 +0100)]
screen_name -> nick names. Spotted by The Evil IP address.

14 years agoLocalisation updates from http://translatewiki.net
Siebrand Mazeland [Sun, 7 Nov 2010 21:04:44 +0000 (22:04 +0100)]
Localisation updates from http://translatewiki.net

14 years agoFix typo. Spotted by EugeneZelenko.
Siebrand Mazeland [Fri, 5 Nov 2010 23:54:34 +0000 (00:54 +0100)]
Fix typo. Spotted by EugeneZelenko.

14 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Fri, 5 Nov 2010 00:25:50 +0000 (01:25 +0100)]
Localisation updates from http://translatewiki.net.

14 years ago* i18n/L10n updates.
Siebrand Mazeland [Thu, 4 Nov 2010 18:16:19 +0000 (19:16 +0100)]
* i18n/L10n updates.
* translator documentation added.
* superfluous whitespace removed.

14 years agoi18n/L10n updates.
Siebrand Mazeland [Thu, 4 Nov 2010 17:33:39 +0000 (18:33 +0100)]
i18n/L10n updates.

14 years agoFix for ticket #2804: bad non-cache fallback code for dupe checks of prolific posters
Brion Vibber [Thu, 4 Nov 2010 00:25:29 +0000 (17:25 -0700)]
Fix for ticket #2804: bad non-cache fallback code for dupe checks of prolific posters

The old code attempted to compare the value of the notice.created field against now() directly, which tends to explode in our current systems. now() comes up as the server/connection local timezone generally, while the created field is currently set as hardcoded UTC from the web servers. This would lead to breakage when we got a difference in seconds that's several hours off in either direction (depending on the local timezone). New code calculates a threshold by subtracting the number of seconds from the current UNIX timestamp and passing that in in correct format for a simple comparison. As a bonus, this should also be more efficient, as it should be able to follow the index on profile_id and created.

14 years agoFix for ticket #2853: fix for some unknown MIME type error cases by adjusting the...
Brion Vibber [Thu, 4 Nov 2010 00:05:26 +0000 (17:05 -0700)]
Fix for ticket #2853: fix for some unknown MIME type error cases by adjusting the PEAR error handling temporarily around MIME_Type_Extension usage.

14 years agoFix for ticket #2852: skip sending favorite notification emails if the favoriter...
Brion Vibber [Wed, 3 Nov 2010 22:17:46 +0000 (15:17 -0700)]
Fix for ticket #2852: skip sending favorite notification emails if the favoriter is someone you've blocked.

14 years agoFix ticket #2860: clarify API doc comments for 'source' parameter's interaction with...
Brion Vibber [Wed, 3 Nov 2010 21:58:33 +0000 (14:58 -0700)]
Fix ticket #2860: clarify API doc comments for 'source' parameter's interaction with OAuth on api/statuses/update

14 years agoUserFlagPlugin fix for ticket #2118 and ticket #2847: flagged state wasn't reflected...
Brion Vibber [Wed, 3 Nov 2010 21:04:08 +0000 (14:04 -0700)]
UserFlagPlugin fix for ticket #2118 and ticket #2847: flagged state wasn't 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.

14 years agoUse Profile->getBestName() in PersonalGroupNav instead of manually picking nickname...
Brion Vibber [Wed, 3 Nov 2010 20:11:34 +0000 (13:11 -0700)]
Use Profile->getBestName() in PersonalGroupNav instead of manually picking nickname vs fullname. Logic should still work the same when no nickname is provided, but it doesn't make any sense -- probably needs cleanup. :)

14 years agoMigrate some more code from manually constructing "fullname (nickname)" to using...
Brion Vibber [Wed, 3 Nov 2010 20:10:42 +0000 (13:10 -0700)]
Migrate some more code from manually constructing "fullname (nickname)" to using Profile->getFancyName(). Encapsulates common logic and allows for localization of the parens.

14 years agoGeneral cleanup & part of ticket #2864: use User_group->getFancyName() instead of...
Brion Vibber [Wed, 3 Nov 2010 19:59:19 +0000 (12:59 -0700)]
General cleanup & part of ticket #2864: use User_group->getFancyName() instead of replicating the logic in various places. Encapsulates and allows for localization of parens.

14 years agoAdd getFancyName() to User_group to match the one on Profile: encapsulates the "fulln...
Brion Vibber [Wed, 3 Nov 2010 19:53:51 +0000 (12:53 -0700)]
Add getFancyName() to User_group to match the one on Profile: encapsulates the "fullname (nickname)" vs "nickname" logic and allows for localization of the parentheses in a common place.

14 years agoFix for ticket #2168: if we've already flagged a profile from another window, let...
Brion Vibber [Wed, 3 Nov 2010 19:32:11 +0000 (12:32 -0700)]
Fix for ticket #2168: if we've already flagged a profile from another 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)

14 years agoUserFlag fixes to prevent PHP notices breaking AJAX submissions when display_errors...
Brion Vibber [Wed, 3 Nov 2010 19:20:25 +0000 (12:20 -0700)]
UserFlag fixes to prevent PHP notices breaking AJAX submissions when display_errors is on. Key & seq defs weren't quite right, which caused accesses to unset array indices in DB_DataObject.

14 years agoMerge branch 'twitstream' into 0.9.x
Brion Vibber [Tue, 2 Nov 2010 23:55:55 +0000 (16:55 -0700)]
Merge branch 'twitstream' into 0.9.x

14 years agoPull out the 'tweetctl' queue for now; these should go over control signals, and...
Brion Vibber [Tue, 2 Nov 2010 23:51:07 +0000 (16:51 -0700)]
Pull out the 'tweetctl' queue for now; these should go over control signals, and actual handling isn't implemented yet anyway.

14 years agofakestream.php can now take --all option to pull the latest messages from multiple...
Brion Vibber [Tue, 2 Nov 2010 23:43:01 +0000 (16:43 -0700)]
fakestream.php can now take --all option to pull the latest messages from multiple locally-authed accounts when generating simulated sitestreams info

14 years agofakestream.php: script to build an emulated Twitter Site Stream from live Twitter...
Brion Vibber [Tue, 2 Nov 2010 23:27:14 +0000 (16:27 -0700)]
fakestream.php: script to build an emulated Twitter Site Stream from live Twitter data, for testing.

14 years agoAllow custom apiroot for site streams testing on streamtest
Brion Vibber [Tue, 2 Nov 2010 23:26:51 +0000 (16:26 -0700)]
Allow custom apiroot for site streams testing on streamtest

14 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 2 Nov 2010 23:04:26 +0000 (00:04 +0100)]
Localisation updates from http://translatewiki.net.

14 years agoi18n/L10n fixes and translator documentation addded/updated.
Siebrand Mazeland [Tue, 2 Nov 2010 22:48:36 +0000 (23:48 +0100)]
i18n/L10n fixes and translator documentation addded/updated.

14 years agoMerge branch '0.9.x' into twitstream
Brion Vibber [Tue, 2 Nov 2010 22:10:56 +0000 (15:10 -0700)]
Merge branch '0.9.x' into twitstream

14 years agoAdd context for different uses of "%1$s (%2$s)"
Siebrand Mazeland [Tue, 2 Nov 2010 22:08:59 +0000 (23:08 +0100)]
Add context for different uses of "%1$s (%2$s)"

14 years agoi18n/L10n, translator documentation updates.
Siebrand Mazeland [Tue, 2 Nov 2010 20:33:34 +0000 (21:33 +0100)]
i18n/L10n, translator documentation updates.

14 years agoMerge branch 'pretty-title2' into 0.9.x
Brion Vibber [Tue, 2 Nov 2010 21:21:23 +0000 (14:21 -0700)]
Merge branch 'pretty-title2' into 0.9.x

14 years agoUnrolled tagged vs untagged, page 1 vs page N message variants for showstream title...
Brion Vibber [Tue, 2 Nov 2010 21:20:06 +0000 (14:20 -0700)]
Unrolled tagged vs untagged, page 1 vs page N message variants for showstream title. #2668

14 years agofix syntax error introduced in i18n tweaks: newgroup action
Brion Vibber [Tue, 2 Nov 2010 21:03:50 +0000 (14:03 -0700)]
fix syntax error introduced in i18n tweaks: newgroup action

14 years agoAlternate pretty-title tweaks for #2668
Brion Vibber [Tue, 2 Nov 2010 20:42:33 +0000 (13:42 -0700)]
Alternate pretty-title tweaks for #2668

14 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Tue, 2 Nov 2010 20:14:42 +0000 (13:14 -0700)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x

14 years agoUse SN.msg() and onEndScriptMessages() to export localized UI messages from Realtime...
Brion Vibber [Tue, 2 Nov 2010 20:12:58 +0000 (13:12 -0700)]
Use SN.msg() and onEndScriptMessages() to export localized UI messages from Realtime plugin and its descendents.

14 years agoTossing in a basic i18n message export to script code. Plugins can hook StartScriptMe...
Brion Vibber [Tue, 2 Nov 2010 20:05:16 +0000 (13:05 -0700)]
Tossing in a basic i18n message export to script code. Plugins can hook 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.

14 years ago* add POT file
Siebrand Mazeland [Tue, 2 Nov 2010 19:49:34 +0000 (20:49 +0100)]
* add POT file
* remove superfluous whitespace
* break lines at 80 or before in README

14 years agoStarting on making Realtime plugin's UI messages localizable: pause/play, popup butto...
Brion Vibber [Tue, 2 Nov 2010 18:39:38 +0000 (11:39 -0700)]
Starting on making Realtime plugin's UI messages localizable: pause/play, popup button text and tooltip text are now loaded from PHP code where we can get at gettext.

14 years agoMerge branch '0.9.x' into twitstream
Brion Vibber [Tue, 2 Nov 2010 18:15:57 +0000 (11:15 -0700)]
Merge branch '0.9.x' into twitstream

14 years agoUpdate translator documentation.
Siebrand Mazeland [Mon, 1 Nov 2010 15:26:23 +0000 (16:26 +0100)]
Update translator documentation.

14 years ago* i18n/L10n updates.
Siebrand Mazeland [Mon, 1 Nov 2010 13:44:37 +0000 (14:44 +0100)]
* i18n/L10n updates.
* translator documentation added.
* superfluous whitespace removed.

14 years agoUpdate translator documentation.
Siebrand Mazeland [Mon, 1 Nov 2010 13:19:37 +0000 (14:19 +0100)]
Update translator documentation.

14 years ago* add translator documentation.
Siebrand Mazeland [Mon, 1 Nov 2010 12:55:24 +0000 (13:55 +0100)]
* add translator documentation.
* i18n FIXME tagging.

14 years agoFix i18n issues that are solved by using plural.
Siebrand Mazeland [Mon, 1 Nov 2010 12:50:24 +0000 (13:50 +0100)]
Fix i18n issues that are solved by using plural.

14 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sat, 30 Oct 2010 23:38:57 +0000 (01:38 +0200)]
Localisation updates from http://translatewiki.net.

14 years agoAdd forgotten translator documentation.
Siebrand Mazeland [Sat, 30 Oct 2010 23:26:39 +0000 (01:26 +0200)]
Add forgotten translator documentation.

14 years ago* translator documentation updated.
Siebrand Mazeland [Sat, 30 Oct 2010 23:16:59 +0000 (01:16 +0200)]
* translator documentation updated.
* superfluous whitespace removed.
* added FIXMEs for missing documentation and un-i18n-able timestamps.

14 years ago* i18n/L10n updates.
Siebrand Mazeland [Sat, 30 Oct 2010 22:58:35 +0000 (00:58 +0200)]
* i18n/L10n updates.
* translator documentation added/updated.
* superfluous whitespace removed.

14 years agoFix i18n for B/kB/MB and add translator documentation.
Siebrand Mazeland [Sat, 30 Oct 2010 22:34:28 +0000 (00:34 +0200)]
Fix i18n for B/kB/MB and add translator documentation.

14 years ago* translator documentation updates.
Siebrand Mazeland [Sat, 30 Oct 2010 12:36:54 +0000 (14:36 +0200)]
* translator documentation updates.
* added FIXMEs in actions/showgroup.php.
* superfluous whitespace removed.

14 years agoTabs to spaces, superfluous whitespace removed.
Siebrand Mazeland [Sat, 30 Oct 2010 11:47:19 +0000 (13:47 +0200)]
Tabs to spaces, superfluous whitespace removed.

14 years agoQuickie script to aid in building release tarballs -- encapsulates the archive-i18n...
Brion Vibber [Fri, 29 Oct 2010 21:34:27 +0000 (14:34 -0700)]
Quickie script to aid in building release tarballs -- encapsulates the archive-i18n gen-changelog gen-retar steps.

14 years agoREADME bump for 0.9.6 final
Brion Vibber [Fri, 29 Oct 2010 21:17:18 +0000 (14:17 -0700)]
README bump for 0.9.6 final

14 years agoWork in progress on twitter import daemon
Brion Vibber [Fri, 29 Oct 2010 21:12:18 +0000 (14:12 -0700)]
Work in progress on twitter import daemon

14 years agoFixups for twitter streaming daemon
Brion Vibber [Fri, 29 Oct 2010 20:41:15 +0000 (13:41 -0700)]
Fixups for twitter streaming daemon

14 years agoWork in progress on site streams-aware TwitterDaemon
Brion Vibber [Fri, 29 Oct 2010 20:18:03 +0000 (13:18 -0700)]
Work in progress on site streams-aware TwitterDaemon

14 years agoTweetInQueueHandler: run incoming tweets through the queues to keep the Twitter strea...
Brion Vibber [Fri, 29 Oct 2010 20:14:12 +0000 (13:14 -0700)]
TweetInQueueHandler: run incoming tweets through the queues to keep the Twitter streaming daemon clear.

14 years agoFix a couple 'continue's from old looping code in Twitter importer (-> return null)
Brion Vibber [Fri, 29 Oct 2010 20:06:32 +0000 (13:06 -0700)]
Fix a couple 'continue's from old looping code in Twitter importer (-> return null)

14 years agoMerge branch '0.9.x' into twitstream
Brion Vibber [Fri, 29 Oct 2010 19:38:57 +0000 (12:38 -0700)]
Merge branch '0.9.x' into twitstream

14 years agoMerge branch 'master' into 0.9.x
Brion Vibber [Fri, 29 Oct 2010 18:22:35 +0000 (11:22 -0700)]
Merge branch 'master' into 0.9.x

14 years agoMerge remote branch 'origin/master' into twitstream
Brion Vibber [Fri, 29 Oct 2010 18:21:19 +0000 (11:21 -0700)]
Merge remote branch 'origin/master' into twitstream

14 years agoMerge remote branch 'gitorious/master'
Evan Prodromou [Fri, 29 Oct 2010 15:14:00 +0000 (11:14 -0400)]
Merge remote branch 'gitorious/master'

14 years agoadd a hack to show ads on single-notice pages
Evan Prodromou [Fri, 29 Oct 2010 15:13:33 +0000 (11:13 -0400)]
add a hack to show ads on single-notice pages

14 years agoWork in progress: starting on new TwitterDaemon using the Site Streams API -- code...
Brion Vibber [Fri, 29 Oct 2010 01:26:48 +0000 (18:26 -0700)]
Work in progress: starting on new TwitterDaemon using the Site Streams API -- code is incomplete, pulling bits from streamtest.php pending a chance to test the actual site-streams mode

14 years agoMerge branch '0.9.x' into twitstream
Brion Vibber [Thu, 28 Oct 2010 23:30:40 +0000 (16:30 -0700)]
Merge branch '0.9.x' into twitstream

14 years agoMerge remote branch 'origin/0.9.x' into 0.9.x
Brion Vibber [Thu, 28 Oct 2010 23:25:28 +0000 (16:25 -0700)]
Merge remote branch 'origin/0.9.x' into 0.9.x

14 years agoLocalisation updates from http://translatewiki.net
Siebrand Mazeland [Thu, 28 Oct 2010 23:21:42 +0000 (01:21 +0200)]
Localisation updates from http://translatewiki.net

14 years agoMerge branch 'master' into 0.9.x
Brion Vibber [Thu, 28 Oct 2010 20:01:10 +0000 (13:01 -0700)]
Merge branch 'master' into 0.9.x

14 years agoKill a ping queue item if we get an error on loading up the notice's poster's profile...
Brion Vibber [Thu, 28 Oct 2010 19:58:30 +0000 (12:58 -0700)]
Kill a ping queue item if we get an error on loading up the notice's poster's profile, rather than letting the item be retried over and over as if it were a transitory error.
This shouldn't generally happen as it's an indicator of database inconsistency, but it's a condition we know happens.

14 years agoFix for regression: fatal error on group page display when not logged in.
Brion Vibber [Thu, 28 Oct 2010 19:19:19 +0000 (12:19 -0700)]
Fix for regression: fatal error on group page display when not logged in.
Bug was introduced with group deletion feature.

14 years agofall back to siteowner on bad nickname (Bug#2861)
Evan Prodromou [Thu, 28 Oct 2010 14:46:57 +0000 (10:46 -0400)]
fall back to siteowner on bad nickname (Bug#2861)

14 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Thu, 28 Oct 2010 00:15:59 +0000 (00:15 +0000)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x

14 years agoTweak for OAuth headers not seen in $_SERVER
Brion Vibber [Thu, 28 Oct 2010 00:14:45 +0000 (00:14 +0000)]
Tweak for OAuth headers not seen in $_SERVER

14 years agoMerge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Siebrand Mazeland [Wed, 27 Oct 2010 23:59:45 +0000 (01:59 +0200)]
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x

14 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Wed, 27 Oct 2010 23:58:43 +0000 (01:58 +0200)]
Localisation updates from http://translatewiki.net.

14 years agoMerge branch 'instrument' into 0.9.x
Brion Vibber [Wed, 27 Oct 2010 23:47:06 +0000 (16:47 -0700)]
Merge branch 'instrument' into 0.9.x

14 years agoApiLogger plugin: dumps some information about API hits to aid in researching future...
Brion Vibber [Wed, 27 Oct 2010 23:30:11 +0000 (16:30 -0700)]
ApiLogger plugin: dumps some information about API hits to aid in 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
  ));

14 years agoUpdate translator documentation.
Siebrand Mazeland [Wed, 27 Oct 2010 23:42:09 +0000 (01:42 +0200)]
Update translator documentation.

14 years agoi18n/L10n updates and superfluous whitespace removed.
Siebrand Mazeland [Wed, 27 Oct 2010 23:35:40 +0000 (01:35 +0200)]
i18n/L10n updates and superfluous whitespace removed.

14 years ago* Superfluous whitespace removed.
Siebrand Mazeland [Wed, 27 Oct 2010 23:23:57 +0000 (01:23 +0200)]
* Superfluous whitespace removed.
* i18n review (no changes needed).

14 years ago* i18n/L10n fixes.
Siebrand Mazeland [Wed, 27 Oct 2010 23:19:04 +0000 (01:19 +0200)]
* i18n/L10n fixes.
* translator documentation updated.
* superfluous whitespace removed.

14 years ago* i18n/L10n fixes.
Siebrand Mazeland [Mon, 25 Oct 2010 21:51:00 +0000 (23:51 +0200)]
* i18n/L10n fixes.
* translator documentation updated.
* superfluous whitespace removed.

14 years agoMerge branch 'nofollowexternallink' into 0.9.x
Evan Prodromou [Wed, 27 Oct 2010 17:53:39 +0000 (13:53 -0400)]
Merge branch 'nofollowexternallink' into 0.9.x

Conflicts:
lib/default.php

14 years agoMerge branch '0.9.x' into twitstream
Brion Vibber [Tue, 26 Oct 2010 22:39:31 +0000 (15:39 -0700)]
Merge branch '0.9.x' into twitstream