summaryrefslogtreecommitdiff
path: root/actions/newnotice.php
AgeCommit message (Collapse)Author
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
2009-02-13Add events for filtering and logging new noticesEvan Prodromou
2009-02-04Removed erroneous comments referring to old common_notice_form() funcZach Copley
2009-02-04Make WebChannel and AjaxWebChannel workEvan Prodromou
These command-output channels were using the old common_element_* functions. They now take an $out constructor parameter, and use that for output. The WebChannel has pretty remedial output; it would be nice if it output a real formatted page.
2009-02-03Fixed ajaxErrorMsg(). Using startHTML() instead of common_start_html()Sarven Capadisli
2009-02-02removed extraneous argument in startHTML callsRobin Millette
2009-01-18Make newnotice workEvan Prodromou
2009-01-16Update to XHR post noticesarven
2009-01-15Convert use of common_server_error and common_user_error to methods on ActionEvan Prodromou
2009-01-15Convert all actions to use new UI functionsEvan Prodromou
I did a massive search-and-replace to get all the action subclasses to use the new output function (common_element() -> $this->element(), etc.) There's still a lot to do, but it's a first step
2008-12-23move opening brace of class declaration to next lineEvan Prodromou
Another gigantor PEAR coding standards patch. Here, I've moved the opening curly bracket on a class statement to the following line. darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
2008-12-23change function headers to K&R styleEvan Prodromou
Another huge change, for PEAR code standards compliance. Function headers have to be in K&R style (opening brace on its own line), instead of having the opening brace on the same line as the function and parameters. So, a little perl magic found all the function definitions and move the opening brace to the next line (properly indented... usually). darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23replace NULL with nullEvan Prodromou
Another global search-and-replace update. Here, I've replaced the PHP keyword 'NULL' with its lowercase version. This is another PEAR code standards change. darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23replace all tabs with four spacesEvan Prodromou
The PEAR coding standards decree: no tabs, but indent by four spaces. I've done a global search-and-replace on all tabs, replacing them by four spaces. This is a huge change, but it will go a long way to getting us towards phpcs-compliance. And that means better code readability, and that means more participation. darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-12-16Direct message XHR response fix for IE and minor tweaksSarven Capadisli
darcs-hash:20081216071818-efd22-d2e59bb60a236538452be356f38d0974f35f0107.gz
2008-12-11Indenting the XML responseSarven Capadisli
darcs-hash:20081212030820-efd22-3ee6f5ab50c821e3da5dd6785abb765af168058a.gz
2008-12-11misspelled INSTALLDIR in newnotice.phpEvan Prodromou
darcs-hash:20081211233515-84dde-184e46fdee817baa3df8e066ca49d759f3b1a899.gz
2008-12-11take out c&p code from newnotice, use noticelist classes insteadEvan Prodromou
darcs-hash:20081211232000-5ed1f-5ed2008f6c8273b7fa653396bff090afb10b030e.gz
2008-12-11Standardising XHR responses to utf-8 and indentingSarven Capadisli
darcs-hash:20081211211814-efd22-a41a2b123fcd08945370e868431dc1b2feda4dfe.gz