Brion Vibber
ec15546476
Fix a couple bad format entries in router setup (format param had 'xmljson' instead of 'xml|json').
...
Warning: the format strings aren't actually being enforced here which is probably why they weren't caught earlier. Not quite sure why, it should be looked at!
2010-06-11 11:52:06 -07:00
Brion Vibber
352a3edfb3
Ticket #2350 : fix for incorrect FOAF sioc:follows entries for users who are followed by, but don't themselves follow the user whose FOAF we're displaying.
2010-06-10 11:42:58 -07:00
Brion Vibber
1768bfa04b
Ticket #2349 : fix for Geonames semantic reference URLs in FOAF output (corrects a typo in the patch added in 4463768b
)
2010-06-10 10:30:07 -07:00
Zach Copley
02c68ff523
Add gNewBook to notice sources
2010-06-04 13:16:47 -07:00
Evan Prodromou
3a34d7e4ea
Only show local public notices in sitemap
...
Only show local public notices in sitemap. Only do counts for them
in the sitemap index, and only show them in the notice sitemap.
2010-06-04 15:47:26 -04:00
Evan Prodromou
6d39a75137
use DB_DataObject_Cast objects in a couple of different places in the code
2010-06-04 15:29:38 -04:00
Evan Prodromou
cbdeb6fb8f
Merge branch 'master' of gitorious.org:statusnet/mainline
2010-06-04 13:26:25 -04:00
Evan Prodromou
f1ea678aae
memcache_dataobject supports some DB_DataObject_Cast objects as values
2010-06-04 12:52:05 -04:00
Zach Copley
1a44d4272f
Add repeated attr to Atom notices_info element
2010-06-03 22:24:55 +00:00
Evan Prodromou
22d6ff25b5
Merge branch 'newmaster'
2010-06-03 15:59:59 -04:00
Evan Prodromou
1100831bc0
remove debug statements from Sitemap plugin
2010-06-03 15:19:46 -04:00
Evan Prodromou
d17dd32aac
Merge branch 'sitemap' into newmaster
2010-06-03 15:13:06 -04:00
Evan Prodromou
135b398d4b
Merge branch 'master' of gitorious.org:statusnet/mainline
2010-06-03 14:50:52 -04:00
Zach Copley
4bbb259baf
- Fix bad argument being passed (error code) when invalid format specified
...
- Reformat whitespace
2010-06-03 10:52:16 -07:00
Brion Vibber
9bb48c36ea
Installer tweak to aid with IIS setup: if config.php exists, but is both empty and writable, let the installer proceed and overwrite it.
2010-06-03 10:13:28 -07:00
Evan Prodromou
ef51cc9ad4
Merge branch 'sitemap' of gitorious.org:~evan/statusnet/evans-mainline into sitemap
...
Conflicts:
plugins/Sitemap/SitemapPlugin.php
plugins/Sitemap/noticesitemap.php
plugins/Sitemap/sitemapindex.php
plugins/Sitemap/usersitemap.php
2010-06-01 13:56:21 -07:00
Brion Vibber
17ab15a3d0
Fix memory leak in Inbox::addToInbox() (usage of raw DB_DataObject::staticGet, which leaks memory into a process-global cache).
...
On my test setup, this fixes inbox delivery to 10,000 local recipients from background queuedaemon running with a 32mb memory limit, completes the job within a minute from start.
2010-06-01 13:53:44 -07:00
Evan Prodromou
1066b26424
use sitemap_notice_count in sitemap index
2010-06-01 13:52:28 -07:00
Evan Prodromou
d78dfd627e
cache notice counts in utility table
2010-06-01 13:52:28 -07:00
Evan Prodromou
271d7dd850
load Sitemap_notice_count
2010-06-01 13:52:28 -07:00
Evan Prodromou
416161c943
make user counts use the database table
2010-06-01 13:52:28 -07:00
Evan Prodromou
7d85b79814
Database tables to cache expensive query data
...
We need to bundle counts of notices and users by date. This can be
expensive for large sites. So, new tables are added to cache the
results of these queries, which don't change after the date is over.
2010-06-01 13:52:28 -07:00
Evan Prodromou
3e349a71ca
mark user pages as being high priority
2010-06-01 13:52:28 -07:00
Evan Prodromou
40618b49e1
mark notice pages as being archived
2010-06-01 13:52:27 -07:00
Evan Prodromou
45e6e537ca
note that sitemap actions are readonly
2010-06-01 13:52:27 -07:00
Evan Prodromou
1c858e17ea
add sitemap statement to robots.txt
2010-06-01 13:52:27 -07:00
Evan Prodromou
e363b724b9
cache notice and user counts in sitemap index
2010-06-01 13:52:27 -07:00
Evan Prodromou
5ff9c0242b
make sure notice and user sitemap are 'in' top level directory
2010-06-01 13:52:27 -07:00
Evan Prodromou
3e8172585d
cache user data for user sitemap
2010-06-01 13:52:27 -07:00
Evan Prodromou
946cd15e8b
cache results of notice sitemap query
2010-06-01 13:52:27 -07:00
Evan Prodromou
610d8021d8
use an array for notice sitemap
2010-06-01 13:52:27 -07:00
Evan Prodromou
8b9ce731f4
max users, notices per sitemap = 50K
2010-06-01 13:52:27 -07:00
Evan Prodromou
4b321f96fc
show sitemapindex with user and notice sitemaps
2010-06-01 13:52:27 -07:00
Evan Prodromou
b73c8ff441
Move NOTICES_PER_MAP to SitemapPlugin
2010-06-01 13:52:27 -07:00
Evan Prodromou
144cdb559d
bundle users by reg date
2010-06-01 13:52:27 -07:00
Evan Prodromou
9fdafaf07e
better calculation for end date in notice sitemaps
2010-06-01 13:52:27 -07:00
Evan Prodromou
35272f638c
Start of an action for sitemap index
2010-06-01 13:52:27 -07:00
Evan Prodromou
63c4eef643
change URLs for user sitemap
2010-06-01 13:52:27 -07:00
Evan Prodromou
9e592baa39
move USERS_PER_MAP to plugin
2010-06-01 13:52:27 -07:00
Evan Prodromou
d65a65756b
correct element name and namespace for sitemapactions
2010-06-01 13:52:27 -07:00
Evan Prodromou
0a04f9d49d
better query for notices by date
2010-06-01 13:52:27 -07:00
Evan Prodromou
524cd9df93
Add a Notice sitemap
2010-06-01 13:52:27 -07:00
Evan Prodromou
ce0e6cb50d
user sitemap
2010-06-01 13:52:27 -07:00
Evan Prodromou
a5de215267
Merge branch 'master' of gitorious.org:statusnet/mainline
2010-06-01 13:51:41 -07:00
Brion Vibber
634752f0d2
Mapstraction plugin fix: set icon dimensions (24x24 px); Google Maps provider otherwise defaults to stretching them to a funny shape instead of showing square avatars.
2010-06-01 18:41:17 +00:00
Brion Vibber
b0c589de9a
Ticket #2330 : fix Google Maps provider for Mapstraction plugin
2010-06-01 18:29:01 +00:00
Zach Copley
83b976f7ea
Added DarterosStatus to notice sources
2010-05-31 15:48:24 -07:00
Brion Vibber
58fe1a597c
OpenID: add option to enable asking for a username to append to the trusted provider's base URL. Good for hooking up with sites like WikiHow, where usernames are appended to a base URL to get a profile URL which is used as the provider.
...
$config['openid']['append_username'] = true;
or check 'Append a username to base URL' in OpenID admin panel.
2010-05-28 16:52:17 -07:00
Brion Vibber
3ba165cfab
Merge branch 'master' into testing
2010-05-28 16:18:40 -07:00
Brion Vibber
f4539b52ad
Ticket 2329 followup: my clever 'let it use the default' was foiled by PHP gettext module not quite exposing a compatible interface as the backend gettext library. (Most funcs squash null domain parameter into '' empty string, which isn't interpreted as 'use the current default'.)
2010-05-28 16:03:09 -07:00