From: Andrew B. <bm...@go...> - 2006-03-01 12:38:11
|
I now have a working version of the peer-marking tool. If anyone is interested in seeing it, I can let you have a quickstart war file = containing a Bodington set up with demo locations, data and users, so you can play around with it. Aggie ___________________________________________________ Andrew G Booth Professor of On-Line Learning and Associate Professor of Biochemistry Garstang Building Faculty of Biological Sciences University of Leeds Leeds LS2 9JT U.K. Tel: +44-113-343-3142 Fax: +44-113-343-3167 email: a.g...@le... personal email should be sent to: an...@ag... ___________________________________________________ Support open source Virtual Learning Environments The Bodington System Project http://bodington.org ___________________________________________________ |
From: Matthew B. <mat...@ou...> - 2006-03-06 16:13:29
|
Andrew Booth wrote: > I now have a working version of the peer-marking tool. If anyone is > interested in seeing it, I can let you have a quickstart war file containing > a Bodington set up with demo locations, data and users, so you can play > around with it. Please. Can I download it form somewhere? -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |
From: Andrew B. <a.g...@le...> - 2006-03-07 10:48:11
|
You can download the war file from: http://bmbmac75.leeds.ac.uk/bodington-quickstart.war IE6 seems to download it as a zip file, but you can just rename it to a war file after it has downloaded. Drop it into Tomcat, log in as sysadmin, password sysadmin and then go to: http://localhost/bodington-quickstart/site/faculties/medicine/test/ Aggie -----Original Message----- From: bod...@li... [mailto:bod...@li...] On Behalf Of Matthew Buckett Sent: 06 March 2006 16:13 To: bod...@li... Subject: Re: [Bodington-developers] Bodington peer-marking tool Andrew Booth wrote: > I now have a working version of the peer-marking tool. If anyone is > interested in seeing it, I can let you have a quickstart war file containing > a Bodington set up with demo locations, data and users, so you can play > around with it. Please. Can I download it form somewhere? -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bodington-developers mailing list Bod...@li... https://lists.sourceforge.net/lists/listinfo/bodington-developers |
From: Matthew B. <mat...@ou...> - 2006-03-07 11:15:16
|
Andrew Booth wrote: > You can download the war file from: > > http://bmbmac75.leeds.ac.uk/bodington-quickstart.war > > IE6 seems to download it as a zip file, but you can just rename it to a war > file after it has downloaded. > > Drop it into Tomcat, log in as sysadmin, password sysadmin and then go to: > > http://localhost/bodington-quickstart/site/faculties/medicine/test/ Thanks Aggie. Looks nice. One quick comment, the exported marks look to be created as an uploaded file which means that anyone with view permission to the resource can download the final marks once they have been generated. The alternative is to use a a bs_generated_marks.csv and then output the CSV from the Java to the output stream after doing a permission check. This way you can limit it so that only people with review access can only access the marks. Facility.sendVirtualFile() is the method that deals with this. Also you might like to serve up the CSV file with a mime type of something like: resp.setContentType("text/comma-separated-values"); resp.setHeader("Content-Disposition", "attachment; filename=\"marks.csv\""); Other than that when are we going to see this in Bodington HEAD as it looks really nice? -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |
From: Andrew B. <a.g...@le...> - 2006-03-07 12:22:36
|
Matthew Thanks for pointing that out. I hadn't spotted the view access problem. I'll have a go at fixing it and then if everyone is happy, push it on to HEAD together with the MySQL stuff. Aggie -----Original Message----- From: bod...@li... [mailto:bod...@li...] On Behalf Of Matthew Buckett Sent: 07 March 2006 11:15 To: bod...@li... Subject: Re: [Bodington-developers] Bodington peer-marking tool Andrew Booth wrote: > You can download the war file from: > > http://bmbmac75.leeds.ac.uk/bodington-quickstart.war > > IE6 seems to download it as a zip file, but you can just rename it to a war > file after it has downloaded. > > Drop it into Tomcat, log in as sysadmin, password sysadmin and then go to: > > http://localhost/bodington-quickstart/site/faculties/medicine/test/ Thanks Aggie. Looks nice. One quick comment, the exported marks look to be created as an uploaded file which means that anyone with view permission to the resource can download the final marks once they have been generated. The alternative is to use a a bs_generated_marks.csv and then output the CSV from the Java to the output stream after doing a permission check. This way you can limit it so that only people with review access can only access the marks. Facility.sendVirtualFile() is the method that deals with this. Also you might like to serve up the CSV file with a mime type of something like: resp.setContentType("text/comma-separated-values"); resp.setHeader("Content-Disposition", "attachment; filename=\"marks.csv\""); Other than that when are we going to see this in Bodington HEAD as it looks really nice? -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bodington-developers mailing list Bod...@li... https://lists.sourceforge.net/lists/listinfo/bodington-developers |
From: Andrew B. <a.g...@le...> - 2006-03-08 13:27:12
|
OK, the csv file is now a virtual file - there is no copy kept on the server. You need manage permission to download the file. I have set the mime type as suggested. There's an updated war file on bmbmac75.leeds.ac.uk Aggie -----Original Message----- From: bod...@li... [mailto:bod...@li...] On Behalf Of Matthew Buckett Sent: 07 March 2006 11:15 To: bod...@li... Subject: Re: [Bodington-developers] Bodington peer-marking tool Andrew Booth wrote: > You can download the war file from: > > http://bmbmac75.leeds.ac.uk/bodington-quickstart.war > > IE6 seems to download it as a zip file, but you can just rename it to a war > file after it has downloaded. > > Drop it into Tomcat, log in as sysadmin, password sysadmin and then go to: > > http://localhost/bodington-quickstart/site/faculties/medicine/test/ Thanks Aggie. Looks nice. One quick comment, the exported marks look to be created as an uploaded file which means that anyone with view permission to the resource can download the final marks once they have been generated. The alternative is to use a a bs_generated_marks.csv and then output the CSV from the Java to the output stream after doing a permission check. This way you can limit it so that only people with review access can only access the marks. Facility.sendVirtualFile() is the method that deals with this. Also you might like to serve up the CSV file with a mime type of something like: resp.setContentType("text/comma-separated-values"); resp.setHeader("Content-Disposition", "attachment; filename=\"marks.csv\""); Other than that when are we going to see this in Bodington HEAD as it looks really nice? -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bodington-developers mailing list Bod...@li... https://lists.sourceforge.net/lists/listinfo/bodington-developers |
From: Selwyn L. <sel...@ph...> - 2006-03-08 14:01:26
|
its surprising how my eyes and cortex play tricks on me... i read the subject as beer-making tool :) Andrew Booth wrote: >OK, the csv file is now a virtual file - there is no copy kept on the >server. You need manage permission to download the file. I have set the mime >type as suggested. There's an updated war file on bmbmac75.leeds.ac.uk > >Aggie > >-----Original Message----- >From: bod...@li... >[mailto:bod...@li...] On Behalf Of >Matthew Buckett >Sent: 07 March 2006 11:15 >To: bod...@li... >Subject: Re: [Bodington-developers] Bodington peer-marking tool > >Andrew Booth wrote: > > >>You can download the war file from: >> >>http://bmbmac75.leeds.ac.uk/bodington-quickstart.war >> >>IE6 seems to download it as a zip file, but you can just rename it to a >> >> >war > > >>file after it has downloaded. >> >>Drop it into Tomcat, log in as sysadmin, password sysadmin and then go to: >> >>http://localhost/bodington-quickstart/site/faculties/medicine/test/ >> >> > >Thanks Aggie. Looks nice. > >One quick comment, the exported marks look to be created as an uploaded >file which means that anyone with view permission to the resource can >download the final marks once they have been generated. > >The alternative is to use a a bs_generated_marks.csv and then output the >CSV from the Java to the output stream after doing a permission check. >This way you can limit it so that only people with review access can >only access the marks. Facility.sendVirtualFile() is the method that >deals with this. > >Also you might like to serve up the CSV file with a mime type of >something like: >resp.setContentType("text/comma-separated-values"); >resp.setHeader("Content-Disposition", > "attachment; filename=\"marks.csv\""); > >Other than that when are we going to see this in Bodington HEAD as it >looks really nice? > > > |
From: Antony C. <an...@sm...> - 2006-03-08 15:09:48
|
Can someone, Jon perhaps, remind me what special_groups_a etc. are used for in users table? |
From: Paul T. <pau...@ou...> - 2006-03-08 15:18:32
|
At 15:09 08/03/2006, Antony Corfield wrote: >Can someone, Jon perhaps, remind me what special_groups_a etc. are >used for in users table? You can deduce memberships of the system generated groups. The total value is made up of components totted up from: 2 allusers 4 allstaff 8 allstudents 16 allothers 32 campus.users 64 campus.staff 128 campus.students 256 campus.other e.g. special_group a=102 => campus.staff, allstaff, allusers, campus.users special_group a=170 => campus.students, allstudents, allusers, campus.users - Paul --- Paul Trafford WebLearn Administrator Oxford University Computing Services pau...@ou... WebLearn VLE http://www.weblearn.ox.ac.uk/ |
From: Matthew B. <mat...@ou...> - 2006-03-08 15:24:11
|
Paul Trafford wrote: > At 15:09 08/03/2006, Antony Corfield wrote: > >> Can someone, Jon perhaps, remind me what special_groups_a etc. are >> used for in users table? > > You can deduce memberships of the system generated groups. The total > value is made up of components totted up from: > > 2 allusers > 4 allstaff > 8 allstudents > 16 allothers > 32 campus.users > 64 campus.staff > 128 campus.students > 256 campus.other > > e.g. > special_group a=102 => campus.staff, allstaff, allusers, campus.users > special_group a=170 => campus.students, allstudents, allusers, campus.users I think User.addToGroup() and User.removeFromGroup do the dirty work. They are used so that you can have very large groups without having a large number of entries in the members table. One problem with them on PostgreSQL is that you can't have an index on them that improves performance when doing bitwise operations which means that the DB always has todo a full table scan doing the bitwise operation for each row. -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |
From: Jon M. <jo...@te...> - 2006-03-08 15:40:57
|
The general idea of 'special groups' is that at install time you can decide to create up to (64?) groups which you know will very frequently occur in ACLs. As a user navigates the web site their membership of groups will be checked frequently. Since the user has logged in and is actively accessing the site you can be certain that the User record is loaded - because there is a reference to it in the httpsession object etc. So, since special group membership is coded in the User object, checking membership of the group requires no database access at all. The trade off is that although taking a user and finding out if they belong is quick, as Matthew points out, taking a special group and listing the users that belong is more difficult. A potential improvement would be to put a record in 'members' for all groups, including special ones, making sure that the two sources of data always agree. Jon Matthew Buckett wrote: >Paul Trafford wrote: > > >>At 15:09 08/03/2006, Antony Corfield wrote: >> >> >> >>>Can someone, Jon perhaps, remind me what special_groups_a etc. are >>>used for in users table? >>> >>> >>You can deduce memberships of the system generated groups. The total >>value is made up of components totted up from: >> >>2 allusers >>4 allstaff >>8 allstudents >>16 allothers >>32 campus.users >>64 campus.staff >>128 campus.students >>256 campus.other >> >>e.g. >>special_group a=102 => campus.staff, allstaff, allusers, campus.users >>special_group a=170 => campus.students, allstudents, allusers, campus.users >> >> > >I think User.addToGroup() and User.removeFromGroup do the dirty work. >They are used so that you can have very large groups without having a >large number of entries in the members table. One problem with them on >PostgreSQL is that you can't have an index on them that improves >performance when doing bitwise operations which means that the DB always >has todo a full table scan doing the bitwise operation for each row. > > > |
From: Antony C. <an...@sm...> - 2006-03-08 15:37:26
|
Thanks Paul - I guess this explains why they don't appear in members table! On 8 Mar 2006, at 15:18, Paul Trafford wrote: > At 15:09 08/03/2006, Antony Corfield wrote: >> Can someone, Jon perhaps, remind me what special_groups_a etc. are >> used for in users table? > > You can deduce memberships of the system generated groups. The total > value is made up of components totted up from: > > 2 allusers > 4 allstaff > 8 allstudents > 16 allothers > 32 campus.users > 64 campus.staff > 128 campus.students > 256 campus.other > > e.g. > special_group a=102 => campus.staff, allstaff, allusers, campus.users > special_group a=170 => campus.students, allstudents, allusers, > campus.users > > - Paul > > --- > Paul Trafford > WebLearn Administrator > Oxford University Computing Services > pau...@ou... > > WebLearn VLE > http://www.weblearn.ox.ac.uk/ > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers |