Commit graph

238 commits

Author SHA1 Message Date
sb 61bd54810d fix so that version information appears in page footer 2009-05-21 12:46:06 +00:00
sb 14c9ca0cdd Can't search non-concrete fields with Hibernate. 2009-05-21 10:07:00 +00:00
sb 3e8306ca6c pass locale into named templates as parem; major improvements to auto-documentation 2009-05-13 17:52:33 +00:00
sb b87e01bd64 bug 2935 : This proved to be a more complicated problem than it might have. Exceptions thrown during deletion were not caught by the user interface, so the user got a fairly ugly error message. Fixed.
status 2935 : resolved FIXED
2009-05-12 15:43:18 +00:00
sb 9fac74f803 bug 2921 : The earlier change to diable paging on search results resulted in a division by zero error when there were no search results. Now fixed. 2009-05-12 14:29:12 +00:00
sb ba7e48348a bug 2921 : Frankly this is a solution I take no pride in. Paging is disabled on search. This is OK if search is sufficiently focussed, but a bit untidy when it isn't.
status 2921: resolved FIXED
2009-05-11 15:01:49 +00:00
sb 74e730c444 Improved commenting on initialiser of properties which have type='entity' and a default value. We still can't generate the right code but I am generating a comment which explains why not. Using fully qualified class names in -with- entrypoints in controllers. 2009-05-08 16:27:24 +00:00
sb 9628ed0b71 Temporary fix for broken entity initialisers - need more throught later 2009-05-07 10:31:26 +00:00
sb fd92602be9 Temporary fix for broken entity initialisers - need more throught later 2009-05-07 10:07:11 +00:00
sb b6823cb897 Minor fix - was generating wrong initialiser for entiry properties where the key field of the entity was of type string. 2009-05-07 09:50:55 +00:00
sb 4902e969c7 bug 2912 : David had
onsubmit="return trapEnterSubmissions(event, this);invokeSubmitHandlers(this);"

Because the 'return' is on the first statement, the second is not executed. If one reverses it to:

onsubmit="invokeSubmitHandlers(this);return trapEnterSubmissions(event, this);"

