]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
14 years agoDisplay scrubbed HTML attachments inline on attachment view page.
Brion Vibber [Wed, 17 Mar 2010 20:58:25 +0000 (13:58 -0700)]
Display scrubbed HTML attachments inline on attachment view page.

14 years agoWhen too-long messages come in via OStatus, mark the attachment link up as a "more...
Brion Vibber [Wed, 17 Mar 2010 19:34:35 +0000 (12:34 -0700)]
When too-long messages come in via OStatus, mark the attachment link up as a "more" link in the HTML output, marked with class="attachment more" so JS code can fold it out smartly. Text output will still include the raw link.

14 years agoMerge branch 'testing' into 0.9.x
Brion Vibber [Wed, 17 Mar 2010 19:15:40 +0000 (12:15 -0700)]
Merge branch 'testing' into 0.9.x

14 years agoMerge branch 'master' into testing
Brion Vibber [Wed, 17 Mar 2010 19:15:12 +0000 (12:15 -0700)]
Merge branch 'master' into testing

14 years agoFix to regression for auto-subscribe - was backwards.
Brion Vibber [Wed, 17 Mar 2010 19:14:19 +0000 (12:14 -0700)]
Fix to regression for auto-subscribe - was backwards.

14 years agoWorkaround for HTTP authentication in the API when running PHP as CGI/FastCGI. Exampl...
Brion Vibber [Wed, 17 Mar 2010 17:52:11 +0000 (10:52 -0700)]
Workaround for HTTP authentication in the API when running PHP as CGI/FastCGI. Example rewrite lines added as comments in htaccess.sample, API tweaked to accept alternate environment var form.

14 years agoWorkaround for HTTP authentication in the API when running PHP as CGI/FastCGI. Exampl...
Brion Vibber [Wed, 17 Mar 2010 17:52:11 +0000 (10:52 -0700)]
Workaround for HTTP authentication in the API when running PHP as CGI/FastCGI. Example rewrite lines added as comments in htaccess.sample, API tweaked to accept alternate environment var form.

14 years agoPulling the stub plugin panel back out; we'll flesh it out more for 1.0.x and see...
Brion Vibber [Wed, 17 Mar 2010 15:55:16 +0000 (08:55 -0700)]
Pulling the stub plugin panel back out; we'll flesh it out more for 1.0.x and see if we can make it easier to disable through the config file for now.

Revert "Stub plugins administration panel, allows for disabling/re-enabling plugins from the default plugins list."

