Etherpad

Etherpad and Redmine 'Hack': How We are embedding collaborative documents in Redmine

So this is certainly a workaround, and we will likely create a redmine plugin just for handling this.  However, the way its working now is pretty nice and flexible, so I really don't consider writing a module to be incredibly imminent - though using the jquery plugin that etherpad lite provides could provide some really powerful tools for users.

Regardless, this is how is what you need:

  1. A Running Redmine Instance (A Bitnami redmine stack is always a good choice if you are just getting started)
  2. A Running Etherpad Lite Instance (Here is the git repo: follow the instructions and get it running under a daemon!)

Embedding Iframes in Redmine?!

First, you will need to install the Redmine Wiki HTML Utility (unless you have found some other way to be able to embed Iframes in redmine).  Note that, because this is just a simple wiki extension and the database is not involved, you do not need to run rake.  This extension will allow you to 'inject' raw HTML, CSS and Javascript in any redmine textile areas (yes!  wiki, issues, project descriptions - the sky is the limit!).
  Its just handy to have all around!

Throw in a 'lil CSS

Add some CSS to the application.css file of your current theme, or find some other upgrade happy way of adding the css:

#content iframe {border:1px dotted #656565; overflow:hidden; width:95%; height:600;}

You may want to use different or more specific CSS selectors, depending on whether you have iframes.  This CSS seems to work pretty well for me, but I would be glad to take suggestions.  Setting the width using a percentage is a good idea for fluid width themes (we are using the basecamp redmine theme).  The height is static - I could probably do something fancier but it works for now.

Embed that Etherpad-Lite Document!

Now, go into redmine somewhere and embed your etherpad lite document.  You do NOT need to go into etherpad-lite and create a document - a document is created each time you visit a URL beneath the etherpad path (makes writing extensions incredibly easy, huh?).

\"\"

Get the lowdown on the new OpenERP touchscreen POS Client

So I happened across a tweet via Fabien Pinckaers ( #fpopenerp ) the other day, dropping a hint about a new (and of course modular & very extensible) web-based touchscreen POS system being developed by the core team.  The only glimpse I had of this web client was via the two urls he mentioned, pointing to a wonderful, snazzy touchscreen GUI.  It looked like this:

OpenERP Touchscreen Point of Sale POS

OpenERP Touchscreen Point of Sale POS

So, needless to say, I was enticed.  There are numerous ways to interface OpenERP-server with other touchscreen POS systems, such as Adiempere's POS, OpenBravo, and others.  Data would be moved around via a TerminaTOOR/Kettle kind of bulk data synchronization scheme.   The pos.module,  out of the box, has all the functionality - but even in the snazzy new web interface lacked the true interaction design of a touchscreen POS system - large buttons, immediate information and functionality.  an on-screen 10-key numerical pad, etc. I will give the alternative, KDE-based desktop client Koo some creds for making a good crack at this a while back, and really kind of squeezing the most possible out of the de-facto inline tree view interface.

But really, this is one of OpenERP's greatest weakpoints - the Point of Sale system - until now!  It's about time that OpenERP's core team start taking on a BHAG like this.  I'm sure it has quite a ways to go, but I would love to  help make this happen - and as soon as possible, as we have clients who need this now!

Finding the Project on Launchpad

I knew the project had to be somewhere on launchpad - but this turned out to be a tricky venture.  In retrospect, I probably could have taken a better approach and just meticulously plowed through the openerp codebase on launchpad... but I didn't even know who was developing it at the time - had only just seen glimpses!

But just tonight, I had a lucky break and found the OpenERP eventbrite schedule for the Community & Partners Days (wish I could have been there!) and there discovered a pad from a disucssion on the new web toucschreen POS - http://pad.openerp.com/touchscreen-pos

Right at the beginning of the etherpad document, I see the magical branch name:

 lp:~openerp-dev/openobject-client-web/trunk-proto61-pos

So, if you are interested in branching and playing around, just install it like you would the web client - and experience the magic!  Also, that etherpad will come into play further on in this post, so keep it open!

OpenERP web pos using.... PHP & JSON?!

Yes - gasp - thats right!  From what I can tell it seems that this new web addon is using PHP to talk to openerp-server via JSON-RPC .  This is an unexpected, but very keen move by the development team.  They are using a jquery project - Mottie Keyboard for the on-screen keyboard, as well as jquery 1.4.4 and jquery-ui 1.8.10 on the backend. That little toolset right there is going to prove for loads of fun in building a really engaging user experience.  It even seems that they are using a project called Dhtmlx Grid for a highly enabled in-line grid editing experience.

Then we have one of the workhorses behind it all, main.py  (the controller for this, the openerp-web addon module called point_of_sale) that is handling the json-rpc requests and iterfacing with openerp-server.

Lastly, another file of note is the static/openerp/js/pos.js file that is handling a lot of the form validation, inline editing and many many of the other UI and direct functionality elements of this new system.  The work that went into this is quite impressive, and will likely go a long way in helping OpenERP to offer not only an amazing POS system, but quite possibly one of the best open source POS systems available (considering the powerful backend).

\"\"
Subscribe to RSS - Etherpad
by-nc-sa 3.0 Richard Schulte метр