summaryrefslogtreecommitdiff
path: root/actions/public.php
AgeCommit message (Collapse)Author
2009-08-14Revert "Return a 404 when a page is request that has no notices"Evan Prodromou
An empty list still exists; we should not return a 404 for empty lists. This reverts commit 355effe6315ab7927a54f44fc9ce903085769b5f.
2009-08-14Revert "Return a 404 when a page is request that has no notices"Evan Prodromou
An empty list still exists; we shouldn't return a 404. This reverts commit c29892c87573e0575b9a4a13210c562e08411148.
2009-08-11Return a 404 when a page is request that has no noticesCraig Andrews
2009-08-11Return a 404 when a page is request that has no noticesCraig Andrews
2009-08-10Added configuration option to only allow OpenID logins.Jeffery To
If $config['site']['openidonly'] is set to true: * the Login/Register pages will be removed from the navigation; * directly accesses to the Login/Register pages will redirect to the OpenID login page; * most links to the Login/Register pages will link to the OpenID login page instead. The user will still need to set a password to access the API and RSS feeds.
2009-07-27change front page to link to max member groupsEvan Prodromou
2009-06-30Merge commit 'erichelgeson/no-posts-verbage' into 0.8.xZach Copley
* commit 'erichelgeson/no-posts-verbage': Needed the else. Tested logged in/out ; site closed/inviteonly/both Verbage of a closed invite only site, it shouldnt ask you to register.
2009-06-25max public pageEvan Prodromou
2009-06-16Needed the else. Tested logged in/out ; site closed/inviteonly/bothEric Helgeson
2009-06-12Verbage of a closed invite only site, it shouldnt ask you to register.Eric Helgeson
2009-06-10Remove FIXME-marked Opera links until they actually workEvan 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-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