eric
e2f1e09bf0
Added a 'button' call to make an input button type, which is useful for
...
making things like back buttons, and other onclick wacky things. If you
try the onclick javascript back thing with a submit button it just does
the submit.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1268 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-15 00:16:17 +00:00
mdb
82651fc015
Blow away both kinds of cookie when logging out. I'm not sure if this will
...
do anything because these are sort of the same cookie except the domain is
different.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1267 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-14 02:37:53 +00:00
mdb
c80b5615c8
Added widenDomain().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1266 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-14 02:00:45 +00:00
mdb
053c33c216
We need to do the same jockeying when logging the user out.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1265 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-14 02:00:01 +00:00
mdb
8f0addcb8f
Remove crack pipe, fix code.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1264 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-14 01:49:10 +00:00
mdb
73e2105272
Strip the hostname from the domain of the authentication cookie so that we
...
can see it from other servers in the same domain.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1263 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-13 23:16:41 +00:00
mdb
b256bfe9b3
Build file updates.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1262 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-13 18:21:20 +00:00
ray
8efa9a5c28
URL encode the parameter names as well as the values, use a StringBuffer.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1261 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-13 17:52:27 +00:00
eric
c10358e7a6
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1260 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-13 17:40:10 +00:00
eric
1275d3d979
Add handy function to slide all the request params into the context.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1259 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-11 00:13:17 +00:00
mdb
b524bf58ed
Don't specify the size of the icon, let it read it from the image.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1258 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 21:41:10 +00:00
mdb
832bb591ec
Made the icon the proper size.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1257 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 21:40:29 +00:00
mdb
8e133bdd2c
Use proper error reporting.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1256 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 21:31:57 +00:00
mdb
c99f2b2499
Converted to Java regex library.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1255 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 21:30:42 +00:00
mdb
c47de6aa1d
Partial conversion to Java regex code.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1254 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 21:25:46 +00:00
mdb
d32543d78c
Bits.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1253 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 19:33:47 +00:00
mdb
5ddfa1e25e
Make 'em play nice.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1252 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 19:33:16 +00:00
mdb
e48d0165a9
Oh the saga of SmartPolygon. We get the deprecation warning merely by
...
overriding this method, which we have to do because the sumbitches call it
internally in Polygon. Someone please just shoot me now.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1251 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 19:14:43 +00:00
mdb
44b9fd6501
Code reuse--, compiler warnings--, screwed by Sun++.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1250 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 17:49:25 +00:00
ray
1ccff7d9d5
Canned getPolygon(), which made a seemingly useless rectangular polygon and
...
wasn't used in anywhere anyway.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1249 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-09 21:15:14 +00:00
ray
d8d16bcbf5
Added clearCookie().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1248 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-09 00:48:37 +00:00
ray
e6dbb1cf5b
Wrap URLEncoder nicely in StringUtil.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1247 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-08 23:52:50 +00:00
mdb
66cfb9ccf6
Some table sorting code I've had lying around for ages which doesn't work
...
in the general case, but can be used in some circumstances so I'll go
ahead and check it in for now.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1246 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-08 23:24:58 +00:00
ray
3050822887
Avoid deprecation warnings.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1245 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-08 00:45:18 +00:00
mdb
5c036422f6
Removed vestigal import.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1244 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-08 00:40:16 +00:00
mdb
0ac929d603
Can the deprecated business.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1243 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-08 00:39:54 +00:00
ray
efe326f8db
Avoid deprecation warnings.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1242 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-08 00:35:57 +00:00
ray
c9239fd74a
Use ObjectUtil.equals()
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1241 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-07 02:14:18 +00:00
ray
5e96fd2e2d
A method name beginning with 'load' in a repository class would imply
...
database traffic happening in that method, such is not the case with these.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1240 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-07 02:13:27 +00:00
ray
0b86451fb3
Created a CookieUtil for looking up cookie values.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1239 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-06 22:50:28 +00:00
ray
3748e9ea6c
These methods can be static, and they're useful from more places as such.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1238 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-06 22:49:57 +00:00
mdb
1b4557243b
Let the optimization be specified by the top-level ant invocation.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1237 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-06 21:26:50 +00:00
mdb
e30bb42a3a
No forcing jikes.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1236 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-06 21:25:12 +00:00
ray
f95a813b62
Have currencyPennies call the other.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1235 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-02 02:22:21 +00:00
eric
b2b4e0ec7d
Added a couple of useful functions for convertind double dollars or
...
pennies to strings.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1234 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-01 22:58:31 +00:00
ray
20fd2a0bd7
Utility class to safely do a http POST request.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1233 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-26 02:36:41 +00:00
eric
ba21ce387c
Jam the data tool into the context.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1232 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-25 18:06:29 +00:00
eric
967715266e
Har, let there be some useful functions for dealing with arrays. Oh
...
velocity developers, what were ye thinking taking away the wonders of
arrays from us?
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1231 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-25 18:05:50 +00:00
ray
8c83a7277c
Added a toString() that lists the set of modified fields for debugging
...
goodness.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1229 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-20 00:04:34 +00:00
mdb
23ee279609
Table.selectAll() is used when data from multiple tables is composed into
...
a single object. Table.select() is what is used when there's a one to one
table to object mapping. The All in select all should not be confused with
"" as the where clause which causes "all" records to be selected from the
table. While querying by example also works, it does unnecessary work.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1228 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-19 21:13:37 +00:00
eric
780efcb158
hmm selectAll doesn't seem to actually work as expected. Switcheroo to queryByExample.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1227 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-19 19:48:09 +00:00
ray
7169e9960e
Ascii character thirty-two, how I love you.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1226 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-19 17:24:35 +00:00
eric
2e77d66acf
UserRepo construction throws and exception now, load all the site stuff
...
into memory and not be going to the db willynilly (hurry for mike!)
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1225 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-19 02:51:25 +00:00
eric
20c292a41a
Added code to get all the site records, get a siteName from the siteId,
...
get a siteId from a siteName.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1224 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-19 02:14:42 +00:00
eric
35b195ae1b
Initial checkin of class representing a row in the sites table.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1223 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-19 02:12:55 +00:00
ray
e90ba29170
Changed method name to contain "Subset" and not "SubSet",
...
clarified method documentation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1222 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-19 00:49:54 +00:00
mdb
4b652903ef
Log that stack trace.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1221 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-18 23:52:17 +00:00
ray
be8f33a70b
Made that comment make sense.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1220 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-17 18:50:07 +00:00
ray
3c1836d76d
Added a note about a pitfall with the truncating version of requireParameter.
...
Added method headers for some protected methods.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1219 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-17 18:41:04 +00:00
eric
0ede1e0dad
Added code to load users from an array of userIds, return as a HashIntMap
...
keyed on userid. Pulled some code out of loadNames into a function so I
could use it as well. Moved loadAllRealNames up higher in the file since
it is a public function.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1218 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-09-16 18:37:31 +00:00