summaryrefslogtreecommitdiff
path: root/actions/newnotice.php
AgeCommit message (Collapse)Author
2010-03-01OStatus: support @example.com/path/to/profile mentions as well as ↵Brion Vibber
@profile@example.com (latter requires webfinger, former doesn't) Plus misc warnings/notices cleanup in the submission path.
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-04Updated element id for notice_data-geoSarven Capadisli
2009-12-29Implement user interface for user to preview what location they are sharing ↵Craig Andrews
with a notice
2009-12-28Move location-argument-handling code into a single functionEvan Prodromou
Moved the important parts of the location-argument-handling stuff to a single function. Handles defaults and overrides correctly, and easy to use. Changed Web and API channels to use it.
2009-12-28remove namespace setting from location; it's unusedEvan Prodromou
2009-12-22save location at notice post timeEvan Prodromou
2009-12-11change Notice::saveNew() to use named arguments for little-used optionsEvan Prodromou
2009-11-19Add location form elements to the noticeform, and save their values on ↵Craig Andrews
submission
2009-11-09Revert "Remove more contractions"Brion Vibber
This reverts commit 5ab709b73977131813884558bf56d97172a7aa26. Missed this one yesterday...
2009-11-08Remove more contractionsSiebrand Mazeland
* doesn't * won't * isn't * don't
2009-10-31merge from testingEvan Prodromou
2009-10-30IE has some issue with notices that are sent with file attachments. ItSarven Capadisli
doesn't like the XHR response with XHTML DTD. New notices without the file attachment work fine. The rendered content (the anchor for the file attachment link) doesn't appear to be the issue. To fix this problem, I removed the XHTML DTD line from newnotice's XHR response. This is unnecessary for text/xml outputs that's intended for XHR responses any way. It just happens to fix an IE issue. Still a mystery to me as to why it is particular to notices with file attachments.
2009-10-28Merge branch 'api-media-upload' into 0.9.xZach Copley
* api-media-upload: Rearanged a couple things & removed debugging statements Rework MailDaemon to use the MediaFile class for uploads Implement media upload in the API Extract media upload stuff into its own library class.
2009-10-28Rearanged a couple things & removed debugging statementsZach Copley
2009-10-27Extract media upload stuff into its own library class.Zach Copley
2009-10-27Shorten the notice text after command processing is doneCraig Andrews
2009-10-13Include long-form attachment URL in notice if URL shortening is disabled.Brion Vibber
Previously, the attachment URL would simply be dropped when shortening returned false instead of a short URL... the attachment was present if you clicked through to notice details but didn't appear in the timeline, making it nigh-impossible to see the attachment.
2009-10-13Include long-form attachment URL in notice if URL shortening is disabled.Brion Vibber
Previously, the attachment URL would simply be dropped when shortening returned false instead of a short URL... the attachment was present if you clicked through to notice details but didn't appear in the timeline, making it nigh-impossible to see the attachment.
2009-09-29remove string-checks from code using Notice::saveNew()Evan Prodromou
2009-09-23Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: actions/requesttoken.php classes/File.php install.php lib/noticeform.php
2009-09-11Add a parameter named 'inreplyto' to the 'notice/new' page, so urls can ↵Craig Andrews
inclue 'inreplyto' id's. Also add 'inreplyto' to the urls sent in emails.
2009-08-27Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: EVENTS.txt actions/finishremotesubscribe.php actions/postnotice.php actions/public.php actions/remotesubscribe.php actions/showstream.php actions/updateprofile.php actions/userauthorization.php classes/laconica.ini lib/common.php lib/oauthstore.php lib/omb.php
2009-08-26define LACONICA and accept LACONICA for backwards compatibilityEvan Prodromou
2009-08-25change LACONICA to STATUSNETEvan Prodromou
2009-08-25change controlyourself.ca to status.netEvan Prodromou
2009-08-25change laconi.ca to status.netEvan Prodromou
2009-08-25change Laconica and Control Yourself to StatusNet in PHP filesEvan Prodromou
2009-08-21Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: actions/updateprofile.php actions/userauthorization.php classes/User_group.php index.php install.php lib/accountsettingsaction.php lib/logingroupnav.php
2009-08-21Web UI for notices correctly shows and checks max content lengthEvan Prodromou
2009-08-11reformat newnotice.phpEvan Prodromou
2009-07-07File classes does not use the $FILES array directly, as users of this class ↵Craig Andrews
aren't necessarily from the web
2009-06-25Make shorturls in notice content point to AttachmentAction urlsZach Copley
2009-06-25FileAction redirections weren't being added (e.g.: /notice/$notice_id/file)Zach Copley
2009-06-25avoid getting duplicate errors on uploadEvan Prodromou
2009-06-23remove common_debug from newnoticeEvan Prodromou
2009-06-23append uploads to content rather than showing them doubleEvan Prodromou
2009-06-23make file command configurableEvan Prodromou
2009-06-22Attachment upload server and path now configurableZach Copley
2009-06-16Moved url handling to its proper place, from newnotice to Notice.phpRobin Millette
2009-06-01Remove js that crept back in, added another error string.Robin Millette
2009-06-01Attachments popups for supported files are now embedded with the object ↵Robin Millette
xhtml tag.
2009-05-31Refactored some attachment code and fixed upload bug in interface.Robin Millette
2009-05-31Added configurable options for attachments: supported mimetypes and quotas ↵Robin Millette
for uploads.
2009-05-27Handles local aliases (redirection) for file uploads attached to notices.Robin Millette
2009-05-26Let's you upload a file with a notice and have it shown with other attachments.Robin Millette
2009-05-13rewrote short url stuff to handle new file/url classes (redirections, ↵Robin Millette
oembed, mimetypes, etc.)
2009-05-11db stuff for URLs: redirections, oembed, etc.Robin Millette
2009-03-03Catch bad replyto IDs before saving a new notice to avoid a constraint ↵CiaranG
violation. This happens, for example, when posting for the first time on a fresh install
2009-02-27Fix replyto parameter in newnoticeAdrian Lang