|
Tag changes
Tuesday, 03 August 2010 19:45
|
|
Written by Dan Brown
|
|
We've been wondering for a while if the tag/gallery link is unclear to people - It certainly seems so from the people we have watched trying to use Moa. I think it the best thing about Moa personally, but as that is subjective we plan to make a change to help clear up things. So, for the next release the plan is to have a tickbox on each gallery that toggles between "fixed" and "live" gallery views. "Live" is the current system, tags decide what gallery an image ends up in to make the whole system dynamic. "Fixed" will be the default however, meaning that an image uploaded gets linked to that gallery (like a regular web gallery) and the tag field is then entirely optional. Both live and fixed galleries can be used anywhere and an image uploaded to a fixed gallery will be available for a live gallery to use, assuming it has tags. This will hopefully help people get up to speed with Moa as quickly as possible when they first start, but still allow them to play with the live views later if they want. The change involved also makes some of our wishlist much easier, including re-ordering images, multi-page galleries, etc. In other news, this next release (1.2.3) is looking to be a bit of a usability-polish. Currently we are hard at work improving the forms with tooltip help, field checking throughout and some HTML markup improvements. The other two features we want to get in place this time are URL rewriting (SEO-friendly URLs such as www.somesite.com/gallery/Regents_Park/612/trees.jpg) and searching, but those two depend on time. Do you like it? Let us know in the comments below!
|
|
|
1.2.2 final stages
Tuesday, 01 June 2010 23:17
|
|
|
Finally we have the bulk upload code pretty much done and tested the way I mentioned in the previous post. For the rest of the code there are still a couple of bits to iron out and a few simple extras to add such as path/database validity checks when the page is generated or new config settings applied. I revisited the MoaDefault template and converted it to use rounded corners and drop shadows via CSS3 instead of images as before. This should help it run better in IE6 and keep the amount of data transferred down a bit. It also made it easier to change the colors so I added a blue variant of MoaDefault too. In other Moa news we have both started working on a new template each to give a bit more variation. We will probably make these available as separate downloads when done to avoid cluttering up the main archive and so you can choose which to get. If anybody wants to volunteer to make a new template, even a new default one, let us know and we will give help and assistance any way we can. We are programmers not web designers and know full well that we suck when it comes to the arty side . I can be contacted via email
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
.
|
|
Bulk upload
Wednesday, 07 April 2010 22:04
|
|
Still working on the bulk upload code. Had it running twice now but haven't liked the method we used each time. The first version could handle multiple folders and add each to a different gallery but seemed that it could be a bit too confusing. The second version did it all from a common incoming folder to allow FTP or zip files. It was all done from a new admin page for bulk uploading. The third version we are doing now is just rearranging the last one for usability reasons. There will be admin page to handle FTP-added images..zip files will be added from the same image upload page that you would normally use. This should hopefully be a more natural way to add them. This should be pretty quick to do but needs more testing still. We have also been adding unit tests a the new code and some of the old stuff. Also I have done a minor rearrangement of some internal code.
|
|
Testing
Thursday, 07 January 2010 13:15
|
|
After the last couple of release where we have been bogged down by testing we have decided we need some way to automate as much of this as possible. We already use automation to build the release archives and the although the time saved is small (maybe 20 minutes) we have sometimes caught a minor bug after the files are built and had to re-run this part several times. That is a simple perl script that exports the latest version from our private SVN server into a directory that matches the proposed release number, removes all non-release files such as our minimal development template, then packages up both a .zip and a .tar.gz file ready for uploading to SourceForge. It's only about 30 lines of code but turns a boring and error-prone task into a single-command utility that takes all of 10 seconds to run and is consistent each time. By itself Moa shouldn't be hard to test, but checking 2 templates on each of the five major browsers alone takes a long time and that is just the visual/interactive side. When we do some project-spanning architecture change such as in 1.2.1, where we moved all config variables into a common structure, it means we need to retest a huge portion of the internal code as well. Enter unit testing which we are starting to put into place now and will cover the PHP side of things. One set of tests will check the internal functions with controlled inputs to flag when something has done something outside it's defined spec (which also means we have to define specs... ). Another set of tests will directly call the API that the front-end AJAX uses. Hopefully this way the tests will allow us to be confidant that the back-end code is stable with a quick 5-minute test suite. A third part of this testing is the front-end which raises some problems due to it's interactive nature. The probable method we are going to use is based on JavaScript to do short tasks such as "click edit gallery, then fill in the name/description, then submit it, then check both the page and database (via AJAX) to make sure the new text has been applied". The same basic test can be run multiple times with different settings to test what that feature should and shouldn't be able to handle. A variant would be to use bookmarklets rather than a conditionally included .js file and keeps the tests away from the main codebase. Some features would still need testing by hand but this should help cut a lot of time off and let us get releases out faster once the code is done. It isn't going to be done fast though and will probably be slowly built up over the next few releases.
Progress on Moa 1.2.2 Bulk upload is working, just adding support to allow multiple folders to be imported with unique tags and descriptions. This is so you don't have to do them all to a single gallery then move them around afterwards or have to do multiple bulk uploads to fill more than one gallery. Also we will add a 'bulk upload to here' link to each gallery to fill in the tags automatically.
|
|
Break
Wednesday, 18 November 2009 03:00
|
|
Written by Dan Brown
|
|
So close to releasing 1.2.1 still but things keep getting in the way. Myself and Rich have both been on holiday for the last two weeks in Japan so not been around to test. Still at the same point though where we just need to test on all browsers but fed up with IE being sh*t so we had a break before the holiday as well. Hopefully will be able to bust through and get it working now we are back.
|
|
|
|
|
|
|
Page 1 of 3 |