Commit graph

261 commits

Author SHA1 Message Date
sb be2cc24ea7 This is a work-in-progress commit while trying to produce grand unified ADL.
Applied Sweepers /does/ build with this version; SRU still /does not/ build with
this version.
2008-05-21 13:00:55 +00:00
sb 1abaead774 Tiddly little bug was precenting ShuffleWidget code being generated... 2008-05-19 15:25:06 +00:00
sb cde22a9e96 Integration of all the good features from the SRU branch, plus much beneficial refactoring. 2008-05-19 14:49:18 +00:00
sb 41f45eb3cd Almost completely working with Andrew's new SmartForm stuff. 2008-05-16 15:26:20 +00:00
sb 7673552477 Tactical commit point: everything is working using Andrew's new TypedPropertyBag, but not yet exploiting SmartFormHelper 2008-05-16 11:12:48 +00:00
sb dff905227d Spent a lot of time trying to get Andrew's (very clever) automatic type resolution to widgets working, but without good success, so I've backed out a lot of code. It may still be the right approach, but will take much more work to get working. 2008-05-15 16:29:24 +00:00
sb 7b1f458583 bug 1902: template formmenus did not correctly generate menus for entities on form fields, because of a missing namespace qualifier. 2008-05-13 10:36:46 +00:00
sb 7642f0bf02 Quite a lot more improvement on robustness and formatting 2008-05-09 16:12:12 +00:00
sb 0e392e6bb3 bug 1833 : Added distinctness checks to controller generator; also transactions. 2008-05-08 17:26:44 +00:00
sb 363dfd3df9 Fixing bug 1802 exposed some not sufficiently cautious code in adl2views.xslt. This fix does not directly address bug 1802, but the problem was found while investigating it.
status 1802 : resolved fixed
2008-04-18 10:06:47 +00:00
sb 7e8fcf62f5 bug 1802 : adl2controllerclasses.xslt was generating collections for every menu a form might need, not for every menu the form did need. This had severe performance penalties. Sorted. 2008-04-18 09:27:29 +00:00
sb 4efb909880 bug 1801 : Better understanding of how 'Assert...' methods are supposed to work, leading to simpler code. 2008-04-17 17:33:16 +00:00
sb fd3bfabe3a bug 1801 : Prevent non-administrator access to administrator-only pages. This has involved creating a framework for authentication at controller level, which is not quite working at this stage 2008-04-17 16:16:19 +00:00
sb c480c2d41e bug 1800 : Andrew needed ADL pages to use same velocity layout as non-ADL pages, for consistent look and feel. However, where possible ADL pages should use a blank velocity layout so that page layout can be specified in the ADL. Made the layout (and also area and rescue) configurable via XSL parameters; default behavious is still to assume a blank layout. 2008-04-17 15:04:15 +00:00
sb 1ff56f3dd0 After delete, redirect to list view if available. 2008-04-08 15:05:36 +00:00
sb b240169fc7 Fixes to escape SQL keywords when used as column names 2008-03-19 15:37:48 +00:00
sb 74be55668f Fixed to use NHibernate's ILifecycle callbacks, rather than my own hacked *hook callbacks. 2008-03-19 14:46:20 +00:00
sb aec6114d9f Work on improving the NHibernate performance (not good enough yet). 2008-03-12 17:40:02 +00:00
sb 9a6b02cd6b Working hierarchical permissions when generating widgets; working sort of menus; many other improvements. 2008-03-12 13:46:10 +00:00
sb cadaf246f4 Now handling composite primary keys and (recursively) primary keys of type entity; also i18n handling considerably improved. 2008-03-10 17:01:26 +00:00
sb 95e8e5ae30 More impreovements based on experience with ASL 2008-03-05 11:05:12 +00:00
sb e423b325a4 Considerable progress on adjunct editing suite, but some lacunae remain. 2008-03-04 17:30:52 +00:00
sb 22567139f3 More work on i18n and caching; also, work on the views generator. 2008-03-03 17:35:28 +00:00
sb 698c014b0d Significant change in C# entities: instead of creating all collections for child objects at creation time of the parent object, now create them only when first requested. General tidyup in other files 2008-02-29 16:28:51 +00:00
af 97c62d4c86 Updated to pass through one-to-one elements and schema attributes. 2008-02-28 14:56:05 +00:00
sb 9ecbfb2f91 Allow tablename prefix to be specified when generating ADL 2008-02-28 14:52:08 +00:00
sb 0cac7bfba9 Now with working (but very slow) user-editable internationalised messages 2008-02-27 17:38:41 +00:00
sb f28dae3038 Added client-side validation stuff from the SRU branch of ADL 2008-02-21 12:40:23 +00:00
sb 1d8d6d1e22 Mainly correcting generated comments 2008-02-20 12:09:53 +00:00
sb 7d460a41fb Further work on hibernate mapping generation. 2008-02-14 16:57:07 +00:00
sb afc5be9d35 In Applied Sweepers, the big problem of linking between the two databases is now solved, and the solution is reasonably good.
I don't believe there's any ASL-specific special purpose code in here, but there is code which addresses the issue of one-one joins between databases which may need to be revisited. Also, if a 'database' parameter is passed, link tables get the prefix '$database.dbo.', which I think is an MS SQL Server specific convention.
2008-02-13 15:56:31 +00:00
sb 9fa2d42bfe Messing with key generation occasioned by the mess between XAL and Adjunct 2008-02-13 13:12:09 +00:00
sb 0051f34ab8 Greatly improved Hibernate output; controller classes still broken 2008-02-13 09:52:42 +00:00
sb 24078f8583 still debugging 2008-02-11 16:21:32 +00:00
sb a589c29224 still debugging 2008-02-11 16:13:17 +00:00
sb ae4e125b99 adl2controllerclasses currently breaking. 2008-02-11 15:35:42 +00:00
sb a2be2c9f08 Very nearly generating good SQL. Still some problems with referential integrity constraints. 2008-02-08 17:15:39 +00:00
sb 060c133588 Sorting inherited permissions for tables 2008-02-08 13:48:54 +00:00
sb 7ad288dd1f Foreign entities; correction of spelling mistake; don't generate methods supporting store and delete if no form. 2008-02-08 10:46:43 +00:00
sb 4c4a16631c Generatinga clean and believable-looking hibernate mapping, although not yet proven to work. 2008-02-07 17:45:32 +00:00
sb f64f137a67 Many fixes, including global enforcement of UTF-8 2008-02-07 16:35:00 +00:00
sb 7f5585d492 Many changes, principally dealing with composite primary keys and foreign entities. 2008-02-06 17:24:53 +00:00
sb d61f36c13d Mainly grammatical changes involving the replacement of type='serial' with generators 2008-02-04 15:54:46 +00:00
sb 78a038a764 Removed debugging messages 2008-02-04 15:53:32 +00:00
sb b18db6b995 Now correctly ouputs composite primary keys, among other things. However, not currently getting all constraints right and also the 'myresponsibility' mechanism for when to output link tables is not working entirely correctly. 2008-02-04 15:53:00 +00:00
sb b7a2327857 Almost there. 2008-02-01 21:47:15 +00:00
sb 07b10ab336 More work on the framework - now up to the point that I can auto-generate SQL with compound primary keys, and the other features required by Andrew. 2008-02-01 18:25:38 +00:00
sb d52a3d5653 Added adl2canonical 2008-02-01 12:43:18 +00:00
sb eba7fa3afb Parallel track on transform development. Currently 'transforms' work, but not with a version of ADL which is formalisable, documented specified; and 'transforms01' very nearly work on a vocabulary which is very nearly as rich as 'transforms' but which is formalised, specified and documented. 2008-01-31 17:06:35 +00:00
af 98756d2211 Changed Cygnet.Entities.Exceptions -> Cygnet.Exceptions
Changed locale parameter to lang parameter.
2008-01-31 12:34:21 +00:00