Then invokeSubmitHandlers(this) is called (setting up the shuffle widget handler) and also return trapEnterSubmissions(event, this); is called (trapping use of the enter key to submit the form).
status 2912 : resolved FIXED
2009-05-07 08:42:01 +00:00
sb 2bd5c55412 bug 2913 : Sort of fixed. At least, I've fixed the wrong bit - the button on the form is now no longer there, but the link still reads 'edit'. However, this is a whole lot better. 2009-05-06 18:02:35 +00:00
sb 97e9b62ace bug 2904 : This broke because we now do have in 'instance' when creating a new record; fixed by checking for $instance.IsNew
status 2904: resolved FIXED
2009-05-06 17:25:55 +00:00
dmcnicol 9e3e91ec01 removed ! from Go button 2009-05-05 11:48:42 +00:00
dmcnicol 2f909cf9fc bug 2896 : added the Enter key submission capture into the view template 2009-05-05 11:21:19 +00:00
dmcnicol b1e6c98600 bug 2896 : added javascript to capture enter pressed into the template 2009-05-05 08:25:53 +00:00
sb 2d71a40f32 bug 2902 : Problem was that the default initialisation of a .Net DateTime value is outside the range of dates which SQL Server can represent. Modified to default DateTimes to the current date.
status 2902: resolved FIXED
2009-05-04 15:37:37 +00:00
sb 961e71e57a bug 2899 : This came down to two issues; one, a (new) bug in the shuffle widget code prevented the client-side validation working on new records; second, the specification for an email address was incorrect (it didn't allow a period before the '@', e.g. 'mike.oreilly@sru.org.uk'. Fixed
status 2899: resolved FIXED
2009-05-04 13:53:18 +00:00
sb 328e2606d2 bug 2896 : Was generating delete before save. Mistake. Fixed.
status 2896 : resolved FIXED
2009-05-04 11:00:05 +00:00
sb e71996068b Narrower default search inputs 2009-05-01 15:58:21 +00:00
sb c560583100 Narrower default search inputs 2009-05-01 15:55:07 +00:00
sb d34266c1a7 Final removal of excess plings. 2009-05-01 15:52:40 +00:00
sb 037fff1ad1 Remove exclamation marks from action links 2009-05-01 15:30:46 +00:00
sb b7448fdf6c bug 2883 : made records-per-page a build time parameter of adl2controllerclasses.xslt, defaulting to 15
status 2883: resolved FIXED
2009-05-01 15:28:58 +00:00
sb 0991ad44f8 Corrected minor faults in outputting verbs 2009-05-01 11:18:39 +00:00
sb 4648a1f9a9 bug 2831 : All tables are now sortable on any field, simply by clicking on the header. This involves changes to ADL and to CygnetToolkit
status 2831 : resolved FIXED
2009-05-01 10:02:08 +00:00
sb ca2ea6f98a Addd page div just inside 'body' 2009-05-01 08:58:44 +00:00
sb 82a01ce516 bug 2838 : Belts and braces - if no valid session, blank the page content. This in addition to changes in C1873-SRU-Hospitality.adl.xml which generates a JavaScript forced redirect.
status 2838: resolved FIXED
2009-05-01 08:46:45 +00:00
sb bd2690ecdd bug 2869, 2871, 2877, 2878 : Sweep up of cosmetic bugs requiring ADL language/transform changes.
status 2869, 2871, 2877, 2878 : resolved FIXED
2009-04-30 17:03:59 +00:00
sb e83ba2c9ac bug 2847 : Right, the session timeout behaviour is now as follows; in ADL, all pages now timeout after $page-timeout seconds (default is 300) to $default-page (default id default.aspx) unless $page-timeout is set to zero. This behaviour is overridden in SRU Hospitality to redirect to dblogin/dologout.rails, thus guaranteeing both the database and forms authentication settings are also cleared.
status 2847: resolved FIXED
2009-04-30 08:56:33 +00:00
sb c1e9c49647 Allowing fieldgroups to have permissions 2009-04-29 15:45:02 +00:00
sb e32f089d27 bug 2840 : This one proved to have much more subtlety than one would have expected. Changes to adl2controllerclasses and new support class, LinkTableUpdater, in Cygnet.Utils 2009-04-29 13:58:51 +00:00
sb 97fd52777b bug 2840 : Major work on adl2controllerclasses to collect up modified entities and call before- and after- update hooks on all of them. It complies and looks convincing but at this stage a great deal more testing is required! 2009-04-28 18:27:59 +00:00
sb 133b53fd23 Damned windows and hiding file extensions! 2009-04-28 14:09:46 +00:00
sb a83f463f71 Upversioned all the other files! 2009-04-28 13:53:17 +00:00
sb 9da7f897a5 Upversioned everything to 1.3. This is probably a mistake, given there are no breaking
changes to the ADL language itself, only to the code generated from it; but nevertheless it's done.
2009-04-28 13:44:51 +00:00
sb 148624c084 bug 2821 : Changes to ADL to implement the 'PrototypeFor classes carry default values for forms' solution.
status 2821: resolved FIXED
2009-04-28 13:34:14 +00:00
sb d2b026f8b9 bug 2824 : Partial solution. Now, instead of showing an unpopulated shuffle widget, I show a message explaining why the shuffle widget is not yet available.
status 2824 : resolved FIXED
2009-04-27 16:29:40 +00:00
sb 9f8490b3c5 bug 2820 : messages were not being added to the PropertyBag, in store. 2009-04-27 15:19:51 +00:00
sb 6e995bfc5c Added before- and after- update hooks when saving auxiliary records 2009-04-17 13:11:04 +00:00
sb 5b49d6a280 Recorrected fault in database param initialisation which was corrected in 1.30 but was not correctly tagged and thus got missed. 2009-04-17 09:43:27 +00:00
sb 1376b2db36 bug 2792 : Reinstated the calls to the deprecated Before- and AfterUpdateHooks, and also to the deprecated BeforeDeletionHook. I am not entirely happy with this solution, which looks ugly.
Note that currently the Before- and AfterUpdateHooks are only called (in the auto-generated controller) for the principal record of a form, and not for any auxiliary records. It's possible that the hooks should also be called for these.

This isn't really satisfactory - it makes for ugly and prolix code - and a better solution is desirable.

More thought needed.
2009-04-17 09:38:46 +00:00
sb 124a10b8cc Corrected minor fault in initialisation of authentication-layer param 2009-03-25 11:52:51 +00:00
sb bea3fc7517 bug 2680:Was not outputting columns for textareas; fixed.
status 2680: resolved FIXED
2009-03-05 14:14:25 +00:00
sb 51fecdad0f bug 2682: when outputting fields with options in tables, show the prompt rather than the value where possible
status 2682: resolved FIXED
2009-03-05 13:12:19 +00:00
sb 6ca0ca9c3d bug 2681: Added search button to searchable lists
status 2681: resolved FIXED
2009-03-05 10:59:39 +00:00
sb 87c7dc3f13 Some tidy up in the generation of the new hybrid pseudo-Database authentication system. 2009-03-02 10:31:44 +00:00
sb 87a0f39b59 Default values for bit fields were being generated as 'true' and 'false' - these are invalid, not generating 1 or 0. 2009-02-20 16:12:56 +00:00
sb 2b04dac72f bug 2622:The valiadtor Javascript object was being intialised before the onload function, when there was no DOM available. Consequently it was faling (silently). Fixed. At the same time I have removed an obsolete and misleading comment from the generated controller code, and made some other minor fixes to generated views. 2009-02-20 15:25:29 +00:00
sb d2d9af3cfc Beginning of work to allow uploadable files 2009-02-20 10:31:02 +00:00