This reverts commit d9a9fd3779c592e3f4e0a8aea8e385ee2183c0b3.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Wed, 17 Mar 2010 14:38:39 +0000 (09:38 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoPull back for now on switch of PEAR error mode to exceptions; seems to trigger out...
Brion Vibber [Tue, 16 Mar 2010 23:23:19 +0000 (16:23 -0700)]
Pull back for now on switch of PEAR error mode to exceptions; seems to trigger out exceptions at various times we don't want them.

For instance this was throwing an exception for DB_DataObject::staticGet when there's no match... definitely not what we want when all our code expects to get a nice null.
Example of this causing trouble: http://gitorious.org/statusnet/mainline/merge_requests/131

Revert "Don't attempt to retrieve the current user from the DB while processing a DB error"

This reverts commit 68347691b0c7fb3f81415abd7fcdc5aec85cc554.

Revert "Use PHP exceptions for PEAR error handling."

This reverts commit d8212977ce7f911d4f9bd6e55f94aea059a86782.

14 years agoPull back for now on switch of PEAR error mode to exceptions; seems to trigger out...
Brion Vibber [Tue, 16 Mar 2010 23:23:19 +0000 (16:23 -0700)]
Pull back for now on switch of PEAR error mode to exceptions; seems to trigger out exceptions at various times we don't want them.

For instance this was throwing an exception for DB_DataObject::staticGet when there's no match... definitely not what we want when all our code expects to get a nice null.
Example of this causing trouble: http://gitorious.org/statusnet/mainline/merge_requests/131

Revert "Don't attempt to retrieve the current user from the DB while processing a DB error"

This reverts commit 68347691b0c7fb3f81415abd7fcdc5aec85cc554.

Revert "Use PHP exceptions for PEAR error handling."

This reverts commit d8212977ce7f911d4f9bd6e55f94aea059a86782.

14 years agoStub plugins administration panel, allows for disabling/re-enabling plugins from...
Brion Vibber [Tue, 16 Mar 2010 21:18:37 +0000 (14:18 -0700)]
Stub plugins administration panel, allows for disabling/re-enabling plugins from the default plugins list.

14 years agoRemoved unnecessary form_id. Using jQuery .find() instead of
Sarven Capadisli [Tue, 16 Mar 2010 20:02:56 +0000 (21:02 +0100)]
Removed unnecessary form_id. Using jQuery .find() instead of
constructing the selector.

14 years agoAdded extra condition to focusing on notice form on page load. If the
Sarven Capadisli [Tue, 16 Mar 2010 19:53:49 +0000 (20:53 +0100)]
Added extra condition to focusing on notice form on page load. If the
window location contains a fragument identifier, it will skip focus
and do what the UA does natively.

14 years agoRemoved dangling stylesheet
Sarven Capadisli [Tue, 16 Mar 2010 18:34:20 +0000 (19:34 +0100)]
Removed dangling stylesheet

14 years agoChange the workflow to get better discovery
Evan Prodromou [Tue, 16 Mar 2010 16:25:18 +0000 (11:25 -0500)]
Change the workflow to get better discovery

Tried to re-structure the workflow of discovery to get more and richer
data and hints.

14 years agoFixed "Warning: syslog() expects parameter 1 to be long, string given"
Jeffery To [Tue, 9 Mar 2010 02:20:48 +0000 (10:20 +0800)]
Fixed "Warning: syslog() expects parameter 1 to be long, string given"

With the FirePHP plugin enabled, I get these warnings in the output
page. This is because the StartLog handler inadvertly modifies the
original (number) priority with the corresponding (string) FirePHP
priority.

14 years agoFixed IE7 prompting the user to download OpenSearch description xml after login ...
Jeffery To [Tue, 16 Mar 2010 09:31:05 +0000 (17:31 +0800)]
Fixed IE7 prompting the user to download OpenSearch description xml after login (for a private site)

Flow:
1. Browser (IE7) is redirected to the login page.
2. Browser reads the page, sees OpenSearch descriptions, tries to
   download them. Each request gets recorded by SN as the page the user
   should be redirected to after logging in (returnto).
3. User logs in, then gets redirected to the returnto action, which is
   an OpenSearch description.

The OpenSearch descriptions aren't sensitive so making them public in a
private site should be okay.

(I recall fixing this in 0.8.x... :-( )

14 years agoThrow an exception if we receive a document instead of a feed's root element
Zach Copley [Tue, 16 Mar 2010 02:06:06 +0000 (19:06 -0700)]
Throw an exception if we receive a document instead of a feed's root element

14 years agoAlways output a site logo via /api/statusnet/config.:format (so client devs have...
Zach Copley [Tue, 16 Mar 2010 01:41:15 +0000 (18:41 -0700)]
Always output a site logo via /api/statusnet/config.:format (so client devs have something to use)

14 years agoBackground deletion of user accounts. Notices are deleted in chunks, then the user...
Brion Vibber [Mon, 15 Mar 2010 22:08:16 +0000 (15:08 -0700)]
Background deletion of user accounts. Notices are deleted in chunks, then the user itself when they're all gone.
While deletion is in progress, the account is locked with the 'deleted' role, which disables all actions with rights control.

Todo:
* Pretty up the notice on the profile page about the pending delete. Show status?
* Possibly more thorough account disabling, such as disallowing all use for login and access.
* Improve error recovery; worst case is that an account gets left locked in 'deleted' state but the queue jobs have gotten dropped out. This would leave the username in use and any undeleted notices in place.

14 years agoDrop result ID from data objects on clone(). This keeps the original object working...
Brion Vibber [Mon, 15 Mar 2010 22:41:57 +0000 (15:41 -0700)]
Drop result ID from data objects on clone(). This keeps the original object working if it was in the middle of a query loop, even if the cloned object falls out of scope and triggers its destructor.
This bug was hitting a number of places where we had the pattern:

$db->find();
while($dbo->fetch()) {
  $x = clone($dbo);
  // do anything with $x other than storing it in an array
}

The cloned object's destructor would trigger on the second run through the loop, freeing the database result set -- not really what we wanted.
(Loops that stored the clones into an array were fine, since the clones stay in scope in the array longer than the original does.)

Detaching the database result from the clone lets us work with its data without interfering with the rest of the query.
In the unlikely even that somebody is making clones in the middle of a query, then trying to continue the query with the clone instead of the original object, well they're gonna be broken now.

14 years agoInitial Twitpic-like media upload endpoint /api/statusnet/media/upload
Zach Copley [Mon, 15 Mar 2010 22:10:32 +0000 (22:10 +0000)]
Initial Twitpic-like media upload endpoint /api/statusnet/media/upload

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Mon, 15 Mar 2010 21:39:14 +0000 (14:39 -0700)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoBlow more timeline caches on notice delete. Fixes paging on public and profile timeli...
Brion Vibber [Mon, 15 Mar 2010 21:19:22 +0000 (14:19 -0700)]
Blow more timeline caches on notice delete. Fixes paging on public and profile timelines after deleting something from the first page.

14 years agoFix feed discovery: html:link@rel can contain multiple values; saw rel="updates alter...
Brion Vibber [Mon, 15 Mar 2010 20:26:42 +0000 (20:26 +0000)]
Fix feed discovery: html:link@rel can contain multiple values; saw rel="updates alternate" in the wild at http://tantek.com/ which broke old discovery code.

14 years agoTicket #2242: fix reading of inline XHTML content in Atom feeds for OStatus input.
Brion Vibber [Mon, 15 Mar 2010 20:21:55 +0000 (20:21 +0000)]
Ticket #2242: fix reading of inline XHTML content in Atom feeds for OStatus input.
Lookup of the <div> needed to check for the XHTML namespace.

14 years agoMerge branch 'testing' into 0.9.x
Brion Vibber [Mon, 15 Mar 2010 19:45:38 +0000 (12:45 -0700)]
Merge branch 'testing' into 0.9.x

14 years agouse canonical user url in xrd
James Walker [Mon, 15 Mar 2010 19:17:31 +0000 (15:17 -0400)]
use canonical user url in xrd

14 years agoConsolidate and patch up redirection to remote notices.
Brion Vibber [Mon, 15 Mar 2010 18:38:37 +0000 (11:38 -0700)]
Consolidate and patch up redirection to remote notices.
Now using the correct order consistently (URL, then URI if http/s), and as a niceness measure skipping the redirect if the only URL we have stored is the local one. (Could happen if remote OStatus feed has tag URIs and no alt link.)

14 years agoAdd scripts/docgen.php to build basic doxygen HTML docs from doc comments, either...
Brion Vibber [Mon, 15 Mar 2010 16:42:25 +0000 (09:42 -0700)]
Add scripts/docgen.php to build basic doxygen HTML docs from doc comments, either for core or a given plugin.
Nothing too fancy yet; style and layout needs some loving!

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Sun, 14 Mar 2010 22:30:19 +0000 (23:30 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoUsing rel=external instead of class=external for jOverlay title link
Sarven Capadisli [Sun, 14 Mar 2010 19:01:24 +0000 (15:01 -0400)]
Using rel=external instead of class=external for jOverlay title link

14 years agoAdded rel=external to geo location link
Sarven Capadisli [Sun, 14 Mar 2010 18:11:21 +0000 (14:11 -0400)]
Added rel=external to geo location link

14 years agoUpdated plugin to open external links on a new window that are not
Sarven Capadisli [Sun, 14 Mar 2010 18:06:14 +0000 (14:06 -0400)]
Updated plugin to open external links on a new window that are not
attachments

14 years agogive preference to rel="photo" (per latest ActivityStreams spec), but still support...
James Walker [Sun, 14 Mar 2010 16:57:24 +0000 (12:57 -0400)]
give preference to rel="photo" (per latest ActivityStreams spec), but still support rel="avatar" for compat

14 years agoPerforming & allowing host-meta discovery by http url (in addition to webfinger acct)
James Walker [Sat, 13 Mar 2010 23:35:00 +0000 (18:35 -0500)]
Performing & allowing host-meta discovery by http url (in addition to webfinger acct)

14 years agoAssigned an identifier for the representative user and group profile
Sarven Capadisli [Sat, 13 Mar 2010 21:48:21 +0000 (16:48 -0500)]
Assigned an identifier for the representative user and group profile

14 years agochanging keypair to text to hold a full 1024bit keypair
James Walker [Sat, 13 Mar 2010 20:46:54 +0000 (15:46 -0500)]
changing keypair to text to hold a full 1024bit keypair

14 years agoThrow a quick button label into ostatus .po file for french to test with
Brion Vibber [Sat, 13 Mar 2010 20:19:07 +0000 (12:19 -0800)]
Throw a quick button label into ostatus .po file for french to test with

14 years agoFix for _m() usage with context in StatusNet main code.
Brion Vibber [Sat, 13 Mar 2010 20:12:06 +0000 (12:12 -0800)]
Fix for _m() usage with context in StatusNet main code.

14 years agoTicket 2239: white space before apostrophe in metadata of status of notice
Brion Vibber [Sat, 13 Mar 2010 19:54:04 +0000 (11:54 -0800)]
Ticket 2239: white space before apostrophe in metadata of status of notice

14 years agoallow profile_url to be used in ostatus:attention
James Walker [Sat, 13 Mar 2010 19:36:51 +0000 (14:36 -0500)]
allow profile_url to be used in ostatus:attention

14 years agoMerge remote branch 'statusnet/testing' into crypt-rsa-switch
James Walker [Sat, 13 Mar 2010 15:51:32 +0000 (10:51 -0500)]
Merge remote branch 'statusnet/testing' into crypt-rsa-switch

14 years ago* wrong param order to in_array
James Walker [Sat, 13 Mar 2010 15:37:08 +0000 (10:37 -0500)]
* wrong param order to in_array
* in getContent() if "type" isn't set, assume text (per atom spec)

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Sat, 13 Mar 2010 12:36:25 +0000 (06:36 -0600)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agocleaning up key generation
James Walker [Sat, 13 Mar 2010 02:44:18 +0000 (21:44 -0500)]
cleaning up key generation

14 years agoconverting key generation to new crypt library
James Walker [Sat, 13 Mar 2010 01:02:00 +0000 (20:02 -0500)]
converting key generation to new crypt library

14 years agoupdating phpseclib to latest cvs - fixes a bunch of key generation issues
James Walker [Sat, 13 Mar 2010 01:01:34 +0000 (20:01 -0500)]
updating phpseclib to latest cvs - fixes a bunch of key generation issues

14 years agoconverted toString to new crypt library
James Walker [Sat, 13 Mar 2010 00:42:48 +0000 (19:42 -0500)]
converted toString to new crypt library

14 years agoconverted sign, verify and fromString to new crypt lib
James Walker [Sat, 13 Mar 2010 00:34:45 +0000 (19:34 -0500)]
converted sign, verify and fromString to new crypt lib

14 years agoAdding Crypt library from http://phpseclib.sourceforge.net/
James Walker [Sat, 13 Mar 2010 00:34:24 +0000 (19:34 -0500)]
Adding Crypt library from http://phpseclib.sourceforge.net/

14 years agoremoving deprecated PEAR Crypt_RSA
James Walker [Fri, 12 Mar 2010 23:50:00 +0000 (18:50 -0500)]
removing deprecated PEAR Crypt_RSA

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Fri, 12 Mar 2010 23:48:53 +0000 (00:48 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoFixes for updating indices, charset/collation and engine type on plugin-created tables.
Brion Vibber [Fri, 12 Mar 2010 19:19:56 +0000 (11:19 -0800)]
Fixes for updating indices, charset/collation and engine type on plugin-created tables.

Under MySQL, new tables will be created as InnoDB with UTF-8 (utf8/utf8_bin) same as core tables.
Existing plugin tables will have table engine and default charset/collation updated, and string columns will have charset updated, at checkschema time.

Switched from 'DESCRIBE' to INFORMATION_SCHEMA for pulling column information in order to get charset. A second hit to INFORMATION_SCHEMA is also needed to get table properties.

Indices were only being created at table creation time, which ain't so hot. Now also adding/dropping indices when they change.

Fixed up some schema defs in OStatus plugin that were a bit flaky, causing extra alter tables to be run.

TODO: Generalize this infrastructure a bit more up to base schema & pg schema classes.

14 years agoOpenID fixes:
Brion Vibber [Fri, 12 Mar 2010 18:07:32 +0000 (10:07 -0800)]
OpenID fixes:
- avoid notice spew when checking sreg items that weren't provided
- fix keys spec for user_openid, clears up problems with removing openid associations
- fix keys spec for user_openid_trustroot

14 years agoMerge commit 'origin/testing' into 0.9.x
Brion Vibber [Fri, 12 Mar 2010 17:41:49 +0000 (09:41 -0800)]
Merge commit 'origin/testing' into 0.9.x

14 years agoMerge commit 'origin/0.9.x' into 0.9.x
Brion Vibber [Fri, 12 Mar 2010 17:41:45 +0000 (09:41 -0800)]
Merge commit 'origin/0.9.x' into 0.9.x

14 years agoPlugin to open up rel="external" links on a new window or tab
Sarven Capadisli [Fri, 12 Mar 2010 16:13:05 +0000 (11:13 -0500)]
Plugin to open up rel="external" links on a new window or tab

14 years agoOutput enclosing geo elements and GeoRSS xmlns in XML timelines
Zach Copley [Fri, 12 Mar 2010 05:39:36 +0000 (05:39 +0000)]
Output enclosing geo elements and GeoRSS xmlns in XML timelines

14 years agoAdd Atom self link to tag timeline
Zach Copley [Fri, 12 Mar 2010 04:08:31 +0000 (04:08 +0000)]
Add Atom self link to tag timeline

14 years agoAdd Atom self link to favorites timeline
Zach Copley [Fri, 12 Mar 2010 03:42:00 +0000 (03:42 +0000)]
Add Atom self link to favorites timeline

14 years ago- Output correct content header for Atom output in mentions timeline
Zach Copley [Fri, 12 Mar 2010 03:27:37 +0000 (03:27 +0000)]
- Output correct content header for Atom output in mentions timeline
- Add self link

14 years agoOutput Atom self link in home timeline
Zach Copley [Fri, 12 Mar 2010 03:15:51 +0000 (03:15 +0000)]
Output Atom self link in home timeline

14 years agoCalculate Atom self link for friends timeline
Zach Copley [Fri, 12 Mar 2010 02:18:53 +0000 (02:18 +0000)]
Calculate Atom self link for friends timeline

14 years agoDon't switch people from the Memcache to Memcached plugin without their knowledge...
Brion Vibber [Fri, 12 Mar 2010 02:10:41 +0000 (18:10 -0800)]
Don't switch people from the Memcache to Memcached plugin without their knowledge when using back-compatibility $config['memcached']['enabled']. Performance characteristics for Memcached version on large-scale sites not tested yet.
New installations should be using addPlugin explicitly.

14 years agoRemove stray whitespace at file start that snuck into last update
Brion Vibber [Fri, 12 Mar 2010 02:07:00 +0000 (18:07 -0800)]
Remove stray whitespace at file start that snuck into last update

14 years agofubared a715271f847fed7d7c725c5b752ea7a00800520a - this is the fix
Craig Andrews [Fri, 12 Mar 2010 02:02:41 +0000 (21:02 -0500)]
fubared a715271f847fed7d7c725c5b752ea7a00800520a - this is the fix

14 years agoFixes for password recovery; lookups for unconfirmed addresses were failing or incons...
Brion Vibber [Fri, 12 Mar 2010 02:01:50 +0000 (18:01 -0800)]
Fixes for password recovery; lookups for unconfirmed addresses were failing or inconsistent (using staticGet with unindexed fields, which would not get decached correctly and could get confused if multiple pending confirmations of different types are around).
Also uses updated email functions to include extra headers and ensure the proper address is used.

14 years ago- Output correct content type header for public timeline Atom feed
Zach Copley [Fri, 12 Mar 2010 02:00:53 +0000 (02:00 +0000)]
- Output correct content type header for public timeline Atom feed
- Also calculate Atom link and self links properly

14 years agoMore generalized method for calculating Atom rel="self" links
Zach Copley [Fri, 12 Mar 2010 01:40:52 +0000 (01:40 +0000)]
More generalized method for calculating Atom rel="self" links

14 years agoreuse Subscription::cancel instead of reimplementing it.
Craig Andrews [Fri, 12 Mar 2010 01:40:25 +0000 (20:40 -0500)]
reuse Subscription::cancel instead of reimplementing it.

I didn't know this method existed before... pretty neat.

14 years agomove image type checking to constructor, so checking will be done in all cases
Craig Andrews [Fri, 12 Mar 2010 01:12:32 +0000 (20:12 -0500)]
move image type checking to constructor, so checking will be done in all cases
check if the relevant image handling function exists when deciding if the image type is supported

14 years agoScrub all atom output with common_xml_safe_str()
Zach Copley [Fri, 12 Mar 2010 01:12:30 +0000 (01:12 +0000)]
Scrub all atom output with common_xml_safe_str()

14 years agoAdd id and updated elements to atom source
Zach Copley [Fri, 12 Mar 2010 00:36:26 +0000 (00:36 +0000)]
Add id and updated elements to atom source

14 years agoGenerator tag should have 'uri' attr not 'url'
Zach Copley [Thu, 11 Mar 2010 23:44:50 +0000 (23:44 +0000)]
Generator tag should have 'uri' attr not 'url'

14 years agoAdd self link to user and group rss2 feeds
Zach Copley [Thu, 11 Mar 2010 23:43:03 +0000 (23:43 +0000)]
Add self link to user and group rss2 feeds

14 years agoOutput self link in rss2 feeds, if available
Zach Copley [Thu, 11 Mar 2010 23:28:41 +0000 (23:28 +0000)]
Output self link in rss2 feeds, if available

14 years ago- Output georss xmlns in rss element
Zach Copley [Thu, 11 Mar 2010 23:05:56 +0000 (23:05 +0000)]
- Output georss xmlns in rss element
- Only output geopoint in rss if one is set

14 years agoA null mimetype is not an enclosure (more likely than not means there was an error)
Craig Andrews [Thu, 11 Mar 2010 22:26:59 +0000 (17:26 -0500)]
A null mimetype is not an enclosure (more likely than not means there was an error)

14 years agofoaf:holdsAccount is deprecated in favour of foaf:account. See
Sarven Capadisli [Thu, 11 Mar 2010 22:16:37 +0000 (17:16 -0500)]
foaf:holdsAccount is deprecated in favour of foaf:account. See
http://lists.foaf-project.org/pipermail/foaf-dev/2009-December/009903.html
for the news. Patch by Toby Inkster <mail@tobyinkster.co.uk>.

14 years agoUpdated theme dates
Sarven Capadisli [Thu, 11 Mar 2010 21:41:40 +0000 (16:41 -0500)]
Updated theme dates

14 years agoFixes the indenting bug for geo anchor. Also mention in trac ticket 2235
Sarven Capadisli [Thu, 11 Mar 2010 21:40:16 +0000 (16:40 -0500)]
Fixes the indenting bug for geo anchor. Also mention in trac ticket 2235

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Thu, 11 Mar 2010 21:39:07 +0000 (16:39 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoAdd forgotten scripts/fixup_files.php to clean up "the h bug"
Brion Vibber [Thu, 11 Mar 2010 19:52:19 +0000 (11:52 -0800)]
Add forgotten scripts/fixup_files.php to clean up "the h bug"

14 years agofix invalid separator in magic-public-key XRD and matching parsing.
James Walker [Thu, 11 Mar 2010 19:32:22 +0000 (14:32 -0500)]
fix invalid separator in magic-public-key XRD and matching parsing.

14 years agoremove hard-coded me:env check in magicenvelope
James Walker [Tue, 9 Mar 2010 23:47:20 +0000 (18:47 -0500)]
remove hard-coded me:env check in magicenvelope

14 years agobase64_encode/decode -> base64_url_encode/decode
James Walker [Tue, 9 Mar 2010 23:12:37 +0000 (18:12 -0500)]
base64_encode/decode -> base64_url_encode/decode

14 years agoDrop timestamp cutoff parameter from User::getCurrentNotice() and Profile::getCurrent...
Brion Vibber [Thu, 11 Mar 2010 19:01:01 +0000 (11:01 -0800)]
Drop timestamp cutoff parameter from User::getCurrentNotice() and Profile::getCurrentNotice().
It's not currently used, and won't be efficient when we update the notice.profile_id_idx index to optimize for our id-based sorting when pulling user post lists for profile pages, feeds etc.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Thu, 11 Mar 2010 01:04:51 +0000 (17:04 -0800)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoOStatus: reject attempts to create a remote profile for a local user or group.
Brion Vibber [Thu, 11 Mar 2010 01:00:05 +0000 (17:00 -0800)]
OStatus: reject attempts to create a remote profile for a local user or group.
Some stray shadow entries were ending up getting created, which would steal group posts from remote users.
Run plugins/OStatus/scripts/fixup-shadow.php for each site to remove any existing ones.

14 years agoWorkaround intermittent bugs with HEAD requests by disabling keepalive in HTTPClient.
Brion Vibber [Wed, 10 Mar 2010 23:08:40 +0000 (15:08 -0800)]
Workaround intermittent bugs with HEAD requests by disabling keepalive in HTTPClient.

I think this is a bug in Youtube's web server (sending chunked encoding of an empty body with a HEAD response, leaving the connection out of sync when it doesn't attempt to read a body) but the HTTP_Request2 library may need to be adjusted to watch out for that.

14 years agoFixup script for files w/ bogus data saved into file record ('h bug')
Brion Vibber [Wed, 10 Mar 2010 22:31:29 +0000 (14:31 -0800)]
Fixup script for files w/ bogus data saved into file record ('h bug')

14 years agoFix for attachment "h bug": posting a shortened link to an oembed-able resource that...
Brion Vibber [Wed, 10 Mar 2010 21:39:42 +0000 (13:39 -0800)]
Fix for attachment "h bug": posting a shortened link to an oembed-able resource that has been previously used in the system would incorrectly save "h" as the item's type and title.

14 years agoAllow site-specific doc files
Zach Copley [Wed, 10 Mar 2010 22:05:28 +0000 (22:05 +0000)]
Allow site-specific doc files

14 years agoAllow site-specific doc files
Zach Copley [Wed, 10 Mar 2010 22:05:28 +0000 (22:05 +0000)]
Allow site-specific doc files

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Wed, 10 Mar 2010 19:57:38 +0000 (11:57 -0800)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Brion Vibber [Wed, 10 Mar 2010 19:56:51 +0000 (11:56 -0800)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing

14 years agoDetect when queuedaemon/xmppdaemon parent processes die and kill the child processes.
Brion Vibber [Wed, 10 Mar 2010 19:54:00 +0000 (11:54 -0800)]
Detect when queuedaemon/xmppdaemon parent processes die and kill the child processes.
Keeps stray daemon subprocesses from floating around when we kill the parents via a signal!

Accomplished by opening a bidirectional pipe in the parent process; the children close out the writer end and keep the reader in their open sockets list. When the parent dies, the children see that the socket's been closed out and can perform an orderly shutdown.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Wed, 10 Mar 2010 19:13:02 +0000 (14:13 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing