summaryrefslogtreecommitdiff
path: root/actions/tag.php
AgeCommit message (Collapse)Author
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-14Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.xRobin Millette
2009-04-14trac#1223 Show most popular notices per tag in the tag page sidebar.Robin Millette
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-10tag stream is read-onlyEvan Prodromou
2009-04-01Try to do intelligent redirect codesEvan Prodromou
After fixing the redirect code output, there are a lot of weirdnesses with e.g. form handling. Try to add explicit redirect codes where needed -- principly when handling a POST.
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-26Fix canonical tags in notice and in URLsAdrian Lang
2009-01-19Update tag to use new frameworkEvan Prodromou
Broke up the tag action into two different actions (publictagcloud and tag). Brought it up-to-date with the new framework, but haven't fixed it for phpcs yet.
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-12-05trac855 trac856 and Feed list for the Favorited pagecsarven
darcs-hash:20081205221402-eefa4-9c765fe3c7a6e0cf9cdee1749ed2bebb24d3deaf.gz
2008-11-20Only show 'Recent tags' tab for tag cloud, not for tag streamsZach Copley
darcs-hash:20081120212142-7b5ce-9b0325c43a423de108b221325446969dc240d916.gz
2008-11-20New public tabs - Public, Recent tags, Featured, and FavoritedZach Copley
darcs-hash:20081120071930-7b5ce-a15d7308bde085f03aa335c98ecd0aaa3833bc35.gz
2008-11-14RSS alternate link for tag pageszach
darcs-hash:20081114052528-462f3-741f881a49934cb5a3ef9196ad6df872f387a748.gz
2008-09-24Fix problem with tags in different locales (Ticket #679)CiaranG
darcs-hash:20080924092031-f6e2c-8def504406ee1a13273bb67faafe3a3327ae4a44.gz
2008-09-29trying to fix up pages in tagsEvan Prodromou
darcs-hash:20080929230047-5ed1f-1fee58a5bb18c71de7abeef67d89b087d84cc853.gz
2008-09-28fixup tag display codeEvan Prodromou
darcs-hash:20080928181503-5ed1f-4a4046000646530b8462f06d0cfc0d2fe862dc48.gz
2008-09-28pass tag parameter along to stream queryEvan Prodromou
darcs-hash:20080928181255-5ed1f-fd49afc180bda9ae7875ad7b70a337e4cd5771d2.gz
2008-09-28cache tag streams in Memcached, tooEvan Prodromou
darcs-hash:20080928180904-5ed1f-ebf95f6f04ee4128a1ab2bb9a6a06a946926665d.gz
2008-09-11PostgreSQL: Make tag cloud query work - also fixes what is surely an ignored ↵CiaranG
error in the mysql query darcs-hash:20080911192348-f6e2c-b846b777b382386de56ca01d957dc5e55161fced.gz
2008-08-11make tag dropoff configurableEvan Prodromou
darcs-hash:20080811175820-84dde-f3d934495fa90fadde5f7d5d0c37c5f2a575a9d8.gz
2008-07-31ksort() the tags listEvan Prodromou
darcs-hash:20080731041000-84dde-09a4b1d69cc42b7380582d1a2f5d718b6e57dcd2.gz
2008-07-30Resolve conflictsMike Cochrane
darcs-hash:20080731004922-533db-96d62078f226ffc18db71d222d1c47524ac1319d.gz
2008-07-29Update some gettext strings and number the arguements so life is easier for ↵Mike Cochrane
translators darcs-hash:20080729080641-533db-560337e226a02dd6fc671f090883d4bedd50eaaa.gz
2008-07-29if-else instead of ?:Evan Prodromou
darcs-hash:20080729194735-84dde-246582a47d4a384375d153bff0e724c778c4b3af.gz
2008-07-29relative info, tooEvan Prodromou
darcs-hash:20080729194457-84dde-fd0545edb3af519ccc43ee3ac50ad5eb14c35dad.gz
2008-07-29show the weight in output (for my own edification)Evan Prodromou
darcs-hash:20080729194246-84dde-4a47578d8727720097dab9362cb356bd8f4d2a7d.gz
2008-07-29change tag output to a tag cloudEvan Prodromou
darcs-hash:20080729193533-84dde-1e7deeb0c7d7fb7686653be17d197e871aded8be.gz
2008-07-20Sort tags by highest frequency then most recentMike Cochrane
darcs-hash:20080720094832-533db-91b0cf2e0589ca4008b3011d5acd41449caa0904.gz
2008-07-20Set constant to propper value, not debug valueMike Cochrane
darcs-hash:20080720082641-533db-fa5b327a6670fd77f55cc028fc3a3a66664d4bb3.gz
2008-07-20Add tag actionMike Cochrane
darcs-hash:20080720081838-533db-bfe217657f0c3327fa8facc66b41b00f6c8f1948.gz