summaryrefslogtreecommitdiff
path: root/actions/shownotice.php
AgeCommit message (Collapse)Author
2010-11-08use subclassing to change notice list output for single noticeEvan Prodromou
2010-11-03Migrate some more code from manually constructing "fullname (nickname)" to ↵Brion Vibber
using Profile->getFancyName(). Encapsulates common logic and allows for localization of the parens.
2010-10-18options to nofollow external links in noticesEvan Prodromou
2010-10-01Bugfix in FB-sharing header for empty profile avatarBrion Vibber
2010-09-30Add helper metadata on individual notice pages to aid sharing to Facebook ↵Brion Vibber
(use poster's avatar as image, indicate the text content)
2010-09-29Add Start/EndShowNoticeItem event hooks to single notice pageZach Copley
2010-09-20Ticket #2750: fixes to HTTP caching behavior across login/logout boundariesBrion Vibber
* now ignoring if-modified-since if we failed an etag if-none-match comparison, per spec * now including a hash of user id/nickname in most etags, so we'll update the view properly after login/logout For API methods, checking the API-auth'ed user. (Many change results to include things like 'you're subscribed to this user' or 'this is one of your favorites', so user info is again needed) There'll still be some last-modified stamps that aren't including user info properly, probably.
2010-04-10Fix inconsistencies in clientError() messagesSiebrand Mazeland
* use correct punctuation * single quotes when replace was possible * wording updated when needed
2010-03-15Merge branch 'testing' into 0.9.xBrion Vibber
2010-03-15Consolidate and patch up redirection to remote notices.Brion Vibber
Now using the correct order consistently (URL, then URI if http/s), and as a niceness measure skipping the redirect if the only URL we have stored is the local one. (Could happen if remote OStatus feed has tag URIs and no alt link.)
2010-03-13Ticket 2239: white space before apostrophe in metadata of status of noticeBrion Vibber
2010-01-07Fixes to bugs where non-local messages were being wrong put in the public ↵Ciaran Gultnieks
timeline and public xmpp feed
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-30Use nickname from profile, not user object, to avoid barfing warnings on ↵Brion Vibber
Twitter messages imported into the timeline.
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-20Change the notice type defines all into class constants and adapt all files.Marcel van der Boom
2009-08-11oEmbed provider does not use the twitter api library classes any moreCraig Andrews
2009-08-07Redirect instead of showing an error when the user visits a non-local ↵Craig Andrews
notice's url Use consistent logic in display non-local notice links Fixes http://laconi.ca/trac/ticket/1788
2009-08-04use 410 Gone for deleted noticesEvan Prodromou
2009-07-17Move the oembed endpoint to /main/oembedCraig Andrews
2009-07-15Added oEmbed discovery for attachments and noticesCraig Andrews
2009-07-02notice should show user designEvan Prodromou
2009-06-23use a subclass for single notice items to show attachmentsEvan Prodromou
2009-06-08Merge branch '0.7.x' into 0.8.xEvan Prodromou
Conflicts: classes/Notice.php classes/Profile.php lib/common.php lib/util.php scripts/getvaliddaemons.php scripts/stopdaemons.sh
2009-05-30correct last-modified date for shownotice.phpEvan Prodromou
2009-05-29Changed ul to ol and added xoxo for notice lists.Sarven Capadisli
2009-04-13isReadOnly() now takes argumentsEvan Prodromou
Add an array of arguments to isReadOnly() method of actions, to let them change their results depending on what actions are called. Primarily used by the 'api' action. Ideally in the future that will be multiple actions. But this might still be useful.
2009-04-13isReadOnly() now takes argumentsEvan Prodromou
Add an array of arguments to isReadOnly() method of actions, to let them change their results depending on what actions are called. Primarily used by the 'api' action. Ideally in the future that will be multiple actions. But this might still be useful.
2009-03-19redirect to original URL or URI for remote noticesEvan Prodromou
2009-01-23make avatar bigger on single notice pagesRobin Millette
2009-01-19Removed unnecessary empty containers (page_notice, aside, localsarven
navigation)
2009-01-19Changed @id to @class for notices ulsarven
2009-01-18Update shownotice for new framework, make phpcs-cleanEvan Prodromou
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-11make a new NoticeList widget and call it from StreamActionEvan Prodromou
I made a new notice-list widget (like the profile list) and call it from StreamAction. This cleans up some of the mess in the various notice-stream-showing classes. I also changed show-stream so it uses a subclass of NoticeList that doesn't show author info (which is unnecessary). darcs-hash:20081211231252-5ed1f-ee6e551ed5a029406748120f12e2ff57c4a86493.gz
2008-12-03parent::init() -> parent::prepare()Evan Prodromou
darcs-hash:20081203173423-5ed1f-95de0f98aba4be527cd59d7297bc4f7b712713bd.gz
2008-12-03change Action::init() to Action::prepare() to avoid conflict with ↵Evan Prodromou
RSS10Action::init() darcs-hash:20081203173225-5ed1f-e5ebfb202ed4a84c90851d0faa025ad09774d2c3.gz
2008-12-02add attributes for shownoticeEvan Prodromou
darcs-hash:20081202050200-5ed1f-1ba5a3573e2276eac22a018ce26cc76b1ed7275f.gz