Commit Graph

9567 Commits

Author SHA1 Message Date
Brion Vibber
5f5d9518bd Avoid spewing giant debug backtrace into exception in certain OStatus subscription failure cases.
The code pattern 'new XXXException($e)' to chain exceptions doesn't actually work as intended, as exceptions are actually expecting a string message here.
This caused an implicit string conversion from HTTP_Request2_Exception, which is a PEAR_Exception, which defines an absurdly detailed __toString() method including a giant HTML table with a backtrace if you happen to be on a web request.
Simply passing $e->getMessage() instead clears this up, as we'll get the nice short message like 'Couldn't connect to tcp://blahblah:80'
2010-05-04 17:11:43 -07:00
Zach Copley
9d2c3d45bc Add Emacs Identica-mode to notice sources 2010-05-04 12:31:55 -07:00
Brion Vibber
67eeaa9cf4 Pull localization updates from 0.9.x branch 2010-05-03 12:27:44 -07:00
Zach Copley
940a8c2c1e Updated README to include one-liner about fixed installer in the noteable changes section 2010-05-03 12:02:50 -07:00
Evan Prodromou
8a2144aeed Merge branch 'master' of gitorious.org:statusnet/mainline 2010-05-03 14:54:54 -04:00
Brion Vibber
c2f620ed67 Update release date 2010-05-03 11:46:01 -07:00
Evan Prodromou
ac424d943e Merge branch 'master' of gitorious.org:statusnet/mainline 2010-05-02 17:20:06 -04:00
Brion Vibber
df4462611c Revert "Update PEAR::Mail to 1.2.0 release; fixes deprecation warnings running under PHP 5.3."
This reverts commit 9fd02a4f11.

Looks like there's some changes I missed in there and getting this in'll involve updating some other packages. Will poke it after 0.9.2.
2010-05-01 09:51:25 -07:00
Evan Prodromou
28fe1c2f3c Merge branch 'master' of gitorious.org:statusnet/mainline 2010-05-01 10:47:30 -04:00
Brion Vibber
9fd02a4f11 Update PEAR::Mail to 1.2.0 release; fixes deprecation warnings running under PHP 5.3. 2010-04-30 13:47:46 -07:00
Brion Vibber
a39efbd8d8 Update XMPPHP to last upstream release (r77), includes an XML quoting fix. 2010-04-30 13:37:40 -07:00
Evan Prodromou
3f2c805652 Merge branch 'master' of gitorious.org:statusnet/mainline 2010-04-30 15:00:55 -04:00
Brion Vibber
ecfe6b8944 Update codename in common.php 2010-04-29 16:08:20 -07:00
Zachary Copley
a5761dd814 Update release notes and version number for 0.9.2 2010-04-29 16:06:04 -07:00
Brion Vibber
ae2986527c Pull localization updates from 0.9.x 2010-04-29 15:52:10 -07:00
Brion Vibber
50d5f5e04c Merge branch 'master' into testing 2010-04-29 15:12:02 -07:00
Brion Vibber
cb5d6d5c30 Fix charset setting for plugin localizations; default setting was blanking out non-ASCII chars. Needed for eg Bulgarian translation of Facebook plugin, was previously showing all as ???s. Now works yay! 2010-04-28 23:06:08 +00:00
Evan Prodromou
5a9ff7c575 note that sitemap actions are readonly 2010-04-28 18:41:28 -04:00
Evan Prodromou
f3f652e451 add sitemap statement to robots.txt 2010-04-28 18:41:28 -04:00
Evan Prodromou
09e5046dd3 cache notice and user counts in sitemap index 2010-04-28 18:41:28 -04:00
Evan Prodromou
da8b231d2e make sure notice and user sitemap are 'in' top level directory 2010-04-28 18:41:28 -04:00
Evan Prodromou
c6d9001db5 cache user data for user sitemap 2010-04-28 18:41:28 -04:00
Evan Prodromou
1030bf35db cache results of notice sitemap query 2010-04-28 18:41:27 -04:00
Evan Prodromou
9d69906d6b use an array for notice sitemap 2010-04-28 18:41:27 -04:00
Evan Prodromou
b919f83797 max users, notices per sitemap = 50K 2010-04-28 18:41:27 -04:00
Evan Prodromou
a18115bec9 show sitemapindex with user and notice sitemaps 2010-04-28 18:41:27 -04:00
Evan Prodromou
9970645aa2 Move NOTICES_PER_MAP to SitemapPlugin 2010-04-28 18:41:27 -04:00
Evan Prodromou
a4f0dfd3a1 bundle users by reg date 2010-04-28 18:41:27 -04:00
Evan Prodromou
1c40e7c139 better calculation for end date in notice sitemaps 2010-04-28 18:41:27 -04:00
Evan Prodromou
816138a6f1 Start of an action for sitemap index 2010-04-28 18:41:27 -04:00
Evan Prodromou
8957d2bdea change URLs for user sitemap 2010-04-28 18:41:27 -04:00
Evan Prodromou
8e2766957b move USERS_PER_MAP to plugin 2010-04-28 18:41:27 -04:00
Evan Prodromou
e7e5092641 correct element name and namespace for sitemapactions 2010-04-28 18:41:27 -04:00
Evan Prodromou
cf7dd2a6af better query for notices by date 2010-04-28 18:41:27 -04:00
Evan Prodromou
3a9fdb7647 Add a Notice sitemap 2010-04-28 18:41:27 -04:00
Evan Prodromou
4973d6a288 user sitemap 2010-04-28 18:41:27 -04:00
Brion Vibber
f5c82d9d60 add rsd to the list of login actions
Allows rsd.xml to be reached on private sites. Fixes http://status.net/trac/ticket/2309

