summaryrefslogtreecommitdiff
path: root/actions/replies.php
AgeCommit message (Collapse)Author
2009-06-14Merge branch '0.8.x' into userdesignZach Copley
Conflicts: actions/showfavorites.php lib/action.php
2009-06-10Remove FIXME-marked Opera links until they actually workEvan Prodromou
2009-05-23make some of the actions show the user's designEvan Prodromou
2009-04-15Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.xEvan Prodromou
Conflicts: actions/public.php
2009-04-15Merge branch 'link-rel-paginate' of git://gitorious.org/laconica/meitar. ↵Adrian Lang
Fixed wrong call of common_local_url. These changes add opera-readable prev/next relations.
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-07added filler/guide text to user replies timeline.Robin Millette
2009-02-11Unify feeds definition in actionsEvan Prodromou
I got a little sick of trying to keep the export data and <head> links synched in actions, so I made a common method, getFeeds(), which gets the feeds for both. It returns an array of Feed objects, which know about what their mime type is, title, location, all that jazz. I changed the FeedList class so it handles the new Feed objects instead of the old array of data. I changed all the actions that show feeds (I think...) so that they now use getFeeds() for all their feed needs.
2009-02-10Beginning to refactor document relationship links to reduce common code.Meitar Moscovitz
My attempts here are to mimic the `pagination()` method shared by actions. I'm tentatively adding the `$count` property to actions so that we can query the number of notices ''being displayed'' per page prior to calling the actual `pagination()` method itself, since document relationship `<link>` elements need to be output inside of `showHead()`, before `showContent()`, which is where `pagination()` is, gets called.
2009-02-09Add machine-readable pagination using HTML4.01 `<link rel="next">`, etc.Meitar Moscovitz
These extra `<link>` elements only appear on pages where pagination makes sense. They trigger functionality in some user agents, such as Opera's Navigation Bar for more easily navigating forward and backwards across a paged set of notices, messages, or group lists, etc.
2009-02-05Trac #894 and #1013 - fixed bad redirects after delete noticeZach Copley
2009-01-24fix title on repliesEvan Prodromou
2009-01-23mark a bunch of actions read-onlyRobin Millette
2009-01-17Adapt replies to new frameworkEvan 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 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-11-14trac626 Put a list of feed linkscsarven
darcs-hash:20081114210506-eefa4-ba7e9bdd794ddfcacc397d732073abf99e97f3a5.gz
2008-09-30Fix replies tab pagination issuesupport
Problem: Before / After links in replies tab don't work. When clicked they show "No such user" error. How to reproduce: 1. Access http://identi.ca/evan/replies 2. Click on Before button darcs-hash:20081001010741-352e0-4cbf4afc0f12aa850c1cc7145324477157f24d98.gz
2008-09-28single function for important streams, with memcached supportEvan Prodromou
I moved the 4 streams for a user (with friends, faves, replies, personal) into functions on the User object. Added a helper function in Notice for making notice streams. Also, will fetch notice streams out of the memcached server, if possible. Made the API, RSS, and HTML output all use the same streams (hopefully cached). Added some code to Notice to blow the cache when a notice is posted. Also, added code to favor and disfavor actions to blow the faves cache, too. darcs-hash:20080928120119-5ed1f-ead542348bcd3cf315be6f42934353154402eb16.gz
2008-07-17no such user in replies.Evan Prodromou
darcs-hash:20080717124215-84dde-83c2c5ec54a50bb5aa7a5adc23321dadc48083ad.gz
2008-07-13Colapse a lot of strings to make like easier for translators and more ↵Mike Cochrane
consisitant for users darcs-hash:20080713053748-533db-1cdb0cf3a9e4102eb139b74a7a9d4f97dadb20b8.gz
2008-07-08Convert _t() to _() for gettext.Mike Cochrane
darcs-hash:20080708094531-533db-83399a46e6ec4c0fcc6249b0235961f969d1ae73.gz
2008-07-09reply_to is now stored on the notice, not on the reply recordEvan Prodromou
darcs-hash:20080709202346-84dde-63561db24b55e98020c00707cc2c36e46bb8025f.gz
2008-07-07add in the notice formEvan Prodromou
darcs-hash:20080707072545-84dde-1f78764ef1c19f311fea9b8315e1081b4c2e6b0c.gz
2008-07-07UNDO: use DB_DataObject joinEvan Prodromou
darcs-hash:20080707070545-84dde-8034bf485a182ac86295c9a7831cfabac3cb2b55.gz
2008-07-07use DB_DataObject joinEvan Prodromou
darcs-hash:20080707070545-84dde-581f5b8d356b5b7d27a9b0b331a0e40ddab28cbe.gz
2008-07-07show repliesEvan Prodromou
darcs-hash:20080707064607-84dde-140a88c6e08831ec2852001e174c7f0bc891a85d.gz
2008-07-07consolidate show_notice and show_replyEvan Prodromou
darcs-hash:20080707064155-84dde-fb6209b36ff8066335249c0602b2e78961f90c55.gz
2008-07-07created -> modified in ReplyEvan Prodromou
darcs-hash:20080707063731-84dde-0ce24e15c33d1d12e4e2ea1e05129ae6de84cb0e.gz
2008-07-07twiddle a few bits to make replies work correctlyEvan Prodromou
darcs-hash:20080707054358-84dde-916977a2af4f792e0dc9e02a9f5344ec60911319.gz
2008-06-22First pass at replies support http://laconi.ca/PITS/00080matthew.gregg
Doesn't handle a reply to a user that has never updated. darcs-hash:20080623030837-982e4-532ccd8899fd8be00575f8840da0defb44cd56f8.gz