Commit graph

72 commits

Author SHA1 Message Date
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
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 e7a4961e9b Added some important missing spaces! 2009-02-04 18:39:11 +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 307696a14a Changes to MS SQL transform to support improved group security 2009-01-30 10:57: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 6ff5d773fa Added code to the C# entity transform to help with memory-leak debugging - this gets compiled in only if using #if DEBUG is used when compiling the C# 2009-01-12 10:51:40 +00:00
sb bfd1f519db Removed the '#' inserted into reference URLs because, for example, when referring to Bugzilla, they get in the way. 2008-11-13 10:34:56 +00:00
sb 1ef18c05b9 probably-better fix... 2008-10-31 14:35:06 +00:00
sb 0d0ea56ac7 Further minor experimental fix 2008-10-31 14:31:04 +00:00
sb 2319499b42 possible fix to unnumbered shuffle widget bug 2008-10-31 14:29:29 +00:00
sb 5c099c6503 bug 2310 : If no values passed in from a shuffle widget, was not clearing the old values. 2008-10-31 13:10:22 +00:00
sb e2d31acdd6 Minor fixes:
Corrected 'definition' to 'typedef';
Added 'adl:' namespace prefix in several places where it was missing;
Removed duplicate <title> elements
2008-10-14 09:09:58 +00:00
sb 2d0044f59a And better still... 2008-10-09 16:12:21 +00:00
sb 40cc82ad16 Better fix... 2008-10-09 16:09:14 +00:00
sb 3a938c797c Temporary experimental change. 2008-10-09 15:50:06 +00:00
sb 2159d3edfc Set all namespace information to refer to 1.1 2008-10-02 10:52:39 +00:00
sb d5c557f93e Bringing into line with current b_development 2008-10-02 10:43:42 +00:00
sb ffbdce8989 Money was defaulting to zero pennies on all fields! 2008-08-28 11:22:25 +00:00
sb 2f7a027610 IsNew property 2008-08-26 11:10:57 +00:00
sb 18a34342f8 Fixed bug which caused controllers to require explicit values for key fields, even\nwhere these were auto-generated 2008-08-22 17:14:41 +00:00
sb f85040e72a Fixed adl2documentation to get its stylesheet from a standard place 2008-07-23 09:03:01 +00:00
sb 953c7fedfe Merged in fix to duplicate referential integrity chack problem 2008-07-23 08:21:49 +00:00
sb 64988cb87d Yes, always test before committing. Missing bracket fixed. 2008-07-21 10:08:35 +00:00
sb ac72992239 Sorted the problem of generating null tests for non-nullable characters in C# entities;
Removed square brackets from SQL keywords in generated SQL (relying on quotes instead).
2008-07-21 10:00:48 +00:00
sb 60b138e0df A timestamp in SQL server is called a DateTime. That is actually called a timestamp is something else. 2008-07-18 14:46:08 +00:00
sb ea3e095896 Lesson: don;t commit to CVS before testing thoroughly! Small bugs fixed 2008-07-15 16:41:31 +00:00
sb 0c808cf901 Added IsUserDistict attribute to properties which are user disctinct 2008-07-15 16:28:59 +00:00
sb 2aa16094bc Minor fixes 2008-07-15 15:20:53 +00:00
sb 822e1b7fb3 Fixed a minor bug in the generation of sets 2008-07-15 12:04:33 +00:00
sb 5118c8b76b Added 'revision' as an attribute of 'application' to make revision tracking easier. 2008-07-10 10:12:16 +00:00
sb 83f163bb60 Mainly changes to MS-SQL generation 2008-07-10 09:55:30 +00:00