summaryrefslogtreecommitdiff
path: root/actions/public.php
AgeCommit message (Collapse)Author
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-11fix Atom link, add Atom and RSS 2.0 to <head>Evan Prodromou
2009-02-05Trac #894 and #1013 - fixed bad redirects after delete noticeZach Copley
2009-01-23remove top posters from publicEvan Prodromou
2009-01-23public is readonlyEvan Prodromou
2009-01-23Anonymous noticesarven
2009-01-23p -> div for markup wrapperEvan Prodromou
2009-01-23Add an anonymous message for the public pageEvan Prodromou
2009-01-22Added featured users to public timelineEvan Prodromou
2009-01-22Add groups by notice to publicEvan Prodromou
2009-01-22Add a popular notices section to the public pageEvan Prodromou
2009-01-22Add top posters section to public pageEvan Prodromou
2009-01-15Convert use of common_server_error and common_user_error to methods on ActionEvan Prodromou
2009-01-15Revert "section for export data"Evan Prodromou
This reverts commit 4cee28ace9ece31acc89277903a8924a0747ac95.
2009-01-15section for export dataEvan Prodromou
2009-01-15Make the feedlist work -- kindaEvan Prodromou
2009-01-15A little further with notice listsEvan Prodromou
2009-01-15Include PublicGroupNav in publicactionEvan Prodromou
2009-01-13Modify public stream to use new UI frameworkEvan Prodromou
I modified public.php to use the new UI framework. Since the Action class isn't functional yet, I don't know if it works. I took some of the functionality, like the public tabs nav and the feeds list, and made them widgets. I also moved the navigation from common_navigation() to a method of Action.
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-05trac855 trac856 and Feed list for the Favorited pagecsarven
darcs-hash:20081205221402-eefa4-9c765fe3c7a6e0cf9cdee1749ed2bebb24d3deaf.gz
2008-12-02cleanup whitespace in public.phpEvan Prodromou
darcs-hash:20081202194043-5ed1f-35ee3a57c08febe282082d829063489b51a8fb96.gz
2008-12-02better formatting for home pageEvan Prodromou
darcs-hash:20081202194027-5ed1f-5ebbc762496b6f6675a98271acbdd1851439471b.gz
2008-12-02add instructions to the public page for people who aren't logged inEvan Prodromou
darcs-hash:20081202193857-5ed1f-1705c3f615b96790dcae30ec240c25721ea443cc.gz
2008-11-20New public tabs - Public, Recent tags, Featured, and FavoritedZach Copley
darcs-hash:20081120071930-7b5ce-a15d7308bde085f03aa335c98ecd0aaa3833bc35.gz
2008-09-28change arguments to Notice::publicStreamEvan Prodromou
darcs-hash:20080928132747-5ed1f-9e9b6d8b91f855758ca4b269418f6d5d6e4a2ae0.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-08-22local-only is optional on public timelineEvan Prodromou
darcs-hash:20080822210307-84dde-c90f6e7953d11c5b12c7a084ac23e5578412932c.gz
2008-07-24Lazy/Auto load the class files as neededMike Cochrane
darcs-hash:20080724234533-533db-ec2e235401e7f670ee8094ba8d70dc95c3e6dd63.gz
2008-07-22public timeline only gets local noticesEvan Prodromou
darcs-hash:20080722142050-84dde-b948048b7f85e24c59dc063ef298bcc4c386d33a.gz
2008-07-13Sort notices on the public page where they were posted in the same secondMike Cochrane
darcs-hash:20080713042238-533db-d55470e31ebaf8cda8c1ccee0cdc1bd5c58bd69a.gz
2008-07-08Convert _t() to _() for gettext.Mike Cochrane
darcs-hash:20080708094531-533db-83399a46e6ec4c0fcc6249b0235961f969d1ae73.gz
2008-06-19posting from a form takes you back to the same page0.3.3Evan Prodromou
darcs-hash:20080619161814-5ed1f-5add55346470e71a53a676d39617062acc0f19bf.gz
2008-06-18add xrds for trust root URLEvan Prodromou
darcs-hash:20080618182647-84dde-e75e2c3441e8441ad6602f36fd9b7bf6ca39e70d.gz
2008-06-14take out public from views menu for nowEvan Prodromou
darcs-hash:20080614122517-84dde-c78fbdd9c3329e87f405040e851650a81ab63d5c.gz
2008-06-14no argEvan Prodromou
darcs-hash:20080614122155-84dde-81e6de701ce6e7171a252b0b8ad442373b3bb24a.gz
2008-06-14add public tabEvan Prodromou
darcs-hash:20080614122038-84dde-af7c2be04d41c1d85b62cf74724fe8e4a877a84a.gz
2008-06-13mark off TODO, only local notices in public streamEvan Prodromou
darcs-hash:20080613152420-84dde-76da80c7345815986ee47fab45dcbde2bad895ab.gz
2008-06-10fixup for new theme design in public.phpEvan Prodromou
darcs-hash:20080610192101-84dde-29ba2cc875b73131bbbbef4cbdfb17965df37677.gz
2008-05-28add pagination to all and publicEvan Prodromou
darcs-hash:20080528173917-84dde-b623d152de415de3790673b8a4eaafb584b23752.gz
2008-05-22RSS feeds for public stream and friends streamsEvan Prodromou
darcs-hash:20080522114152-84dde-7e9b6f465829fc71391613c93df112a7956deffc.gz
2008-05-20trim whitespaceEvan Prodromou
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
2008-05-18off-by-one error in notice streamEvan Prodromou
darcs-hash:20080518185940-84dde-fb7a3af877c67b5d7e9c59d32092c1392a0ecd58.gz
2008-05-17require stream stuffEvan Prodromou
darcs-hash:20080517191034-84dde-eebc08698104692bd67e00b9feffb0dd19f5c2b9.gz
2008-05-17common_start_element -> common_element_startEvan Prodromou
darcs-hash:20080517170430-84dde-74f42b52695699f646b65b939f78fbbe95a05c7e.gz
2008-05-17fixes to make it all lintEvan Prodromou
Ran everything through php -l, found out that it didn't compile. So: fixed the am-I-running-in-Laconica check at the top of each file. Some syntax fixes in shownotice, showstream, common. darcs-hash:20080517154701-84dde-8d38da89c5b9cb3b40704adb04a4de880c204181.gz