History of jbidwatcher/trunk/src/com/jbidwatcher/auction/server/AuctionServerManager.java

  • @693
    avatar 693

    Finally clean up the previously deep tangle between JConfig and ErrorManagement. All error logging is now handled through JConfig.log(), so ErrorManagement doesn't need to be a static block of functions anymore. Much cleaner, imo, but a pretty far-reaching change.

    by mrs, 21 Dec, 2008 01:04 AM
  • @691
    avatar 691

    Fix the AuctionServerManager/AuctionServer tangle with a nicer and cleaner fallback architecture.

    by mrs, 21 Dec, 2008 12:05 AM
  • @688
    avatar 688

    More sweeping changes to fall back to a non-ebay.com eBay server (ebay.co.uk right now) for items which ebay.com is refusing to show. Rudimentary tests show the core implementation is successful.

    by mrs, 09 Dec, 2008 12:24 PM
  • @684
    avatar 684

    Some preliminary refactorings, working towards enabling multiple simultaneous eBay servers, so I can have a server that resolves ebay.com and a server that resolves non-ebay.com items, and when a snipe fires or auction reloads it'll use the right one. This refactoring doesn't do that, but it makes it easier to do that.

    by mrs, 29 Nov, 2008 01:02 PM
  • @636
    avatar 636

    Try to simplify the database access, by making _everything_ save itself when it changes. No more automatic saves, queued saves, etc., since all that crap is dangerous with multiple threads doing simultaneous database access. Hopefully this will yield more consistent (and good!) behavior.

    by mrs, 15 Sep, 2008 09:50 AM
  • @635
    avatar 635

    Strip caching entirely from the app; it's not strictly necessary, and it's confusing EVERYTHING.

    by mrs, 15 Sep, 2008 06:19 AM
  • @611
    avatar 611

    More improvements to using the auction identifier as the (basically) primary key.

    by mrs, 18 Aug, 2008 09:01 AM
  • @588
    avatar 588

    Fix saving the XML file of auctions where the underlying auction info object has vanished for some reason.

    by mrs, 05 Aug, 2008 04:04 PM
  • @584
    avatar 584

    When loading the snipable items to refresh snipes, be sure to set the auction server for them.

    by mrs, 04 Aug, 2008 07:42 PM
  • @583
    avatar 583

    Capture the loss of auction entries because the underlying auction info wasn't there.

    by mrs, 04 Aug, 2008 10:47 AM
  • @527
    avatar 527

    Remove the last reference to AuctionServerManager from AuctionEntry, instead injecting a 'resolver' interface, which resolves auction ids to a server.

    by mrs, 30 Jun, 2008 07:09 AM
  • @526
    avatar 526

    Several refactorings to make AuctionEntry reference the AuctionServer via interface only, and move the interface up to the auction level, so as to avoid cycles.

    by mrs, 29 Jun, 2008 11:46 PM
  • @523
    avatar 523

    Remove some dependencies on the com.jbidwatcher.ui tree from the com.jbidwatcher.auctions tree. The dependencies should be app -> ui -> auctions with no loopbacks. It's not there yet, but I'm getting there, with the help of the quite excellent Structure101.

    by mrs, 29 Jun, 2008 07:25 PM
  • @522
    avatar 522

    Don't pre-cache as much. Do set up snipes for to-be-sniped items when we are starting up from the database. Remove the old 'checkSnipe' method, since we do it all by setting up the timing in advance. Fix a few references to the AuctionEntry's AuctionInfo object to go through the accessor.

    by mrs, 29 Jun, 2008 07:06 PM
  • @517
    avatar 517

    Went on a warning-killing spree.

    by mrs, 21 Jun, 2008 09:26 PM
  • @513
    avatar 513

    Remove the last vestiges of deleteEntry from AuctionServerManager.

    by mrs, 20 Jun, 2008 07:11 AM
  • @512
    avatar 512

    Remove all AuctionServerManager references to the entryList, so all auction references through it are done directly to the database! Not done yet, it's still a bit dangerous...

    by mrs, 20 Jun, 2008 06:31 AM
  • @509
    avatar 509

    Move the caching functionality out into its own ActiveRecordCache class, so it doesn't complexify the ActiveRecord class unnecessarily.

    by mrs, 20 Jun, 2008 03:21 AM
  • @490
    avatar 490

    Sweeping changes to improve deletion speeds and intelligence.

    Also some minor performance improvements (actually clearing the dirty flag on save) which should speed up shutdown.

    Also, when we find an auction entry we can't load because the auction id is no longer present, remove the entry.

    by mrs, 12 Jun, 2008 09:37 AM
  • @467
    avatar 467

    Actually load auctions from the database only, and don't touch (or require) the XML file if there is some data in the database. Should speed up startup as well.

    by mrs, 27 Apr, 2008 11:13 PM
  • @377
    avatar 377

    Make the eBay menu work again. 'Help' should be to the right of it, though...

    [#5 tagged:committed state:resolved]

    by mrs, 10 Mar, 2008 10:54 AM
  • @370
    avatar 370

    Several minor architectural refactorings.

    by mrs, 10 Mar, 2008 02:06 AM
  • @355
    avatar 355

    Post-refactoring cleanup; idea was putting fully qualified class names into the code when major restructuring was being done. Tsk!

    by mrs, 07 Mar, 2008 02:12 AM
  • @349
    avatar 349

    Remove and clean up a few more tangles of code interdependencies, as indicated by Structure101.

    by mrs, 05 Mar, 2008 10:40 AM
  • @346
    avatar 346

    Sweeping refactorings to improve the overall design. Structure101 is an awesome program. Far out of my price range, but awesome.

    by mrs, 04 Mar, 2008 04:36 AM
  • @333
    avatar 333

    Refactor the eBay server's 'user' concept to always delegate to the LoginManager.

    No longer store the authorization information in the XML.

    Substantially simplify the AuctionServerManager, since in truth it's only 'managing' one server, and the code to act like it was managing more than one was failing.

    by mrs, 17 Feb, 2008 09:30 PM
  • @330
    avatar 330

    Remove duplicate data storage. There's no reason to keep a list of servers _and_ a {server -> entry list} mapping, when we never really use the list of servers except to iterate over. Instead, we can just iterate over mapping.keySet().

    by mrs, 17 Feb, 2008 07:00 PM
  • @315
    avatar 315

    Many refactorings and code cleanup.

    Improve My eBay search so it triggers the search object instead of doing it internally.

    Annotate snipes that were active during a sleep-awake event, and especially those that might have been bypassed by the sleeping computer.

    Move many functions out of the overloaded JBidWatch class into ancillary singletons, for now, including toolbar and super-queue handling.

    by mrs, 04 Feb, 2008 10:36 AM
  • @250
    avatar 250

    Remove debug code.

    by mrs, 02 Dec, 2007 03:57 AM
  • @239
    avatar 239

    Improve caching and pre-caching behavior.

    by mrs, 25 Nov, 2007 07:25 AM