Brion Vibber
5dbaaed4e6
Maintain 'page' parameter for block from subscribers list, block & make-admin from group members list.
...
Refactored some of the returnto handling code. It looks like we have several different ways of handling this in the software, icky!
Marked the session-based functions with fixmes (they'll stomp on other forms when multiple tabs/windows are used) and combined some commonish bits of code between ProfileFormAction and the group block & makeadmin actions where they're using hidden form parameters. Extended that to allow passing dynamic parameters (eg 'page') as well as static ones (action, target user/group).
2010-04-08 19:06:55 -07: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
4b2dfabff8
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:05:02 -07:00
Brion Vibber
0e0927985c
Revert "scripts/strip_geo.php to remove geodata from notices by a given user/profile."
...
This reverts commit ab20e75ff8
.
Accidentally removed another commit; clearing up...
2010-04-08 17:04:10 -07:00
Brion Vibber
ab20e75ff8
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.
2010-04-08 16:58:54 -07:00
Siebrand Mazeland
857db1fabe
Localisation updates for !StatusNet from !translatewiki.net !sntrans
...
* add new language Galician
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-09 01:29:48 +02:00
Siebrand Mazeland
cb38163e8d
Update supported languages:
...
* fix name for Irish/ga
* add Galician/gl
2010-04-09 01:16:41 +02:00
Siebrand Mazeland
e1726da2e9
Localisation updates for !StatusNet from !translatewiki.net !sntrans
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-09 01:13:47 +02:00
Craig Andrews
fc1a463b95
Redirect using HTTP 303 so that form POST data is not re-submitted to the destination page
2010-04-08 17:20:24 -04:00
Brion Vibber
88678eadfa
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 13:12:14 -07:00
Brion Vibber
ee438cf198
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
2010-04-08 10:16:55 -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
f255b368ed
Refactor installer into base class plus web and CLI installers.
...
scripts/install_cli.php is a bit experimental at present but works.
2010-04-07 17:47:08 -07:00
Brion Vibber
86361712f7
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
2010-04-07 13:27:02 -07: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
727ea5a516
Merge branch '0.9.x' into 1.0.x
2010-04-07 10:47:29 -04:00
Evan Prodromou
ecf3288025
Merge branch 'testing' into 0.9.x
2010-04-07 10:46:54 -04:00
Evan Prodromou
76cce8a3c5
Merge branch 'master' into 0.9.x
2010-04-07 10:46:23 -04:00
Evan Prodromou
08745e4eac
Merge branch 'master' into testing
2010-04-07 10:45:44 -04: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
878461d50d
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 23:32:04 +00:00
Siebrand Mazeland
ae139c4ddf
Localisation updates for !StatusNet from !translatewiki.net !sntrans
...
* add Afrikaans
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-07 01:14:31 +02:00
Siebrand Mazeland
c36c3d90ee
Localisation updates for !StatusNet from !translatewiki.net !sntrans
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-07 00:57:55 +02:00
Siebrand Mazeland
7bcb5c3c9e
Follow-up 3ac3bc32fc48508deab171019e3539ece9bd72ff: change po to pot so that exporting from translatewiki.net works.
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-07 00:46:03 +02:00
Brion Vibber
5dc169260d
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-04-06 15:22:23 -07:00
Brion Vibber
4bb75d1c8e
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
2010-04-06 15:19:10 -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
3da8989242
Merge branch 'master' into testing
2010-04-06 14:36:21 -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
Siebrand Mazeland
a3314f483e
Localisation updates for !StatusNet from !translatewiki.net !sntrans
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-05 21:00:16 +02:00
Siebrand Mazeland
5f7b7d7509
* move TRANS comment from ea99855b35
down to right before the line with the message, otherwise gettext does not pick it up.
...
* add another TRANS comment
2010-04-05 20:53:53 +02:00
Zach Copley
ea99855b35
The translators were having trouble with the wording of the subtitle
...
for the list of groups a user is a member of. I've changed the
wording and added a // TRANS: comment to hopefully make it more
clear.
2010-04-05 11:31:41 -07:00
Brion Vibber
dbaa93d1aa
Clean up and clarify output on fix-shadow.php
2010-04-05 11:21:17 -07:00
Brion Vibber
295b2d02bb
Clean up and clarify output on fix-shadow.php
2010-04-05 11:20:35 -07:00
Brion Vibber
b71f276ed5
Merge branch 'master' into testing
2010-04-05 10:42:41 -07:00
Siebrand Mazeland
e22a4efe82
Localisation updates for !StatusNet from !translatewiki.net !sntrans
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-05 17:20:25 +02: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