summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-02-12don't over specialize URLsEvan Prodromou
2009-02-12Add XMLStringer for building XML stringsEvan Prodromou
We had a bunch of
2009-02-12wrap multiline regexp in quotes so it doesn't mess up my editor's indentingEvan Prodromou
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-11fix command classesEvan Prodromou
2009-02-11Move Commands stuff out of classesEvan Prodromou
The classes/ subdir is primarily for the DB_DataObject classes. Stuff in there can get stomped by various generation scripts. I've moved the lurkers there -- related to command-handling -- to lib/. Since auto-loading works fine with lib/, there shouldn't be much of a visible change here.
2009-02-11change htmloutputter to use exception instead of common_user_errorEvan Prodromou
2009-02-11Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.xEvan Prodromou
2009-02-11Handle DB_DataObject errors betterEvan Prodromou
We try to handle DB_DataObject errors a little bit better. Previously, they just spit out a cryptic string to the browser with a suggestion to turn on debugging (not a good idea!). So, we catch the error, write the full error message to the log, and then tell users that the can contact the admins if they need to.
2009-02-11Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.xSarven Capadisli
2009-02-11Minor. Changed from @class location to labelSarven Capadisli
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-11Merge branch 'sgmurphy-clone/0.7.x' into 0.7.xEvan Prodromou
2009-02-11Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.xEvan Prodromou
2009-02-11Merge branch 'urlroute' into 0.7.xEvan Prodromou
2009-02-11add related link to Atom for feeds for some downstream usersEvan Prodromou
2009-02-11Use a router singletonEvan Prodromou
2009-02-10Build urls using Net_URL_Mapper, tooEvan Prodromou
2009-02-10integrate URL routing into core codeEvan Prodromou
2009-02-10Fixed 1174: schemeless URL auto-linking bugSean Murphy
2009-02-10trac #233 Explicitely show we have an rss feed for notice searches.Robin Millette
2009-02-09Fixed remaining substr_replace with multibyte equivalent.Sean Murphy
2009-02-09Merge commit 'upstream/0.7.x' into 0.7.xSean Murphy
2009-02-09Fixed #1170: Auto-linking bug when URL cotains special chars.Sean Murphy
2009-02-09Add a hook for showing sidebar sectionsEvan Prodromou
2009-02-09Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.xEvan Prodromou
2009-02-09whitespace and formattingEvan Prodromou
2009-02-09Merge branch 'sgmurphy-clone/0.7.x' into 0.7.xEvan Prodromou
2009-02-09Change action autoloading to allow actions in pluginsEvan Prodromou
Since plugins may define custom actions, we shouldn't require that there be a file in our actions/ subdir for every action. So, I changed the (admittedly hackish) auto-loading code in index.php so it instead checks whether a class exists with the expected name. This, in turn, uses the increasingly hacking __autoload() function, which I changed to auto-load stuff named "BlahblahAction" from the actions subdir if available.
2009-02-09trac #1160 fix dropdown xmloutput function for the selected attribute and ↵Robin Millette
fix newmessage auto-selected dropdown.
2009-02-09include plugin.php early so config can use itEvan Prodromou
2009-02-09allow events without argumentsEvan Prodromou
2009-02-09utility superclass for pluginsEvan Prodromou
2009-02-09Add InitializePlugin and CleanupPlugin eventsEvan Prodromou
We add two events to allow plugins to initialize and cleanup.
2009-02-09add hooks for JavaScript handlingEvan Prodromou
2009-02-09First events for adding menu itemsEvan Prodromou
2009-02-09had the logic on event handler reversedEvan Prodromou
2009-02-09Fix indentation in lib/action.phpEvan Prodromou
2009-02-09Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.xEvan Prodromou
2009-02-09Better exception handling in indexEvan Prodromou
Some better exception handling in Web entry point.
2009-02-09Index and Action use ExceptionsEvan Prodromou
Main Web entry point accepts exceptions, and main code in Action throws them.
2009-02-09First steps to using exceptions for error handlingEvan Prodromou
Added two exception classes: one for client errors (= user can fix) and one for server errors (only admin or coder can fix). The web entry point now tries to catch exceptions and show them in the browser. The main code for showing errors in Action class now throws an exception and lets top-level handle it.
2009-02-09Add event.php before config.php is calledEvan Prodromou
2009-02-09First events codeEvan Prodromou
Add the basic code for adding events.
2009-02-07Using rel="external" instead of class="exlink"Sarven Capadisli
2009-02-07Fixed references to common_avatar_*.Sean Murphy
2009-02-07Merge commit 'upstream/0.7.x' into 0.7.xSean Murphy
Conflicts: actions/showstream.php
2009-02-07Fixed #1152: Needless image scaling and poor JPG qualitySean Murphy
2009-02-06"Change your email address..." msg was printing out \n instead of a newlineZach Copley