summaryrefslogtreecommitdiff
path: root/actions/apidirectmessagenew.php
AgeCommit message (Collapse)Author
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-10-28* i18n/L10n fixes.Siebrand Mazeland
* translator documentation updated. * superfluous whitespace removed.
2010-10-21i18n/L10n updates, translator comments added/fixed, superfluous whitespace ↵Siebrand Mazeland
removed.
2010-10-16* add plural support where missingSiebrand Mazeland
* update translator documentation.
2010-09-12Add translator hint.Siebrand Mazeland
2010-05-07Fix for repeats from the API having null source attributionZach Copley
2009-12-15create a method for notification for new messages, and use itEvan Prodromou
2009-12-01typo fix: '$this' now spelled correctly. Looks like this'll fix acceptance ↵Brion Vibber
of 'source' param for direct messages posted to API @fixme: there's duplication of reserved sources list between at least this and apistatusesupdate module
2009-11-08Harmonise UI message "No such user."Siebrand Mazeland
2009-10-13Fix syntax errorsZach Copley
2009-10-12Added in credits.Zach Copley
2009-10-09Move all basic auth output and processing to base classesZach Copley
2009-10-09$format is used by every API action. Set it in the base class.Zach Copley
2009-10-02New actions for direct messaging through the APIZach Copley