New features: Users, Applications, Online status
April 8th, 2008In the last days I did some development on ParaDe, here are the results:
User support
If you go on the front page of parade, you will be asked to fill in some information about yourself. This is just in order to display it somewhere in ParaDe. And if you have a gmail account, one idea is that it would be used for a ParaDe Gtalk bot - but that is just an idea for the moment.
Application support
This is not directly visible now, but will be useful later. There’s now an applications.properties file in the same directory as rows.properties, which specifies the module to an application. That way ParaDe knows all the files of the CVS repository of the application.
By default, if not otherwise specified in rows.properties, rows use the application configured in parade.properties (”parade.applications.default” property).
Later on this will be used in order to provide support for CVS update of a context (i.e. it will show you that you need to update 10 files, and make it possible to update them fast) .
Session tracking (aka “online users”)
I made a small listener that listens to all the sessions opened on ParaDe. If you go on the front page, you can now see who is online (i.e. who has a session). This may not be entirely accurate, since they might be issues with session expiration. I know it doesn’t work super-well yet, but will improve it, since it’s cool.
By the way - if someone knows something about ajax-based chats or such, and has some time to give me a hand, we could put a small Gmail-like chat in ParaDe. I don’t have so much time for developing this kind of thing now, but I guess that it would be a useful feature).
Improved error pages
Well, maybe you saw them already if you try to access ParaDe while it restarts. Basically, instead of having an ugly error page from tomcat, you get something that looks slightly nicer.
CVS hook
This ain’t in place yet, but when it will be, ParaDe will be notified of every commit that is done. Besides of informing people that something changed, it could for instance be used in order to generate statistics (since ParaDe knows that if Bob commits something in Alice’s repository, it was still Bob’s commit).