Commit graph

221 commits

Author SHA1 Message Date
Simon Brooke e9ed2d0573 Rewrote adl2psql into Clojure, because these days it's more comfortable. 2018-06-13 19:43:50 +01:00
Simon Brooke b69bcaa020 MY MONSTER IT LIVES! 2018-06-11 19:08:08 +01:00
Simon Brooke 7c9f7f91b4 Improvements to page/form/list generation 2018-06-11 10:13:44 +01:00
Simon Brooke 1338b54846 Added a main class, to allow command line invocation. 2018-06-11 01:46:59 +01:00
Simon Brooke f4330aad6b Small fixes 2018-06-11 01:06:16 +01:00
Simon Brooke 6b3f6e58d2 Merge remote-tracking branch 'origin/develop' into develop 2018-06-10 22:20:53 +01:00
Simon Brooke e98906c85e Much progress! Many working! 2018-06-10 22:18:54 +01:00
Simon Brooke 398e3c3a6c Much progress! Many working! 2018-06-10 21:05:02 +01:00
Simon Brooke 538406b473 Most of the way to working forms 2018-06-05 09:28:18 +01:00
Simon Brooke 2764f7ec00 Added magnitude attribute on entities 2018-06-03 09:26:20 +01:00
Simon Brooke 1cf13abd45 Merged in 2018-06-03 08:24:50 +01:00
Simon Brooke 481743ff2d Much improved query generation. 2018-05-13 17:49:15 +01:00
Simon Brooke e3dfbb5343 Documentation improvement 2018-05-13 15:31:32 +01:00
Simon Brooke 8a7a80a461 Very close to good on templates. 2018-05-13 12:05:07 +01:00
Simon Brooke 18f9e67033 Documentation works, and templates are being generated. 2018-05-12 14:15:02 +01:00
Simon Brooke fd9e65b7c7 Really substantial progress in generating Selmer templates. 2018-05-11 18:56:58 +01:00
Simon Brooke ab2c45e887 string-equal-ignore-whitespace is a predicate... 2018-03-21 11:26:23 +00:00
Simon Brooke fa704d1a07 Leveraged whitespace-insensitive match to make expected SQL readable
Pleased with this!
2018-03-21 10:57:54 +00:00
Simon Brooke dcbe9ee01b Queries improved, all tests in adl.to-hugsql-queries-test pass. 2018-03-21 10:32:02 +00:00
Simon Brooke 5cf0a4cbed More unit tests. 2018-03-21 01:55:08 +00:00
Simon Brooke 4d6bad7c2a Making a commit now to mark a point in development. Many tests fail
Failures are to do with XML elements with (legitimate) text content. My validator - specifically I think the function adl.validator/disjunct-valid? - is causing spurious validation fails. But just having a battery of unit tests is progress.
2018-03-20 22:52:04 +00:00
Simon Brooke 38bcacc376 Preparing for move to GitHub 2018-03-20 16:21:43 +00:00
simon 2fc53be9e7 Recovery after CVS messup. 2010-08-18 17:55:02 +00:00
simon b528b71c28 Minor fix to the file upload code. 2010-07-21 21:27:31 +00:00
simon f64be419fe Taken most of the Cygnet branding out of the files - this is not to deny or
minimise Cygnet's input.
2010-07-20 20:27:05 +00:00
simon 8a3daa78d9 Some new work on Postgres, but not yet working and maybe a false start; apart
from that, stuff brought over from Cygnets, getting file upload working on
Monorail.
2010-07-20 19:53:39 +00:00
simon 9b4c13178e Was missing parentheses around %Sequence; D'oh! 2010-06-20 17:59:37 +00:00
simon afc255f374 Very minor fixes to syntax in 'specification' and 'reference' 2010-06-20 13:10:31 +00:00
sb aa1de5f131 the index.html page was out of sync with the version! Fixed. 2010-06-02 14:32:22 +00:00
sb 2594cb384c Improved auto-generated documentation for use with doxygen; moved 'using' devlarations inside namespaces. 2010-06-01 17:29:02 +00:00
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 574e4d346f bug 3343 : Added entity 'order' as a possible child of 'list' 2010-01-12 14:29:09 +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 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