summaryrefslogtreecommitdiff
path: root/actions/public.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-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-07don't use count() to check for empty pageEvan Prodromou
2009-04-07Changed text "noone" to "no one".Sarven Capadisli
2009-04-07Renamed 'blankfiller' to 'guide'.Sarven Capadisli
2009-04-03Simplified code for empty public timeline.Robin Millette
2009-04-03added filler text to public tagcloud for when it's empty, encouraging user ↵Robin Millette
to post and/or register.
2009-03-30added filler text to public timeline for when it's empty, encouraging user ↵Robin Millette
to post and/or register.
2009-03-19Get rid of 'Join now...' message if site is closed or invite only. See ↵CiaranG
ticket #1335
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-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-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