Commit Graph

73 Commits

Author SHA1 Message Date
mdb 04f1a83125 Return the user object from login() so that we can act upon a user's
authentication immediately following a successful login.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@75 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 02:45:48 +00:00
mdb 8198fc6fb4 Was missing quotes around the expires date in the session insert SQL.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@74 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 02:38:31 +00:00
mdb 562c16d9ea Formatting.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@73 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 02:35:17 +00:00
mdb 7a6111bb66 Was referencing the wrong array.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@72 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 02:34:37 +00:00
mdb d33bd92c4d Mo betta user management.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@71 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 02:08:50 +00:00
mdb 998f929340 Added hexlate() a function that takes an array of bytes and returns a
string that is the hex encoding of said bytes.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@70 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 01:49:48 +00:00
mdb de085d0781 Created some SQL that creates the necessary user management tables in
MySQL syntax.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@69 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 01:22:46 +00:00
mdb 6178cba159 Moved shared Log instance to top-level so that all classes in the
samskivert package can make use of it. Having one log instance for the
whole samskivert package seems more reasonable at present than one log
instance for each of the subpackages.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@68 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 01:22:07 +00:00
mdb 878234e6f8 Created initial revision of user management services.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@67 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 01:21:06 +00:00
mdb de2f079b79 Fixed @see references.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@66 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 00:50:46 +00:00
mdb 4fc7d1dbe7 Added classes to manage thread-safe queues and to execute operations at
regular intervals on a separate thread.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@65 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 00:47:10 +00:00
mdb 7e723c6ddb Moved query generation entirely into Table instead of half in Cursor and
half in table. Then added a select() method that allows the addition of
other tables into the FROM clause so that a join can be done to determine
the key of the desired row. For example:

select ... FROM users, sessions WHERE authcode = 'foo' AND
                                      users.userid = sessions.userid


git-svn-id: https://samskivert.googlecode.com/svn/trunk@64 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 00:34:04 +00:00
mdb bdbb9ad427 Added isDuplicateRowException() for determining whether or not an
exception was caused by inserting a duplicate row into a table that
disallows such actions.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@63 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-01 22:59:51 +00:00
mdb 89849663c4 Added a Java crypt() implementation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@62 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-01 22:44:42 +00:00
mdb 53d9e069dc Added code to shut down our application objects when the servlet is shut
down.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@61 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-01 21:09:54 +00:00
mdb c0be9ea48d Various enhancements to our webmacro extensions.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@60 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-01 21:06:22 +00:00
mdb 65300ebc10 Added map implementations that use ints as keys and ints as keys and
values.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@59 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-01 18:47:01 +00:00
mdb be76920fb3 Report the JDBC driver class that we attempted to load when we report a
failure to load said class.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@58 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-01 02:04:09 +00:00
mdb 04579d4623 Removed debug output.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@57 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-24 02:48:22 +00:00
mdb 122fd7c694 git-svn-id: https://samskivert.googlecode.com/svn/trunk@56 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2001-02-24 02:45:45 +00:00
mdb 650960a95e Was missing 'void' in the prototype which confuses the C compiler.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@55 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-24 02:45:36 +00:00
mdb 26aa333625 No need to include entry.h as we don't use our own GtkEntry derived class
any longer.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@54 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-24 02:45:18 +00:00
mdb 9dcafda455 Changed from a GNOME applet to a standalone application. Finished the
implementation of various things.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@53 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-24 02:35:20 +00:00
mdb 4f8979557e Added an extra directive that causes the docs target to be included by the
all target.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@52 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-16 03:29:07 +00:00
mdb 8a19e977ae Added a local Makefile to put our jar files into the CLASSPATH.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@51 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-16 03:28:39 +00:00
mdb b6d6dedc30 Added convenience functions to Log that allow callers to use Log.info()
rather than Log.log.info(), etc.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@50 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-16 03:27:54 +00:00
mdb 304f1527cc Added a top-level makefile for ease of rebuilding.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@49 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-15 01:47:55 +00:00
mdb 87dd10bb85 Changed around the way things are handled. We now map all files with the
.wm extension to the DispatcherServlet and it loads ContextPopulator
instances to populate the contexts for the template that is identified by
the URI. This page driven invocation scheme works more nicely in my humble
opinion and WebMacro certainly benefits from such an extension.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@48 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-15 01:44:34 +00:00
mdb 0a2c7d63fd Finished the config loading stuff.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@47 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-15 01:15:02 +00:00
mdb 0af3172403 Created a utility class for loading configuration information from a file
that lives somewhere in the classpath.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@46 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-15 01:09:57 +00:00
mdb d654cd9bd5 Added the code that actually maps exceptions to error messages.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@45 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 20:00:28 +00:00
mdb e00c6cc066 Added a method for replacing text within a string.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@44 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 19:54:43 +00:00
mdb 4c087e4e6a Created an extension to the webmacro servlet that automatically handles
exceptions in a user friendly way.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@43 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 18:49:41 +00:00
mdb 4da2553581 Catch and report class not found when loading the JDBC driver.
Added an execute() helper function which will automatically commit or roll
back an SQL operation if it succeeds or fails.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@42 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 05:55:57 +00:00
mdb 500a88880b Created a makefile for building javadoc documentation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@41 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 05:54:29 +00:00
mdb 826a3f1749 Extend the samskivert provided default repository implementation now and
use the samskivert version of JORA.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@40 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 05:48:29 +00:00
mdb c2db44dd77 Imported a slightly modified version of JORA.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@39 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 05:46:56 +00:00
mdb 8061ef0939 Created base class for JORA-based database repository implementations that
takes care of establishing a JORA session based on JDBC configuration
properties and provides a few other useful patterns.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@38 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 00:25:14 +00:00
mdb 034241f6ce Fixed up the ripping process as well as progress reporting. Made progress
reporting work for the cdparanoia ripper.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@37 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-06 08:18:00 +00:00
mdb d3d22fcf68 Added ignore files to ignore all the autogenerated crap.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@36 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 23:41:15 +00:00
mdb 537e308c62 Initial, incomplete, version of lookuplet.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@35 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 23:38:39 +00:00
mdb d15f6917bd Created design document.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@34 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 07:02:34 +00:00
mdb 37404be66b Initial revision of the music importer UI. Not complete.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@33 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 07:02:09 +00:00
mdb 05bbd8f973 New cdparanoia has xiph.org email address in header rather than mit.edu
address.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@32 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 07:01:24 +00:00
mdb 8b5124cd23 Added a top-level Makefile.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@31 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 07:01:00 +00:00
mdb 470048442a SQL to create the music repository.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@30 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 07:00:47 +00:00
mdb 0993bf5aed Added a local makefile that includes our jar files and the samskivert
stuff.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@29 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 07:00:21 +00:00
mdb b046d75e7a Added a script for running java with the proper environment.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@28 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 06:59:36 +00:00
mdb 4ec1bd06da Account for a container's insets when laying out it's children. Apparently
that's up to us.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@27 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-07 11:09:59 +00:00
mdb effaaf3df8 Log the stack trace if a task observer chokes in taskCompleted() or
taskFailed().


git-svn-id: https://samskivert.googlecode.com/svn/trunk@26 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-07 06:14:36 +00:00