Posts for the month of June 2009

Remote Procedure Call (RPC) interface revamped - JSON-RPC added

The CodeResort API is based on the http://trac-hacks.org/wiki/XmlRpcPlugin with some custom extensions. We have now taken over maintenance of this open source plugin, and have recently put a lot of effort into upgrading and improving it.

Today we have launched the updated API, and among other things it includes a new JSON-RPC interface in addition to the XML-RPC interface we've had for quite some time.

A simple illustration of what that the JSON-RPC interface looks like:

  1. Make a POST request to https://www.coderesort.com/p/<projectname>/login/jsonrpc with header Content-Type set to application/json and a request body like:
    {"method": "wiki.getPage", "params": ["WikiStart"]}
  2. Parse and use the response:
    {"id": 123, "error": null, "result": "= Welcome to....

There are clients that work with the API, like Eclipse Mylyn and some of our own tools we have made available. Further, the API can of course be used for any custom integration with your own information systems - for instance as an interface with a customer support system, or with internal reminder, scheduling, or publishing tools.

See the api project for all the details on how to get started.

Lots of exciting possibilities!

  • Posted: 2009-06-20 12:57 (Updated: 2009-06-20 13:03)
  • Author: simon
  • Categories: news
  • Comments (0)

Start Talking!

A project at CodeResort is a container for source, documentation, tickets, news and more. Our intention is being able to capture and track history for all formal and informal aspects of project progress.

With the addition of 'Talk' for all projects, there is now also a way for interactive group chats in projects. This new feature can be used for many cool things:

  • Do online project meetings. No travel needed. No typing of minutes with the full transcript always being available.
  • Make a Talk for general project chat, and have the project members 'hang out' there and post their questions for all to see and share. Enlighten everyone.
  • Make a Talk to act as a Twitter-like stream of notes from the project progress. Stay updated.
  • Create a Talk to act as a pasteboard, post snippets and insights for discussion, solve code problems, do code reviews.
  • Use a talk to log events - like a 'deployment log' or 'build log' for information and follow-ups.

Curious? See screenshot (from early testing at the Epicode chat).

Talk is enabled for all projects by default, but some configuration is needed to take full advantage of the feature:

  1. Users of talk rooms, need TALK_USE permission. Creators of rooms need TALK_CREATE.
  2. Create rooms. Start with as few rooms as possible to focus attention - increase as needed.
  3. Activity in Talk rooms are recorded at hourly basis, but remember to tick-off to include 'Talk logs' in your view. Not least if you already have added Timeline RSS feeds - if so you need to grab a new feed, or edit the feed adding &talk=on to the pre-existing query parameters.

As usual, the code for the Talk plugin will be made available as open source (soon) - based on our customer promise that any project created or used at CodeResort is yours to set up anywhere else, whenever you want.

We would welcome feedback on this feature - add a comment to the blog post, or contact us with your input.

New SSL Certificate

We have updated our SSL certificate. If you see a message similar to:

Error validating server certificate for 'https://www.coderesort.com:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: *.coderesort.com
 - Valid: from Fri, 13 Feb 2009 11:58:50 GMT until Mon, 04 Jul 2011 10:58:50 GMT
 - Issuer: Equifax Secure Inc., US
 - Fingerprint: ee:79:36:14:81:be:cb:d8:90:ca:80:3c:48:0d:32:0e:49:48:c5:e2
(R)eject, accept (t)emporarily or accept (p)ermanently?

... then please accept it.

It should not be an issue with browsers, but as Subversion clients usually come without any pre-approved Certificate Authorities, all certificates must be explicitly accepted.