Evan Prodromou
b2ed258e42
Avoid resetting modified for Faves in upgrade script
2011-09-12 15:24:47 -04:00
Evan Prodromou
14f03a237e
initialize fave, sub, and membership URIs
2011-09-12 12:13:04 -04:00
Evan Prodromou
b7a5041e80
better output for updateurls.php (and it runs)
2011-09-07 18:53:06 -04:00
Evan Prodromou
e06202852a
Make sure reshare notices get the right object_type and verb
2011-09-07 18:34:31 -04:00
Evan Prodromou
f77c850b80
initialize the local_group table
2011-09-07 18:27:20 -04:00
Evan Prodromou
5d54b6019e
Move all URL-update scripts to one script
2011-09-07 18:20:14 -04:00
Evan Prodromou
f9f33e2c72
Remove dangerous old database destroyer script
2011-09-07 16:59:33 -04:00
Evan Prodromou
c5d332f40a
move yet-another-rediscover-script to OStatus plugin
2011-09-07 16:56:38 -04:00
Evan Prodromou
f0f9435248
one too many cache-clearing scripts.
2011-09-07 16:54:03 -04:00
Evan Prodromou
c262243113
SearchMonkey was shut down October 2010
2011-09-07 16:50:02 -04:00
Evan Prodromou
9ed1beb3a0
Move inbox initialization to upgrade.php
...
Move the inbox initialization code to upgrade.php. Might not catch
group messages, but maybe that's not a big deal.
2011-09-07 16:48:10 -04:00
Evan Prodromou
dc4f2c3b10
Move conversation table initialization to upgrade script
2011-09-07 16:23:49 -04:00
Evan Prodromou
9e64ae59ba
move fixup group uri code to upgrade.php
2011-09-07 16:14:21 -04:00
Evan Prodromou
c265463112
fixup conversations in upgrade.php
2011-09-07 16:09:05 -04:00
Evan Prodromou
3065911afd
move fixup_conversations.php to upgrade.php
2011-09-07 16:08:52 -04:00
Evan Prodromou
196be4e6fb
move notices-rendered code into upgrade script
2011-09-07 12:10:26 -04:00
Evan Prodromou
34c7c7112a
remove script to initialize old-format inboxes
2011-09-07 12:03:52 -04:00
Evan Prodromou
eaf32b7728
remove obsolete sitemap script
2011-08-23 13:31:47 -04:00
Evan Prodromou
f2387d9ad8
remove old and dangerous rebuild scripts
2011-08-22 18:23:28 -04:00
Zach Copley
fc2e6ea172
Fix syntax err
2011-08-04 12:06:57 -07:00
Zach Copley
b2c8f1292d
Adjustment to the simulation script so I can use my own word list for test notices
2011-08-03 09:46:29 +00:00
Evan Prodromou
7e9c17bd15
make the default scope depend on site/private
2011-07-01 21:50:04 -04:00
Evan Prodromou
c7608a9ddd
fix missing variable for createsim.php
2011-06-27 17:29:33 -04:00
Siebrand Mazeland
a0c80bb478
Use _() instead of _m() as there is no context or plural.
2011-06-19 11:49:33 +02:00
Zach Copley
321060ca71
Script to update (pull) OStatus profiles info and avatars
2011-06-02 18:18:46 -07:00
Evan Prodromou
7f1a30dc40
allow setting some initial tags on a new network
2011-06-01 10:53:46 -04:00
Evan Prodromou
4fd25301b8
add options to show sites with/without a tag
2011-06-01 10:21:03 -04:00
Evan Prodromou
78a9d4966e
set the permissions properly for installer
2011-05-05 14:38:19 -07:00
Evan Prodromou
f8c3458216
Option to pre-load a plugin with checkschema script
...
One of the problems we've had with running large-scale hosting systems
for StatusNet is enabling new plugins. If the plugin is not enabled,
its database tables are not checked at script time. Conversely, if it
is enabled, it may take several hours to run checkschema for tens of
thousands of sites -- during which time users might see DB errors.
A new argument to checkschema lets it pre-load one or more plugins
before checking the schema. This lets us prepare the plugins' database
tables before they're used in production. In a multihome environment,
this can be combined with tags to gradually roll out a new plugin.
In the config file, a stanza like:
$site = Status_network::getFromHostname(...);
if ($site->hasTag('fooenabled')) {
addPlugin('Foo');
}
...will only enable the plugin on certain sites. Meanwhile, a bash
script like this should gradually enable the plugin:
# For all sites...
for site in `php allsites.php`; do
# Update the schema for the Foo plugin
php checkschema.php -s$site.wildcard -xFoo;
# Enable the Foo plugin
php settag.php -s$site.wildcard fooenabled;
done
2011-05-04 21:05:25 -07:00
Evan Prodromou
5b23b82b0d
script to show software version
2011-04-26 13:01:00 -04:00
Evan Prodromou
239d92176d
More interesting test notices in createsim.php
2011-04-12 14:28:26 -04:00
Evan Prodromou
5b9062a518
pre-fill users and groups in createsim.php
2011-04-11 12:38:12 -04:00
Evan Prodromou
9cfd1a59ee
use InboxNoticeStream for createsim
2011-04-07 15:29:56 -04:00
Brion Vibber
065a327a86
Add the root index.php to gettext .pot template file generation; some error messages and such in there weren't making it into the TranslateWiki.net database.
2011-04-03 15:22:11 -07:00
Evan Prodromou
47b3fdf059
add scope limit flags to some notices in createsim.php
2011-03-26 16:06:17 -04:00
Evan Prodromou
841a9130e9
fix off-by-one and more replies
2011-03-26 15:36:47 -04:00
Evan Prodromou
efab3c6558
All groups start with a random admin
2011-03-26 15:16:04 -04:00
Evan Prodromou
6902c0af35
Add group posts to createsim.php
2011-03-26 15:08:27 -04:00
Evan Prodromou
bc2f64d7ab
Add reply_to to make conversations in createsim.php
2011-03-26 14:58:11 -04:00
Evan Prodromou
3e293363f6
add groups and joins to createsim.php
2011-03-25 17:39:14 -04:00
Evan Prodromou
83fb5e6023
Mass replacement of #-comments with //-comments
...
like leprous boils in our code. So, I've replaced all of them with //
comments instead. It's a massive, meaningless, and potentially buggy
change -- great one for the middle of a release cycle, eh?
2011-03-22 11:54:23 -04:00
Brion Vibber
09a4cebd47
fix flushrouter.php -- tried to call Cache::delete statically
2011-03-16 15:01:58 -07:00
Zach Copley
b7d0746694
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
actions/confirmaddress.php
actions/emailsettings.php
actions/hostmeta.php
actions/imsettings.php
actions/login.php
actions/profilesettings.php
actions/showgroup.php
actions/smssettings.php
actions/urlsettings.php
actions/userauthorization.php
actions/userdesignsettings.php
classes/Memcached_DataObject.php
index.php
lib/accountsettingsaction.php
lib/action.php
lib/common.php
lib/connectsettingsaction.php
lib/designsettings.php
lib/personalgroupnav.php
lib/profileaction.php
lib/userprofile.php
plugins/ClientSideShorten/ClientSideShortenPlugin.php
plugins/Facebook/FBConnectSettings.php
plugins/Facebook/FacebookPlugin.php
plugins/NewMenu/NewMenuPlugin.php
plugins/NewMenu/newmenu.css
2011-02-28 15:39:43 -08:00
Brion Vibber
55b1f3d84c
Scalability work on user backup stream generation.
...
UserActivityStream -- used to create a full activity stream including subscriptions, favorites, notices, etc -- normally buffers everything into memory at once. This is infeasible for accounts with long histories of serious usage; it can take tens of seconds just to pull all records from the database, and working with them all in memory is very likely to hit resource limits.
This commit adds an alternate mode for this class which avoids pulling notices until during the actual output. Instead of pre-sorting and buffering all the notices, empty spaces between the other activities are filled in with notices as we're making output. This means more smaller queries spread out during operations, and less stuff kept in memory.
Callers (backupaccount action, and backupuser.php) which can stream their output pass an $outputMode param of UserActivityStream::OUTPUT_RAW, and during getString() it'll send straight to output as well as slurping the notices in this extra funky fashion.
Other callers will let it default to the OUTPUT_STRING mode, which keeps the previous behavior.
There should be a better way to do this, swapping out the stringer output for raw output more consitently.
2011-02-25 12:15:38 -08:00
Brion Vibber
4026e208c2
Add a scary 'experimental feture' warning & are-you-sure prompt on moveuser.php
...
As with deleteuser.php, can pass -y to bypass the prompt if you're sure.
2011-01-19 15:13:46 -08:00
Evan Prodromou
fb681990d9
Account moving is a background activity
2011-01-17 17:31:56 -05:00
Evan Prodromou
905aded81a
move account-moving classes to their own libraries
2011-01-16 17:17:55 -05:00
Evan Prodromou
7f7dc13930
first example of moving a user
2011-01-16 17:15:26 -05:00
Brion Vibber
26baad63f2
Merge branch '0.9.x' into 1.0.x
2010-12-22 15:25:38 -08:00
Evan Prodromou
4b41d05a13
Make restoreuser use new FeedImporter queue handler
2010-12-17 16:27:20 -05:00
Evan Prodromou
2e2519afee
Move account restoration code to a shared library
...
Moved most of the heavy-lifting for account restoration out of
restoreuser.php and into its own class, with the hope that we'll do
the work from the Web eventually.
2010-12-15 17:53:38 -05:00
Brion Vibber
9df856e667
Merge branch '0.9.x' into merge
...
Conflicts:
README
actions/hostmeta.php
classes/File_redirection.php
lib/common.php
lib/designsettings.php
lib/router.php
lib/util.php
lib/xmppmanager.php
plugins/OStatus/OStatusPlugin.php
2010-12-07 10:50:05 -08:00
Brion Vibber
aa96c3c1d9
Fix for tickets #2917 , #2262 : user URL shortening options not being applied in non-web channels
...
common_shorten_links() can only access the web session's logged-in user, so never properly took user options into effect for posting via XMPP, API, mail, etc.
Adds an optional $user parameter on common_shorten_links(), and a $user->shortenLinks() as a clearer interface for that.
Tweaked some lower-level functions so $user gets passed down -- making the $notice_id param previously there for saving URLs at notice save time generalized a little.
Note also ticket #2919 : there's a lot of duplicate code calling the shortening, checking the length, and reporting near-identical error messages. These should be consolidated to aid in code and translation maintenance.
2010-12-02 13:41:56 -08:00
Evan Prodromou
0cc332eab6
a quick script to flush the router from cache if needed
2010-11-30 10:27:32 -05:00
Brion Vibber
2b0d1d9fc4
Merge branch 'master' into 0.9.x
2010-11-22 11:13:22 -08:00
Brion Vibber
9c6e63b0bc
Fixes for delete_status_network.sh:
...
* add some sanity checking: abort on failures instead of plodding through
* add some progress / error output
* fetch the target database server name from the status_network entry and use that to target the DROP DATABASE
Note that database names and other overrides in status_network entry may still not be seen.
2010-11-22 11:10:10 -08:00
Brion Vibber
9a590e0843
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
2010-11-19 10:43:20 -08:00
Brion Vibber
573f98c5bc
scripts/deletegroup.php -- basic CLI script to delete a group by id or local nickname. Like deleteuser.php, this can be used in batch runs by providing the -y override.
2010-11-18 14:40:05 -08:00
Brion Vibber
62dfdb34a6
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
2010-11-15 13:56:17 -08:00
Brion Vibber
defaa3b332
clear_jabber.php script to clear confirmed jabber/xmpp addresses from one or more accounts
2010-11-15 13:26:42 -08:00
Brion Vibber
b716d01a41
Merge branch '0.9.x' into 1.0.x
2010-11-03 16:09:49 -07:00
Brion Vibber
0229c22d23
Merge branch '1.0.x' into schema-x
2010-11-02 15:02:55 -07:00
Brion Vibber
04ca706601
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
...
Conflicts:
actions/confirmaddress.php
actions/othersettings.php
2010-11-02 15:02:10 -07:00
Siebrand Mazeland
5bd6458f00
i18n/L10n, translator documentation updates.
2010-11-02 23:00:50 +01:00
Brion Vibber
345b7d33b8
some sorta vaguely working bits
2010-10-29 15:28:48 -07:00
Brion Vibber
9ced8af8dc
fix notices in dumpschema
2010-10-29 15:11:41 -07:00
Brion Vibber
0c64df8cd9
Quickie script to aid in building release tarballs -- encapsulates the archive-i18n gen-changelog gen-retar steps.
2010-10-29 14:34:27 -07:00
Brion Vibber
e7c7fd39fc
Merge branch '1.0.x' into schema-x
...
Conflicts:
plugins/CacheLog/locale/nb/LC_MESSAGES/CacheLog.po
2010-10-28 16:27:53 -07:00
Brion Vibber
b26eccf33c
Merge branch '0.9.x' into 1.0.x
2010-10-28 16:26:34 -07:00
Evan Prodromou
511566a132
userrole.php will take a profile id for remote profiles
2010-10-26 11:19:47 -04:00
Brion Vibber
8b0ba03a2e
Starting to encapsulate some of the schema_version checksum / updater logic
2010-10-19 17:07:37 -07:00
Brion Vibber
a053871ddc
update -> create on dumpschema options, easier for me to remember
2010-10-18 17:49:08 -07:00
Brion Vibber
eb93bdbb03
some more tweaking to do the mappings during filterDef; not totally sure I like it
2010-10-15 16:32:37 -07:00
Brion Vibber
d84923470f
fix bug with --diff on missing table
2010-10-13 17:35:18 -07:00
Brion Vibber
a421dd934a
Nicer diff display for schema dump
2010-10-13 16:58:28 -07:00
Brion Vibber
229c772634
Filter table definitions to scrub out unsupported features before trying to alter a table. This lets us skip those where we end up trying to change unsupported features.
2010-10-13 16:04:28 -07:00
Brion Vibber
621233e1ad
some of the ensureTable stuff partially working
2010-10-12 17:58:26 -07:00
Brion Vibber
9364e446b1
Start reworking things to build create table stuff (can view via dumpschema.php --build)
2010-10-11 19:10:51 -07:00
Brion Vibber
3c979ec506
Add --all option on dumpschema.php to check all core tables
2010-10-07 17:02:42 -07:00
Brion Vibber
cc69ede1ee
stop str_repeat from whinging about being run with repeat value of 0. :P
2010-10-07 17:01:14 -07:00
Brion Vibber
443be8a99c
some more cleanup on table defs
2010-10-07 17:00:40 -07:00
Brion Vibber
82e9a2eee8
Add --diff option to dumpschema.php to run a (quickie text) diff betwen the theoretical and detected schemas for the given tables
2010-10-07 16:49:15 -07:00
Brion Vibber
312b87ea79
output tweak hack for primary keys on single line
2010-10-07 16:23:36 -07:00
Brion Vibber
fcef2aaab7
Pretty up the table dumper :D
2010-10-07 15:48:38 -07:00
Brion Vibber
6df4ed697c
quickie script to test schema fetch
2010-10-06 18:28:19 -07:00
Brion Vibber
8ff45823ba
Merge branch '0.9.x' into 1.0.x
2010-10-05 11:40:49 -07:00
Brion Vibber
c6e8fbebef
scripts/fixup_group_uri.php to fill in empty user_group.uri entries; needed before changing domain names on sites that are hosting groups for remote users
2010-10-04 15:13:27 -07:00
Brion Vibber
59119482ca
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
...
Conflicts:
actions/hostmeta.php
actions/imsettings.php
classes/User.php
lib/adminpanelaction.php
lib/channel.php
lib/default.php
lib/router.php
lib/util.php
2010-10-04 12:54:36 -07:00
Brion Vibber
1acc7d66c6
Always specify UTF-8 targt charset for html_entity_decode(); default is 8-bit ISO-8859-1 which causes things to break when we later pass them through things that expect to work with UTF-8. For instance, running through preg_replace() with the /u option results in NULL, leading to problems with OStatus and SubMirror generating their plaintext versions and doing length-cropping.
2010-09-30 11:29:31 -07:00
Siebrand Mazeland
ec83fef9b7
Take trailing newline out of i18n.
2010-09-28 01:33:09 +02:00
Evan Prodromou
be14f409e4
initial script to restore a backed-up user
2010-09-22 12:08:39 -04:00
Evan Prodromou
b5cfcba471
Merge branch '0.9.x' into activityexport
...
Conflicts:
plugins/OStatus/OStatusPlugin.php
2010-09-22 10:45:34 -04:00
Evan Prodromou
78ed0348b0
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2010-09-21 14:07:48 -04:00
Evan Prodromou
91a1862510
printfv and printfq functions in commandline.inc
2010-09-21 14:06:39 -04:00
Evan Prodromou
ab24007f4c
throw a catchable exception in getUser()
2010-09-21 06:12:43 -04:00
Siebrand Mazeland
06272668ec
Update group ID for translations export.
2010-09-18 23:50:36 +02:00
Siebrand Mazeland
234b1e6c23
Remove do_translatewiki_plugin(). No longer needed.
...
Replaced by MediaWiki Translate extension script http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Translate/scripts/genStatusNetPluginsConfig.php?view=markup
2010-09-18 00:23:38 +02:00
Evan Prodromou
b1802b8720
don't redeclare getUser() for backupuser.php
2010-09-15 23:32:27 -04:00
Evan Prodromou
670ad53215
Merge branch '0.9.x' into activityexport
2010-09-15 23:31:20 -04:00
Evan Prodromou
dffec9f223
move getUser() function to commandline.inc
2010-09-15 16:00:00 -04:00
Evan Prodromou
1ceb93cce4
move useractivitystream class to its own module
2010-09-15 15:18:01 -04:00
Evan Prodromou
518db02525
rename script to backupuser.php
2010-09-15 11:21:37 -04:00
Evan Prodromou
960ddd9704
groups in backup output
2010-09-15 07:12:23 -04:00
Evan Prodromou
eec540723e
export user data as an activity stream
2010-09-13 17:24:19 -04:00
Evan Prodromou
6bbc8ca234
Merge branch '0.9.x' into 1.0.x
2010-09-09 15:02:53 -04:00
Evan Prodromou
6832a34216
Merge branch 'master' into testing
2010-09-09 15:02:10 -04:00
James Walker
dfca3ff709
fix typo in the comment (for better copy & pasting)
2010-09-09 13:14:52 -04:00
Evan Prodromou
a319b40c97
common_cache_key() -> Cache::key()
2010-09-06 10:07:43 -04:00
Evan Prodromou
8f81762d68
common_memcache() => Cache::instance()
2010-09-06 09:56:45 -04:00
Evan Prodromou
1dadb8efc0
Merge branch '0.9.x' into 1.0.x
2010-08-13 14:51:51 -07:00
Siebrand Mazeland
f60ee85f68
Update extension configuration file creation (doesn't work yet in translatewiki.net).
2010-08-13 22:21:33 +02:00
Evan Prodromou
9f0715a993
Merge branch '0.9.x' into 1.0.x
2010-08-03 16:05:03 -07:00
James Walker
5daa5bc2af
try/catch just in case..
2010-07-28 12:04:37 -04:00
James Walker
dd7647aa95
script to normalize status_network tags
2010-07-28 11:49:09 -04:00
James Walker
7065450f03
normalizing tags for status_network
2010-07-20 17:34:58 -07:00
Brion Vibber
cae1329f3b
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
lib/util.php
2010-04-30 13:16:13 -07:00
Zach Copley
1b561065b0
Some initial Doxygen-based documentation for the API
2010-04-22 13:11:49 -07: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
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
Craig Andrews
39392e03a7
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
actions/confirmaddress.php
actions/imsettings.php
2010-04-18 19:21:15 -04:00
Brion Vibber
617a994550
Merge branch 'testing' into 0.9.x
2010-04-15 23:12:25 +02:00
Brion Vibber
53650c7a5e
Merge branch 'master' into testing
2010-04-15 23:07:58 +02:00
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
f789928942
Merge branch 'testing' into 0.9.x
2010-04-14 11:15:48 +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
a05e674843
showplugins.php: dump list of activated plugins and their settings on this site
2010-04-12 11:49:59 -07:00
Brion Vibber
f4ad0acd84
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
2010-04-09 12:01:53 -07: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
Brion Vibber
9cfc5c0f5a
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:36:02 -07:00
Brion Vibber
1f8451f4aa
Merge branch 'testing' into 0.9.x
2010-04-09 08:40:15 -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
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
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
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
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
Siebrand Mazeland
7bcb5c3c9e
Follow-up 3ac3bc32fc
: 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
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
01a03e34c8
Merge branch '0.9.x' into 1.0.x
2010-03-29 15:15:51 -07:00
Evan Prodromou
f0d905112e
Merge branch 'master' into 0.9.x
...
Conflicts:
lib/attachmentlist.php
2010-03-28 15:25:02 -04:00
Evan Prodromou
642adc3b00
add an option to run a command as the site owner
2010-03-28 14:38:07 -04:00
Brion Vibber
c3ceaa893f
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 1.0.x
2010-03-24 14:11:01 -07:00
Brion Vibber
ecb009bcf5
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-24 13:57:20 -07:00
Brion Vibber
13d59e0c76
fixup_deletions.php script to look for notices posted by now-deleted profiles and remove them.
2010-03-23 17:24:01 -07:00
Brion Vibber
a5c78a6f1a
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-23 08:21:32 -07:00
Zach Copley
b8e97ac709
Some initial media parsing
...
- Activity now returns a list of activity objects
- Processing of photo objects
2010-03-22 18:55:17 -07:00
Brion Vibber
e89908f261
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 1.0.x
...
Conflicts:
lib/channel.php
scripts/imdaemon.php
2010-03-22 13:56:16 -07:00
Brion Vibber
3e2e88b0df
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-18 17:19:28 -07:00
Brion Vibber
0fe82bd0c9
Runtime check for known bad PHP versions with 64-bit stream_select() bug in xmppdaemon.php.
2010-03-18 11:08:27 -07:00
Brion Vibber
67f2f01c5e
Merge branch 'testing' into 0.9.x
2010-03-17 12:15:40 -07:00
Brion Vibber
ca5612c451
Merge branch 'master' into testing
2010-03-17 12:15:12 -07:00
Brion Vibber
3e2b806e75
Add scripts/docgen.php to build basic doxygen HTML docs from doc comments, either for core or a given plugin.
...
Nothing too fancy yet; style and layout needs some loving!
2010-03-15 09:42:25 -07:00
Brion Vibber
6828567ed0
Add forgotten scripts/fixup_files.php to clean up "the h bug"
2010-03-11 11:52:19 -08:00
Brion Vibber
6d73fc1d54
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-03-10 11:57:38 -08:00
Brion Vibber
54ff17010b
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
2010-03-10 11:56:51 -08:00
Brion Vibber
532e486a93
Detect when queuedaemon/xmppdaemon parent processes die and kill the child processes.
...
Keeps stray daemon subprocesses from floating around when we kill the parents via a signal!
Accomplished by opening a bidirectional pipe in the parent process; the children close out the writer end and keep the reader in their open sockets list. When the parent dies, the children see that the socket's been closed out and can perform an orderly shutdown.
2010-03-10 11:54:00 -08:00
Brion Vibber
6ea7e1c06e
Merge branch 'testing' into 0.9.x
2010-03-09 14:20:50 -08:00
Brion Vibber
971f1f64f1
Added scripts/command.php, can be used to run commands such as subscription on behalf of users.
...
This includes whatever support for extended command parsing plugins may have added.
Example:
./scripts/command.php -nbrionv sub update@status.net
2010-03-09 13:41:05 -08:00
Brion Vibber
6c4ade4251
Merge branch 'testing' into 0.9.x
2010-03-09 11:27:53 -08:00
Evan Prodromou
61434ebaa2
a script to flush site
2010-03-09 10:55:48 -05:00
Craig Andrews
714d920fae
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
classes/statusnet.ini
db/statusnet.sql
lib/jabber.php
lib/xmppmanager.php
2010-03-08 17:22:23 -05:00
Evan Prodromou
7faf6ec755
add a script to import Twitter atom feed as notices
2010-03-07 23:42:22 -05:00
Rasmus Lerdorf
086d517b87
Fix a few typos
2010-03-04 23:30:04 -05:00
Brion Vibber
f969d6349c
Merge branch 'testing' into 0.9.x
...
Conflicts:
db/08to09.sql
2010-03-04 10:16:59 -08:00
James Walker
02f49193d5
adding checkschema to setup script
2010-03-04 11:49:19 -05:00
Brion Vibber
3c4ead4996
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
db/08to09.sql
locale/statusnet.po
scripts/update_po_templates.php
2010-03-01 14:59:26 -08:00
Brion Vibber
00f724d0e6
Localization tweak: include doc comments marked as 'TRANS' in .po file output; these should now get automatically pulled through to the TranslateWiki interface as translator help hints.
2010-03-01 14:10:13 -08:00
Siebrand Mazeland
87c17bc0f0
Also extract _m() used in core.
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-03-01 15:47:43 +01:00
Brion Vibber
9b366547d7
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
2010-02-26 12:33:50 -08:00
Evan Prodromou
6781f95c73
Merge branch 'blacklistplus' into testing
...
Conflicts:
EVENTS.txt
2010-02-26 12:40:30 -05:00
Brion Vibber
8dfc8f1635
Merge branch 'testing' into 0.9.x
2010-02-26 09:35:28 -08:00
Evan Prodromou
200a32b922
don't choke on dupelimit in createsim.php
2010-02-26 12:19:33 -05:00
Brion Vibber
c8ddcbe0d3
init_conversation.php script to copy old notice conversations into the conversation table
2010-02-25 17:56:01 -08:00
Brion Vibber
4a71753f20
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
2010-02-25 09:28:19 -08:00
Brion Vibber
99c0e16844
Merge commit 'refs/merge-requests/121' of git://gitorious.org/statusnet/mainline into integration
2010-02-25 09:12:45 -08:00
Brion Vibber
66373f8e5a
Merge commit 'refs/merge-requests/2220' of git://gitorious.org/statusnet/mainline into integration
2010-02-25 09:11:07 -08:00
Craig Andrews
c187bf5597
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
EVENTS.txt
db/statusnet.sql
lib/queuemanager.php
2010-02-24 20:52:45 -05:00
Brion Vibber
8914b69d50
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
2010-02-24 16:35:57 -08:00
Brion Vibber
3b7084c6dd
Fix update_po_templates.php to support the plural and context variants of _m() in plugins
2010-02-24 16:34:45 -08:00
Brion Vibber
85528ccb1f
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
2010-02-21 11:12:56 -08:00
Christopher Vollick
e717cba19c
Add Script To Update Group Avatar URLs
...
Similar to scripts/updateavatarurl.php.
Works for groups.
Again, I had to do some weird thing because using clone screwed up the find() iteration.
2010-02-18 13:44:16 -05:00
Christopher Vollick
ddef800ec9
Update Avatar URL Did Weird Stuff.
...
It was only finding the first two avatars and then thinking it was done.
I'm not entirely sure why it was doing that.
I think maybe all the cloning made it forget where it was or something.
Either way, it seems to work now, and really uses less memory.
2010-02-18 12:14:34 -05:00
Brion Vibber
07f145049e
Merge branch 'master' into testing
2010-02-17 16:52:13 -08:00
Brion Vibber
ce6be4f836
Queues: redid the breakout control model so we can start up and subscribe to queues without running through the complete site list, which is ok at 1k sites but too slow at 10k.
...
All breakout queues that we're going to need to listen to now need to be explicitly listed in $config['queue']['breakout'].
Until XMPP is moved to component model, this setting will let the individual processes work with their own queues:
$config['queue']['breakout'][] = 'xmpp/xmppout/' . $config['site']['nickname'];
2010-02-17 16:49:00 -08:00
Craig Andrews
20d6a7caed
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
lib/queuemanager.php
lib/xmppmanager.php
plugins/Xmpp/Fake_XMPP.php
scripts/imdaemon.php
2010-02-16 13:15:09 -05:00
Brion Vibber
d5cbfe8071
Merge branch 'testing' into 0.9.x
...
Conflicts:
lib/iomaster.php
2010-02-16 09:25:09 -08:00
Brion Vibber
81b6b58e33
Merge branch 'master' into testing
...
Conflicts:
lib/stompqueuemanager.php
2010-02-16 09:22:02 -08:00
Brion Vibber
c74aea589d
Stomp queue restructuring for mass scalability:
...
- Multiplexing queues into groups and for multiple sites.
- Sharing vs breakout configurable per site and per queue via $config['queue']['breakout']
- Detect how many times a message is redelivered, discard if it's killed too many daemons
- count configurable with $config['queue']['max_retries']
- can dump the items to files in $config['queue']['dead_letter_dir']
Queue daemon memory & resource leak fixes:
- avoid unnecessary reconnections to memcached server (switch persistent connections back in on second initialization, assuming it's child process)
- monkey-patch for leaky .ini loads in DB_DataObject::databaseStructure() - was leaking 200k per active switch
- applied leak fixes to Status_network as well, using intermediate base Safe_DataObject for both it and Memcache_DataObject
Misc queue fixes:
- correct handling of child processes exiting due to signal termination instead of regular exit
- shutdown instead of infinite respawn loop if we're already past the soft memory limit at startup
- Added --all option for xmppdaemon... still opens one xmpp connection per site that has xmpp active
Cache updates:
- add Cache::increment() method with native support for memcached atomic increment
2010-02-16 09:16:51 -08:00
Craig Andrews
32084e33a2
Merge branch '0.9.x' into 1.0.x
...
Conflicts:
lib/queuemanager.php
2010-02-16 10:25:57 -05:00
Brion Vibber
b2e8d8407c
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-02-08 15:48:52 -08:00
Brion Vibber
4e6f587f86
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
2010-02-08 15:47:55 -08:00
Brion Vibber
96ef4435b6
Allow scripts/decache.php to blow out cache for objects that don't exist (anymore).
...
May miss keys other than the given or primary key, but should work for a lot of common cases where a bad entry's been removed from DB but lingers in cache.
2010-02-08 15:32:20 -08:00
Brion Vibber
c59eee72a8
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
2010-02-04 12:23:56 -08:00
Brion Vibber
a020e23086
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
2010-02-04 11:56:07 -08:00
Evan Prodromou
7a7e2162dd
Script to update profile URLs
2010-02-03 14:58:29 -05:00