Commit Graph

1351 Commits

Author SHA1 Message Date
mdb 97085dec45 This needs to match zero or more characters because length checking is
done elsewhere and if we use this regular expression to validate text
input fields, it will refuse to allow the user to delete the last
character.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1393 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-31 13:03:39 +00:00
mdb 52cdc61d55 Check maximum length as well, make the constraints public so that we can
eyeball them from elsewhere.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1392 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-31 06:41:47 +00:00
mdb 9557daee21 While we're adding handy classes, let's add a username wrapper as well
that enforces our name requirements.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1391 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-31 06:38:05 +00:00
mdb d16b0c0a3d Make it possible to create an account with an already encrypted password.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1390 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-31 06:24:01 +00:00
mdb e704a51391 Added versions of checkedUpdate() that simply issue a warning rather than
throwing an exception so that we can report funny business without
sticking a fork in things when it's not necessary.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1389 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-29 01:10:46 +00:00
mdb e97e4fdf26 Don't create a playlist entry if we couldn't find the song, log a warning
instead.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1388 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-28 02:36:44 +00:00
mdb 12555b8337 Added toString().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1387 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-28 02:36:23 +00:00
mdb 83601fce73 Not to freak out if we don't have our songs for some reason.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1386 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-28 02:35:55 +00:00
mdb 21e4e1a38f It's possible that the entry will have already been partially for some
other reason, so we need to make sure the songs are loaded.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1385 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-28 02:35:39 +00:00
ray 0690f0c5d6 Check to see if the message key is tainted and don't translate if it is.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1383 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-28 00:45:05 +00:00
mdb 45788c829a Adjust background color to match default Swing scrollbar color.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1382 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-26 16:35:27 +00:00
mdb fa549b8f0c Added a header to the category browser; removed some old setOpaque()
calls; made the chooser use most of the vertical height of the screen and
modified the split-pane to start with a 50/50 split.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1381 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-26 16:33:40 +00:00
mdb 160cf7efba Restructured the UI a bit, prettied things up some, switched out various
icons with some others that I dug up from Jimmac's icon page.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1380 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-26 16:10:55 +00:00
mdb 6d2e215bed Handle hex values in getValue(int).
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1378 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-25 13:37:24 +00:00
mdb 71da2bffa2 git-svn-id: https://samskivert.googlecode.com/svn/trunk@1377 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2004-01-24 06:14:53 +00:00
mdb a0818c51af Be security conscious about getting our system class loader.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1376 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-24 06:02:11 +00:00
mdb a9d6bcb085 This doesn't need to be a panel.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1375 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-16 15:25:29 +00:00
mdb acbda46b4f Incorporate our new standard library requirement into the build process.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1374 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-15 21:43:24 +00:00
mdb a927b75af5 Provided a deliverMail() routine that uses javax.mail; deprecated the old
sendmail implementation.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1373 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-15 21:41:00 +00:00
eric dbe6d53137 update that email addres.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1372 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-15 17:00:16 +00:00
eric cb5259f0dc Ok, lets just fall back to trying the explicit path of where sendmail
should if we don't find it in the env or otherwise choke horribly when we
just try to use 'sendmail' by itself.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1371 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-15 16:56:02 +00:00
ray dad7bc9b1a Don't index-outta-bounds if someone leaves the username blank and tries
to log in.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1370 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-15 01:33:30 +00:00
mdb 7cf9960ecf Always log the error and catch Throwable to make sure we log everything.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1369 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-14 09:10:05 +00:00
ray a09d03900e Added setSiteId() which also updates the dirty mask.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1368 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-13 23:02:04 +00:00
ray 715750c055 added setOpaque().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1367 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-12 08:39:49 +00:00
mdb e0eda7898b Fill in marginally useful defaults if we have no CDDB info.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1366 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-07 01:57:10 +00:00
ray ebba851172 Added wouldThrottle() and noteOp(), which together allow you to check if
an operation would be throttled, but also omit noting it if it were prevented
from happening by some other circumstance.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1364 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-05 22:09:19 +00:00
eric c94b2385d4 added 'percent' to take a float value and turn it into a nice percent string.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1363 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-05 19:14:04 +00:00
eric b366606757 Ahh yes, velocity doesn't do floats.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1362 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-05 19:13:30 +00:00
mdb f04c382bf9 Minor log fiddling.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1360 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-19 04:08:23 +00:00
mdb f25f22c3d4 Fixed color funny business.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1359 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-19 04:07:33 +00:00
ray f3d35142af A convenience class that lets you iterator over a non-sorted collection
or iterator in a sorted manner.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1358 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-17 21:58:06 +00:00
ray 22ef387cb0 Added a form of sanitize() that efficiently does what is most often desired
from the more general form of sanitize: check each char in a string against
a regex.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1357 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-17 19:19:25 +00:00
mdb b440d24939 Added getLongParameter().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1355 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-16 01:11:50 +00:00
mdb 519c1b45f4 Safety first!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1354 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-15 23:12:47 +00:00
mdb fa344463a2 The DocumentValidator and DocumentTransformer system don't work worth a
damn if you have a non-zero minimum value because you're fucked by not
being able to enter, for example, "1" because it's below the minimum value
even if you wanted to keep typing "100" which may be valid.

So instead we don't enforce the minimum value with the validator/
transformer combo and instead make sure we're at the minimum when we lose
focus. It's not perfect but there is no perfect solution when we're trying
to predict human intention.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1353 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-15 18:56:27 +00:00
mdb ad865c7172 Added addDebugBorders().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1351 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-13 01:18:25 +00:00
mdb 30a86c5211 Put the build directory in pages where it is conceptually in the same
place that the webapp is.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1350 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-12 01:14:57 +00:00
mdb cdbd08b31b Let's actually make use of our decoded message.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1349 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-11 06:41:50 +00:00
mdb 34cb3b9b53 Made escape() public.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1348 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-11 06:34:08 +00:00
mdb 8909f7bbbc Handle compound messages in the message manager.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1347 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-11 06:32:38 +00:00
mdb a41716bdd8 Migrated some basic i18n text handling into samskivert so that we can
finally make use of it in the webapps.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1346 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-11 06:32:18 +00:00
mdb cd9e00eae4 Next release -> next up; display complexity in priority list.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1345 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-11 00:13:48 +00:00
mdb 0d0e8645a4 Allow filtering by category in by category display.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1344 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 21:57:31 +00:00
mdb 254ab86e6d No claiming or editing from bulk to make tabbing smoother.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1343 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 20:37:46 +00:00
mdb 00ea3c1b11 Ignore some JDE business.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1342 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 20:33:56 +00:00
mdb f55ec29454 Added ability to bulk edit category and priorty. Cleaned a few other
things up.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1341 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 20:33:43 +00:00
mdb 00a60a90a6 Added a method for obtaining the length of an array.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1340 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 20:28:51 +00:00
mdb 919377e18a Modified priority display to flow left to right and to sort by category
within priority rather than complexity.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1339 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 19:39:26 +00:00
mdb 09f0f28705 Tip top!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1338 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 19:14:03 +00:00