Evan Prodromou [Mon, 7 Mar 2011 17:36:45 +0000 (12:36 -0500)]
abstraction for starting and ending a menu
Evan Prodromou [Mon, 7 Mar 2011 17:36:04 +0000 (12:36 -0500)]
remove adminpanelnav from adminpanelaction module
Evan Prodromou [Sun, 6 Mar 2011 22:32:26 +0000 (17:32 -0500)]
submenu headers are <h3> elements
Evan Prodromou [Thu, 3 Mar 2011 03:09:26 +0000 (22:09 -0500)]
no notice form on settings pages
Evan Prodromou [Thu, 3 Mar 2011 03:09:11 +0000 (22:09 -0500)]
move notice form to content block
Evan Prodromou [Tue, 1 Mar 2011 21:48:20 +0000 (16:48 -0500)]
move inbox/outbox to object menu
Evan Prodromou [Tue, 1 Mar 2011 21:37:21 +0000 (16:37 -0500)]
fixup link to your profile
Evan Prodromou [Tue, 1 Mar 2011 21:35:25 +0000 (16:35 -0500)]
don't show full profile menu all the time
Evan Prodromou [Tue, 1 Mar 2011 21:23:19 +0000 (16:23 -0500)]
object menu for user profile
Evan Prodromou [Tue, 1 Mar 2011 21:22:19 +0000 (16:22 -0500)]
object menu on showgroup
Evan Prodromou [Tue, 1 Mar 2011 21:21:22 +0000 (16:21 -0500)]
defaultlocalnav for favorites
Evan Prodromou [Tue, 1 Mar 2011 21:20:14 +0000 (16:20 -0500)]
object menu in inviteaction
Evan Prodromou [Tue, 1 Mar 2011 21:18:33 +0000 (16:18 -0500)]
defaultlocalnav in groups
Evan Prodromou [Tue, 1 Mar 2011 21:17:42 +0000 (16:17 -0500)]
show defaultlocalnav in groupmembers
Evan Prodromou [Tue, 1 Mar 2011 21:17:01 +0000 (16:17 -0500)]
show defaultlocalnav in grouplogo
Evan Prodromou [Tue, 1 Mar 2011 21:15:03 +0000 (16:15 -0500)]
show defaultlocalnav in groupdesignsettings
Evan Prodromou [Tue, 1 Mar 2011 21:11:59 +0000 (16:11 -0500)]
default local nav in featured user list
Evan Prodromou [Tue, 1 Mar 2011 21:11:19 +0000 (16:11 -0500)]
default local nav in popular notices
Evan Prodromou [Tue, 1 Mar 2011 21:10:40 +0000 (16:10 -0500)]
show default local nav in group edit
Evan Prodromou [Tue, 1 Mar 2011 21:09:35 +0000 (16:09 -0500)]
show full local nav in public tag cloud
Evan Prodromou [Tue, 1 Mar 2011 21:08:49 +0000 (16:08 -0500)]
show object nav for blocked users in a group
Evan Prodromou [Tue, 1 Mar 2011 21:07:27 +0000 (16:07 -0500)]
user groups show subgroupnav in object menu area
Evan Prodromou [Tue, 1 Mar 2011 21:06:29 +0000 (16:06 -0500)]
RepliesAction uses default local nav
Evan Prodromou [Tue, 1 Mar 2011 21:04:36 +0000 (16:04 -0500)]
personal group nav uses current user
Evan Prodromou [Tue, 1 Mar 2011 21:00:07 +0000 (16:00 -0500)]
use default local nav for public action
Evan Prodromou [Tue, 1 Mar 2011 20:59:01 +0000 (15:59 -0500)]
use default local nav for allaction
Evan Prodromou [Tue, 1 Mar 2011 20:54:43 +0000 (15:54 -0500)]
search actions show the search menu in object area
Evan Prodromou [Tue, 1 Mar 2011 20:54:32 +0000 (15:54 -0500)]
subscriber actions show the profile menu in object area
Evan Prodromou [Tue, 1 Mar 2011 20:52:46 +0000 (15:52 -0500)]
add object menu to actions, default empty
Evan Prodromou [Tue, 1 Mar 2011 11:30:51 +0000 (06:30 -0500)]
move top-level navigation to default local navigation
Evan Prodromou [Tue, 1 Mar 2011 11:30:27 +0000 (06:30 -0500)]
new mega-menu for default local navigation
Evan Prodromou [Tue, 1 Mar 2011 11:29:24 +0000 (06:29 -0500)]
method to show submenus
Evan Prodromou [Tue, 1 Mar 2011 11:00:03 +0000 (06:00 -0500)]
all nav menus use menu superclass
Evan Prodromou [Tue, 1 Mar 2011 10:51:00 +0000 (05:51 -0500)]
AdminPanelNav has own module, uses Menu
Evan Prodromou [Tue, 1 Mar 2011 10:46:03 +0000 (05:46 -0500)]
primary and secondary nav use menu superclass
Evan Prodromou [Tue, 1 Mar 2011 10:45:38 +0000 (05:45 -0500)]
common superclass for menu widgets
Zach Copley [Tue, 1 Mar 2011 00:41:24 +0000 (16:41 -0800)]
Merge branch '0.9.x' into 1.0.x
Zach Copley [Tue, 1 Mar 2011 00:36:59 +0000 (16:36 -0800)]
Merge commit 'refs/merge-requests/153' of git://gitorious.org/statusnet/mainline into merge-requests/153
Zach Copley [Mon, 28 Feb 2011 23:51:46 +0000 (15:51 -0800)]
Missed a couple of conflicts
Zach Copley [Mon, 28 Feb 2011 23:39:43 +0000 (15:39 -0800)]
Merge branch '0.9.x' into 1.0.x
Conflicts:
actions/confirmaddress.php
actions/emailsettings.php
actions/hostmeta.php
actions/imsettings.php
actions/login.php
actions/profilesettings.php
actions/showgroup.php
actions/smssettings.php
actions/urlsettings.php
actions/userauthorization.php
actions/userdesignsettings.php
classes/Memcached_DataObject.php
index.php
lib/accountsettingsaction.php
lib/action.php
lib/common.php
lib/connectsettingsaction.php
lib/designsettings.php
lib/personalgroupnav.php
lib/profileaction.php
lib/userprofile.php
plugins/ClientSideShorten/ClientSideShortenPlugin.php
plugins/Facebook/FBConnectSettings.php
plugins/Facebook/FacebookPlugin.php
plugins/NewMenu/NewMenuPlugin.php
plugins/NewMenu/newmenu.css
Brion Vibber [Mon, 28 Feb 2011 20:22:21 +0000 (12:22 -0800)]
Switch Twitter bridge settings page to be a ProfileSettingsAction, as ConnectSettingsAction is gone
Brion Vibber [Mon, 28 Feb 2011 19:19:47 +0000 (11:19 -0800)]
Fix for schema_version checksum table when checking schemas before the table's been added. :)
Brion Vibber [Mon, 28 Feb 2011 19:02:38 +0000 (11:02 -0800)]
fix - Notice: Undefined variable: action in /Library/WebServer/Documents/mublog/lib/action.php on line 521
Brion Vibber [Mon, 28 Feb 2011 18:45:53 +0000 (10:45 -0800)]
Merge branch 'extprofile' into 0.9.x
Brion Vibber [Mon, 28 Feb 2011 18:18:18 +0000 (10:18 -0800)]
Merge branch 'master' into 0.9.x
macno [Mon, 28 Feb 2011 10:56:02 +0000 (11:56 +0100)]
API group actions join/leave now handle same events of web UI action
macno [Mon, 28 Feb 2011 10:53:11 +0000 (11:53 +0100)]
If there's a DB error, script returns after catching the exception
Brion Vibber [Fri, 25 Feb 2011 23:46:35 +0000 (15:46 -0800)]
Fix for ticket #2248: flickr etc URLs that contain @ in the paths etc no longer accidentally trip the mailto: thingy
Brion Vibber [Fri, 25 Feb 2011 23:38:24 +0000 (15:38 -0800)]
Test case for ticket #2248: flickr URLs with @ in the path get misinterpreted as mailto
Siebrand Mazeland [Thu, 24 Feb 2011 12:02:11 +0000 (13:02 +0100)]
* add support for Friulian
* move a line around for sorting reasons
Siebrand Mazeland [Thu, 24 Feb 2011 11:52:28 +0000 (12:52 +0100)]
Localisation updates from http://translatewiki.net.
Brion Vibber [Fri, 25 Feb 2011 21:22:13 +0000 (13:22 -0800)]
Workaround for reply timeline since_id issue: save the notice.created value into reply.modified, so we can key off it as expected.
As a hack this removes the mysql_timestamp bit from the field settings on reply.modified so that our value actually gets saved. This *should* work ok as long as system timezone is set correctly, which we now set to UTC to match when connecting.
Evan Prodromou [Fri, 25 Feb 2011 21:18:28 +0000 (13:18 -0800)]
fix layout of form with magic hoohaw
Evan Prodromou [Fri, 25 Feb 2011 20:56:40 +0000 (12:56 -0800)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Fri, 25 Feb 2011 20:56:21 +0000 (12:56 -0800)]
allow access to confirm first for not-logged-in users
Brion Vibber [Fri, 25 Feb 2011 20:24:18 +0000 (12:24 -0800)]
Merge branch 'master' into 0.9.x
Brion Vibber [Fri, 25 Feb 2011 20:24:18 +0000 (12:24 -0800)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Fri, 25 Feb 2011 19:04:57 +0000 (11:04 -0800)]
Scalability work on user backup stream generation.
UserActivityStream -- used to create a full activity stream including subscriptions, favorites, notices, etc -- normally buffers everything into memory at once. This is infeasible for accounts with long histories of serious usage; it can take tens of seconds just to pull all records from the database, and working with them all in memory is very likely to hit resource limits.
This commit adds an alternate mode for this class which avoids pulling notices until during the actual output. Instead of pre-sorting and buffering all the notices, empty spaces between the other activities are filled in with notices as we're making output. This means more smaller queries spread out during operations, and less stuff kept in memory.
Callers (backupaccount action, and backupuser.php) which can stream their output pass an $outputMode param of UserActivityStream::OUTPUT_RAW, and during getString() it'll send straight to output as well as slurping the notices in this extra funky fashion.
Other callers will let it default to the OUTPUT_STRING mode, which keeps the previous behavior.
There should be a better way to do this, swapping out the stringer output for raw output more consitently.
Samantha Doherty [Fri, 25 Feb 2011 18:43:21 +0000 (13:43 -0500)]
Quick fix for popular notices in cleaner theme.
Brion Vibber [Fri, 25 Feb 2011 18:25:13 +0000 (10:25 -0800)]
Test cases for Unicode hashtags
Brion Vibber [Fri, 25 Feb 2011 18:17:03 +0000 (10:17 -0800)]
Merge branch 'unicode-tag' into 0.9.x
Brion Vibber [Fri, 25 Feb 2011 18:16:00 +0000 (10:16 -0800)]
Merge branch 'master' into 0.9.x
Samantha Doherty [Fri, 25 Feb 2011 17:00:55 +0000 (12:00 -0500)]
First revision of new theme, cleaner.
Evan Prodromou [Fri, 25 Feb 2011 16:02:26 +0000 (08:02 -0800)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Fri, 25 Feb 2011 16:01:41 +0000 (08:01 -0800)]
Let users who aren't allowed to login confirm their email separately
Evan Prodromou [Fri, 25 Feb 2011 16:00:55 +0000 (08:00 -0800)]
allow passing an url to email confirmation function
Zach Copley [Fri, 25 Feb 2011 08:15:26 +0000 (00:15 -0800)]
Merge branch 'json-activities' into 0.9.x
Zach Copley [Thu, 24 Feb 2011 22:21:50 +0000 (14:21 -0800)]
Revert "FacebookBridge - Add lots of debug output (revert me)"
This reverts commit
c44a622449757fe13dc30ce120af07aa03ac5dc4.
Zach Copley [Thu, 24 Feb 2011 21:57:21 +0000 (13:57 -0800)]
FacebookBridge - Don't hinder autoloading if the Facebook ID and secret aren't set
Zach Copley [Thu, 24 Feb 2011 21:29:56 +0000 (13:29 -0800)]
FacebookBridge - dequeue messages that aren't bound for Facebook
Zach Copley [Thu, 24 Feb 2011 20:59:37 +0000 (12:59 -0800)]
FacebookBridge - Add lots of debug output (revert me)
Zach Copley [Thu, 24 Feb 2011 20:52:31 +0000 (12:52 -0800)]
FacebookBridge - make a huge fuss if we can't create a valid Facebookclient
Brion Vibber [Thu, 24 Feb 2011 00:37:55 +0000 (16:37 -0800)]
Unicodize a couple regexes for tags: fixes linking & detection of non-ASCII tags that match the current regexes.
(Checks for 'letter' and 'number' characters, underscore, dash, and period.)
Brion Vibber [Thu, 24 Feb 2011 00:32:56 +0000 (16:32 -0800)]
replace router regexes with tags with a fixed chunk that takes any non-/ char. This'll let other code decide what's a valid tag.
Brion Vibber [Tue, 22 Feb 2011 00:18:45 +0000 (16:18 -0800)]
Fix ticket #3057: apply HTML escaping on special characters in Twitter import
Changes the replacement of Twitter "entities" from in-place reverse ordering ('to preserve indices') to a forward-facing append-in-chunks that pulls in both the text and link portions, and escapes them all.
This unfortunately means first *de*-escaping the < and > that Twitter helpfully adds for us.... and any literal &blah;s that get written. This seems to match Twitter's web UI, however horrid it is.
Brion Vibber [Tue, 22 Feb 2011 00:10:07 +0000 (16:10 -0800)]
Partial implementation for ticket #2442: MobileProfile plugin should allow manual switching between regular and mobile rendering modes
http://status.net/open-source/issues/2442
Notes:
* Mapstraction causes JavaScript errors in XHTML mode, breaking our code if we're run later so the link doesn't work to get back to Desktop.
* not 100% sure how safe feature detection is here?
* Currently will be useless but visible links if no JS available; need to fall back to server-side for limited browsers
Brion Vibber [Mon, 21 Feb 2011 23:52:12 +0000 (15:52 -0800)]
Ticket #3011: Add attachments/uploads and attachments/file_quota to api/statusnet/config.(xml|json)
file_quota is adjusted from the defined value to take into account the maximum upload size limits in PHP, or cropped to 0 if uploads are disabled.
This can be used by client apps to determine maximum size for an attachment.
Brion Vibber [Mon, 21 Feb 2011 23:01:57 +0000 (15:01 -0800)]
Fix ticket #3001: Twitter bridge was replacing original form of @-mentions with canonical form unexpectedly
Now using the original text form of @-mentions and #-tags, as in Twitter's own HTMLification.
Canonical forms are still used in generating links, where it's polite to match the canonical form.
Brion Vibber [Mon, 21 Feb 2011 22:14:32 +0000 (14:14 -0800)]
Fix issue #3035: search highlighting broke URLs in some imported messages (Twitter)
Search highlighting was being done with a regex on raw HTML text, followed by a second regex undoing replacements within double-quoted attribute values.
This broke on imported Twitter messages, as the way we generate the markup uses single quotes on the attributes, which didn't get matched by the second regex.
I've replaced this do-then-undo cycle by dividing up the import HTML into freetext spans and tags; the freetext gets replaced, while the tags are left untouched.
Evan Prodromou [Mon, 21 Feb 2011 21:36:12 +0000 (16:36 -0500)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Mon, 21 Feb 2011 21:20:10 +0000 (16:20 -0500)]
disallow login for users without validated email
Brion Vibber [Mon, 21 Feb 2011 20:33:47 +0000 (12:33 -0800)]
Merge branch 'master' into 0.9.x
Brion Vibber [Mon, 21 Feb 2011 19:42:32 +0000 (11:42 -0800)]
Fixes for ticket #3052: some commands started triggering when extra text is supposed to suppress them
Regressions caused by bad refactoring in commit
21feac3bea72b0ecd88a3.
Test cases in tests/CommandInterpreterTest.php were made against the pre-refactoring code, and now check out with the fixed code.
Failures were caused by not changing logic structure when moving from multiple exit points (each if point would return directly with a null or an object) to setting a result variable and then falling through to a common exit point. Without the if statements being restructured, the result variable would just get overridden by the next case.
Brion Vibber [Mon, 21 Feb 2011 20:09:54 +0000 (12:09 -0800)]
CommandInterpreter test cases to guard against regressions
Brion Vibber [Mon, 21 Feb 2011 19:23:07 +0000 (11:23 -0800)]
Issue #3049 - resync doc/im with the help command text (various additions since doc was last edited)
Evan Prodromou [Mon, 21 Feb 2011 18:17:51 +0000 (13:17 -0500)]
Merge branch '0.9.x' into reqemailprivate
Evan Prodromou [Mon, 21 Feb 2011 15:20:42 +0000 (10:20 -0500)]
Extend authorization framework to cover login and API use
I've extended the rights framework (centering on the Right class and Profile::hasRight()) to cover
Web login and API use. This will make it possible to prevent login and API use by users.
I added two new Right constants to the Right class: WEBLOGIN and API. I check these rights using
Profile::hasRight() when initializing users. If the rights check fails, I throw an exception.
I created a new AuthorizationException class for this particular
exception, in order to allow a different UI for these kinds of exceptions (or whatever).
Zach Copley [Sat, 19 Feb 2011 02:52:49 +0000 (18:52 -0800)]
Activity Streams JSON: inReplyTo objects weren't being output. Fixed.
Zach Copley [Sat, 19 Feb 2011 02:10:21 +0000 (18:10 -0800)]
Add provider to Activity Streams JSON
Zach Copley [Fri, 18 Feb 2011 23:45:11 +0000 (15:45 -0800)]
Merge branch '0.9.x' into json-activities
* 0.9.x:
HTML and style cleanup for EmailSummary plugin.
Zach Copley [Fri, 18 Feb 2011 23:43:40 +0000 (15:43 -0800)]
Make other timeline API endpoints output Activity Streams JSON
Samantha Doherty [Fri, 18 Feb 2011 18:49:29 +0000 (13:49 -0500)]
HTML and style cleanup for EmailSummary plugin.
Zach Copley [Fri, 18 Feb 2011 18:02:41 +0000 (10:02 -0800)]
Activity Streams JSON - express to and in-reply-to stuff as person objects
Zach Copley [Fri, 18 Feb 2011 17:29:49 +0000 (09:29 -0800)]
Add tags to Activity Streams JSON
Zach Copley [Fri, 18 Feb 2011 08:51:08 +0000 (00:51 -0800)]
Add context to Activity Streams JSON
Zach Copley [Fri, 18 Feb 2011 06:36:14 +0000 (22:36 -0800)]
Add PoCo to Activity Streams JSON
Zach Copley [Fri, 18 Feb 2011 04:12:28 +0000 (20:12 -0800)]
Add geopoint (GeoJSON) extension to AS JSON output
Zach Copley [Fri, 18 Feb 2011 03:34:39 +0000 (19:34 -0800)]
avatars -> avatarLinks
Zach Copley [Fri, 18 Feb 2011 03:11:29 +0000 (19:11 -0800)]
Merge branch '0.9.x' into json-activities
* 0.9.x:
* update translator documentation. * remove superfluous whitespace. * tab to spaces. * add FIXME for undocumented class.
* update translator documentation. * remove superfluous whitespace. * L10n updates. * small refactoring in publicrss.php. * remove PHP4-isms
Localisation updates from http://translatewiki.net.
Double quotes to single quotes.
* improve L10n consistency for English. For example proper punctuation for all button and label titles. * fix some i18n bugs (in-message variables). * update/add translator documentation. * remove superfluous whitespace.
add path separators for Plugin::path()
argument to send email summary to all users on all sites
fix indentation in siteemailsummaryhandler
fix indentation in sendemailsummary.php
fix indentation in Email_summary_status.php
fix indentation in EmailSummaryPlugin.php
fix indentation in usermailsummaryhandler.php
Zach Copley [Fri, 18 Feb 2011 03:02:57 +0000 (19:02 -0800)]
Reinstate profile_info in author/actor