Permalink
Commits on Dec 20, 2010
  1. Finished the functionality to delete documents given a loaded entity …

    …from the CouchDocumentSession.
    dragan committed Dec 20, 2010
  2. Implemented logic to load simple entities. Need to add more functiona…

    …lity to CouchDocument.Hydrate to handle more complex types.
    dragan committed Dec 20, 2010
  3. Refactored the Store method some more. Made things a little easier fo…

    …r when we implement Load.
    dragan committed Dec 20, 2010
Commits on Oct 24, 2010
  1. Updating to work with CouchDB 1.0.1

    	Fixed the only failing test by adding a property that was introduced
    dragan committed Oct 24, 2010
Commits on Aug 29, 2010
  1. Fixed broken build!

    	Forgot to modify the project file when I renamed
    	DeveloperAdministersDatabasesOnServer.cs to
    	DeveloperAdministersDatabasesOnServerSteps.cs.
    
    	Also added a using statement for System.Net.Sockets
    	instead of an inline reference.
    dragan committed Aug 29, 2010
  2. Did a little clean-up based on a little walk-through of the

    command error handling code.
    
    	Refactored ICouchCommand's error handling to be a
    	method instead of an Action.  Not needed since
    	CouchProxy has an instance of the CouchCommand
    	being executed when an exception is thrown.
    
    	Added the JsonMember attributes needed by
    	BulkDocsMessage and BulkDocsResult to be serialized
    	or deserialized correctly.
    
    	Added better error handling when connecting to a
    	CouchDB server.
    
    	Added better error handling for creating and
    	deleting databases.
    dragan committed Aug 29, 2010
Commits on Aug 28, 2010
  1. Hmm, for some reason this wasn't removed during our last merge. I pro…

    …bably did something wrong, due to it being a rename.
    dragan committed Aug 28, 2010
  2. Merge branch 'development' of github.com:sinesignal/ottoman into deve…

    …lopment
    
    Conflicts:
    	src/SineSignal.Ottoman.Specs/CouchDocumentSessionSpecs.cs
    	src/SineSignal.Ottoman.Specs/SineSignal.Ottoman.Specs.csproj
    	src/SineSignal.Ottoman/CouchDatabase.cs
    	src/SineSignal.Ottoman/CouchDocumentSession.cs
    	src/SineSignal.Ottoman/ICouchDatabase.cs
    	src/SineSignal.Ottoman/SineSignal.Ottoman.csproj
    dragan committed Aug 28, 2010
  3. Created a CouchDocumentConvention class to encapsulate the default co…

    …nventions. We also allow the user to override these conventions. We also did some refactoring and created a GuidIdentityGenerator.
    dragan committed Aug 28, 2010
  4. Ottoman can now administer databases on a CouchDB server. We support …

    …CreateDatabase, GetDatabase, and DeleteDatabase currently. Also added error handling and started mapping readable exceptions to CouchDB error responses.
    dragan committed Aug 23, 2010
  5. We're ready to start testing end-to-end now that we have all the inte…

    …rnal pieces in place. Therefore, we created our AcceptanceTests project and added SpecFlow to facilitate that process.
    dragan committed Aug 21, 2010
  6. Changed the project to target the .NET/Mono 3.5 runtime instead of 4.…

    …0. You can still run the project
    
    under .NET/Mono 4.0, but we're not using any 4.0 features just yet.  The main reason for this, is due to
    the fact that the Long Term Support Release for Mono is version 2.6.*.  We're not quite ready to make
    people switch to 4.0 on Mono to use our library due to this reason.  Also changed the NUnit framework
    version we are using.  Changed it to version 2.4.8 for now until MonoDevelop switches.  At that time
    we will change it back to version 2.5.*.  We will be using this project internally on some critical
    applications and we're not ready to depend on Mono running under the 4.0 runtime just yet either.
    The refactor is complete and all tests are passing.
    dragan committed Aug 21, 2010
  7. Refactored JsonConvert by removing un-needed code and make it comply …

    …to our naming convention.
    dragan committed Aug 21, 2010
  8. We can now deserialize a JSON object string that contains member name…

    …s that match the JsonMemberAttribute.Name on properties for
    
    the type we are deserializing too.
    dragan committed Aug 19, 2010
  9. Finished implementing the JsonSearializer. I have one TODO, but it's …

    …minor. I thought it best to go ahead and check-in and push.
    dragan committed Aug 18, 2010
  10. Implemented a rest client that can serialize payloads using an ISeria…

    …lizer before sending the request to the HTTP client. Then turn around and deserialize the content using ISerializer to a type we provide from the response.
    dragan committed Aug 8, 2010
  11. Implemented logic for executing of Couch Commands using a RestClient.…

    … Right now we are only handling POST operation commands. Will need to add more for the other command types.
    dragan committed Aug 7, 2010
  12. Added more info about the couch command and testing to make sure we a…

    …re sending the correct command when save changes is called on couch document session.
    dragan committed Aug 7, 2010
  13. Finished implementing the rest of the SaveChanges method by using a p…

    …roxy to execute commands that I give it. The commands are modeled after the CouchDB API.
    dragan committed Aug 5, 2010
  14. Added HttpClient which is a wrapper around HttpWebRequest, to make te…

    …sting easier. HttpClient is fully implemented and works. Just create HttpRequests and call Send passing the request. Started implementing the SaveChanges logic after adding a new entity to the session. Also created the initial CouchDocument which uses the new dynamic support in the .net/mono frameworks. All that's left is to finish the end-to-end communication, by creating a couch command that uses the _bulk_docs API call on CouchDB, executing the command with the couch proxy which creates a new REST request using a factory which ultimately gets sent using HttpClient.
    dragan committed Aug 3, 2010
  15. Added functionality to throw an exception if a user store's a differe…

    …nt entity with the same id as one already stored.
    dragan committed Aug 1, 2010