1 2011-07-08 Ben Konrath <ben@bagu.org>
5 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also
6 added braces to a one line if statement because the Eclipse formatter
9 2011-07-08 Murray Cumming <murrayc@murrayc.com>
11 Fix a addDocuemnt typo.
13 * src/main/java/org/glom/web/shared/Documents.java
14 (Documents.addDocuemnt): Rename to addDocument().
15 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
16 (OnlineGlomServiceImpl.getDocuments): Adapt.
18 2011-07-08 Murray Cumming <murrayc@murrayc.com>
20 Slightly improved log output when connection fails.
22 * src/main/java/org/glom/web/server/ConfiguredDocument.java
23 (ConfiguredDocument.setUsernameAndPassword):
24 We don't know for sure if it' the username/password that's wrong, so
26 Also ouput the exception message, though it's generic in this case.
28 2011-07-07 Ben Konrath <ben@bagu.org>
30 Update project config files for Eclipse 3.7 and use GWT 2.3.0.
32 These should really be two separate tasks but I counldn't get things to
33 work with GWT 2.2.0 and Eclipse 3.7.
37 * .settings/org.eclipse.jdt.core.prefs:
38 * .settings/org.eclipse.jdt.ui.prefs:
39 * .settings/org.eclipse.ltk.core.refactoring.prefs:
40 * .settings/org.eclipse.m2e.core.prefs:
41 Add new config files. Update current files. Remove references to the
42 webtools plugins as we're not using any of the webtools features.
43 * .gitignore: Add logs directory which is created when running with
45 * pom.xml: Update to GWT 2.3.0. Eclipse configuration was automatically added.
46 * src/main/java/org/glom/web/OnlineGlom.gwt.xml: Moved from
47 src/main/resources/org/glom/web/OnlineGlom.gwt.xml as per this known
49 http://mojo.codehaus.org/gwt-maven-plugin/eclipse/google_plugin.html#Limitations
51 2011-07-07 Murray Cumming <murrayc@murrayc.com>
53 onlineglom.properties: Add explanatory comments.
55 * src/main/resources/onlineglom.properties: Also change the default user
56 from ben to someuser, to avoid the risk of people thinking we just
57 stupidly hard-coded a locale path, when they see that on stderr or in a log.
59 2011-06-28 Ben Konrath <ben@bagu.org>
61 Use filename in Log for incorrect passwords.
63 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Add
64 getFileName(String) method to get the filename from the URI.
66 2011-06-28 Ben Konrath <ben@bagu.org>
68 Add the table name to the URL token for the ListPlace.
70 This makes things consistent between the DetailsPlace and the
71 ListPlace. It also allows the the ListPlace to be bookmarked.
73 * src/main/java/org/glom/web/client/OnlineGlomService.java:
74 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
75 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
76 Remove getDefaultListLayout(). The default layout is now returned
77 by the getListLayout() method when the table name is an empty string.
78 * src/main/java/org/glom/web/client/activity/ListActivity.java:
79 Add table name field. Change to a new ListPlace when the table
80 has been changed. Use getListLayout() for getting the default
82 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
83 Add table name field. Set the correct table name in the list box
84 when loading from bookmark. This corrects a problem for the
86 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
87 Move table name to super-class (HasSelectableTable). Move document
88 and table URL keys to super-class in HasSelectableTable.
89 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
90 Add table name field. Add Tokenizer class with URL key common to
91 the subclasses (DetailsPlace and ListPlace).
92 * src/main/java/org/glom/web/client/place/ListPlace.java:
93 Add table name. Add code to parse the URL token.
94 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
95 Update ListPlace construction with empty table name string.
96 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
97 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
98 Change setTableSelectedIndex(int) to setSelectedTableName(String).
99 Update ListPlace construction with table name string.
100 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
101 Change defaultTableName field to tableName to reflect how it's now
102 used. Update the getter and setter methods.
104 2011-06-28 Ben Konrath <ben@bagu.org>
106 Enable the table selector in the DetailsView.
108 * src/main/java/org/glom/web/client/OnlineGlomService.java:
109 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
110 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
111 Remove getDefaultDetailsLayout(). The default layout is now returned
112 by the getDetailsLayout() method when the table name is an empty
114 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
115 event handler for table change event. Change to using
116 getDetailsLayout() for the default details layout.
117 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add table
119 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use table
120 when navigating to the details place.
122 2011-06-27 Ben Konrath <ben@bagu.org>
124 Use filename based unique document ID in URL and for RPC.
126 The document ID is the glom document name with spaces (' ') replaced
127 with pluses ('+') and without the .glom extension.
129 This change is mostly a string substitution of 'documentTitle' for
130 'documentID'. The only code change is the addition of a Documents DTO to get the
131 filename to document title mappings as indicated below.
133 * src/main/java/org/glom/web/client/OnlineGlomService.java:
134 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
135 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
136 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
137 Use Documents DTO to create the document links in the document
139 * src/main/java/org/glom/web/client/activity/ListActivity.java:
140 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
141 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
142 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
143 * src/main/java/org/glom/web/client/place/ListPlace.java:
144 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
145 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
146 * src/main/java/org/glom/web/client/ui/ListView.java:
147 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
148 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
149 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
150 * src/main/java/org/glom/web/server/Log.java:
151 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
152 getDocumentTitles() to getDocuments() and return the Documents DTO.
153 * src/main/java/org/glom/web/shared/Documents.java: New DTO for
154 transferring the filename to document title mappings.
156 2011-06-25 Ben Konrath <ben@bagu.org>
158 Make the authentication popup work again.
160 This bug was introduced when I extracted ConfiguredDocument to its own class.
162 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Return the
163 correct success / fail status in setUsernameAndPassword().
165 2011-06-25 Ben Konrath <ben@bagu.org>
167 Use filename as unique key for configuring database usernames and passwords.
169 This replaces the use of the Glom document title which could change
170 depending on the locale. Thanks to Murray Cumming for pointing out this
173 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
174 * src/main/resources/onlineglom.properties:
176 2011-06-24 Ben Konrath <ben@bagu.org>
178 Pass primary key value to DetailsView.
180 This enables the DetailsView to load the correct data.
182 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Add
183 primary key value field and set in constructor. Pass primary key
184 value to getDetailsData().
185 * src/main/java/org/glom/web/client/place/DetailsPlace.java: Add URL
186 variables for document title and primary key value.
187 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Pass primary
188 key value to the DetailsPlace.
190 2011-06-24 Ben Konrath <ben@bagu.org>
192 Add primary key index to LayoutGroup DTO and add ProvidesKey to CellTable.
194 This allows the primary key to be retrieved by the Details button. This
195 functionality has not been implemented yet but it's in the works.
197 * src/main/java/org/glom/web/client/activity/ListActivity.java: Pass
198 the LayoutGroup result to ListView.setCellTable instead of all of its
200 * src/main/java/org/glom/web/client/ui/ListView.java:
201 * src/main/java/org/glom/web/client/ui/ListViewImpl.java: Use
202 LayoutGroup as parameter for setCellTable. Add ProvidesKey to CellTable
203 get the primary key for the table.
204 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
205 index of the primary key in the LayoutGroup accounting for hidden
206 primary keys. Rename getJavaNumberFormat() to
207 convertToJavaNumberFormat() for consistency. Cleanup / add some
209 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add a
210 field for primary key index and a field to indicate whether the
211 primary key is hidden or not.
213 2011-06-23 Ben Konrath <ben@bagu.org>
215 Rename getTableData methods to getListData.
217 This is a rename refactor for consistency with other methods.
219 * src/main/java/org/glom/web/client/OnlineGlomService.java:
220 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
221 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
222 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
224 2011-06-23 Ben Konrath <ben@bagu.org>
226 Extract the ConfiguredDocument innerclass into its own class.
228 This makes the servlet code more object oriented.
230 * src/main/java/org/glom/web/server/ConfiguredDocument.java: Extracted
231 from private ConfiguredDocument class in OnlineGlomServiceImpl.
232 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use the
233 new ConfiguredDocument class.
235 2011-06-21 Ben Konrath <ben@bagu.org>
237 Use the LayoutGroup group for the list layout instead of ColumnInfo and LayoutListTable.
239 This makes things more inline with how libglom works and reduces code
240 duplication. This refactor lays the groundwork for adding the primary key to
241 the LayoutGroup object.
243 * src/main/java/org/glom/web/client/OnlineGlomService.java:
244 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
245 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
246 Change method names to getListLayout and getDefaultListLayout for
247 consistency. Use LayoutGroup as the DTO for the list layout instead of
248 ColumnInfo and LayoutListTable.
249 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use the
250 new method names along with the LayoutGroup object for transferring the
252 * src/main/java/org/glom/web/client/ui/ListView.java:
253 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
254 Use ArrayList<LayoutItem> instead of ColumnInfo[] in setCellTable().
255 * src/main/java/org/glom/web/shared/ColumnInfo.java: Deleted. Replaced
257 * src/main/java/org/glom/web/shared/LayoutListTable.java: Deleted.
258 Replaced with LayoutGroup.
259 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java: Add
260 expectedResultSize and defaultTableName fields which are needed for
262 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java: Add
263 type field which is needed for the list layout but will also be
264 useful for the details layout as things progress.
265 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
266 Make class abstract. Remove the unnecessary
267 getFormattingHorizontalAlignment method. Add setFormatting method.
269 2011-06-16 Ben Konrath <ben@bagu.org>
271 Add scripts for building and installing war.
273 These will help when updating OnlineGlom but they're also good
274 supplemental documentation of the build and deployment proceeding.
276 * utils/build-onlineglom-war.sh: New file.
277 * utils/install-onlineglom-war.sh: New file.
279 2011-06-16 Ben Konrath <ben@bagu.org>
281 Create wrapper class to create consistent log messages.
283 I wrapped methods in the Log class of gwt-log to add the method names
284 from the servlet and create consistent formatting of the document title
285 and table names in the log messages.
287 * src/main/java/org/glom/web/server/Log.java: New file with wrapped methods.
288 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Convert all
289 log methods to use methods from wrapped Log class.
291 2011-06-16 Ben Konrath <ben@bagu.org>
293 Remove superfluous conditional return.
295 Thanks to Murray Cumming for pointing this out!
297 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
299 2011-06-15 Ben Konrath <ben@bagu.org>
301 Return an ArrayList of LayoutGroups for the Details layout.
303 This corrects a problem with the details layout as it can have more
304 than one top level LayoutGroup.
306 * src/main/java/org/glom/web/client/OnlineGlomService.java:
307 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Change
308 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return
309 an ArrayList<LayoutGroup> in the get*DetailsLayout methods.
310 * src/main/java/org/glom/web/client/activity/DetailsActivity.java: Deal
311 with ArrayList of LayoutGroups for the details view layout.
312 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
313 method name from get*DetailsLayoutGroup to get*DetailsLayout. Return an
314 ArrayList<LayoutGroup> in the get*DetailsLayout methods. Inline
315 getTableFieldsToShowForSequence() into getFieldsToShowForSQLQuery() to simplify
316 the code a bit. Rename getTableFieldsToShowForSequenceAddGroup() to
317 getFieldsToShowForSQLQueryAddGroup() to try to keep things more consistent.
319 2011-06-14 Ben Konrath <ben@bagu.org>
321 Use cast_dynamic method to determine the libglom LayoutItem type.
323 This is better than finding the LayoutItem type by using the string
324 returned from the get_part_type_name() method.
326 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
328 2011-06-14 Ben Konrath <ben@bagu.org>
330 Add method names to log entries in the servlet.
332 This helps when tracking down deployment problems.
334 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
336 2011-06-14 Ben Konrath <ben@bagu.org>
338 Add data to the DetailsView using a hard-coded primary key value.
340 The layout and functionality of the DetailsView is not complete. This
341 is just a checkpoint so the patch doesn't get too big.
343 * src/main/java/org/glom/web/client/OnlineGlomService.java:
344 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
345 Add getDetailsData() servlet method.
346 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
347 Add RPC to getDetailsData(). Change the way the LayoutGroups and
348 LayoutFields are added to the DetailsView.
349 * src/main/java/org/glom/web/client/ui/DetailsView.java:
350 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
351 Add setData() method. Change addLayoutGroup() and addLayoutField() to
352 take the string for the title instead of the object.
353 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
354 Add implementation getDetailsData() along with some private helper
356 * src/main/webapp/style.css: Add padding to details-data class. Add a
357 details-label class with the same padding as the details-data class.
359 2011-06-03 Ben Konrath <ben@bagu.org>
361 Use presenter.goTo() to change to the DetailsPlace.
363 This will make things easier when we need to open the DetailsView with
364 data specific to the row that was clicked.
366 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
368 2011-06-02 Ben Konrath <ben@bagu.org>
370 Add CSS file from mockups.
372 I'm adding this now because it's going to be useful to have when
373 developing the DetailsView. The TableSelectionView and ListView aren't
376 * src/main/webapp/OnlineGlom.html:
377 * src/main/webapp/style.css:
379 2011-06-02 Ben Konrath <ben@bagu.org>
381 Use String.isEmpty() to check for empty string.
383 * src/main/java/org/glom/web/client/activity/ListActivity.java:
385 2011-06-02 Ben Konrath <ben@bagu.org>
387 Display main layout group titles in the DetailsView.
389 This is the start of the DetailsActivity/DetailsView implementation.
391 * src/main/java/org/glom/web/client/OnlineGlomService.java:
392 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
393 Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
394 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
395 Get the layout information for the details view from the server and set
396 the main layout group titles.
397 * src/main/java/org/glom/web/client/ui/DetailsView.java:
398 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
399 Add addLayoutGroup() and addLayoutField() methods. This are just
400 temporary methods for creating the the details view that will change
402 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
403 Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
405 * src/main/java/org/glom/web/shared/layout/Formatting.java:
406 * src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
407 * src/main/java/org/glom/web/shared/layout/LayoutItem.java:
408 * src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
409 * src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
410 Data Transfer Objects that mimic the libglom object structure. These are
411 used for transferring the details layout but could also be used for
412 transferring the list layout.
414 2011-05-27 Ben Konrath <ben@bagu.org>
416 Reset the AuthenticationPopup when clearing the ListView.
418 * src/main/java/org/glom/web/client/activity/ListActivity.java:
420 2011-05-27 Ben Konrath <ben@bagu.org>
422 Fix problem with onlineglom.properties file loading.
424 The old way worked in Eclipse but not on the server. Loading the
425 onlineglom.properties file now works in Eclipse and on the server.
427 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
429 2011-05-24 Ben Konrath <ben@bagu.org>
431 Update gwt-log from 3.1.0 to 3.1.2.
433 Gwt-log 3.1.0 has been marked as depreciated.
437 2011-05-24 Ben Konrath <ben@bagu.org>
439 Add comment to ListActivity.goTo() method.
441 * src/main/java/org/glom/web/client/activity/ListActivity.java:
443 2011-05-24 Ben Konrath <ben@bagu.org>
445 Remove FIXME in convertGdkColorToHtmlColour()
447 The Gdk::Color value returned by libglom is 16-bits per channel on both
448 64 and 32-bit platforms.
450 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
452 2011-05-19 Ben Konrath <ben@bagu.org>
454 Improve performance of initial ListView load.
456 I removed a round trip to the server for getting the default table name
457 and then requesting information about that table. This also removes a potential
458 problem with the table change handler not being setup in time to receive the
459 table change event from the ListActivity.
461 * src/main/java/org/glom/web/client/OnlineGlomService.java:
462 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
463 getDefaultLayoutListTable() method. Improve comments.
464 * src/main/java/org/glom/web/client/activity/ListActivity.java: Use
465 getDefaultLayoutListTable() method instead of firing a table change
466 event to get the table to load.
467 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
468 implementation of getDefaultLayoutListTable() method.
469 * src/main/java/org/glom/web/shared/LayoutListTable.java: Add field for
472 2011-05-19 Ben Konrath <ben@bagu.org>
474 Override toDebugString() in TableChangeEvent.
476 This is useful to have for debugging.
478 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
480 2011-05-19 Ben Konrath <ben@bagu.org>
482 Add a "Back to List" link when at the DetailsPlace.
484 * src/main/java/org/glom/web/client/activity/ListActivity.java:
485 Populate the CellTable based on the selected table of the ListBox if
486 it's set otherwise use the default table. This allows the "Back to
488 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
489 Remove Place from constructors. Add a setPlace() method. Add
490 goToPlace() method. Set class as presenter for TableSelectionView.
491 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
492 Use the same TableSelectionActivity when switching between the List and
494 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
495 Subclass the new HasSelectableTablePlace. This removes some duplicate
497 * src/main/java/org/glom/web/client/place/HasSelectableTablePlace.java:
498 New class to represent Places that display the TableSelectionView.
499 * src/main/java/org/glom/web/client/place/ListPlace.java:
500 Subclass the new HasSelectableTablePlace. This removes some duplicate
502 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
503 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
504 Add Presenter interface. Add setBackLinkVisible() method. Add
505 setBackLink() method.
507 2011-05-18 Ben Konrath <ben@bagu.org>
509 Enable the "Details" buttons.
511 Right now only an empty details view is displayed.
513 * src/main/java/org/glom/web/client/ClientFactory.java:
514 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
515 Add DetailsView to ClientFactory.
516 * src/main/java/org/glom/web/client/activity/DetailsActivity.java:
517 A basic activity for the details view.
518 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
519 Add a new constructor that takes a DetailsPlace. Rename shutdown() to
521 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
522 Add DetailsPlace.Tokenizer to the list of tokens that are generated by
524 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
525 Create a new DetailsActivity when a DetailsPlace is requested. Remove
526 unnecessary super() in constructor.
527 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
528 Create a new TableSelectionActivity when a DetailsPlace is requested. We
529 really shouldn't create a new TableSelectionActivity for both the ListPlace
530 and the DetailsPlace so this should be considered a temporary solution.
531 * src/main/java/org/glom/web/client/place/DetailsPlace.java:
532 New file. Represents a URL for the details view.
533 * src/main/java/org/glom/web/client/ui/DetailsView.java:
534 * src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
535 A basic details view interface and implementation.
536 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
537 Enable the "Details" buttons.
539 2011-05-12 Ben Konrath <ben@bagu.org>
541 Use a LayoutPanel with multiple display areas for main layout.
543 This is mostly a refactor in that there are no changes from the user
544 point of view. These changes are required so that we can swap out the list view
545 with the details view when the user clicks the "Details" button.
547 * src/main/java/org/glom/web/client/ClientFactory.java:
548 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
549 OnlineGlomView. Add TableSelectionView, ListView and
551 * src/main/java/org/glom/web/client/OnlineGlom.java: Use LayoutPanel
552 for main layout. Add display regions for main activities. Add
553 activity manager for for main activities.
554 * src/main/java/org/glom/web/client/activity/ListActivity.java: New
555 file from parts of the deleted OnlineGlomActivity.
556 * src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
557 New file from parts of the deleted OnlineGlomActivity.
558 * src/main/java/org/glom/web/client/event/TableChangeEvent.java:
559 * src/main/java/org/glom/web/client/event/TableChangeEventHandler.java:
560 New files for app wide table change event.
561 * src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
562 * src/main/java/org/glom/web/client/mvp/DocumentSelectionActivityMapper.java:
563 * src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
564 Activity mappers for the main activities replace the deleted app-wide
566 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java:
567 Fix a spelling error in he comment.
568 * src/main/java/org/glom/web/client/ui/ListView.java:
569 * src/main/java/org/glom/web/client/ui/ListViewImpl.java:
570 Renamed from LayoutListView and modified for MVP. This still not a
571 proper dumb view as prescribed by the MVP pattern but it works for now.
572 * src/main/java/org/glom/web/client/ui/TableSelectionView.java:
573 * src/main/java/org/glom/web/client/ui/TableSelectionViewImpl.java:
574 New widget stripped out of the deleted OnlineGlomView.
575 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
576 Remove hack that is fixed by this patch.
578 2011-05-06 Ben Konrath <ben@bagu.org>
580 Rename OnlineGlomPlace to ListPlace.
582 The only change besides the rename is that url will now display #list
583 instead of #Document.
585 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
586 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
587 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
588 * src/main/java/org/glom/web/client/place/ListPlace.java:
589 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
591 2011-05-06 Ben Konrath <ben@bagu.org>
593 Use Presenter for app navigation.
595 This is the proper way to deal with Place (URL) changes with the MVP
598 * src/main/java/org/glom/web/client/ClientFactory.java:
599 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Remove
600 PlaceHistoryMapper and PlaceHistoryHandler.
601 * src/main/java/org/glom/web/client/OnlineGlom.java: Re-add
602 PlaceHistoryMapper and PlaceHistoryHandler.
603 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
604 Don't use getHistoryMapper().getToken(place) to create the hyperlinks.
605 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
606 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
607 Add Presenter interface and setPresenter methods. Rename addHyperLink
608 to addDocumentLink taking only the document title as a parameter.
610 2011-04-14 Ben Konrath <ben@bagu.org>
612 Prompt for db username/password if they haven't been set.
614 This is implemented with a popup widget that is contained within the
615 OnlineGlomView and managed by the OnlineGlomActivity.
617 * src/main/java/org/glom/web/client/OnlineGlomService.java: Two new
618 methods for checking and setting the database username and password.
619 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Two
620 new methods for checking and setting the database username and
622 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
623 Display authentication popup if the JDBC connection to the database
624 has not been authenticated.
625 * src/main/java/org/glom/web/client/ui/AuthenticationPopup.java: New
627 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
628 for dealing with the authentication popup.
629 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java:
630 Implement the methods for dealing with the authentication popup.
631 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Don't
632 try to executed queries if the database connection hasn't been
633 authenticated. Implement methods for checking and setting the
634 database username and password.
636 2011-04-12 Ben Konrath <ben@bagu.org>
638 Make log messages a little clearer.
640 Add a dash betweeen the document title and the table name.
642 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
644 2011-04-12 Ben Konrath <ben@bagu.org>
646 Protect against NPEs when cleaning up database resources.
648 While this isn't strictly necessary because the exception is caught,
649 not protecting against the NPEs makes it harder to find the real error
652 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
654 2011-04-12 Ben Konrath <ben@bagu.org>
656 Move configuration of the servlet to the constructor.
658 The servlet will be initialized even if the database authentication
659 information is not set or correct. I still need to add the UI for prompting
660 the user for the authentication information when it's required.
662 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
663 javadocs for getDocumentTitles() method.
664 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
665 Set error message when RPC fails.
666 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Get the
667 glom files directory from the configuration file. Try to set the
668 database authentication information for the specific document if it's
669 set and works otherwise try to use the global authentication
670 information set for the directory.
671 * src/main/resources/onlineglom.properties: Moved from
672 src/main/webapp/WEB-INF/OnlineGlom.properties. Updated with new keys.
673 Added detailed comments for the new keys.
675 2011-04-11 Ben Konrath <ben@bagu.org>
677 Remove unnecessary @Override in DocumentSelectionViewImpl.
679 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
681 2011-04-11 Ben Konrath <ben@bagu.org>
683 Remove center alignment in DocumentSelectionView.
685 The title element is still centred but the document titles and bottom
686 sentence are both left-aligned.
688 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
690 2011-04-11 Ben Konrath <ben@bagu.org>
692 Change 'Demo' naming convention to 'Document'.
694 This is just a rename refactor with no functional changes to the code.
696 * src/main/java/org/glom/web/client/ClientFactory.java:
697 * src/main/java/org/glom/web/client/ClientFactoryImpl.java:
698 * src/main/java/org/glom/web/client/OnlineGlom.java:
699 * src/main/java/org/glom/web/client/OnlineGlomService.java:
700 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
701 * src/main/java/org/glom/web/client/activity/DocumentSelectionActivity.java:
702 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java:
703 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
704 * src/main/java/org/glom/web/client/place/DocumentSelectionPlace.java:
705 * src/main/java/org/glom/web/client/ui/DocumentSelectionView.java:
706 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.java:
707 * src/main/java/org/glom/web/client/ui/DocumentSelectionViewImpl.ui.xml:
708 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
710 2011-04-08 Ben Konrath <ben@bagu.org>
712 Remove FIXME from safeLongToInt() method.
714 Libglom uses longs on 32-bit and 64-bit platforms so it's ok to use
717 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
719 2011-04-08 Ben Konrath <ben@bagu.org>
721 Display an error if no glom documents are found in the specified directory.
723 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
724 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
725 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
726 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
728 2011-04-08 Ben Konrath <ben@bagu.org>
730 Add copyright header to one more file ... oops.
732 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
734 2011-04-08 Ben Konrath <ben@bagu.org>
736 Add copyright header to files without it.
738 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
739 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
740 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
741 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
742 * src/main/java/org/glom/web/shared/ColumnInfo.java:
743 * src/main/java/org/glom/web/shared/GlomField.java:
745 2011-04-08 Ben Konrath <ben@bagu.org>
747 Add support for accessing multiple glom documents in the servlet.
749 This completes the demo selection functionality.
751 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add
752 document title to methods.
753 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
754 document title to methods.
755 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
756 Set browser window title when the activity starts. Correct name of
757 document title variable.
758 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
759 Set browser window title when the activity starts. Set the table
760 selector change handler after table selector has been set. Clear the
761 OnlineGlomView when the activity has been stopped.
762 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java: Use the
763 document title as the place token. Use "#Document:" instead of
764 "#OnlineGlomPlace:" in the URL.
765 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
766 Change heading to "Online Glom"
767 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Use
768 document title in RPC methods.
769 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Remove
770 setDocumentTitle() method. Add clear() method.
771 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Remove
772 setDocumentTitle() method. Implement clear() method which removes the
773 change handler on the ListBox, clears the ListBox and clears the
775 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
776 Implement methods with document title. Keep track for the configured
777 glom documents and their corresponding JDBC configurations in a hash
778 table. This information is retrieved using the document title as the
779 key in the hash table.
780 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
781 document title field as it's no longer needed.
783 2011-04-08 Ben Konrath <ben@bagu.org>
785 Update the Eclipse JDT configuration.
787 * .settings/org.eclipse.jdt.ui.prefs: Automatically add comments to new
788 methods. Automatically add the copyright header to new files.
790 2011-04-05 Ben Konrath <ben@bagu.org>
792 Add new page for demo selection.
794 This patch adds all the components required to view and start an
795 OnlineGlom demo by clicking on the desired hyperlink. The user is
796 able to return to the demo selection page with the browser's back
797 button. I still need to modify the servlet to work with multiple
798 documents so all demo links will load the file defined in the
799 OnlineGlom.properties.
801 * .gitignore: Add .gwt which holds the error log for the GWT UiBuidler.
802 This is only useful during development so we don't need to save it.
803 * src/main/java/org/glom/web/client/ClientFactory.java: Add method to
804 get a reference to the DemoSelectionView.
805 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: Implement
806 method to get a reference to the DemoSelectionView.
807 * src/main/java/org/glom/web/client/OnlineGlom.java: Change the
808 default view to DemoSelectionView.
809 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add method
810 to get glom document titles for glom files in a hard-coded directory.
811 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
812 method to get glom document titles for glom files in a hard-coded
814 * src/main/java/org/glom/web/client/activity/DemoSelectionActivity.java:
815 Presenter for DemoSelectionView.
816 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: Update
817 for DemoSelectionView.
818 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
819 Update for DemoSelectionView.
820 * src/main/java/org/glom/web/client/place/DemoSelectionPlace.java:
821 Basic 'Place' implementation for the DemoSelectionView.
822 * src/main/java/org/glom/web/client/ui/DemoSelectionView.java:
823 The interface for the DemoSelectionView.
824 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.java:
825 The implementation of the DemoSelectionView.
826 * src/main/java/org/glom/web/client/ui/DemoSelectionViewImpl.ui.xml:
827 The GWT UiBuilder xml file used in DemoSelectionViewImpl.
828 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
829 implementation of method to get glom document titles for glom files
830 in a hard-coded directory.
831 * src/main/webapp/OnlineGlom.html: Remove link to CSS file as it's
832 on longer being used.
833 * src/main/webapp/glom.png: Glom logo.
835 2011-04-05 Ben Konrath <ben@bagu.org>
837 Move RPC code from OnlineGlomViewImpl to OnlineGlomActivity.
839 This is the forth and final commit of a refactor that will allow
840 OnlineGlom to be used with multiple documents.
842 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
843 Move RPC code from OnlineGlomViewImpl to this class.
844 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Add methods
846 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: Move
847 RPC code to the presenter class (the P in MVP).
849 2011-04-04 Ben Konrath <ben@bagu.org>
851 Start moving the existing OnlineGlom code to MVP.
853 This work is based on the GWT MVP framework that is documented here:
855 https://code.google.com/webtoolkit/doc/2.2/DevGuideMvpActivitiesAndPlaces.html
857 This is the third commit of a refactor that will allow OnlineGlom to
858 be used with multiple documents.
860 * src/main/java/org/glom/web/client/ClientFactory.java: New file.
861 Interface for client factory which is used to get instances of various
862 classes throughout the app.
863 * src/main/java/org/glom/web/client/ClientFactoryImpl.java: New file.
864 Implementation of client factory.
865 * src/main/java/org/glom/web/client/OnlineGlom.java: Add code to
866 initialize the MVP framework.
867 * src/main/java/org/glom/web/client/activity/OnlineGlomActivity.java:
868 New file. Activity manager for the main container widget. This is the
870 * src/main/java/org/glom/web/client/mvp/AppActivityMapper.java: New file.
871 Maps place (URL) to its corresponding activity.
872 * src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
873 New file. This is just a place holder for a generated file.
874 * src/main/java/org/glom/web/client/place/OnlineGlomPlace.java:
875 New file. Represents the URL for the main Online Glom app.
876 * src/main/java/org/glom/web/client/ui/LayoutListView.java: Update
877 for changes in LayoutListViewImpl.
878 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java: Create
879 interface for View. Move code to OnlineGlomViewImpl class.
880 * src/main/java/org/glom/web/client/ui/OnlineGlomViewImpl.java: New
881 file. Implementation of OnlineGlomView.
882 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Add Activity and
883 Place resources. Use ClientFactoryImpl by default.
885 2011-04-04 Ben Konrath <ben@bagu.org>
887 Move View classes to their own package.
889 This is the second commit of a refactor that will allow OnlineGlom to
890 be used with multiple documents.
892 * src/main/java/org/glom/web/client/OnlineGlom.java:
893 * src/main/java/org/glom/web/client/ui/LayoutListView.java:
894 * src/main/java/org/glom/web/client/ui/OnlineGlomView.java:
896 2011-04-02 Ben Konrath <ben@bagu.org>
898 Move UI code from the main module to its own class.
900 This is the first commit of a refactor that will allow OnlineGlom to be
901 used with multiple documents.
903 * src/main/java/org/glom/web/client/LayoutListView.java: Update
904 references to OnlineGlom to OnlineGlomView.
905 * src/main/java/org/glom/web/client/OnlineGlom.java: Move code to
906 OnlineGlomView and instantiate it here.
907 * src/main/java/org/glom/web/client/OnlineGlomView.java: New class that
908 represents the main OnlineGlomView with one document.
910 2011-04-01 Ben Konrath <ben@bagu.org>
912 Fix formatting of gwt.xml and add DTD.
914 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
916 2011-03-30 Ben Konrath <ben@bagu.org>
918 Propperly convert gdkColor string to html colour string.
920 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
922 2011-03-28 Ben Konrath <ben@bagu.org>
924 Change implementation of OnlineGlomServiceImpl.getColumnInfoHorizontalAlignment().
926 This implementation matches
927 OnlineGlomServiceImpl.getColumnInfoGlomFieldType(), should perform better, is more
928 readable and is not tied to Swig.
930 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
932 2011-03-28 Ben Konrath <ben@bagu.org>
934 Use read-only checkboxes for boolean field types.
936 * src/main/java/org/glom/web/client/LayoutListView.java: Create columns
937 in the CellTable based on the field type. It currently only
938 distinguishes between boolean and text columns but I'll need to add
939 support for more types.
940 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set the
941 column type in the ColumnInfo object. Add method to convert between the
942 glom field type enum in ColumnInfo and the glom field type in libglom.
943 * src/main/java/org/glom/web/shared/ColumnInfo.java: Add support for
945 * src/main/java/org/glom/web/shared/GlomField.java: Add support for
946 getting and setting booleans.
948 2011-03-25 Ben Konrath <ben@bagu.org>
950 Don't get the Date twice from the ResultSet.
952 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
954 2011-03-25 Ben Konrath <ben@bagu.org>
956 Cleanup code in the servlet.
958 * TODO: Remove item about row count. Add item about testing row count
959 query with large number of rows.
960 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Fix
961 spelling mistakes, change method parameter to be consistent with
964 2011-03-25 Ben Konrath <ben@bagu.org>
966 Add server side logging with the gwt-log library.
968 * .gitignore: Ignore the log file we're now producing.
969 * TODO: Add a couple TODO item for logging.
970 * pom.xml: Add gwt-log and log4j as a dependency.
971 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
972 logging of errors, warnings and some important info.
973 * src/main/resources/log4j.properties: New file to configure log4j.
975 2011-03-24 Ben Konrath <ben@bagu.org>
977 Add a disable button for the Details view.
979 * src/main/java/org/glom/web/client/LayoutListView.java:
981 2011-03-22 Ben Konrath <ben@bagu.org>
983 Use a count query to get the number of rows for the list view pager.
985 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
987 2011-03-22 Ben Konrath <ben@bagu.org>
989 Add more TODO information about CellTable pager positioning.
993 2011-03-19 Ben Konrath <ben@bagu.org>
995 Add TODO item about CellTable pager positioning.
999 2011-03-18 Ben Konrath <ben@bagu.org>
1001 Remove unneeded GlomFieldColumn class.
1003 This is just a small code cleanup.
1005 * src/main/java/org/glom/web/client/LayoutListView.java:
1007 2011-03-18 Ben Konrath <ben@bagu.org>
1009 Use cursor mode in the query that gets data for the list view.
1011 I still need to fix the potential memory problem when getting the row
1012 count for the list view.
1014 * TODO: Add note about testing memory usage with large data sets. Add
1015 item about fixing row counting with large data sets.
1016 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Put the
1017 PostgreSQL JDBC driver into cursor mode when getting data for the
1020 2011-03-15 Ben Konrath <ben@bagu.org>
1022 Remove the GWT Container from the Eclipse build classpath.
1024 The GWT dependencies are set by Maven so this isn't needed.
1028 2011-03-15 Murray Cumming <murrayc@murrayc.com>
1030 Added some earlier mockups to git, but not to the tarball dist.
1032 * mockups/: Added some mockups from 2010-02 by Daniel Borgmann for
1033 Openismus. These hopefully show how we might structure the HTML so that
1034 it can be styled easily with CSS. However, we probably need to adapt them
1035 for the CSS structure that GWT dictates for common widgets.
1037 2011-03-14 Ben Konrath <ben@bagu.org>
1039 Locate OnlineGlom.properties using the ServletContext.
1041 This is required to be able to locate the file in the deployed servlet.
1043 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1044 Configure the database and glom document in in a helper method so
1045 that the ServletContext can be used to locate OnlineGlom.properties.
1046 * src/main/webapp/WEB-INF/OnlineGlom.properties: Moved from
1047 src/main/webapp. This is the proper location for .properites files.
1049 2011-03-12 Ben Konrath <ben@bagu.org>
1051 Add note to README about why we're compiling down to obfuscated JavaScript.
1055 2011-03-11 Ben Konrath <ben@bagu.org>
1057 Use properties file to configure servlet.
1059 This allows people to change the glom file path, db username and db
1060 password without recompiling the code.
1062 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1063 * src/main/webapp/OnlineGlom.properties:
1065 2011-03-11 Ben Konrath <ben@bagu.org>
1067 Use table fields in layout list view if the layout list is not defined.
1069 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1070 Manually create a LayoutFieldVector for the query builder using the
1071 table fields when a layout list is not defined in the glom file.
1073 2011-03-11 Ben Konrath <ben@bagu.org>
1075 Only show FIXME string for images when there's an image.
1077 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Also included
1078 in this change are some small code cleanups.
1080 2011-03-11 Ben Konrath <ben@bagu.org>
1082 Set text for fields with TYPE_IMAGE and TYPE_INVALID to avoid NPEs.
1084 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1086 2011-03-11 Ben Konrath <ben@bagu.org>
1088 Correctly set the index of the default table.
1090 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1091 Correctly set the index of the default table. Add commented out example
1094 2011-03-10 Ben Konrath <ben@bagu.org>
1096 Add comment to pom.xml about the previous change.
1098 * pom.xml: Add comment about the deployment issue so that it's obvious
1099 why java-libglom is set to the provided scope.
1101 2011-03-10 Ben Konrath <ben@bagu.org>
1103 Change java-libglom dependency from compile to provided in pom.xml.
1105 Since java-libglom uses jni it can only be loaded once and therefore
1106 must be placed in $CATALINA_HOME/lib and not included in each war.
1107 This directory is defined as /usr/share/tomcat6/lib/ on Ubuntu 10.04.
1108 More information about this issue can be found in the Tomcat 6 release
1109 notes in the "JNI Based Applications" section:
1111 http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
1113 * README: Remove note about this issue. Deployment info should really
1114 be on the wiki anyway so I'll add it right now.
1115 * pom.xml: Change java-libglom dependency from compile to provided so
1116 that it's copied in to the packaged war.
1118 2011-03-09 Ben Konrath <ben@bagu.org>
1120 Change to using a neutral locale for currency, date and time formatting.
1122 This solves the problem of currency values being represented without a
1123 space between the currency code and the number (e.g. "EUR5.89" is now
1124 represented as "EUR 5.89"). More work is required when we implement
1125 a locale preference setting.
1127 * TODO: Add note about currency formatting issues with different
1129 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1130 to using the neutral ROOT locale.
1132 2011-03-09 Ben Konrath <ben@bagu.org>
1134 Add support for currency codes that are not ISO 4217 codes.
1136 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1137 the currency code defined in the glom file when it's not 3 characters
1138 long or when Java doesn't recognize the string as an ISO 4217 code.
1140 2011-03-08 Ben Konrath <ben@bagu.org>
1142 Remove test classes, launch configurations and configuration.
1144 The test stuff was getting in the way when creating the war. To make
1145 the war file you can now do 'mvn clean package'. The packaged war file
1146 will be in the target directory.
1148 * .classpath: Remove unused classpathentry for tests and i18n.
1149 * pom.xml: Remove junit.jar dependency. Properly use gwt.version
1150 property. Don't run test or i18n goals when packaging the war.
1151 * src/main/webapp/WEB-INF/web.xml: Add xml name space. Correct
1156 * OnlineGlomTest-dev.launch:
1157 * OnlineGlomTest-prod.launch:
1158 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
1159 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1161 2011-03-07 Ben Konrath <ben@bagu.org>
1163 Update gwt-maven plugin to 2.2.0 and fix other configuation problems.
1165 These fixes allow me to use 'mvn deploy' to create the war file.
1167 * .classpath: This generated config has been updated by Eclipse. This
1168 change was probably triggered by me updating from Eclipse 3.6.1 to
1170 * .gitignore: Add entry to ignore the directory
1171 src/main/webapp/WEB-INF/deploy. This directory is generated by Eclipse.
1172 * .project: The generated config has been updated by Eclipse. This
1173 change was probably triggered by me updating from Eclipse 3.6.1 to
1175 * .settings/com.google.appengine.eclipse.core.prefs: Add empty config
1176 so that Eclipse doesn't complain
1177 * pom.xml: Update to gwt-maven-plugin 2.2.0.
1178 * src/test/java/org/glom/web/client/GwtTestOnlineGlom.java: Move from
1179 'tests' directory to 'client' directory. This is the new
1180 gwt-maven-plugin convension.
1181 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml: Correctly
1182 refer to org.glom.web.OnlineGlom gwt module and OnlineGlomServiceImpl.
1184 2011-03-07 Ben Konrath <ben@bagu.org>
1186 Add support for horizontal alignment in the LayoutList columns.
1188 * TODO: Remove item about horizontal alignment. Add item about
1189 improvements to ColumnInfo.
1190 * src/main/java/org/glom/web/client/LayoutListView.java: Set horizontal
1191 alignment on the columns. Use ColumnInfo RPC object get the column
1192 title and horizontal alignment.
1193 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1194 LayoutListView creation with ColumnInfo RPC object.
1195 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Create
1196 a ColumnInfo object for every LayoutList columnn. Convert the
1197 FieldFormatting.HorizontalAlignment to the correct
1198 ColumnnInfo.HorizontatlAlignment with the new
1199 getColumnInfoHorizontalAlignment helper method.
1200 * src/main/java/org/glom/web/shared/ColumnInfo.java: New RPC object
1201 to encapsulate column information like alignment and title. This
1202 could be used to set the colour instead of on a per cell field basis.
1203 * src/main/java/org/glom/web/shared/LayoutListTable.java: Replace
1204 column title storage and retrieval with ColumnInfo.
1206 2011-03-04 Ben Konrath <ben@bagu.org>
1208 Add support for column sorting.
1210 * src/main/java/org/glom/web/client/LayoutListView.java: Change
1211 AsynDataProvider to be an anonymous inner class. Use new
1212 getSortedTableData RPC method when column sort is requested. Set all
1213 columns sortable and add an AsyncHandler to activate sorting in the
1215 * src/main/java/org/glom/web/client/OnlineGlomService.java: Add new
1216 method getSortedTableData(). Cleanup other method signatures.
1217 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Add
1218 new method getSortedTableData(). Cleanup other method signatures.
1219 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1220 Implement getSortedTableData() and getTableData() methods by using a
1221 private helper method with the appropriate parameters filled in. Use
1222 user supplied sort clause when supplied, otherwise fall back to
1223 sorting by the primary key. Move destroy() method to be underneath
1224 constructor for readability. Cleanup comments.
1226 2011-03-03 Ben Konrath <ben@bagu.org>
1228 Add support for colour text and colour backgrounds to the layout list cells.
1230 Only the cell backgrounds are coloured which leaves a gap between the
1231 cells that isn't coloured. I need to figure out a way to set
1232 'style=background-colour:' on the whole column rather than just the
1235 * TODO: Add a note about colouring the background of the whole column.
1236 * src/main/java/org/glom/web/client/LayoutListView.java: Add a custom
1237 column type (GlomFieldColumn) and a custom cell type (GlomFieldCell) to
1238 render the coloured text and backgrounds. Use GlomField[] for the row type.
1239 * src/main/java/org/glom/web/client/OnlineGlomService.java: Use GlomField[]
1241 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Use
1242 GlomField[] for the row type.
1243 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Use
1244 GlomField[] for the row type. Set the text, text colour and background
1245 colour in the GlomField objects as specified in the glom document. Add
1246 method to convert from Gdk::Color to HTML colour string. Cleanup comments.
1247 * src/main/java/org/glom/web/shared/GlomField.java: New file to encapulate
1248 the glom field text, foreground colour and background colour.
1250 2011-03-02 Ben Konrath <ben@bagu.org>
1252 Don't display hidden tables in the combo box.
1254 * src/main/java/org/glom/web/client/OnlineGlom.java: Update code to use
1256 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1257 code to ignore hidden tables using ArrayLists for the table names and
1259 * src/main/java/org/glom/web/shared/GlomDocument.java: Change tableTitles and
1260 tableNames to use ArrayLists instead of String[]. Update getter and setter
1263 2011-03-01 Ben Konrath <ben@bagu.org>
1265 Add support for Date and Time number types.
1267 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1268 Implement formatting for Date and Time values. Change the default glom
1269 file to small business example.
1271 2011-03-01 Ben Konrath <ben@bagu.org>
1273 Add support for formatting glom types as specified in the glom file.
1275 Formatting isn't finished yet - I still need to add support for Date
1278 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Add
1279 formatting support for TYPE_TEXT, TYPE_BOOLEAN and TYPE_NUMERIC. Remove
1280 checks for null values in JDBC cleanup code and catch all exceptions
1281 instead of just SQLExceptions.
1282 * src/main/java/org/glom/web/shared/LayoutListTable.java: Fix incorrect
1285 2011-03-01 Ben Konrath <ben@bagu.org>
1287 Use GWT 2.2.0 instead of 2.1.1.
1289 * pom.xml: Change GWT version numbers.
1291 2011-03-01 Ben Konrath <ben@bagu.org>
1293 A few small code cleanups.
1295 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Remove
1297 * src/main/java/org/glom/web/shared/GlomDocument.java: Remove
1298 unnecessary object creation in constructor.
1299 * src/main/java/org/glom/web/shared/LayoutListTable.java: Remove
1300 unnecessary object creation in constructor.
1302 2011-02-28 Ben Konrath <ben@bagu.org>
1304 Add file for TODO list.
1308 2011-02-18 Ben Konrath <ben@bagu.org>
1310 Enable the CellTable Pager when more than 20 rows need to be viewed.
1312 The Pager will automatically become active when the results are larger
1313 than the CellTable size which is currently set to 20 lines.
1315 * src/main/java/org/glom/web/client/LayoutListView.java: Correct class
1316 name on debug statment in RPC call in LayoutListDataProvider, add
1317 numRows parameter to LayoutListView constructor, propperly set rowCount
1319 * src/main/java/org/glom/web/client/OnlineGlom.java: Correct class
1320 name on debug statment in RPC call, use LayoutListTable object in RPC
1321 calls, pass rowCount to LayoutListView.
1322 * src/main/java/org/glom/web/client/OnlineGlomService.java: Change
1323 getLayoutListHeaders to getLayoutListTable and return LayoutListTable
1325 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java: Update
1326 interface for changes in OnlineGlomService.
1327 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Change
1328 getLayoutListHeaders() to getLayoutListTable() and return
1329 LayoutListTable. Using this object allows me to pass other information
1330 about the LayoutList like the expected number of rows in the result set.
1331 The Connection object from the connection pool is now propperly closed.
1332 Only the requested number of lines are returned to the client in
1334 * src/main/java/org/glom/web/shared/LayoutListTable.java: Move from
1335 GlomTable and add columnTitles and numRows.
1337 2011-02-18 Ben Konrath <ben@bagu.org>
1339 Use String arrays instead of GlomTable objects in GlomDocument GWT-RPC object.
1341 This is a small performance boost. I'll use GlomTable to get the required
1342 layoutlist information.
1344 * src/main/java/org/glom/web/client/OnlineGlom.java:
1345 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1346 * src/main/java/org/glom/web/shared/GlomDocument.java:
1348 2011-02-18 Ben Konrath <ben@bagu.org>
1350 Add option to turn off formatting in JDT formatter preferences.
1352 * .settings/org.eclipse.jdt.core.prefs:
1354 2011-02-18 Ben Konrath <ben@bagu.org>
1356 Rename LayoutList to LayoutListView.
1358 I'm working towards setting things up to easily use MVP when the time
1361 * src/main/java/org/glom/web/client/LayoutListView.java: Rename from
1363 * src/main/java/org/glom/web/client/OnlineGlom.java: Update
1366 2011-02-17 Ben Konrath <ben@bagu.org>
1368 Move LayoutListDataProvider class into LayoutList.java.
1370 * src/main/java/org/glom/web/client/LayoutList.java:
1372 2011-02-17 Ben Konrath <ben@bagu.org>
1374 Rename RPC service classes from LibGlomService* to OnlineGlomService*.
1376 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Update
1378 * src/main/java/org/glom/web/client/OnlineGlom.java: Update references.
1379 * src/main/java/org/glom/web/client/OnlineGlomService.java: Rename
1380 from LibGlomServer.java.
1381 * src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
1382 Rename from LibGlomServiceAsync.java.
1383 * src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
1384 Rename from LibGlomServiceImpl.java.
1385 * src/main/webapp/WEB-INF/web.xml: Update configuration.
1387 2011-02-17 Ben Konrath <ben@bagu.org>
1389 Update JDT settings.
1391 * .settings/org.eclipse.jdt.core.prefs:
1393 2011-02-17 Ben Konrath <ben@bagu.org>
1395 Move GWT-RPC objects to shared package (where they should be).
1397 * src/main/java/org/glom/web/client/LibGlomService.java: Update imports.
1398 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Update imports.
1399 * src/main/java/org/glom/web/client/OnlineGlom.java: Update imports.
1400 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Update imports.
1401 * src/main/java/org/glom/web/shared/GlomDocument.java: Move to
1402 org.glom.web.shared package.
1403 * src/main/java/org/glom/web/shared/GlomTable.java: Move to
1404 org.glom.web.shared package.
1405 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml: Included shared
1406 directory in compilation to javascript.
1408 2011-02-16 Ben Konrath <ben@bagu.org>
1410 Add sort clause to the sql query that grabs table information.
1412 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add sort clause
1413 if one of the columns is a primary key.
1415 2011-02-16 Ben Konrath <ben@bagu.org>
1417 Disable generateAsync feature of gwt-maven.
1419 The generated interface does not correctly match the methods in LibGlomService
1420 and the generated singleton Util inner-class doesn't respect the servlet
1423 * pom.xml: Turn off generateAsync feature.
1424 * src/main/java/org/glom/web/client/LibGlomServiceAsync.java: Re-add file
1425 with singleton Util inner-class.
1427 2011-02-14 Ben Konrath <ben@bagu.org>
1429 Add LGPL v3 licence notices.
1431 Followed directions listed here:
1432 http://www.gnu.org/licenses/gpl-howto.html
1434 * COPYING: This file is a copy of the GPL v3.
1435 * COPYING.LESSER: This file is a copy of the LGPL v3.
1436 * src/main/java/org/glom/web/client/GlomDocument.java: Add licence
1438 * src/main/java/org/glom/web/client/GlomTable.java: Add licence
1440 * src/main/java/org/glom/web/client/LayoutList.java: Add licence
1442 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Add
1444 * src/main/java/org/glom/web/client/LibGlomService.java: Add licence
1446 * src/main/java/org/glom/web/client/OnlineGlom.java: Add licence
1448 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1451 2011-02-14 Ben Konrath <ben@bagu.org>
1453 Use ArrayList instead of Array in GWT-RPC calls.
1455 Apparently this gives a slight performance boost to the compiled
1458 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use ArrayList
1460 * src/main/java/org/glom/web/client/LibGlomService.java: Use ArrayList instead
1463 2011-02-14 Ben Konrath <ben@bagu.org>
1465 Access data from a postgres db rather than the example glom file.
1467 * .settings/com.google.gwt.eclipse.core.prefs: Change GWT setting to
1468 compile down to obfuscated javascript.
1469 * pom.xml: Add c3p0 and postgres JDBC libraries.
1470 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Return data
1471 using a postgres db accessed through the c3p0 connection pooling library.
1473 2011-02-14 Ben Konrath <ben@bagu.org>
1475 Update Java formatter settings.
1477 * .settings/org.eclipse.jdt.core.prefs: Change comment length to 120.
1479 2011-02-02 Ben Konrath <ben@bagu.org>
1481 Update Eclipse and Maven configs to in preparation for the postgres JDBC jar.
1483 * .classpath: Change JRE to Java 1.6, remove GWT configuration as we're now
1485 * .settings/com.google.gwt.eclipse.core.prefs: Don't copy gwt-servlet.jar to
1486 the compiled webapp directory that Eclipse uses as we're using Maven now.
1487 * .settings/org.eclipse.jdt.core.prefs: Change target platform to Java 1.6.
1488 * .settings/org.eclipse.wst.common.project.facet.core.xml: Change Java version
1490 * pom.xml: Format file, change target Java version to 1.6.
1492 2011-02-02 Ben Konrath <ben@bagu.org>
1494 Add information about a deployment related issue.
1496 * README: Add Notes section with the problem outlined.
1498 2011-02-02 Ben Konrath <ben@bagu.org>
1500 Call Glom.libglom_deinit() when the servlet is shutdown.
1502 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java: Add
1503 Glom.libglom_deinit() to destroy() method.
1505 2011-01-28 Ben Konrath <ben@bagu.org>
1507 Use generated Util class to get the RPC Async interface.
1509 * .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
1511 * src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
1512 getInstance() method to get a reference to the RPC Async interface.
1513 * src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
1514 getInstance() method to get a reference to the RPC Async interface, remove
1515 the now unused getLibGlomServiceProxy() method.
1517 2011-01-27 Ben Konrath <ben@bagu.org>
1519 Cleanup ChangeLog entry from previous commit.
1521 * ChangeLog: Group logical changes together and add comments.
1523 2011-01-25 Ben Konrath <ben@bagu.org>
1525 Convert to gwt-maven project.
1527 * .gitignore: Update for new project structure.
1528 * README: New file with a link to the online documentation.
1529 * pom.xml: The generated maven configuration file with some tweaks.
1531 Add / update Eclipse settings. These files are a merge of the files that
1532 were generated with the gwt-maven plugin and the files we were previously
1536 * .settings/.jsdtscope:
1537 * .settings/com.google.gdt.eclipse.core.prefs:
1538 * .settings/com.google.gwt.eclipse.core.prefs:
1539 * .settings/org.eclipse.jdt.core.prefs:
1540 * .settings/org.eclipse.wst.common.component:
1541 * .settings/org.eclipse.wst.common.project.facet.core.xml:
1542 * .settings/org.eclipse.wst.jsdt.ui.superType.container:
1543 * .settings/org.maven.ide.eclipse.prefs:
1544 * OnlineGlomTest-dev.launch:
1545 * OnlineGlomTest-prod.launch:
1547 Java source files moved from the 'src' directory to the directory structure
1549 * src/main/java/org/glom/web/client/GlomDocument.java:
1550 * src/main/java/org/glom/web/client/GlomTable.java:
1551 * src/main/java/org/glom/web/client/LayoutList.java:
1552 * src/main/java/org/glom/web/client/LayoutListDataProvider.java:
1553 * src/main/java/org/glom/web/client/LibGlomService.java:
1554 * src/main/java/org/glom/web/client/OnlineGlom.java:
1555 * src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
1557 Non-functional property file used for translations. I included this as
1558 reminder that it's something I need to sort out.
1559 * src/main/resources/org/glom/web/client/Messages.properties:
1561 The OnlineGlom GWT config file moved from the 'src/org/glom/web' directory.
1562 * src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
1564 The servlet configuration files moved from the 'war' directory.
1565 * src/main/webapp/OnlineGlom.css:
1566 * src/main/webapp/OnlineGlom.html:
1567 * src/main/webapp/WEB-INF/web.xml:
1569 Generated test files with most of the code commented out. I included these
1570 so that it's easy to add tests when we're ready for them.
1571 * src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
1572 * src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:
1574 2011-01-25 Ben Konrath <ben@bagu.org>
1576 Remove unused println.
1578 * src/org/glom/web/server/LibGlomServiceImpl.java:
1580 2011-01-25 Ben Konrath <ben@bagu.org>
1582 Add project specific JDT settings.
1584 * .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
1585 * .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.
1587 2011-01-25 Ben Konrath <ben@bagu.org>
1589 Populate celltable with example data.
1591 * src/org/glom/web/client/GlomDocument.java: Correct formatting.
1592 * src/org/glom/web/client/GlomTable.java: Correct formatting.
1593 * src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
1594 add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
1595 * src/org/glom/web/client/LayoutListDataProvider.java: New file,
1596 asynchronously gets the example data.
1597 * src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
1598 * src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
1599 * src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
1600 curently selected table to be retrieved by other widgets.
1601 * src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
1602 implement getTableData() in a hacky way. This method needs to be updated
1603 to grab information from the database when database creating is
1606 2011-01-20 Ben Konrath <ben@bagu.org>
1608 Set table headers when table dropBox changes.
1610 * src/org/glom/web/client/GlomDocument.java: Correct some method
1612 * src/org/glom/web/client/LibGlomService.java: Add method
1613 to get list layout field names.
1614 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
1615 to get list layout field names.
1616 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
1617 widget for list layout table.
1618 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
1619 the table drop box and add new updateTable() method to asynchronously
1620 get the layout list field names for the currently selected table.
1621 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
1622 implementation of getLayoutListHeaders() method.
1623 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.
1625 2011-01-18 Ben Konrath <ben@bagu.org>
1627 Make a listBox with table titles instead of the flexTable demo.
1629 This is the start of something more useful.
1631 * .classpath: Exclude a bunch of packages from the JVM that are
1632 getting in the way of the Eclipse content assist.
1633 * src/org/glom/web/client/GlomDocument.java:
1634 * src/org/glom/web/client/GlomTable.java:
1635 * src/org/glom/web/client/LibGlomService.java:
1636 * src/org/glom/web/client/LibGlomServiceAsync.java:
1637 * src/org/glom/web/client/OnlineGlom.java:
1638 * src/org/glom/web/server/LibGlomServiceImpl.java:
1639 * war/OnlineGlom.html:
1640 * war/WEB-INF/web.xml:
1642 211-01-13 Ben Konrath <ben@bagu.org>
1644 Update to new java-libglom API.
1646 * .gitignore: Ignore OnlineGlom.war.
1647 * src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.
1649 2010-12-20 Ben Konrath <ben@bagu.org>
1651 Add some basic style to the table listing.
1653 * src/org/glom/web/client/OnlineGlom.java: Add style to the table
1654 header, print useful error message on async callback failure.
1655 * war/OnlineGlom.css: Add style for table header, remove defaults
1656 provided by the Eclipse project wizard.
1658 2010-12-20 Ben Konrath <ben@bagu.org>
1660 Load example file from installed glom dir.
1662 * src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
1663 provided by java-libglom to find the example file.
1665 2010-12-20 Ben Konrath <ben@bagu.org>
1667 Update Eclipse settings.
1670 * .settings/com.google.gdt.eclipse.core.prefs:
1671 * .settings/com.google.gwt.eclipse.core.prefs:
1673 2010-12-17 Ben Konrath <ben@bagu.org>
1677 * .classpath: New file.
1678 * .gitignore: New file.
1679 * .project: New file.
1680 * .settings/com.google.gdt.eclipse.core.prefs: New file.
1681 * .settings/com.google.gwt.eclipse.core.prefs: New file.
1682 * src/org/glom/web/OnlineGlom.gwt.xml: New file.
1683 * src/org/glom/web/client/GlomTable.java: New file.
1684 * src/org/glom/web/client/OnlineGlom.java: New file.
1685 * src/org/glom/web/client/TableNameService.java: New file.
1686 * src/org/glom/web/client/TableNameServiceAsync.java: New file.
1687 * src/org/glom/web/server/TableNamesServiceImpl.java: New file.
1688 * war/OnlineGlom.css: New file.
1689 * war/OnlineGlom.html: New file.
1690 * war/WEB-INF/web.xml: New file.
1691 * war/images/glom.png: New file.