Archive for February, 2009

Today: 10-Feb-2009: A new desk…or not?

February 10th, 2009 | Category: today

Today was my first day at USQ as a full time long term member of staff. Saw the Ford Fiesta ad, a new one this time, and it strikes me as to why Ford Australia was so annoyed at it: having already aired in the UK, you can’t help but think it was copied. But I digress, my first day involved no work with a computer I could consider my own instead working to configure or fix other peoples computers. First helping to configure Apache and squid to proxy data for one of the developers that had through firewall fun been blocked from her Subversion repository and bug tracker, ouch! From here I managed to work on helping to configure a Ubuntu laptop to get it up and running, configuiring Apache, MySQL, PHP and getting Eclipse to play nicely (ended up disabling the Validation builder). It still isn’t playing the game properly so I will probably have a look at it at some point to get it to work). Managed at 4pm to get my account reinstated so I’m up and running with everything. Now all I need is a desk to sit at, another task for tomorrow.

No comments

Highfields Cultural Centre

February 09th, 2009 | Category: web

So today I got an email from an old friend about the Highfields Cultural Centre to fix up their website and after this weekend I have been looking for stuff to experiment with in relation to SEO. Jim Stewart has in part restored my faith in SEO people in a simple and I was wondering, how hard would it be to rank number one for “Highfields Cultural Centre” with just a simple a blog post, so here it is.

The Highfields Cultural Centre and Me

The first experience I had with the cultural centre was through a high school team building exercise. The Highfields Cultural Centre was probably chosen for the simple fact it was cheap and not attached to the school directly. In the past we did stuff at the St. Mary’s Hall but that never really got you away from the school. So we ended up trooping off in buses to the Highfields Cultural Centre multiple times to “get away from it all” making use of the full area with the auditorium. We had special speakers come in and teach us all sorts of useful stuff that I thought never got through to the people who should be listening most. But such is life.

Disco Inferno

Disco Inferno was St. Mary’s musical in my final year which was predictably held at the Highfields Cultural Centre. The Centre staff at times could be decidedly crabby but were usually right when they were doing it. As the Cultural Centre had most of the features that we required it worked well and the staff typically didn’t have an issue with the Stage Manager “Steve Loxley” who I note now works at the Centre. He must have made a decent impression on Rod after all.

Amalgamation

I finished high school and continued my studies at USQ whilst still working at Council. In 2008, Toowoomba merged with seven other local government authorities to form Toowoomba Regional Council. One of the authorities that was amalgamated together was Crows Nest Shire Council which contained the township of “Highfields” and thus the “Highfields Cultural Centre”. At this point in time I ran into a fine chap called “Brent Moore” who informed me of the crazy stuff the Centre had running out of it from time to time and the esoteric promises made by Councillors relating to IT around the Highfields Cultural Centre. Suffice to say, I’m amazed that the place wasn’t mobbed by angry people more often – perhaps that is why the staff weren’t the happiest.

And whilst lately I haven’t travelled out there I’m reliably informed that the Highfields Cultural Centre has been transformed with demountable buildings housing extra staff that have been dumped in there. The mezzanine level is now someone’s office which I must admit is quite crazy. To be blunt: the place has been transformed.

Leaving Council

So last week I left Council, but as I was leaving Mr. Loxley emails me from my personal website asking if I want to do some work on the Highfields Cultural Centre website. He’s emailed me through some information on it with the name of the centre all in lower case (seems to be the present style) and some links to what are decidedly ugly websites (including one with a flash splash page and iframes that seem to serve no purpose, really that bad). Their existing site looks a bit timid but beyond not being regularly updated (probably because its just a HTML page) it seems to be alright. It gets a page rank of three which whilst not spectacular (it should be doing much better than that) means it at least has been looked at by Google. The new design lacks content dramatically so I think they’ll some issues.

Why write about the Highfields Cultural Centre

Well I was thinking about the history and what the place has meant for me. Its interesting to be potentially given the task to redesign the site and I must admit I think it’ll be an interesting challenge. They’ve got a good start on the site style wise but they’re going to need to a lot of work to get it up to scratch for what they need. I was also interested in seeing how hard it would be to get a blog post ranked by Google on their list. I’m not sure how I’ll go but I’m hoping to use it as an example of how easy it is to write some good content and get Google to index it. Hopefully I both get the job and get this blog post to rank to demonstrate my point, I’ll be disappointed otherwise.

Happy coding!

No comments

Using Context Login with GMail and Google Apps for your Domain

February 08th, 2009 | Category: authentication,google,jauthtools,joomla

Context login is a new concept that I’m introducing in 1.5.4 that features a new login module called “mod_contextlogin” and support from both the Advanced LDAP and Advanced GMail plugin. I’ll focus on today the GMail plugin and how you can use both context login and the Advanced GMail plugin to connect to two different Google supported domains (e.g. GMail and a Google Apps for your Domain site).

The first step in all of this is to install JAuthTools. The Context Login bit is mostly self contained so once you’ve got my Advanced Tools extensions installed you should be able to install the extras package. You can grab the 1.5.1 version of the Advanced Tools extension off Joomla!Code at http://joomlacode.org/gf/download/frsrelease/6797/22390/com_advancedtools.tgz and install directly in Joomla!. The next item we’re going to need is the helper package, the best way to grab this is to install the JAuthTools Core Package from http://joomlacode.org/gf/download/frsrelease/9530/36171/pkg_jauthtools_core.tgz which will also give you SSO and User Source libraries as well. The JAuthTools Extras Package contains both the context login module and the Advanced GMail authentication plugin. The extras package also has the LDAP user plugin and the Advanced LDAP plugin but we’re not going to use that today. The current version of the extras package is 1.5.4 (just released!) and you can grab it off JoomlaCode at http://joomlacode.org/gf/download/frsrelease/9530/36195/pkg_jauthtools_extras.tgz and you can also install this directly into Joomla!.

