Commit Graph

9884 Commits

Author SHA1 Message Date
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
Craig Andrews 42348bc167 add rsd to the list of login actions
Allows rsd.xml to be reached on private sites. Fixes http://status.net/trac/ticket/2309
2010-04-27 22:00:26 -04:00
Siebrand Mazeland 04d7d8fe33 Localisation updates for !StatusNet from !translatewiki.net !sntrans
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-27 00:21:31 +02:00
Craig Andrews edc6cf39a0 Only shorten when notice length exceeds max length 2010-04-26 15:59:13 -04:00
Evan Prodromou 50bfa21814 Merge branch 'master' of gitorious.org:statusnet/mainline 2010-04-26 02:53:24 -04:00
Siebrand Mazeland 728a4961d1 Localisation updates for !StatusNet from !translatewiki.net !sntrans
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-24 16:25:40 +02: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
Craig Andrews 1de8877cad Shorten text after paste operation
Abort ajax shorten request if the user pastes/pushes another key
2010-04-23 12:14:55 -04: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
Zach Copley f852a1931b Add docs for public_timeline 2010-04-22 15:48:58 -07:00
Craig Andrews f91e992851 use onAutoload instead of always requiring 2010-04-22 18:04:03 -04:00
Craig Andrews 809e597841 Only shorten after the user presses space, or following a paste operation 2010-04-22 18:04:03 -04:00
Zach Copley 1b561065b0 Some initial Doxygen-based documentation for the API 2010-04-22 13:11:49 -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
Craig Andrews 65796ba03b add ClientSideShortenPlugin
see plugins/ClientSideShorten/README
2010-04-21 17:14:54 -04:00
Craig Andrews c78a10b476 add 'always' parameter to common_shorten_links 2010-04-21 17:14:25 -04:00
Brion Vibber 61e7d898dc docgen.php no longer depends on having a working installation; uses Console_GetOpt directly and regexes the STATUSNET_VERSION from common.php 2010-04-21 20:20:43 +02:00
Brion Vibber 1d94b08efc Revert "Update release notes and version number for 0.9.2"
This reverts commit 98f0d970da.

Per xopher we're not yet ready to push 0.9.2 theme directories live; we also haven't merged down various things from testing that need to be in the release such as installer fixes.
2010-04-21 16:24:15 +02:00
Zachary Copley 98f0d970da Update release notes and version number for 0.9.2 2010-04-20 15:01:23 -07:00
Brion Vibber df41287226 Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x 2010-04-20 13:52:58 +02:00
Brion Vibber 61098faf5d Merge branch 'master' of gitorious.org:statusnet/mainline into testing 2010-04-20 13:52:18 +02:00
Brion Vibber c48caa85e1 Fix email notifications for @-replies that come via OStatus.
* Moved notification sending from Notice::saveReplies to distrib queue handler, so it'll pull from the reply set we've saved regardless of how we got it.
* Set up gettext infrastructure for command-line scripts; gets localization mail notifications etc working from background queues.
* Adjusted locale switching: common_switch_locale() works at runtime for bg scripts, forces a message catalog update
2010-04-20 13:49:29 +02:00
Brion Vibber 0e1be7e01b Ticket #2291: fix typo in SMS doc 2010-04-20 10:44:14 +02:00