Commit graph

65 commits

Author SHA1 Message Date
sb 63a94d8ce1 bug 3343 : Completed revision of ADL to support explicit ordering (incl reverse ordering) of lists 2010-01-12 17:20:16 +00:00
sb 59a824e158 bug 3347 : Now showing NoDeleteReason in the errors area of the form
status 3347: resolved FIXED
2010-01-12 11:48:19 +00:00
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 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 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 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 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 6e995bfc5c Added before- and after- update hooks when saving auxiliary records 2009-04-17 13:11:04 +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 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
sb 0547747aec bug 2619: Setting site-root in the generated JavaScript was what was causing the JavaScript breakages, and, inter alia, the ShuffleWidget failures and the if-missing failures. Removing this code fragment solves the problem. What's frustrating is I still can't see what's wrong with it.
status 2619: resolved FIXED
2009-02-19 17:37:05 +00:00
sb 66b984af45 Added a workable default site-root 2009-02-19 16:41:19 +00:00
sb 9d09c248d0 Very close to having SRU working. 2009-02-19 15:29:27 +00:00
sb 5f129c98fc Still struggline with getting everything working with database layer security. 2009-02-06 17:48:58 +00:00
sb 7a977d5acd Many, many changes to do with making database layer security. 2009-02-06 12:08:28 +00:00
sb 19a35b9115 Now doing immutable widgets correctly. 2009-02-04 11:32:26 +00:00
sb f3f4f5c5bf Generated navigation now permission-sensitive - it won't generate navigation links to pages you are not authorised to view. 2009-02-03 13:05:08 +00:00
sb 493cbb9527 Role/group security is now at a frustrating 'very nearly' stage. I now believe I'm setting up all
the security correctly in the transforms, but the SecurityHelper is not yet correctly discovering
group membership.
2009-02-02 18:13:39 +00:00
sb b7caa8281a Now generating good group security code. 2009-02-02 10:49:12 +00:00
sb bb332d34ad Very close to having per-field permissions working correctly. Code for permissions is generated and the valocity syntax is correct but supporting code in Cygnet Toolkit has not yet been written and the way it is being generated may be wrong. 2009-01-30 15:08:26 +00:00
sb b34706e25a Number of minor fixes, most significantly in the generation of auxiliary lists. 2009-01-29 16:39:32 +00:00
sb 78964a814e A number of minor bugfixes whilst getting SRU Hospitality to work with current ADL. I'm confident these are all bugfixes and they will have no adverse effect on other cutomers systems (the only system that might be affected is ASL and I shall check this). 2009-01-28 18:03:42 +00:00
sb ee4ae42fc4 A number of very minor fixes:
(1) when generating constructors, generate a reverence for the StylesHelper, as it is used in views we generate.
(2) when generating lists, don't layout columns whose contents are themselves lists.
2009-01-28 12:10:02 +00:00
sb 1ef18c05b9 probably-better fix... 2008-10-31 14:35:06 +00:00