Once you’ve got everything installed, you can get to work. The first place we need to go into the Module Manager in the Administrator and look for Context Login. It’ll be there but it won’t be published by default. Opening it up we’ll see a lot of the params that we know and love from the core built in login module but we’ll also see some params immediately below the caching option called “Contexts”, “Require Context” and “Default Context”. The “Contexts” param is a text field that allows you to enter a per line entry of contexts. In this case we’re going to have two different contexts: one for the main GMail domain (gmail.com) and another for a Google Apps for your Domain (say “yourdomain.com”). Perhaps you’ve got a few of these domains that you want to limit people to so what you can do is enable the “Require Context” option. This will enforce a given context upon the module and remove the ability for the user to be flexible. Keep in mind that this isn’t added with the request, only a context ID is sent which is then looked up and found on the remote site. The last option is the default context to use which is set to -1 initially but can be set to the index of the context (starting from 0). This changes the context select box with the default selected and is purely a cosmetic setting. Once you’ve put in a few domains, you can enable the module and position it somewhere. If you want to put in some extra settings you can also do this like you would do with the normal login module.

The next step is to configure the Advanced GMail plugin. The Advanced GMail has all of the features of the existing GMail plugin and then some. If you’re currently using the GMail plugin, disable it first before you switch to the Advanced GMail plugin. The Advanced GMail plugin has a few configuration options such as “Apply Suffix” (similar to contexts but limited to only a single domain), “Username Suffix” (used with Apply Suffix, a single domain name such as “gmail.com”) , “Verify Peer” is a SSL configuration option that should be left on unless you’re having seriously strange issues (at this point, change host!) and that leaves us with “Use Contexts”. This is a simple option that has “Yes”, “No” and “Require”. What this then causes it to do is look for a context in the request and then apply the context if it finds it. The “Require” option will then enforce the use of contexts and will fail the user if the contxt doesn’t line up properly. The last option is a ‘username’ blacklist. This is a list of usernames that the plugin should never authenticate for which is useful for accounts that you may not control (e.g. ‘admin’) to prevent people logging in using it. This is an extra security feature that I’ve introduced and is certainly recommend using. Enable the plugin and we’re off!

Once both the module is configured and enabled as well as the plugin you should be able to see it in the front end. From here you can see the form and log into to it, selecting your context and then logging in appropriately.

40 comments

JAuthTools 1.5.4 Released

February 08th, 2009 | Category: authentication,jauthtools,joomla

Today I finally got around to releasing JAuthTools 1.5.4, the latest release in JAuthTools. I’ve put together a lot of stuff for this new release and I’m happy to have it released out there. This release introduces Token Login, Context Login, the release of my own LDAP and GMail authentication plugins each with extra advanced features (including context integration), an OpenID SSO plugin submitted by Ian MacLennan, a new way of handling SSO plugins with new types of plugins and many more. There are tonnes of little items that I’ve added as well as bugs that have been fixed. I will follow up with blog posts about how you can configure different items to work together.

11 comments

Domestic Travel Observations

February 06th, 2009 | Category: travel

Travelling again within Australia, I notice that the number of obese people seems disproportionate to what the national average would suggest. There is perhaps a reasonable number of overweight people (myself) included. Another interesting observation.

No comments

Today: 05-Jan-2009: A last day

February 05th, 2009 | Category: today

Today was my last day at Council after more than five years of service. It wasn’t an easy day works wise as I ended up following through the small incidental tasks that one must do. Hopefully I have written enough documentation. Tomorrow I head off for Joomla!Day Melbourne before starting work at USQ on Tueday.

No comments

Today: 04-Jan-2009: Putting the pieces together

February 04th, 2009 | Category: today

Another day of mostly documentation with a bit of coding fun with LDAP and Active Directory. More filing in of documentation again today. A tad tedious but such is life.

No comments

Today: 03-Feb-2009: Discoveries

February 03rd, 2009 | Category: today

Some days you find stuff that you forgot you built. Looking through my research folder I found an old script that detected IP addresses for users in an eDirectory system. I gave it a spin and it worked as expected. It is amazing the little tools that extinct in the my miscellaneous research folders.

An new minor project for the day has come up which is a simple project to validate data in the Council’s Active Directory server against what is in the main eDirectory server. We’re having issues with IDM not synchronising data properly into Active Directory. The solution appears to be blanking the field in Active Directory, waiting for it to push across into the eDirectory system and then pushing back the existing value into directory and let it replicate back properly. So I guess I’ll look at that tomorrow.

Another day of documentation today as well writing up how to join Mac OS X boxes to AD trees and configuring applications like Mail and Address Book to work properly. More fun again tomorrow!

No comments

Today: 02-Feb-2009: Fun with Macs

February 02nd, 2009 | Category: today

Today I spent a reasonable portion of my day working on getting the single Mac of the organization outside of IT up and running properly with the network. The Mac experience within IMB has historically been limited and nobody has ever taken the time to look after the device. Typically the sole user of the device would look after it. Times have changed and they’ve moved on so I’m taking the time to fix things up the way that they’re supposed to be. So I’ve joined it to the domain and set it up properly. I also wrote some documentation for setting up Entourage to connect to our Exchange systems.

No comments

« Previous Page