summaryrefslogtreecommitdiff
path: root/lib/command.php
AgeCommit message (Collapse)Author
2010-12-07Merge branch '0.9.x' into mergeBrion Vibber
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-02Fix for tickets #2917, #2262: user URL shortening options not being applied ↵Brion Vibber
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-11-29Normalize username strings in command parsingBrion Vibber
2010-11-03Merge branch '0.9.x' into 1.0.xBrion Vibber
2010-11-02Add context for different uses of "%1$s (%2$s)"Siebrand Mazeland
2010-11-02Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.xBrion Vibber
Conflicts: actions/confirmaddress.php actions/othersettings.php
2010-11-01Fix i18n issues that are solved by using plural.Siebrand Mazeland
2010-10-04Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.xBrion Vibber
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-09-29* i18n/L10n and translator documentation updates.Siebrand Mazeland
* whitespace and indentation updates
2010-09-16Explicitly mark a translator note on the command list help message that the ↵Brion Vibber
command names must not be translated
2010-09-13Move translator hint to where gettext will actually see it and replace tab ↵Siebrand Mazeland
by spaces.
2010-09-13Fix typos in translator comments.Siebrand Mazeland
2010-09-02Merge branch '0.9.x' into 1.0.xBrion Vibber
Conflicts: lib/command.php
2010-08-28* when using multiple parameters, number themSiebrand Mazeland
* fix double space to single space * use consistent punctuation in messages * complete translation hints for all commands * add an i18n fixme for missing plural support * trailing whitespace removed
2010-04-18Merge branch '0.9.x' into 1.0.xCraig Andrews
Conflicts: actions/confirmaddress.php actions/imsettings.php
2010-04-11Number parametersSiebrand Mazeland
2010-04-11Add translator documentation and number parameters if multiple are used in a ↵Siebrand Mazeland
message.
2010-03-24Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 1.0.xBrion Vibber
2010-03-23Consistently send Profiles into Fave::addNew()Brion Vibber
2010-03-22Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 1.0.xBrion Vibber
Conflicts: lib/channel.php scripts/imdaemon.php
2010-03-11fubared a715271f847fed7d7c725c5b752ea7a00800520a - this is the fixCraig Andrews
2010-03-11reuse Subscription::cancel instead of reimplementing it.Craig Andrews
I didn't know this method existed before... pretty neat.
2010-03-09Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-09Command input processing now has centralized places for looking up notice, ↵Brion Vibber
user/profile, and group arguments. OStatus plugin overrides these to allow using webfinger (user@example.com), profile URL (http://example.com/user) and bare profile URL (example.com/user) as arguments.
2010-02-24Merge branch '0.9.x' into 1.0.xCraig Andrews
Conflicts: EVENTS.txt db/statusnet.sql lib/queuemanager.php
2010-02-22Add lose <nickname> command to the command interpreterCraig Andrews
2010-02-19replace calls to subs_(un)subscribe_user with Subscription methodsEvan Prodromou
2010-01-27Create IM plugin, Pluginize XMPP, Create AIM pluginCraig Andrews
2010-01-25Offload inbox updates to a queue handler to speed up posting onlineEvan Prodromou
Moved much of the writing that happens when posting a notice to a new queuehandler, distribqueuehandler. This updates tags, groups, replies and inboxes at queue time (or at Web time, if queues are disabled). To make this work well, I had to break up the monolithic Notice::blowCaches() and make cache blowing happen closer to where data is updated. Squashed commit of the following: commit 5257626c62750ac4ac1db0ce2b71410c5711cfa3 Author: Evan Prodromou <evan@status.net> Date: Mon Jan 25 14:56:41 2010 -0500 slightly better handling of blowing tag memory cache commit 8a22a3cdf6ec28685da129a0313e7b2a0837c9ef Author: Evan Prodromou <evan@status.net> Date: Mon Jan 25 01:42:56 2010 -0500 change 'distribute' to 'distrib' so not too long for dbqueue commit 7a063315b0f7fad27cb6fbd2bdd74e253af83e4f Author: Evan Prodromou <evan@status.net> Date: Mon Jan 25 01:39:15 2010 -0500 change handle_notice() to handle() in distributqueuehandler commit 1a39ccd28b9994137d7bfd21bb4f230546938e77 Author: Evan Prodromou <evan@status.net> Date: Mon Jan 25 16:05:25 2010 -0500 error with queuemanager commit e6b3bb93f305cfd2de71a6340b8aa6fb890049b7 Author: Evan Prodromou <evan@status.net> Date: Mon Jan 25 01:11:34 2010 -0500 Blow memcache at different point rather than one big function for Notice class commit 94d557cdc016187d1d0647ae1794cd94d6fb8ac8 Author: Evan Prodromou <evan@status.net> Date: Mon Jan 25 00:48:44 2010 -0500 Blow memcache at different point rather than one big function for Notice class commit 1c781dd08c88a35dafc5c01230b4872fd6b95182 Author: Evan Prodromou <evan@status.net> Date: Wed Jan 20 08:54:18 2010 -0500 move broadcasting and distributing to new queuehandler commit da3e46d26b84e4f028f34a13fd2ee373e4c1b954 Author: Evan Prodromou <evan@status.net> Date: Wed Jan 20 08:53:12 2010 -0500 Move distribution of notices to new distribute queue handler
2010-01-13add events for subscribing to people and joining groupsEvan Prodromou
2010-01-09Redirect to a one-time-password when ssl and regular server are differentEvan Prodromou
2010-01-06Revert "Ticket 2107: remove "not implemented" items from sms/xmpp help; ↵Evan Prodromou
nobody likes being told what they can't do!" This reverts commit 5d9a2eb17e3f6e3bc73b5aa80625a365761b6689. These are commands that are/were implemented by Twitter, and we don't (yet) implemented. People will be looking for that information.
2010-01-06Ticket 2107: remove "not implemented" items from sms/xmpp help; nobody likes ↵Brion Vibber
being told what they can't do! Also broke up the localized help message into line-by-line pieces to ease translation maintenance.
2009-12-15create a method for notification for new messages, and use itEvan Prodromou
2009-12-15add mail notification for dm command resultsEvan Prodromou
2009-12-12Add repeat commandCraig Andrews
2009-12-11change Notice::saveNew() to use named arguments for little-used optionsEvan Prodromou
2009-12-10Fixed incorrect disabling of login_token.Craig Andrews
2009-12-10Override login_token's sequenceKey() so that it behaves correctlyCraig Andrews
2009-12-05Add a configuration option to disable the login command.Craig Andrews
$config['logincommand']['disabled'] = true; This commit should be reverted once the command has been sufficiently tested and trusted.
2009-12-05Added 'login' command that gives you a link that can be used to login to the ↵Craig Andrews
website
2009-11-20Revert "Added 'login' command that gives you a link that can be used to ↵Evan Prodromou
login to the website" This reverts commit b9d40f723bce8e01ddcbbb989bd7035b92cd9af8. Conflicts: actions/login.php classes/statusnet.ini db/08to09.sql db/08to09_pg.sql db/statusnet_pg.sql lib/command.php lib/commandinterpreter.php
2009-11-16Do proper translations for pluralsCraig Andrews
2009-11-16Added a "groups" commandCraig Andrews
2009-11-16Changed to StatusNet consistent terminologyCraig Andrews
2009-11-16Add "followers" and "following" commandsCraig Andrews
2009-11-02Added 'login' command that gives you a link that can be used to login to the ↵Craig Andrews
website
2009-10-27implement the nudge commandCraig Andrews
2009-10-27Added a new "reply" commandCraig Andrews
2009-10-27Implemented reply # command, allowing users to favorite specific notices by ↵Craig Andrews
the notice id