summaryrefslogtreecommitdiff
path: root/actions/newnotice.php
AgeCommit message (Collapse)Author
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
2008-12-09New AjaxWebChannel for returning ajaxy responses to notice input box commandsZach Copley
darcs-hash:20081209210654-7b5ce-2ef432aa8cb7bf5cc1a973a71eb70e6b2aae4ab6.gz
2008-11-28shorten urls for posts > 140 chars only, from anywhere. Only show long urls ↵millette
in title attributes for links we shortened ourselves. darcs-hash:20081128210114-099f7-4e4cde0a983c2ac6d41efb59b46cb7dbf45dc7a6.gz
2008-12-10Remove a bunch of extraneous logging statementsZach Copley
darcs-hash:20081211024233-7b5ce-e4911c049adf067f24821f868a27bdf67c324caf.gz
2008-11-23Allow the toggling of XMLWriter's indenting on and offZach Copley
IE needs and unindented XML response in for ajax calls. darcs-hash:20081123211348-7b5ce-426c07ee1d1884c691b659e8a9b359bb95afc61e.gz
2008-11-23Send raw UTF-8 chars instead of escaped entities in newnotice.php's ajax ↵Zach Copley
response darcs-hash:20081123193727-7b5ce-0771232a9771e1325f937ccc87e6ba319dd97590.gz
2008-11-23Set encoding for xml response in newnotice.php to UTF-8Zach Copley
darcs-hash:20081123183613-7b5ce-9c6bd2b2efb679bce9f710f5f5ad9c48bf652e29.gz
2008-11-22Don't display avatars when posting to personal streams via ajaxZach Copley
darcs-hash:20081123022902-7b5ce-fbdd4e9a3df3e206caec0ca37c10a2e0a58cef85.gz
2008-11-22PostNotice AJAX working in all browsers except IEcsarven
darcs-hash:20081123015559-eefa4-5ce05e6e79236c6d5ebc87f0aa3ec4de51bae130.gz
2008-11-22merge save and ajax saveEvan Prodromou
darcs-hash:20081123014003-84dde-ea8f5d167a544617efb22bb0c553f18d718a65c6.gz
2008-11-21EXPERIMENTAL PATCH #3 - ajax response for newnotice.phpZach Copley
darcs-hash:20081122043145-7b5ce-0fc4b2ed06e29437c54e3c2f1a64b6d0fbeb9058.gz
2008-11-13Conflict resolution patch for newnotice.php (zach vs. millette)zach
darcs-hash:20081113195237-462f3-35c44753490c57e30d0adf661ae4c8a08af7e39c.gz
2008-11-13trac31 shorten all URLs even if notice is already <millette
darcs-hash:20081113153216-099f7-81c4aba01babca97edeaf55b230dee300dbeb57a.gz
2008-11-06trac31 url_auto_shortening by sgmurphymillette
darcs-hash:20081106205926-099f7-6bcfd7969a159a12b1ba6a9ee254e44a07b94761.gz
2008-11-10CSRF Protection for login and new notice. Ticket #503zach
darcs-hash:20081111022330-462f3-810b2a86e6e209330ade628fc0e97df96151d496.gz
2008-10-20accidentally setting replies to 'false'Evan Prodromou
darcs-hash:20081020174956-5ed1f-f0a632482ab9d2f2d15baa3a524bc312d7be5755.gz
2008-10-20correct number of args to saveNew in newnoticeEvan Prodromou
darcs-hash:20081020173108-5ed1f-06b346f0f341bf8401d29dcf725db69c5d26cc14.gz
2008-10-20add a little debugging for replytoEvan Prodromou
darcs-hash:20081020171033-5ed1f-00bdf131a25c86ae1d400a238eee070cb19ebec9.gz
2008-10-20try to make replies point to the clicked-on noticeEvan Prodromou
darcs-hash:20081020170245-5ed1f-b84f63d9d9b589bd18f97924db547e348beb6647.gz
2008-10-04text -> content in newnoticeEvan Prodromou
darcs-hash:20081004170136-5ed1f-4eca2ee2c7ebb7f2d3c6b49ecd634a8ceee28054.gz
2008-10-04add channels and use command interpreter in different channelsEvan Prodromou
darcs-hash:20081004163213-5ed1f-684ecb464e843b1bbe456c348e56b40a39a83ecd.gz
2008-08-17debug for content too longEvan Prodromou
darcs-hash:20080817152419-84dde-5df1554695bd8560e5affa0ff74f7d0ab7c7c3ff.gz
2008-08-17accept 140-character UTF-8 strings to contentEvan Prodromou
darcs-hash:20080817151751-84dde-b3fc3ee57872f53a465fd9b45f4255e5e3be3450.gz
2008-08-11fix problem with new noticesEvan Prodromou
darcs-hash:20080811181158-84dde-338f926bd4c161ea55ef8600fac254f216413ad4.gz
2008-07-29refactor notice-adding code to one static method on NoticeEvan Prodromou
darcs-hash:20080730022856-84dde-f19e4ff5d5ae2603b63b8aebd8f878ec90b3ce22.gz
2008-07-20First cut at hastags support.Mike Cochrane
darcs-hash:20080720055702-533db-193ed842b0d0a952bef71a3c5287213ada0ef15c.gz
2008-07-22base class is_readonly() now returns false by defaultzach
darcs-hash:20080722212056-ca946-e4bd9eef8e3d8991414932e9fc7b8c9a31f818c0.gz
2008-07-22Added is_readonly() method to all Actionszach
darcs-hash:20080722171501-ca946-160bad6c4f80be2b3b105ea9b913f1c0f9edb0ef.gz
2008-07-22mark incoming notices as local or notEvan Prodromou
darcs-hash:20080722141828-84dde-160fe4582c1949af1f6b049b3336cad493e30510.gz
2008-07-13Merge some gettext strings to one line so translation tools are happierMike Cochrane
darcs-hash:20080713044608-533db-ee16aecee9b6d82b22ce6a25f6a9573c23eee9f8.gz