Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-12 | Revert "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-12 | Revert "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-12 | don't over specialize URLs | Evan Prodromou | |
2009-02-12 | Add XMLStringer for building XML strings | Evan Prodromou | |
We had a bunch of | |||
2009-02-12 | wrap multiline regexp in quotes so it doesn't mess up my editor's indenting | Evan Prodromou | |
2009-02-11 | Just 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-11 | Code to handle PEAR_Errors raised by DB_DataObject that are bubbling | Zach Copley | |
up, but are actually expected and can safely be ignored. | |||
2009-02-11 | fix command classes | Evan Prodromou | |
2009-02-11 | Move Commands stuff out of classes | Evan 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-11 | change htmloutputter to use exception instead of common_user_error | Evan Prodromou | |
2009-02-11 | Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x | Evan Prodromou | |
2009-02-11 | Handle DB_DataObject errors better | Evan 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-11 | Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x | Sarven Capadisli | |
2009-02-11 | Minor. Changed from @class location to label | Sarven Capadisli | |
2009-02-11 | Unify feeds definition in actions | Evan 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-11 | Merge branch 'sgmurphy-clone/0.7.x' into 0.7.x | Evan Prodromou | |
2009-02-11 | Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x | Evan Prodromou | |
2009-02-11 | Merge branch 'urlroute' into 0.7.x | Evan Prodromou | |
2009-02-11 | add related link to Atom for feeds for some downstream users | Evan Prodromou | |
2009-02-11 | Use a router singleton | Evan Prodromou | |
2009-02-10 | Build urls using Net_URL_Mapper, too | Evan Prodromou | |
2009-02-10 | integrate URL routing into core code | Evan Prodromou | |
2009-02-10 | Fixed 1174: schemeless URL auto-linking bug | Sean Murphy | |
2009-02-10 | trac #233 Explicitely show we have an rss feed for notice searches. | Robin Millette | |
2009-02-09 | Fixed remaining substr_replace with multibyte equivalent. | Sean Murphy | |
2009-02-09 | Merge commit 'upstream/0.7.x' into 0.7.x | Sean Murphy | |
2009-02-09 | Fixed #1170: Auto-linking bug when URL cotains special chars. | Sean Murphy | |
2009-02-09 | Add a hook for showing sidebar sections | Evan Prodromou | |
2009-02-09 | Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x | Evan Prodromou | |
2009-02-09 | whitespace and formatting | Evan Prodromou | |
2009-02-09 | Merge branch 'sgmurphy-clone/0.7.x' into 0.7.x | Evan Prodromou | |
2009-02-09 | Change action autoloading to allow actions in plugins | Evan 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-09 | trac #1160 fix dropdown xmloutput function for the selected attribute and ↵ | Robin Millette | |
fix newmessage auto-selected dropdown. | |||
2009-02-09 | include plugin.php early so config can use it | Evan Prodromou | |
2009-02-09 | allow events without arguments | Evan Prodromou | |
2009-02-09 | utility superclass for plugins | Evan Prodromou | |
2009-02-09 | Add InitializePlugin and CleanupPlugin events | Evan Prodromou | |
We add two events to allow plugins to initialize and cleanup. | |||
2009-02-09 | add hooks for JavaScript handling | Evan Prodromou | |
2009-02-09 | First events for adding menu items | Evan Prodromou | |
2009-02-09 | had the logic on event handler reversed | Evan Prodromou | |
2009-02-09 | Fix indentation in lib/action.php | Evan Prodromou | |
2009-02-09 | Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x | Evan Prodromou | |
2009-02-09 | Better exception handling in index | Evan Prodromou | |
Some better exception handling in Web entry point. | |||
2009-02-09 | Index and Action use Exceptions | Evan Prodromou | |
Main Web entry point accepts exceptions, and main code in Action throws them. | |||
2009-02-09 | First steps to using exceptions for error handling | Evan 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-09 | Add event.php before config.php is called | Evan Prodromou | |
2009-02-09 | First events code | Evan Prodromou | |
Add the basic code for adding events. | |||
2009-02-07 | Using rel="external" instead of class="exlink" | Sarven Capadisli | |
2009-02-07 | Fixed references to common_avatar_*. | Sean Murphy | |
2009-02-07 | Merge commit 'upstream/0.7.x' into 0.7.x | Sean Murphy | |
Conflicts: actions/showstream.php |