Christopher Vollick
4f0672a94c
Allow setconfig.php to Print Entire Config
...
Previously it only printed out the configuration in the DB.
Now it can also print out the entire current configuration.
2010-04-15 23:02:29 +02:00
Brion Vibber
efcdfabc12
Ticket #2205 : pass geo locations over Twitter bridge (will only be used if enabled on the Twitter side)
2010-04-14 15:45:00 +02:00
Brion Vibber
a21a172639
Fix for "#foo !foo" in same notice failing during save, causing failout before distribution. Move saveGroups after saveTags when saving notices; groups may save additional tags, so need to be moved after so the check for duplicates actually works.
2010-04-14 11:11:02 +02:00
Brion Vibber
d445b977fc
move comment to correct place
2010-04-14 11:09:54 +02:00
Brion Vibber
9463287710
showplugins.php: dump list of activated plugins and their settings on this site
2010-04-12 11:50:42 -07:00
Brion Vibber
71c828de89
Allow blocking someone who's not currently subscribed to you (prevents seeing @-replies from them, or them subbing to you in future)
2010-04-10 17:52:40 -07:00
Evan Prodromou
5d96cf2eec
catch UserNoProfileException and continue
2010-04-10 11:36:23 -04:00
Brion Vibber
b47fc9c0bc
Fix for strip_geo's decaching; also added --all option to run over all notices by given profile to help in fixing up cache inconsistencies
2010-04-09 11:37:29 -07:00
Evan Prodromou
4e3fad4f0d
fix attributes on homepage output
2010-04-09 14:11:18 -04:00
Evan Prodromou
ce40425533
Merge branch 'master' of gitorious.org:statusnet/mainline
2010-04-09 14:06:24 -04:00
Brion Vibber
9cb0dab270
Run block checks on remote OStatus replies
2010-04-09 10:48:18 -07:00
Brion Vibber
41062d387f
Fix localization for license notice in page footer (for ticket #2274 : i18n cleanup)
2010-04-09 08:58:14 -07:00
Brion Vibber
7baf671570
Avoid E_NOTICE spew when listing group members who aren't admins
2010-04-09 08:38:42 -07:00
Christopher Vollick
a93d0dc16a
Undefined Variable in foafgroup.php
...
Probably just left over from the past.
2010-04-09 08:38:34 -07:00
Evan Prodromou
674b0ddaac
Merge branch 'master' of gitorious.org:statusnet/mainline
2010-04-09 09:55:06 -04:00
Brion Vibber
05e373d29b
scripts/strip_geo.php to remove geodata from notices by a given user/profile.
...
May be slow or run out of memory if run on particularly prolific posters -- not yet optimized for that case.
Note that geodata that has already been sent out to other services (via ostatus, omb, twitter, etc) will not be removed from them.
(fixed version -- previous had accidentally undone another commit)
2010-04-08 17:06:34 -07:00
Brion Vibber
6274c3977d
In single-user mode, link #hashtags to the user's tagged stream rather than the global tag action, which isn't registered.
...
Previously they would end up pointing to the home URL.
2010-04-08 17:06:25 -07:00
Brion Vibber
ecd31384ed
Fix for error during handling of HTTP error response case in Geonames lookups
2010-04-08 10:11:52 -07:00
Brion Vibber
8a02cad424
drop onStartShowHeadElements handler from MobileProfile; just duplicated the original code path, and after removing the bogus notice-spewing code it was running those things twice.
2010-04-08 10:09:56 -07:00
Evan Prodromou
8ec7ebbeac
Merge branch 'master' of gitorious.org:statusnet/mainline
2010-04-08 12:16:31 -04:00
Brion Vibber
aceaeb99e5
fixup_blocks.php: finds any stray subscriptions in violation of blocks, and removes them.
2010-04-07 11:40:16 -07:00
Evan Prodromou
9ea0b06452
Merge branch 'master' of git@gitorious.org:statusnet/mainline
2010-04-07 10:44:00 -04:00
Evan Prodromou
82326a3b69
show PEAR_Error message, not the object
2010-04-07 10:43:14 -04:00
Christopher Vollick
f09e81ff52
Made it so that settag would list tags.
...
Very useful to be able to know what tags a site already has.
2010-04-07 07:17:05 -04:00
Brion Vibber
d352e5f5c4
Handle attempt to subscribe a local user via their remote webfinger reference more gracefully.
...
The ensure* family of functions will now return an OStatusShadowException in this case, which gives us a pleasant error message instead of a giant exception backtrace when you do 'sub somebody@this.local.server'.
Can be extended later to allow actually using the local profile, since we could figure it out.
2010-04-06 16:35:24 -07:00
Brion Vibber
cda03ff328
Set a default 2-second timeout on Geonames web service lookups. After a failure, further lookups in the same process will be skipped for the next 60 seconds (also configurable).
...
Makes a Geonames outage much less disruptive to site operations.
2010-04-06 15:14:28 -07:00
Brion Vibber
7c3b320a7a
Allow Meteor plugin to be configurable via configuration database or file.
...
As there's no admin control panel yet, this is mainly meant for batch administration and using setconfig.php
2010-04-06 14:07:46 -07:00
Brion Vibber
3172b50fc7
Add a User-Agent fragment blacklist to MobileProfile: sticking iPad on the regular theme, which works better on its larger screen (was tripped on 'mobile' in the UA though we had no explicit check for 'ipad' previously)
2010-04-06 12:21:42 -07:00
Brion Vibber
edea825c70
Comment out unreachable code spewing notices due to use of undefined variables in MobileProfile.
...
This needs some cleanup...
2010-04-06 12:13:54 -07:00
Brion Vibber
3ac3bc32fc
Some localization cleanup and doc to aid in customization:
...
* added locale/en/LC_MESSAGES/statusnet.po to make it easier to start customizing English texts
* added notes to locale/README about customizing and how to disable languages you haven't customized
* renamed PO templates from *.po to *.pot to match general conventions and reduce confusion for people trying to find which file they're supposed to edit
2010-04-05 13:19:16 -07:00
Brion Vibber
dbaa93d1aa
Clean up and clarify output on fix-shadow.php
2010-04-05 11:21:17 -07:00
Evan Prodromou
2a489018b1
use nofollow for subscribers list
2010-04-05 11:18:03 -04:00
Evan Prodromou
16827a66ba
use nofollow for group members list
2010-04-05 11:17:51 -04:00
Evan Prodromou
95229bc7a0
use homepage link attributes method for peopletaglist
2010-04-05 11:17:36 -04:00
Evan Prodromou
98905de69d
make profilelist homepage link attributes overrideable
2010-04-05 11:17:06 -04:00
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