summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2009-02-06Update README and version number0.7.1Evan Prodromou
README and version number.
2009-02-06Merge branch 'sgmurphy-clone/0.7.x' into 0.7.xEvan Prodromou
Conflicts: lib/util.php
2009-02-06Merge branch '0.7.x' of git://gitorious.org/laconica/sgmurphy-clone into ↵Evan Prodromou
sgmurphy-clone/0.7.x
2009-02-06Fixed #1149: URL auto-linking bug when following colon.Sean Murphy
2009-02-06Move common_avatar_* functions to AvatarEvan Prodromou
Moved the common_avatar_* functions to the Avatar class. Typically either as methods on the object or as static methods. Replaced all the uses of the functions in other modules.