Conflicts:

	index.php
2010-04-28 11:05:31 -07:00
Evan Prodromou
50bfa21814 Merge branch 'master' of gitorious.org:statusnet/mainline 2010-04-26 02:53:24 -04:00
Brion Vibber
8fd0059bf6 Test cases and fixes for Atom and RSS content decoding.
Fix extraction of Atom <content type="text"> and <content type="html">; we were failing to escape plaintext source data to HTML, and doing an extraneous double-deescape on HTML source resulting in breakage of notices containing text that looks like HTML. Only <content type="xhtml"> was working correctly previously.
Fixes for RSS2 content processing: we were failing to load <content:encoded> at all due to using wrong element name, and were applying an extraneous de-escape for <description> rather than the escaping that is required to turn plaintext into HTML. (Per spec, <description> must be plaintext.)
2010-04-23 15:40:48 -07:00
Brion Vibber
dd7b95c2cf Merge branch 'master' into testing 2010-04-23 14:26:57 -07:00
Brion Vibber
9c8052e755 Rerun feed discovery and update the feed, salmon, and hub for the given OStatus remote profile. Restarts subscription fresh as well.
update-profile.php -sexample.com http://example.com/path/to/profile/url
2010-04-23 12:54:31 -07:00
Brion Vibber
4beaba9fb0 Ticket #93: pretty up the auto-submit for OpenID logins a bit.
* throwing in our spinner
* cleanup of texts
* "If this doesn't go through click the button" instead of just a mystery button
* slightly faster submission: immediate at end of page rather than waiting for jQuery to confirm document setup completion
2010-04-23 11:28:50 -07:00
Brion Vibber
0f975f4215 Fix to regression in last commit; wrong field name for homepage blacklist 2010-04-23 08:24:53 -07:00
Brion Vibber
390a2a8624 Fix for Blacklist plugin: was saving an empty entry if blacklist was empty, which would match *all* possible nickname registrations, preventing all registration on mozilla.status.net.
Now saving only non-empty lines, and only matching non-empty lines so we don't fail if we still have a bogus entry.
2010-04-23 07:17:52 -07:00
Brion Vibber
67b8b1334f Fix keys / keyTypes for Blacklist plugin - was spewing notices for undefined array indexes when saving blacklist entries from admin panel 2010-04-23 07:10:36 -07:00
Brion Vibber
7bdea95ccb Fix to make blowing of replies stream cache more consistent when receiving replies. (Was being done at mail notify time instead of at save time for local replies; now moved to reply save time internally so it can't get forgotten) 2010-04-23 06:55:46 -07:00
Evan Prodromou
beaecb18d5 Add statusnet: prefix for API to JSON and XML output
I added the statusnet: prefix to the xml output. This prefix should
be declared on the root element of all relevant XML output.

I also added two StatusNet-specific fields:

* statusnet:html - rendered HTML. Clients shouldn't have to guess
  at the correct HTML rendering for notices, especially since some
  of the links depend on context.
* statusnet:profile_url - profile URL for a user. You can't count
  on a user being a local user in a distributed microblogging world.
  So, this shows the explicit profile_url.
2010-04-22 08:49:33 -07:00
Brion Vibber
fd9d520aeb OStatus: CLI script to force a renewal on the given PuSH subscription. May help when we get out of sync with the hub.
php plugins/OStatus/scripts/resub-feed.php -smysite http://example.com/some/atom/feed
2010-04-22 06:14:40 +02:00
Evan Prodromou
a129c455a2 Fix exceptions with bad gravatar URLs 2010-04-21 18:19:16 -07:00
Evan Prodromou
e28214bfe9 fix reference error in RSSCloud plugin 2010-04-21 18:11:29 -07:00