Commit graph

272 commits

Author SHA1 Message Date
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
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 ae09844508 Added immutable attrribute of property 2009-02-06 17:49:46 +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