Par Winzell
e386d6c3a0
Add an index, document index use for Depot operations. Do you think this is worthwhile? We should really just about never see a non-indexed query during normal production use and one way to maintain that discipline is with a comment line like this.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@399 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-07 18:05:44 +00:00
Michael Bayne
96b42efbae
Switch stataData to an untyped column so that Depot can do the right thing with
...
it. BLOB on MySQL has a maximum length of 65535, so we'll preserve those
semantics even though Depot will now use VARBINARY on MySQL for columns of
length 65535 and lower.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@398 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-07 17:20:22 +00:00
Michael Bayne
30d7bc4be3
When we add a chat display, we must remove it once we're done.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@397 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-02 19:12:08 +00:00
Michael Bayne
8d9ff98273
columnNames -> fieldNames.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@396 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-31 21:36:49 +00:00
Michael Bayne
09ad0ca87d
Updates to reflect SpeakProvider refactoring.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@395 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-31 21:05:36 +00:00
Ray Greenwell
8233be01e7
Added filter(text) to the EZGame API. Untested.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@394 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-31 06:51:20 +00:00
Jonathan Le Plastrier
2bbca9894b
Have distclean just call what it needs in common-clean
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@393 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-28 04:17:20 +00:00
Par Winzell
beb58c2c41
Another tweak, now that code/value is the full key.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@392 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-27 21:18:30 +00:00
Par Winzell
0444af1792
Forgot to turn this check on properly.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@391 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-27 21:15:27 +00:00
Par Winzell
3f7c1f9466
The old schema had STAT_DATA be a BLOB, and Depot currently defaults to varbinary(255). This raises at least two questions; first, does it make sense to assume that in the absence of any other markup, 255 is a reasonable size limit? I am not at all sure. Second, whatever the default translation of byte[] ends of being, how to we deal dialect-agnostically with schema compatibility issues?
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@390 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-27 21:12:29 +00:00
Par Winzell
a010a130fc
This should work better.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@389 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-27 20:59:38 +00:00
Par Winzell
7d3de02e7c
As tidy as it was to tuck this record away inside StatRepository, we'd really like the benefit of the 'genrecord' transformation. Also the inner class couldn't be protected for reflection access reasons so some of the tidy wasn't so tidy.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@388 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-27 19:17:57 +00:00
Par Winzell
8defc9da5e
So CODE is not in fact part of the primary key, thanks Mark.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@387 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-27 18:53:24 +00:00
Michael Bayne
ae02a37f74
Out with the old.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@386 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-26 20:50:16 +00:00
Michael Bayne
12130830e7
Don't need legacy ConnectionProvider support here, so nix it.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@385 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-26 20:39:27 +00:00
Michael Bayne
fa7eb87945
Nixed stale method, some minor tidying.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@384 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-26 20:38:08 +00:00
Par Winzell
2d5a5ca033
Depot implementation of the stat system persistence - hopefully schema compatible with the old version. This one is a little more complicated and Whirled doesn't have any stats yet so I was a little at a loss at how to test all of it. Perhaps somebody at Bang could make sure nothing crashes and burns horribly when e.g. a new string code is assigned?
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@383 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-26 20:28:50 +00:00
Par Winzell
a2d446d3cf
Away with ye, Depot dependency check.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@382 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-26 20:26:37 +00:00
Par Winzell
7dea421cca
Depot implementation of the Game Cookie persistence - hopefully schema compatible with the old version.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@381 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-26 20:20:07 +00:00
Michael Bayne
2885a2b41c
Use a PersistenceContext to initialize the RatingRepository.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@380 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-26 00:22:38 +00:00
Michael Bayne
505d75ca6c
Note our persistent record classes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@379 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-25 23:48:10 +00:00
Michael Bayne
a68b0aee35
Pipe down Mister.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@378 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-25 21:47:48 +00:00
Michael Bayne
c826583754
More Depot NWO.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@377 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-25 21:07:35 +00:00
Mike Thomas
e6b104f688
Don't trigger that the players have all arrived if it happens after the game has already started. This could previously occur if all the participants of the game leave and come back (without the game shutting down, possibly due to watchers).
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@376 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-25 16:33:11 +00:00
Mike Thomas
8ad7f5eaef
Actually, this looks like the "right" way to do this - use the PlaceOid as our comparator.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@375 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-24 17:41:20 +00:00
Mike Thomas
85d3e3c7a7
location is an object, compare appropriately.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@374 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-24 17:31:19 +00:00
Michael Bayne
923eaf3f7d
Added getSceneId(Place).
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@373 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-21 01:14:06 +00:00
Michael Bayne
e03ddd71e8
Updates to reflect new BodyObject.location change. We now have a ScenePlace and
...
ScenedBodyObject goes away.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@372 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-21 00:47:00 +00:00
Dave Hoover
c8b2f7212b
Make it easier for drop puzzles to implement their own fancy drop logic
...
if they've got that burning need to do something out of the ordinary.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@371 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-19 22:38:32 +00:00
Dave Hoover
9d4a41f54f
Widen up some drop puzzle code, and break the board filling action out into
...
its own function so puzzles wanting fancier fill logic can override it as
needed.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@370 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-19 19:07:50 +00:00
Michael Bayne
2123c43c3b
The SceneDirector should observer location changes so that it can clear out its
...
current scene information if we move to a non-scene location. Previously when
we did so, it simply didn't notice and thought we were still in the last scene
that we had occupied.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@369 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-18 23:49:56 +00:00
Dave Hoover
8c88195b8b
Now that games clear out their player oids when they finish, card games
...
need to keep around a copy to confirm that somebody is allowed to request
a rematch, and then pull everyone into it.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@368 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-18 16:39:50 +00:00
Dave Hoover
6958d99563
Widen.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@367 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-18 00:01:41 +00:00
Michael Bayne
d4e113d784
Missed this.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@366 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-17 21:35:52 +00:00
Michael Bayne
b6562d91e6
Keep our pending data in an extensible object so that we can easily preserve it
...
across server switches, when it would otherwise be cleared out.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@365 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-17 21:14:40 +00:00
Michael Bayne
08f7029220
We don't need the sceneId or version in the base class.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@364 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-17 01:24:56 +00:00
Michael Bayne
cb05d5f56b
Factored scene movement out into separate helper classes so that code can be a
...
bit more cleanly shared and the process of resolving zones and scenes and the
various fiddling done during a scene move can be more easily grokked.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@363 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-17 00:25:18 +00:00
Dave Hoover
755b835c93
Christmas comes but once a year, but svn keyword substitution day comes
...
whenever the urge strikes!
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@362 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-14 00:27:03 +00:00
Michael Bayne
959cf8c212
Leave all this scene registry creation to the implementing server.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@361 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-14 00:01:21 +00:00
Michael Bayne
522a96ef96
Regeneratd services, got new mo' betta type handling.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@360 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 23:53:31 +00:00
Michael Bayne
b0f5087af3
SceneService is no longer kickin' it with the old skool crew.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@359 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 23:52:46 +00:00
Michael Bayne
5015ec26c2
Move SceneProvider stuff into the SceneRegistry as all the cool kids use the
...
new pattern of having a Provider interface which is implemented by a Manager or
other server-side entity.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@358 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 23:48:42 +00:00
Michael Bayne
5fbf4e17da
More documentation cleanups, widening.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@357 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 22:27:08 +00:00
Michael Bayne
a33bf1762f
Widening.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@356 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 22:23:39 +00:00
Michael Bayne
a49e2c26f3
Adapt or perish!
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@355 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 22:10:26 +00:00
Michael Bayne
d5023554e8
Allow a SceneService.moveTo() to respond by requesting that the client move to
...
a new server and reissue its request, which it, in theory, now does.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@354 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 21:59:46 +00:00
Michael Bayne
6a77a7e1f1
Widening.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@353 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 19:57:46 +00:00
Par Winzell
872d13660c
If there's nothing to query, don't query.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@352 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-10 16:42:13 +00:00
Ray Greenwell
9b5d3cca12
Use the new ObjectMarshaller.
...
Note that the default value of the encodeArrayElements has changed to reflect
the more general-purpose use.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@351 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-06 22:27:16 +00:00
Ray Greenwell
54c571f7f5
Bugfix: user cookies should be validated as serializable.
...
This breaks UD's current cookie mechanism, but it's easily fixed.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@350 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-06 21:43:17 +00:00