summaryrefslogtreecommitdiff
path: root/lib/action.php
AgeCommit message (Collapse)Author
2009-05-15add a hook for the page noticeEvan Prodromou
2009-05-15reformat action.phpEvan Prodromou
2009-04-15Merge branch 'nobase' into 0.7.xEvan 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-14Make stuff work with no baseEvan Prodromou
2009-04-13typo in lib actionEvan Prodromou
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-07Merge branch 'master' of git://gitorious.org/laconica/brianjesse-clone into ↵Evan Prodromou
brianjesse-clone/master
2009-04-07Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.xEvan Prodromou
2009-04-07Rearranged the global navigation items for better usability. Reason a)Sarven Capadisli
placement of Search at the edge of the viewport for quicker access and b) placement of the links that are always available (whether user is logged in or not) in the same location (i.e., Login/Logout, Help, Search)
2009-04-07Added Invite link to global navigationSarven Capadisli
2009-04-07make tags in list workEvan Prodromou
2009-04-01Selector to allow styles when a user is logged in.Sarven Capadisli
2009-03-23added a few Laconica eventsBrian
2009-03-16Add `apple-touch-icon.png` support; favicons for the iPhone OS.Meitar Moscovitz
2009-03-16Output code to explicitly reference favicons.Meitar Moscovitz
This makes favicons work when Laconica is not installed at a web server's DOCUMENT_ROOT. I've also added the capability to override the Laconica default favicon.ico file with a theme-specific one simply by dropping a themed favicon.ico in the appropriate theme directory.
2009-03-12Revert "trac #201 Add flowplayer to enable multimedia playback capability."Evan Prodromou
This reverts commit 9c9b6790ce78296c0b182f03b5f6f2c035e43a7c. This code wasn't ready for release, so I've reverted it for now. Conflicts: lib/action.php lib/util.php
2009-03-11Check if that $_SERVER param is set before accessing.Adrian Lang
2009-03-04fix pagination links with new URL mapperEvan Prodromou
2009-02-26Hook for setting document content type, charset, language, DOCTYPE andSarven Capadisli
html element properties
2009-02-24Print stylesheetSarven Capadisli
2009-02-20Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.xZach Copley
2009-02-20New doc page for Identi.ca badge and minor updates to badge's jsZach Copley
2009-02-20Hooks for: local navigationSarven Capadisli
2009-02-18more correct handling of etags and last-modifiedEvan Prodromou
2009-02-18Merge branch 'dev-0.7.x' into framebustingMeitar Moscovitz
Conflicts: lib/action.php
2009-02-17Merge branch 'mobile-style' of git://gitorious.org/laconica/meitar into reviewSarven Capadisli
Conflicts: lib/action.php
2009-02-16trac #201 Add flowplayer to enable multimedia playback capability.Robin Millette
2009-02-16Add framebusting JavaScript to help avoid clickjacking attacks.Meitar Moscovitz
2009-02-13Hooks for: custom, laconica, UA specific stylesheetsSarven Capadisli
2009-02-12Hooks for: header, contentblock, footerSarven Capadisli
2009-02-12Revert "Code to handle PEAR_Errors raised by DB_DataObject that are bubbling"Evan Prodromou
This reverts commit 9f035e2847e0d119ca3d70e02df6f4fa73ca64c3. It's a lot of complicated stuff, and the global handler probably does fine.
2009-02-12Revert "Just discovered the PEAR_Error handling function in index.php. Duh."Evan Prodromou
This reverts commit 616bdd43a921b2554d21b80af28ddb0fb6cb3c16. Kind of a long hard way to deal with a simple situation, so I'd prefer to just use the global handler.
2009-02-11Just discovered the PEAR_Error handling function in index.php. Duh.Zach Copley
Renamed the Action functions to throw an exception like it. I still think it probably makes sense to have the callback defined in both places for finer control.
2009-02-11Code to handle PEAR_Errors raised by DB_DataObject that are bubblingZach Copley
up, but are actually expected and can safely be ignored.
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-11Trigger only on handheld device screens, not on browser screens, d'oh!Meitar Moscovitz
2009-02-11Add streamlined mobile device-friendly styles when enabled in config.Meitar Moscovitz
A new mobile-specific style sheet is added and loaded only if the `$config['site']['mobile']` configuration variable is set to true.
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-10Merge branch 'dev-0.7.x' into link-rel-paginateMeitar Moscovitz
2009-02-09Add a hook for showing sidebar sectionsEvan Prodromou
2009-02-10Merge branch 'dev-0.7.x' into link-rel-paginateMeitar Moscovitz
2009-02-09add hooks for JavaScript handlingEvan Prodromou
2009-02-09First events for adding menu itemsEvan Prodromou
2009-02-09Fix indentation in lib/action.phpEvan Prodromou
2009-02-09Index and Action use ExceptionsEvan Prodromou
Main Web entry point accepts exceptions, and main code in Action throws them.
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-04Allow HTML in site notice (Bug#1002)Evan Prodromou
2009-02-03Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk into 0.7.xEvan Prodromou