summaryrefslogtreecommitdiff
path: root/actions/showfavorites.php
AgeCommit message (Collapse)Author
2009-05-01Add s to user favorite noticesOri Avtalion
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-08showemptListMessage -> showEmptyListMessage method name cleanup.Robin Millette
2009-04-08added missing word to user favorites guide.Robin Millette
2009-04-08added filler/guide text to user favorites.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-19Favorites is readonlyEvan Prodromou
2009-01-19Update showfavoritesEvan 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-08initial non-Ajax version of favoritesEvan Prodromou
darcs-hash:20080908181624-84dde-8200e1d91eb5f560ef0f296c9e1c56f93ef1b0c5.gz