]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
13 years agoReusable notice form fixes for geolocation
Brion Vibber [Fri, 4 Mar 2011 22:27:55 +0000 (14:27 -0800)]
Reusable notice form fixes for geolocation

13 years agoLoading the original form instead of faking up our own. Sorta works but not pretty :D
Brion Vibber [Fri, 4 Mar 2011 22:11:11 +0000 (14:11 -0800)]
Loading the original form instead of faking up our own. Sorta works but not pretty :D

13 years agoKill some more hardcoded ids...
Brion Vibber [Fri, 4 Mar 2011 21:53:41 +0000 (13:53 -0800)]
Kill some more hardcoded ids...

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Brion Vibber [Fri, 4 Mar 2011 21:41:01 +0000 (13:41 -0800)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

13 years agoMore hardcoded id cleanup in notice form...
Brion Vibber [Fri, 4 Mar 2011 21:40:33 +0000 (13:40 -0800)]
More hardcoded id cleanup in notice form...

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Fri, 4 Mar 2011 21:31:58 +0000 (16:31 -0500)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

13 years ago'link' to 'links' in feed document
Evan Prodromou [Fri, 4 Mar 2011 21:09:59 +0000 (16:09 -0500)]
'link' to 'links' in feed document

13 years agoMoving bit by bit more towards reusable forms... per-form-izing some of the location...
Brion Vibber [Fri, 4 Mar 2011 01:58:35 +0000 (17:58 -0800)]
Moving bit by bit more towards reusable forms... per-form-izing some of the location setup (not all yet)

13 years agoRemove hardcoded #notice_action-submit from JS/CSS (prep for reusable notice forms)
Brion Vibber [Fri, 4 Mar 2011 01:48:16 +0000 (17:48 -0800)]
Remove hardcoded #notice_action-submit from JS/CSS (prep for reusable notice forms)

13 years agoPulling out some more #-references to per-form items
Brion Vibber [Fri, 4 Mar 2011 01:39:37 +0000 (17:39 -0800)]
Pulling out some more #-references to per-form items

13 years agoNotice form cleanup: removing hardcoded id from counter references; prep for reusable...
Brion Vibber [Fri, 4 Mar 2011 01:15:17 +0000 (17:15 -0800)]
Notice form cleanup: removing hardcoded id from counter references; prep for reusable notice forms.

13 years agoNotice form cleanup: drop use of id for #notice_data-text (prep for reusable notice...
Brion Vibber [Fri, 4 Mar 2011 01:05:19 +0000 (17:05 -0800)]
Notice form cleanup: drop use of id for #notice_data-text (prep for reusable notice form)

13 years agoNotice form cleanup: removing hardcoded IDs from attachment handling (prep for reusab...
Brion Vibber [Fri, 4 Mar 2011 00:56:54 +0000 (16:56 -0800)]
Notice form cleanup: removing hardcoded IDs from attachment handling (prep for reusable notice forms)

13 years agoCan now set $config['site']['minify'] = false; to use util.js and friends non-minifie...
Brion Vibber [Fri, 4 Mar 2011 00:53:16 +0000 (16:53 -0800)]
Can now set $config['site']['minify'] = false; to use util.js and friends non-minified; aids in browser-side debugging.

13 years agoDrop auto-focusing of the notice form.
Brion Vibber [Fri, 4 Mar 2011 00:15:28 +0000 (16:15 -0800)]
Drop auto-focusing of the notice form.

13 years agoKill 'hit return to send'...
Brion Vibber [Fri, 4 Mar 2011 00:14:36 +0000 (16:14 -0800)]
Kill 'hit return to send'...

13 years agoRework geolocation status display so you can actually tell what it's doing and whethe...
Brion Vibber [Thu, 3 Mar 2011 23:21:27 +0000 (15:21 -0800)]
Rework geolocation status display so you can actually tell what it's doing and whether a location will be posted.

Goes in along with the file attachment info, below the notice box. Still needs to be generalized to work with multiple forms.

13 years ago'Comment' -> 'Reply' in inline comment/reply messages
Brion Vibber [Thu, 3 Mar 2011 20:26:07 +0000 (12:26 -0800)]
'Comment' -> 'Reply' in inline comment/reply messages

13 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Thu, 3 Mar 2011 17:39:12 +0000 (18:39 +0100)]
Localisation updates from http://translatewiki.net.
* Fix previous commit. Pot files were built against master instead of 1.0.x.

13 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Thu, 3 Mar 2011 17:21:17 +0000 (18:21 +0100)]
Localisation updates from http://translatewiki.net.

Looks like some documentation patches from 0.9.x didn't make it into 1.0.x (see statusnet.pot diff). Have to check with Brion what went wrong there.

