summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2010-03-18Runtime check for known bad PHP versions with 64-bit stream_select() bug in ↵Brion Vibber
xmppdaemon.php.
2010-03-17Merge branch 'master' into testingBrion Vibber
2010-03-11Add forgotten scripts/fixup_files.php to clean up "the h bug"Brion Vibber
2010-03-10Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-10Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-03-10Detect when queuedaemon/xmppdaemon parent processes die and kill the child ↵Brion Vibber
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-09Merge branch 'testing' into 0.9.xBrion Vibber
2010-03-09Added scripts/command.php, can be used to run commands such as subscription ↵Brion Vibber
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-09Merge branch 'testing' into 0.9.xBrion Vibber
2010-03-09a script to flush siteEvan Prodromou
2010-03-07add a script to import Twitter atom feed as noticesEvan Prodromou
2010-03-04Fix a few typosRasmus Lerdorf
2010-03-04Merge branch 'testing' into 0.9.xBrion Vibber
Conflicts: db/08to09.sql
2010-03-04adding checkschema to setup scriptJames Walker
2010-03-01Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: db/08to09.sql locale/statusnet.po scripts/update_po_templates.php
2010-03-01Localization tweak: include doc comments marked as 'TRANS' in .po file ↵Brion Vibber
output; these should now get automatically pulled through to the TranslateWiki interface as translator help hints.
2010-03-01Also extract _m() used in core.Siebrand Mazeland
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-02-26Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-02-26Merge branch 'blacklistplus' into testingEvan Prodromou
Conflicts: EVENTS.txt
2010-02-26Merge branch 'testing' into 0.9.xBrion Vibber
2010-02-26don't choke on dupelimit in createsim.phpEvan Prodromou
2010-02-25init_conversation.php script to copy old notice conversations into the ↵Brion Vibber
conversation table
2010-02-25Merge branch 'master' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-25Merge commit 'refs/merge-requests/121' of ↵Brion Vibber
git://gitorious.org/statusnet/mainline into integration
2010-02-25Merge commit 'refs/merge-requests/2220' of ↵Brion Vibber
git://gitorious.org/statusnet/mainline into integration
2010-02-24Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-02-24Fix update_po_templates.php to support the plural and context variants of ↵Brion Vibber
_m() in plugins
2010-02-21Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-02-18Add Script To Update Group Avatar URLsChristopher Vollick
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-18Update Avatar URL Did Weird Stuff.Christopher Vollick
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-17Merge branch 'master' into testingBrion Vibber
2010-02-17Queues: redid the breakout control model so we can start up and subscribe to ↵Brion Vibber
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-16Merge branch 'testing' into 0.9.xBrion Vibber
Conflicts: lib/iomaster.php
2010-02-16Merge branch 'master' into testingBrion Vibber
Conflicts: lib/stompqueuemanager.php
2010-02-16Stomp queue restructuring for mass scalability:Brion Vibber
- 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-08Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-02-08Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-08Allow scripts/decache.php to blow out cache for objects that don't exist ↵Brion Vibber
(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-04Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-02-04Merge branch 'master' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-03Script to update profile URLsEvan Prodromou
2010-02-03clearcache.php column flag was conflicting with default flagEvan Prodromou
2010-02-03showcache.php column flag was conflicting with default flagEvan Prodromou
2010-02-03change 'sitetype' to 'siteplan' to use consistent languageEvan Prodromou
2010-02-02Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-02-02setconfig.php: list all current settings if no parameters givenBrion Vibber
2010-02-02Apply xopher's fix to add 'sitetype' parameter to setup_status_network.sh, ↵Brion Vibber
exposed to the email
2010-02-01Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-01-31Add a script to clear the cache for a given keyEvan Prodromou
Like showcache.php, clearcache.php clears the cache for a given key.
2010-01-31Merge branch 'testing' into 0.9.xEvan Prodromou
Conflicts: actions/apioauthauthorize.php