Permalink
Switch branches/tags
Nothing to show
Commits on Dec 20, 2010
  1. Finished the functionality to delete documents given a loaded entity …

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

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

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

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

    dragan committed Aug 29, 2010
    	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.
  2. Did a little clean-up based on a little walk-through of the

    dragan committed Aug 29, 2010
    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.
Commits on Aug 28, 2010
  1. Hmm, for some reason this wasn't removed during our last merge. I pro…

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

    dragan committed Aug 28, 2010
    …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
  3. Created a CouchDocumentConvention class to encapsulate the default co…

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

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

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

    dragan committed Aug 21, 2010
    …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.
  7. Refactored JsonConvert by removing un-needed code and make it comply …

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

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

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

    dragan committed Aug 8, 2010
    …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.
  11. Implemented logic for executing of Couch Commands using a RestClient.…

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

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

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

    dragan committed Aug 3, 2010
    …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.
  15. Added functionality to throw an exception if a user store's a differe…

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