13 years agoUpdate translator documentation.
Siebrand Mazeland [Thu, 3 Mar 2011 00:42:54 +0000 (01:42 +0100)]
Update translator documentation.

13 years agoMore fixes for 'fav' IM command: don't die with a fatal error if the notice has alrea...
Brion Vibber [Wed, 2 Mar 2011 01:09:41 +0000 (17:09 -0800)]
More fixes for 'fav' IM command: don't die with a fatal error if the notice has already been favored, and don't spew a warning when checking for user ID match.

13 years agoWorkaround for bug causing fatal error during favoriting; Profile::getCurrentNotice...
Brion Vibber [Wed, 2 Mar 2011 01:01:35 +0000 (17:01 -0800)]
Workaround for bug causing fatal error during favoriting; Profile::getCurrentNotice() was returning an ArrayList instead of a Notice directly due to pulling through Profile::getNotices(). This caused failure in Fave::addNew() which specifies it wants a Notice. Caused failure of the 'fav' IM command.

13 years agoUse threaded replies in group inbox view
Brion Vibber [Wed, 2 Mar 2011 00:29:11 +0000 (16:29 -0800)]
Use threaded replies in group inbox view

13 years agoFix for realtime vs threaded reply fix
Brion Vibber [Wed, 2 Mar 2011 00:29:00 +0000 (16:29 -0800)]
Fix for realtime vs threaded reply fix

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Brion Vibber [Wed, 2 Mar 2011 00:18:24 +0000 (16:18 -0800)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

13 years agoClean up threaded notices vs replies classes, and fixed realtime's threaded behavior...
Brion Vibber [Wed, 2 Mar 2011 00:08:37 +0000 (16:08 -0800)]
Clean up threaded notices vs replies classes, and fixed realtime's threaded behavior to only run on threaded lists

13 years agoInline reply work for threaded lists in realtime
Brion Vibber [Wed, 2 Mar 2011 00:04:11 +0000 (16:04 -0800)]
Inline reply work for threaded lists in realtime

13 years agoPartial update of Realtime for threaded view; can now place replies into the proper...
Brion Vibber [Tue, 1 Mar 2011 23:45:44 +0000 (15:45 -0800)]
Partial update of Realtime for threaded view; can now place replies into the proper subtimeline if it's already present, but not if it wasn't shown yet.

13 years agoMakefile for Realtime's min.js
Brion Vibber [Tue, 1 Mar 2011 23:33:10 +0000 (15:33 -0800)]
Makefile for Realtime's min.js

13 years agoFix mising require_once (now required here because of rearranging)
Zach Copley [Tue, 1 Mar 2011 23:31:06 +0000 (15:31 -0800)]
Fix mising require_once (now required here because of rearranging)

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Zach Copley [Tue, 1 Mar 2011 23:26:02 +0000 (15:26 -0800)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

13 years agoFix missing variable initialization
Zach Copley [Tue, 1 Mar 2011 23:25:06 +0000 (15:25 -0800)]
Fix missing variable initialization

13 years agoFix for timeline insert on primary AJAX post: only insert on the first, primary timel...
Brion Vibber [Tue, 1 Mar 2011 23:24:44 +0000 (15:24 -0800)]
Fix for timeline insert on primary AJAX post: only insert on the first, primary timeline. Don't insert on sub-timelines for replies!

13 years agoAlternate Inbox streaming function optimized for threaded paging (for /all stream...
Brion Vibber [Tue, 1 Mar 2011 23:16:39 +0000 (15:16 -0800)]
Alternate Inbox streaming function optimized for threaded paging (for /all stream, while things using the existing API inbox methods won't be affected)

13 years agoWhen canceling out of inline reply field and there are no other replies, drop the...
Brion Vibber [Tue, 1 Mar 2011 22:26:11 +0000 (14:26 -0800)]
When canceling out of inline reply field and there are no other replies, drop the section

13 years agoInline replies: drop the box if tabbing out and no text
Brion Vibber [Tue, 1 Mar 2011 22:24:06 +0000 (14:24 -0800)]
Inline replies: drop the box if tabbing out and no text

13 years agoInline replies: fix replies on repeats, placeholder re-add when replying to a reply
Brion Vibber [Tue, 1 Mar 2011 21:49:13 +0000 (13:49 -0800)]
Inline replies: fix replies on repeats, placeholder re-add when replying to a reply

13 years agoHide context entries in threaded lists; it's redundant (and if there's more than...
Brion Vibber [Tue, 1 Mar 2011 21:30:38 +0000 (13:30 -0800)]
Hide context entries in threaded lists; it's redundant (and if there's more than a few messages, we have the context link still :D)
Also hides them via CSS for new ajax additions

13 years agoCut repeats out of the magic handling
Brion Vibber [Tue, 1 Mar 2011 01:23:01 +0000 (17:23 -0800)]
Cut repeats out of the magic handling

13 years agoCollapse long threaded displays with a link to the convo view (todo: turn it into...
Brion Vibber [Tue, 1 Mar 2011 01:13:54 +0000 (17:13 -0800)]
Collapse long threaded displays with a link to the convo view (todo: turn it into an ajax loader for inline expansion)

13 years agoMerge branch '1.0.x' into inline-comments
Brion Vibber [Tue, 1 Mar 2011 00:48:05 +0000 (16:48 -0800)]
Merge branch '1.0.x' into inline-comments

13 years agoMerge branch '0.9.x' into 1.0.x
Zach Copley [Tue, 1 Mar 2011 00:41:24 +0000 (16:41 -0800)]
Merge branch '0.9.x' into 1.0.x

13 years agoInline replies now do ajaxy submit. Neat! Not 100% perfect though
Brion Vibber [Tue, 1 Mar 2011 00:38:44 +0000 (16:38 -0800)]
Inline replies now do ajaxy submit. Neat! Not 100% perfect though

13 years agoMerge commit 'refs/merge-requests/153' of git://gitorious.org/statusnet/mainline...
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

13 years agoavoid hardcoding action & session token; pull them from the main posting form for now
Brion Vibber [Tue, 1 Mar 2011 00:24:51 +0000 (16:24 -0800)]
avoid hardcoding action & session token; pull them from the main posting form for now

13 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into inline-comments
Brion Vibber [Tue, 1 Mar 2011 00:18:38 +0000 (16:18 -0800)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into inline-comments

Conflicts:
js/util.min.js

13 years agoMore interactive magic for inline replies: placeholder at the end of list
Brion Vibber [Tue, 1 Mar 2011 00:13:16 +0000 (16:13 -0800)]
More interactive magic for inline replies: placeholder at the end of list

13 years agoMissed a couple of conflicts
Zach Copley [Mon, 28 Feb 2011 23:51:46 +0000 (15:51 -0800)]
Missed a couple of conflicts

13 years agoPaging fix for threaded notice lists
Brion Vibber [Mon, 28 Feb 2011 23:40:43 +0000 (15:40 -0800)]
Paging fix for threaded notice lists

13 years agoMerge branch '0.9.x' into 1.0.x
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

13 years agoWork in progress: setting up inline reply mini-form in js
Brion Vibber [Mon, 28 Feb 2011 23:38:54 +0000 (15:38 -0800)]
Work in progress: setting up inline reply mini-form in js

13 years agosome quick visual tweaks
Brion Vibber [Mon, 28 Feb 2011 20:50:26 +0000 (12:50 -0800)]
some quick visual tweaks

13 years agoquickie inline reply posting form
Brion Vibber [Mon, 28 Feb 2011 20:41:03 +0000 (12:41 -0800)]
quickie inline reply posting form

13 years agoMerge branch '1.0.x' into inline-comments
Brion Vibber [Mon, 28 Feb 2011 20:25:42 +0000 (12:25 -0800)]
Merge branch '1.0.x' into inline-comments

13 years agoSwitch Twitter bridge settings page to be a ProfileSettingsAction, as ConnectSettings...
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

13 years agovisual tweaks for convo view
Brion Vibber [Mon, 28 Feb 2011 20:20:47 +0000 (12:20 -0800)]
visual tweaks for convo view

13 years agoquick hack -- switch order on inline convo view (comments in forward chron)
Brion Vibber [Mon, 28 Feb 2011 19:59:37 +0000 (11:59 -0800)]
quick hack -- switch order on inline convo view (comments in forward chron)

13 years agoInitial test threaded convo view inline on public, all timelines
Brion Vibber [Mon, 28 Feb 2011 19:53:48 +0000 (11:53 -0800)]
Initial test threaded convo view inline on public, all timelines

13 years agoFix for schema_version checksum table when checking schemas before the table's been...
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. :)

13 years agofix - Notice: Undefined variable: action in /Library/WebServer/Documents/mublog/lib...
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

13 years agoMerge branch 'extprofile' into 0.9.x
Brion Vibber [Mon, 28 Feb 2011 18:45:53 +0000 (10:45 -0800)]
Merge branch 'extprofile' into 0.9.x

13 years agoMerge branch 'master' into 0.9.x
Brion Vibber [Mon, 28 Feb 2011 18:18:18 +0000 (10:18 -0800)]
Merge branch 'master' into 0.9.x

13 years agoAPI group actions join/leave now handle same events of web UI action
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

13 years agoIf there's a DB error, script returns after catching the exception
macno [Mon, 28 Feb 2011 10:53:11 +0000 (11:53 +0100)]
If there's a DB error, script returns after catching the exception

13 years agoFix for ticket #2248: flickr etc URLs that contain @ in the paths etc no longer accid...
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

13 years agoTest case for ticket #2248: flickr URLs with @ in the path get misinterpreted as...
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

13 years ago* add support for Friulian
Siebrand Mazeland [Thu, 24 Feb 2011 12:02:11 +0000 (13:02 +0100)]
* add support for Friulian
* move a line around for sorting reasons

13 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Thu, 24 Feb 2011 11:52:28 +0000 (12:52 +0100)]
Localisation updates from http://translatewiki.net.

13 years agoWorkaround for reply timeline since_id issue: save the notice.created value into...
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.

13 years agofix layout of form with magic hoohaw
Evan Prodromou [Fri, 25 Feb 2011 21:18:28 +0000 (13:18 -0800)]
fix layout of form with magic hoohaw

13 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
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

13 years agoallow access to confirm first for not-logged-in users
Evan Prodromou [Fri, 25 Feb 2011 20:56:21 +0000 (12:56 -0800)]
allow access to confirm first for not-logged-in users

13 years agoMerge branch 'master' into 0.9.x
Brion Vibber [Fri, 25 Feb 2011 20:24:18 +0000 (12:24 -0800)]
Merge branch 'master' into 0.9.x

13 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline 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

13 years agoScalability work on user backup stream generation.
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.

13 years agoQuick fix for popular notices in cleaner theme.
Samantha Doherty [Fri, 25 Feb 2011 18:43:21 +0000 (13:43 -0500)]
Quick fix for popular notices in cleaner theme.

13 years agoTest cases for Unicode hashtags
Brion Vibber [Fri, 25 Feb 2011 18:25:13 +0000 (10:25 -0800)]
Test cases for Unicode hashtags

13 years agoMerge branch 'unicode-tag' into 0.9.x
Brion Vibber [Fri, 25 Feb 2011 18:17:03 +0000 (10:17 -0800)]
Merge branch 'unicode-tag' into 0.9.x

13 years agoMerge branch 'master' into 0.9.x
Brion Vibber [Fri, 25 Feb 2011 18:16:00 +0000 (10:16 -0800)]
Merge branch 'master' into 0.9.x

13 years agoFirst revision of new theme, cleaner.
Samantha Doherty [Fri, 25 Feb 2011 17:00:55 +0000 (12:00 -0500)]
First revision of new theme, cleaner.

13 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
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

13 years agoLet users who aren't allowed to login confirm their email separately
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

13 years agoallow passing an url to email confirmation function
Evan Prodromou [Fri, 25 Feb 2011 16:00:55 +0000 (08:00 -0800)]
allow passing an url to email confirmation function

13 years agoMerge branch 'json-activities' into 0.9.x
Zach Copley [Fri, 25 Feb 2011 08:15:26 +0000 (00:15 -0800)]
Merge branch 'json-activities' into 0.9.x

13 years agoRevert "FacebookBridge - Add lots of debug output (revert me)"
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.

13 years agoFacebookBridge - Don't hinder autoloading if the Facebook ID and secret aren't set
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

13 years agoFacebookBridge - dequeue messages that aren't bound for Facebook
Zach Copley [Thu, 24 Feb 2011 21:29:56 +0000 (13:29 -0800)]
FacebookBridge - dequeue messages that aren't bound for Facebook

13 years agoFacebookBridge - Add lots of debug output (revert me)
Zach Copley [Thu, 24 Feb 2011 20:59:37 +0000 (12:59 -0800)]
FacebookBridge - Add lots of debug output (revert me)

13 years agoFacebookBridge - make a huge fuss if we can't create a valid Facebookclient
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

13 years agoUnicodize a couple regexes for tags: fixes linking & detection of non-ASCII tags...
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.)

13 years agoreplace router regexes with tags with a fixed chunk that takes any non-/ char. This...
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.

13 years agoFix ticket #3057: apply HTML escaping on special characters in Twitter import
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.

13 years agoPartial implementation for ticket #2442: MobileProfile plugin should allow manual...
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

13 years agoTicket #3011: Add attachments/uploads and attachments/file_quota to api/statusnet...
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.

13 years agoFix ticket #3001: Twitter bridge was replacing original form of @-mentions with canon...
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.

13 years agoFix issue #3035: search highlighting broke URLs in some imported messages (Twitter)
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.

13 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
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

13 years agodisallow login for users without validated email
Evan Prodromou [Mon, 21 Feb 2011 21:20:10 +0000 (16:20 -0500)]
disallow login for users without validated email

13 years agoMerge branch 'master' into 0.9.x
Brion Vibber [Mon, 21 Feb 2011 20:33:47 +0000 (12:33 -0800)]
Merge branch 'master' into 0.9.x