It’s been an exciting time here at GeoServer HQ. To explain, let’s start with a little history lesson.
In 2009, GeoServer released GeoServer 2.0, sporting a new user interface based on Apache Wicket. Wicket allows Java developers to construct an AJAX UI with minimal HTML experience. Since its adoption, Wicket has made development of GeoServer more accessible, due the ease of creating graphical configuration pages.
The problem is that we’ve still been using Wicket version 1.4 all this time, and the current version is 7. We’ve tried to address this activity at two previous single-day code sprints, which were aborted due to insufficient time and resources. And the longer we’ve waited, the more difficult it has become.
Without an upgrade, we were starting to see less compatibility with modern browsers, which would eventually lead to the UI not being usable. Something needed to be done.
Enter the code sprint
This was not a small task. The problem is neatly summed up by a graphic created by Jody Garnett explaining the Wicket upgrade:
As you can see, when properly implemented, the visual change for users will be…nothing at all.
So I was very impressed when we got the go-ahead (and funding!) to meet in Victoria, BC, at the Boundless Canadian office.
What we did
Developers from the US, Canada, Italy, and Belgium descended upon the diminutive capital of British Columbia to spend a week doing the upgrade.
Since we held off this work for so long, it wasn’t as simple as a single upgrade, as we had to negotiate several API changes in one go. And GeoServer, being highly extensible software, has dozens of modules and extensions that needed to be tested too:
Here is the team and their primary accomplishments:
Andrea Aime (GeoSolutions): Really focused on fixing the build and crushing bugs as they popped up in manual testing. Spent a lot of time migrating the security modules.
Torben Barsballe (Boundless): Unit test fixes. Component testing. Styling fixes. Fixed links on the Styles page Fixed the Layer Importer. Fixed the LegendGraphic display.
Niels Charlier (Scitus): Fixed code and unit tests for many of the core components. Manually tested and fixed many commonly used pages in the UI such as the Layer Preview and Tile Caching sections.
Justin Deoliveira (Voyager Search): Justin helped out monday-tuesday getting the wicket7 branch to compile and helping everyone learn the tips and tricks of wicket debugging.
Jody Garnett (Boundless): Learned a lot about how Wicket worked, suffered through manual testing and enjoyed making usability improvements to the configuration pages.
Jim Hughes (CCRi): Helped with updates to unit tests. Fixed issues identified by testers.
Morgan Thompson (Boundless): Fixed the CoverageBands panel for raster pages. Tested/upgraded the Stores page. Tested various other pages such as the Security section and NetCDF.
Devon Tucker (Boundless): Manual testing of core GeoServer and some extensions. Fixed some regressions from the Wicket migrations and did some improvements on the Layers page
And one week later, we are excited to announce that the sprint was a success, and GeoServer is now running Wicket 7. Hooray!
Here is a master nightly build - please download and test it out.
I was invited to take part in the code sprint, but as I focus on documentation and user experience, I had a lot of down time while the rest of the team was deep in the weeds.
So I took a hard look at the GeoServer User Manual, and performed a fairly significant restructuring, along with some small improvements in the theme.
You can see the new documentation, (compare to an older version). Details on what was done can be found on GitHub. I feel like these changes will make it easier to find information in the documentation, which is fairly extensive.
More exciting were the visual documentation improvements. I updated the theme of the documentation to increase readability and fix some visual bugs (for example step 10 and higher being cut off).
Visual Changes and Blue-sky thinking
With so many experienced GeoServer users in the room, we had a short breakout session discussing high-level improvements to the UI and its workflow, in an attempt to answer the question, “what have you always wished the GeoServer UI would do?“ It didn’t take too long to fill up a spreadsheet full of more than two dozen ideas for the next co de sprint- and the team was able to make a few of the easier ones on Thursday and Friday.
The rest of the team decided to follow suit and made a few small visual changes, such as:
Updating the JAI page (now called “Image Processing”)
Updating the Coverage Access page (now called “Raster Access”)
“Add a new resource” is now called “Add a new layer”. (Minuscule change, but this has bugged me for years.)
Group fields consistently in Global Settings
So I guess we got some visual changes in after all. Hooray again!
It’s precisely this kind of support for OSGeo projects that enable our community to thrive.
- GeoServer repository transition to main branch
- FOSS4G 2018 GeoServer Developers Workshop
- GeoServer at FOSS4G 2017 Boston
- REST API Code Sprint Prep
- Nov 18th Bug Stomp
- Online GeoServer Bug Stomp - July 2016 Results
- Online GeoServer Bug Stomp
- GeoServer Explorer Plugin for QGIS
- New repository and release delay
- GeoServer FOSS4G 2015 Activities