Evan Prodromou
0b30230b5a
Merge branch 'nofollow'
2010-04-05 11:04:47 -04:00
Evan Prodromou
2882e40540
nofollow for peopletag pages
2010-04-05 11:03:14 -04:00
Evan Prodromou
96761c14ea
override linkAttributes() method for groupmembersminilist
2010-04-05 10:47:07 -04:00
Evan Prodromou
2e51d33145
override linkAttributes() method for subscribersminilist
2010-04-05 10:46:55 -04:00
Evan Prodromou
dd053aa349
override linkAttributes() method for profileminilist
2010-04-05 10:46:38 -04:00
Evan Prodromou
19401f6530
add linkAttributes() method for profilelist
2010-04-05 10:46:26 -04:00
Evan Prodromou
a313aeab9c
lib/default.php has nofollow group
2010-04-05 10:24:22 -04:00
Evan Prodromou
7fb8d0c471
breakout subscribers minilist
2010-04-05 10:22:54 -04:00
Evan Prodromou
8d335f0c86
balance brackets on profileminilist
2010-04-05 10:14:45 -04:00
Evan Prodromou
5414096c44
add an event for subscribers minilist
2010-04-05 10:12:40 -04:00
Evan Prodromou
ffc1ac02c3
add an event for group members minilist
2010-04-05 10:12:27 -04:00
Brion Vibber
d4940fe148
Ticket #2272 : Block confirmation form should let enter trigger the 'yes' button
...
Setting focus into the form to make it easier to submit by keyboard. Enter or space will now trigger the button right off without having to mouse around to find the button after we've clicked into the conf form, and keyboarders can also get to the 'no' button more easily.
2010-04-03 10:29:24 -07:00
Brion Vibber
d3e4779748
Ticket #2273 : Fix bookmarklet with URls with special characters
...
The tartget page's URL was not being URL-escaped when passed as a parameter into the query string. Result was that any URL-encoded bytes in the link would be unescaped and interpreted as raw UTF-8 when our bookmarklet post target page reads its parameters; this would break 8-bit high characters (eg a Latin-1 %FC turning into a corrupt UTF-8 byte) or reserved chars that needed to be kept escaped (eg a %3F turning into literal ?)
Unfortunately as this was a bug in the original bookmarklet's JS code, this'll only fix it for people who grab a fresh copy of the bookmarklet.
2010-04-03 10:13:32 -07:00
Brion Vibber
ec24f283dd
Don't save duplicate messages into a user's packed inbox. We've already got the packed box loaded at insert time, so we can simply unpack it and check before doing the update query.
...
Should help with dupes that come in when inbox distrib jobs die and get restarted, etc.
Conflicts:
classes/Inbox.php
Looks like this was implemented on master recently and not copied up to testing. Merging to my version on testing as I've added some doc comments and extracted a couple functions for future ease of use.
2010-04-02 15:45:03 -07:00
Brion Vibber
6cd0637e55
Ticket 2271: extra whitespace in underlined link for username in notice lists
...
Switching to a raw() output for the <span> of the nickname removes the extra whitespace and fixes display.
2010-04-02 09:34:42 -07:00
Evan Prodromou
ac9fda4bc0
ProfileMiniListItem does same events as ProfileListItem
2010-04-01 15:53:17 -04:00
Brion Vibber
f1c01f9ead
Temporary hack until notice_profile_id_idx is updated
...
to (profile_id, id) instead of (profile_id, created, id).
It's been falling back to PRIMARY instead, which is really
very inefficient for a profile that hasn't posted in a few
months. Even though forcing the index will cause a filesort,
it's usually going to be better. Even for large profiles it
seems much faster than the badly-indexed query.
2010-04-01 10:17:17 -07:00
Evan Prodromou
d60c1f1a9f
Revert "Revert "if user allows location sharing but turned off browser location use profile location""
...
This reverts commit 8b24ad8a9c
.
2010-04-01 12:58:06 -04:00
Evan Prodromou
9efe5393ff
Revert "Revert "don't insert the same notice twice into an inbox""
...
This reverts commit a09b27ff41
.
2010-04-01 12:57:52 -04:00
Evan Prodromou
a09b27ff41
Revert "don't insert the same notice twice into an inbox"
...
This reverts commit 650074c648
.
2010-04-01 12:52:26 -04:00
Evan Prodromou
8b24ad8a9c
Revert "if user allows location sharing but turned off browser location use profile location"
...
This reverts commit 4b80ce0be8
.
2010-04-01 12:52:12 -04:00
Evan Prodromou
4b80ce0be8
if user allows location sharing but turned off browser location use profile location
2010-04-01 12:09:33 -04:00
Evan Prodromou
650074c648
don't insert the same notice twice into an inbox
2010-03-31 15:54:35 -04:00
Evan Prodromou
d3f995846b
use Subscription::cancel() to cancel all subscriptions on block
2010-03-31 15:20:16 -04:00
Evan Prodromou
c1c7feedbd
do complete unsubscribe process when deleting a user
2010-03-31 15:02:19 -04:00
Brion Vibber
f19b95d9b7
Shared cache key option for Geonames plugin, lets multi-instance sites share their cached geoname lookups.
...
Example:
unset($config['plugins']['default']['Geonames']);
addPlugin('Geonames', array('cachePrefix' => 'statusnet:shared'));
2010-03-30 12:20:46 -07:00
Zach Copley
804182e0fe
Some fixes to make the twitterstatusfetcher behave better in a multi-site configuration
2010-03-30 11:51:56 -07:00
Brion Vibber
f694f254a4
Fix for error output on invalid user ID to api groups list
2010-03-30 11:47:49 -07:00
Brion Vibber
034e88bcbc
Fixes for apigrouplist - notice spew from undefined var, notice spew from missing escape in sprintf format
2010-03-30 11:45:41 -07:00
Brion Vibber
0284e1315c
Quick fixes for grouplistall:
...
* respect count instead of listing all groups
* respect page parameter
* don't spew notice on undefined $id
* don't spew notice on undefined $group->homepage_url (dropped the element since there's nothing to go in it)
2010-03-30 11:45:35 -07:00
Brion Vibber
d38ce90fa1
Fix to profile location in FOAF output: longitude was repeating the latitude by mistake
2010-03-29 17:54:22 -07:00
Brion Vibber
6046a6cc6a
Include meta charset header in saved HTML file for long OStatus messages; without, DOMDocument::loadHTML assumed Latin-1 instead of UTF-8.
2010-03-29 16:29:57 -07:00
Brion Vibber
bf468e2a8d
Remove debug line that crept into a commit a while back, breaking realtime when Firebug wasn't present
2010-03-28 14:41:31 -07:00
Evan Prodromou
482faf6614
don't try to get to database at initialize time
2010-03-28 15:17:44 -04:00
Evan Prodromou
642adc3b00
add an option to run a command as the site owner
2010-03-28 14:38:07 -04:00
Evan Prodromou
65766a0ebe
continue deleting even if user profile record is missing
2010-03-28 11:58:16 -04:00
Evan Prodromou
ddc71b6637
update README and version number
2010-03-28 11:39:56 -04:00
Evan Prodromou
29566c5d4b
move check for bad IDs from activityobject to activity and make simpler
2010-03-27 22:44:10 -04:00
Evan Prodromou
8a9e664014
reverse order of activity parse test arguments
2010-03-27 22:43:18 -04:00
Zach Copley
15736ea435
Really make sure we return 'true' and 'false' strings for boolean vals in api/statusnet/config.:format.
2010-03-26 19:59:05 +00:00
Zach Copley
60009227f7
Return an http auth error, when a client sends in an invalid auth user, even when http auth is not required.
2010-03-26 19:58:59 +00:00
Brion Vibber
766cf99f21
Drop debug statements on every regex match from Blacklist plugin; filling the logs a little faster than ops likes. :)
2010-03-26 10:47:12 -07:00
James Walker
3227122ac3
move base64_url_(encode|decode) to static functions in Magicsig
2010-03-26 10:43:41 -07:00
Sarven Capadisli
4484c63ff4
Fix for XHR more text behaviour on conversation pages
2010-03-26 14:57:33 +01:00
Evan Prodromou
75b2bf2a4e
Do ostatus queue first
...
We do the OStatus queue first, so if we're sending a notice to the
same server twice (e.g., with OMB), our richer and more featureful
notice comes in first.
2010-03-26 08:45:23 -04:00
Brion Vibber
e91bf2b8a9
Tweak to OStatus long message cropping: use original source notice URL for the link in the text version, don't shorten the link for the HTML so we can append params to it in JS.
...
Conflicts:
plugins/OStatus/classes/Ostatus_profile.php
2010-03-25 16:08:09 -07:00
Brion Vibber
013647f0ba
Add doc comments on saveHTMLFile; drop the extra <div> wrapping the contents to make it easier to extract without getting extra markup.
2010-03-25 23:11:06 +01:00
Brion Vibber
511a164c99
Merge branch 'master' of git@gitorious.org:statusnet/mainline
2010-03-25 14:32:28 -07:00
Brion Vibber
e174a7211d
Restore lost addition of inline HTML attachment display.
2010-03-25 14:31:22 -07:00
Evan Prodromou
46655eb3ca
version number and codename
2010-03-25 17:25:26 -04:00